on 05-26-2006 7:56 PM
Friends of CRM world,
I need your help in finding out BAPI or FM to
add sales area data to an existing Business Partner (BP).
Also I need to assign a relationship to this BP.
Please help me with info on BAPIs or Function Modules for this if you can.
Best Regards,
Vivek
Hi Vivek,
1. To add sales area data use BAPI_BUPA_FRG0030_ADD.
2. To assign relationship to BP use BAPI_BUPR_RELATIONSHIP_CREATE.
Hope this helps.
<b>Kindly reward points and close the thread.</b>
Regards,
Amit Mishra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi can you explain how did you do ? becos i got same issue to create, delete bp relationship with sales organisation, parterfunction,distribution channel?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Amit & Frederic,
This is indeed very helpful of you. I am checking these
APIs. I will definitely come back and reward points.
Best Regards,
Vivek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vivek,
You should use separate function modules for each tab in the sales area data. Please find the following code:
For shipping data tab of sales area data
CALL FUNCTION 'BAPI_BUPA_FRG0020_ADD'
EXPORTING
businesspartner = g_partner_no
sales_area = wa_sales_data
data = wa_ship_data
TABLES
return = it_return.
For billing data tab of Sales area data
CALL FUNCTION 'BAPI_BUPA_FRG0030_ADD'
EXPORTING
businesspartner = g_partner_no
sales_area = wa_sales_data
data = wa_price_data
TABLES
return = it_return.
Use function module BAPI_BUPA_FRG0140_ADD - For organization data tab of Sales area data
CALL FUNCTION 'BAPI_BUPA_FRG0140_ADD'
EXPORTING
businesspartner = g_partner_no
sales_area = wa_sales_data
data = wa_org_data
TABLES
return = it_return.
Thanks
Swagatika
Hello Vivek,
Go to SE37 and search for FM BAPI_BUPA, you will get a list of BAPI's regarding BP. For sales data, search maube on BAPI_BUPA_FRG. For relationships, check BAPI_BUPR_RELATIONSHIP_CREATE.
Regards,
Frédéric
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.