05-07-2013 10:30 AM
Hi,
i have problem when creating Business Partner.
I use 2 bapi's which are:
-BAPI_BUPA_CREATE_FROM_DATA
-BAPI_BUPA_ROLE_ADD_2
Till this moment everything is fine. But i can't fill reconciliation acct, sort key, planning group, terms of payments etc. in Company Code tab (screen attached) I've found badi in scn(FTB_BUPA_DARK_MAINTAIN_INTERN), but i don't know how to use it. Execution of this bapi returns no error, but do not change any data in partner. Do you know how to handle it?
Thank you in advance.
Regards,
gm
05-07-2013 11:08 AM
Looks to me that you try to update business partner data in the role customer. (according to screenprint)
Maybe check the SD_* and CUSTOMER_* function modules.
I think terms of payment are in table KNVV, so a where used list for this table might help you as well.
05-07-2013 11:08 AM
Looks to me that you try to update business partner data in the role customer. (according to screenprint)
Maybe check the SD_* and CUSTOMER_* function modules.
I think terms of payment are in table KNVV, so a where used list for this table might help you as well.
05-07-2013 12:47 PM
Peter,
thank you for replying. You have right. To change this data you have to use SD_CUSTOMER_MAINTAIN_ALL BAPI. You have to fill following structures:
I_KNA1
I_KNB1
and pass 'X' to pi_postflag parameter (this flag is responsible for updating db).Thank you once more.
Regards,
gm