Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Business partner

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

PeterJonker
Active Contributor
0 Kudos

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.

2 REPLIES 2

PeterJonker
Active Contributor
0 Kudos

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.

0 Kudos

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