on 05-24-2014 6:06 AM
Hi,
We've upgraded our SRM 5.0 ECS system to SRM 7.03 (SRM_SERVER 713 level 0003).
A lot of existing checks in either the BBP_ITEM_CHECK_BADI or BBP_DOC_CHECK_BADIs were based around the old sy-ucomm values that are no longer used in the WDA 7.03 system.
Is there an easy or standard way to expose the selected screen event value to the called CHECK_BADIs?
Thanks,
Jerry
There is one option in the BADI call the class /SAPSRM/CL_TRANSACTION_CONTEXT and there is a static method /SAPSRM/IF_TRANSACTION_CONTEXT~GET_INSTANCE in this class to pass reference.
Call the method /SAPSRM/IF_TRANSACTION_CONTEXT~GET_CURRENT_ACTION of this class to get the current action
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jerry,
You could do DOC_CHECK_BADI based on the Object type for example Shopping cart BUS2121 and PO BUS2201 etc.
Hope this helps.
Thank you
Ritesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.