Skip to Content

Replacement for CRM_INTLAY_GET_HEADER_GUID in WebClient UI

Two years ago we implemented a classic badi for badi definition CRM_PRODUCT_I_BADI. Within the badi we need to determine the transaction header GUID. For the last two years the badi has operated by calling function module CRM_INTLAY_GET_HEADER_GUID to retrieve the header GUID. This function module still works fine if you are processing from within SAPgui. However, if you are processing from within the WebClient UI the function module no longer works because the header GUID is no longer buffered in that function group.

I have resorted to using function module CRM_ORDERADM_H_GET_OB but I am wondering if anyone knows of a more elegant replacement for function module CRM_INTLAY_GET_HEADER_GUID that will work in the WebClient UI? Perhaps something that pulls the header GUID out of the BOL core? Thanks.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Feb 26, 2009 at 02:29 PM

    Paul,

    Technically when you are in the BADI's you are below the BOL layer and have to use the one order API function modules. I prefer using the OW modules instead of the OB, and technically I believe you are supposed to use OW instead.

    The CRM_ORDERADM_H_READ_OW is probably your best bet down in that layer.

    Thank you,

    Stephen

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 26, 2009 at 02:36 PM

    Thanks very much for the confirmation Stephen. I forget why I ruled out function module CRM_ORDERADM_H_READ_OW but I will revisit this. Thanks again.

    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.