Skip to Content

How to Pass WDA event value to BBP_ITEM_CHECK_BADI


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?



Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Jun 03, 2014 at 10:37 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 26, 2014 at 02:03 AM

    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


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.