on 12-07-2021 9:13 AM
Hi All,
I am encountering a runtime error CX_OS_OBJECT_NOT_FOUND upon running the program RSPPFPROCESS. I encountered this when I used the FM CRM_ORDER_SAVE in my BADI to save the changes in the partner however when I tried to put the same code in a custom program, it saved without error. I think the problem is in the PPF since I only get the error when I trigger the BADI via PPF.
Runtime Errors UNCAUGHT_EXCEPTION
Except. CX_OS_OBJECT_NOT_FOUND
ABAP Program CL_METHODCALL_PPF=============CP
Could not find the referenced object with the OID
"1402EC946A451EDC95E63FC4131740E5" (instance GUID) and
"BECA3BF12720D411AB61009027C3C00A" (class GUID)
ABAP STACK
METHOD CL_METHODCALL_PPF=============CP CL_METHODCALL_PP
CL_METHODCALL_PPF=>IF_OS_STATE~HANDLE_EXCEPTION
METHOD CL_METHODCALL_PPF=============CP CL_METHODCALL_PP
CL_METHODCALL_PPF=>SET_SAVE_LOG
METHOD CL_METHODCALL_PPF=============CP CL_METHODCALL_PP
CL_METHODCALL_PPF=>IF_MEDIUM_PPF~EXECUTE
Please give some inputs to proceed further. Thank you.
we are faceing the same problem .. do you solved it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes I have already solved it. I am using this class CL_AGS_CRM_1O_API to update and save fields and there is a commit work in CRM_ORDER_SAVE which is the cause of the runtime error.
you should use the set_defer_commit method in class CL_AGS_CRM_1O_API to to put off the commit work in CRM_ORDER_SAVE
hope this helps
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
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.