Skip to Content
author's profile photo Former Member
Former Member

BA number in Lead using fun module crm_order_Read

Hi All,

I need to know the BA number entered on the screen in lead creation.I am writing some code in the BADI COM_PARTNER_BADI.But I am not getting BA number to any of the parameters in the method DETERMINATION_ADD_IN_1.I am trying to use the function module crm_order_Read to get the data but the problem I don't have GUID or transaction number to pass value to this function module.Can some body give some idea how will I will get the data of BA number in to my BADI.when exactly this fun module will give the data and what's the parameters we have to pass to this fun module?Is there any other fun module is there to read current transaction data before saving the transaction?

Thanks in advance


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 13, 2007 at 08:28 AM

    Hi Mahesh,

    Use following code to get the guid of current transaction in the badi in variable 'lv_guid'.

    data: lv_guid type CRMT_OBJECT_GUID.



    EV_HEADER_GUID = lv_guid.

    Then you can use CRM_ORDER_READ to get your required details using guid.

    Best Regards,

    Pratik Patel

    <b>Reward with Points!</b>

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Pratik,

      I have solved the issue what I have done is I have passed the field value IS_PARTNER_CONTROL-Document_ id to the header guid of the function module

      CRM_ORDER_READ so it has read the data of that transaction including BA numbers to the parameter et_doc_flow.

      Thanks for ur quick reply I also tried the way u said but some thing was problem I could not resolve in that way.



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.