on 11-14-2008 2:02 PM
Hi all,
We have the current issue:
R/3 is the mastersystem
Orders are put into CRM, via middleware sent to R/3. In R/3 each item line is closed, and header status is set to completed. Result: CRM order status = completed.
Afterwards people reopen a completed order in R/3, add productlines with status completed (and a delivery date in the past) and save.
Then the middleware tries to send the changes into CRM, but the queue is stuck and the BDOC error shows:
Event '': Function module 'CRM_STATUS_OBJECT_CHECK_EC' caused a defect code
Program error: Status object does not exist
Validation error occurred: Module CRM_DOWNLOAD_BTMBDOC_VAL, BDoc type BUS_TRANS_MSG.
Result is the order is "in progress" on CRM and u can see a productline with an empty status.
I agree people can't do this kind of manipulations but we have currently 80 orders "in progress" like this on CRM and "completed" on R/3.
Could anyone help me how to process these orders so that status is correct in CRM? Reactivating the queue or putting the order in a synch request doesnt help.
thanks a lot,
Jan
hi there, checkout note : 453522
it did the trick for me.
looks like sap is messing up status objects in crm tables.. in this special situation.
this note contains a program to create them again
Greetings
Bjorn Corluy
Edited by: bjorn corluy on Sep 20, 2011 4:45 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Jan,
Ran across a similar situation. With the exact same error. Wondering what the solution you had was?
Thanks
Adam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try and see if this works.
In the BADI CRM_DATAEXCHG_BADI and the method CRM_DATAEXCH_R3D_MBDOC_FILL (this method will trigger for the orders coming from R/3).
Write the code to read the order using FM CRM_ORDER_READ and read all the item from this FM. Then set the status to "COMPLETE" for each of the items using the FM CRM_STATUS_CHANGE_FOR_ACTIV_OW .
Please let me know how it goes?
Thanks,
KAruna.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.