‎2009 Aug 21 12:01 PM
Hi All,
We have created three update routines for three corresponding infostructures. But I am not able to debug this routine. I tried to put a hard breakpoint also, but it was of no use. The Infostructure logs the changes in the sales order.
How can I get the list of objects that are accessible in these routines?
How can I view the values of MCVBAP and MCVBAK(communication structures) that are used in the update routines?
How can I debug such routines?
From where does these structures, MCVBAK and MCVBAP, get value? Are these runtime values? How much time does it take normally take for the infostructure to be updated? or is it updated immediately when the sales Order is saved?
Thanks,
Jiten
Edited by: Jiten Rajendra Barai on Aug 21, 2009 1:19 PM
‎2009 Aug 24 3:07 PM
Hello,
some hopefully helpful answers:
- the MCVBAK / MCVBAP are structures, that are built from the orderdata in the function MCV_STATISTICS_ORDER. There are two exits EXIT_SAPLMCS1_001 (header Data) and EXIT_SAPLMCS1_002 (position data) where you could fill additional user fields in these structures. Additional fields you could define in the structures MCVBAKUSR or MCVABPUSR.
- the time that it takes to get an infostructure updates depends on it's customizing of updating (transaction OM01). the possibilities are: no update, update in V1-posting, update in V2-posting, update in batch.
- Helpful are folling transactions: MC30 ( shows the update logs, you have to set the parameter MCL = 'X' in your userdate, see OSS - Note 77427) , MCVR (simulation of update).
Regards Wolfgang