Skip to Content
0
Former Member
Jul 16, 2013 at 11:17 AM

CRM_BUPA_MAP_BP_TO_CUSTOMER FM

28 Views

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