Professional Documents
Culture Documents
Welcome, Guest
Login
Store
Register
Products
About SCN
Downloads
Industries
Partnership
Developer Center
Lines of Business
University Alliances
Innovation
Activity
Communications
Actions
Brow se
Share
Tw eet
Like
Jonathan Hurtado
453 View s
Topics: abap
Like (0)
Like (0)
http://scn.sap.com/thread/3448792
1/5
5/10/2014
Like (1)
Like (0)
Like (1)
Like (0)
Like (0)
Like (0)
http://scn.sap.com/thread/3448792
2/5
5/10/2014
Like (0)
Like (1)
Like (0)
STATISTIK_UPDATE_10 SPOTS
ES_SAPMV45A.
in form MV45AFST_STATISTIK_UPDATE by an own code fragment,
containing first the call of MCV_STATISTICS_ORDER like the standard,
and then, after this, the call of a V2 module
Z_SALESORDER_SIS_CHANGED. In this own V2 function module, you
will have to call your BAPI_SALESORDER_CREATEFROMDAT2 IN
BACKGROUND TASK, since this will perform a separate commit and
thus cannot be called in the same LUW.
Option 2) If the customer by no means allows any modification or
enhancement: I would suggest to register an own function module to the
event CHANGED of busines object BUS2032 (sales order) and write a
worklist of sales order numbers into a Z table. In a periodic job, then, you
read this Z table of sales order numbers and check whether the SIS
update already has been performed for this order (inspect the Snnn
tables to detect the change). If yes -> start your action, and remove the
sales order number from the Z table.
Regards,
Rdiger
Like (2)
http://scn.sap.com/thread/3448792
3/5
5/10/2014
Regards,
Rdiger
Like (2)
Like (1)
Why do you want update task V2 to be finished, usually this is not mandatory ?
This is a good question I didn't dare to ask, since it is considered not polite to "question a
question"...
But, yes, statistics contribute to analytical reporting. This should have no relevance to the
business process at all. Imposing such a dependency on a business process is a flaw in itself.
Like (0)
http://scn.sap.com/thread/3448792
4/5
5/10/2014
Like (0)
Share
Site Index
Privacy
Tw eet
Contact Us
Terms of Use
http://scn.sap.com/thread/3448792
Like
Copyright
Follow SCN
5/5