cancel
Showing results for 
Search instead for 
Did you mean: 

CRM_BUPA_MAP_BP_TO_CUSTOMER FM

Former Member
0 Kudos

Hello Experts  ,

  I need to get the End-Customer ERP number in Quotation Header, So i need to use the CRM_BUPA_MAP_BP_TO_CUSTOMER  FM .

*   get ERP customer number for partner:
*   1. convert payer-number to payer-GUID
     CALL FUNCTION 'BUPA_NUMBERS_GET'
       EXPORTING
         iv_partner      = lv_partner
       IMPORTING
         ev_partner_guid = lv_partner_guid.

*   2. convert partner guid to ECC customer number
     CALL FUNCTION 'CRM_BUPA_MAP_BP_TO_CUSTOMER'
       EXPORTING
         iv_partner  = lv_partner_guid
       IMPORTING
         ev_customer = lv_kunnr
       EXCEPTIONS
         OTHERS      = 0..

Now my Question is : Which attribute in ERPADMINH context node of  ERP_H/HeaderDetail view holds this Partner no value so that i can use it as stated in above code ?

Technical name for Partner Number in ERPADMINH context ??

Thanks and Regards,

Nikhil Kulkarni

Accepted Solutions (0)

Answers (1)

Answers (1)

vinodkumar_kommineni
Active Contributor
0 Kudos

Hi Nikhil,

If you are looking for Sold-to party it is the attribute KUNAG from the Node ERPADMINH

Regards

Vinod