on 06-05-2006 10:09 AM
There is a bapi BAPI_BUPA_CREATE_FROM_DATA for creation of business partners. I need to extend this bapi by adding few custom fields.
What is the method to follow inorder to extend this bapi and please give me the procedure so that it helps me...
Thanks,
Vinod
Hi Vinod,
You can use EEWB to add custom fields to the Business Partner. You need not enhance the bapi BAPI_BUPA_CREATE_FROM_DATA.
EEWB : You will need to create a project there and assign an package. And then decide whether customization or workbench.
Just refer the link below to add custom fields to BP through EEWB :
http://help.sap.com/saphelp_crm50/helpdata/en/20/a4ffee7e0fcc4ebb7e5466d3903d38/frameset.htm
After adding the fields through EEWB, just create the Business Partner using the bapi BAPI_BUPA_CREATE_FROM_DATA.
After creating the business partner call the function module BUPA_CENTRAL_CI_CHANGE to populate the custom fields added through the EEWB transaction.
<b>Reward points if it helps.</b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Iam already having ZZ fields in the table but000. I have to modify bapi inorder to populate ZZ fields and needs to create business partner.
When i use EEWB, it is asking me to add new fields and i don know where these fields will be created.
Can you please update on this...
Message was edited by: Vinod N
Follow the following steps :
1. Call BAPI_BUPA_CREATE_FROM_DATA. It will return you a partner number. Do not commit here.
2. Call BUP_MEMORY_BUT000_GET to get the partner_guid from the buffer memory. Pass the partner number to this function module. It will return you a structure es_but000 which has the partner guid. Do not commit anything.
3. Populate all the custom fields to be passed to the function module BUPA_CENTRAL_CI_CHANGE. Pass the partner guid in the is_bus000_eew-partnr_guid.
4. Call BAPI_TRANSACTION_COMMIT to commit the transaction.
This will solve your problem.
<b>Reward points if it helps.</b>
Hello !
I'm reading this forum as I'm finding the same problem. Please, could you suggest me if there is a standard f.m. to process custom tables, added by EEW ?
Function BUPA_CENTRAL_CI_CHANGE is useful only in case BUT000 has been extended and not when you create additional tables.
Thank you very much.
Elena
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Amit Mishra :
If I add other fields,then function BUPA_CENTRAL_CI_CHANGE is then not
suitable ag. so my question is where to find the suitable function, as how u find
BUPA_CENTRAL_CI_CHANGE for Void.
Thanks in advance!
Jeo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
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.