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: 

BAPI to update customer details - company code data - accounting data

I355602
Advisor
Advisor
0 Kudos

Hello All,

I need to update the field Previous Account Number (KNB1-ALTKN) for a Customer Number and Company Code.

Is there any FM or BAPI to update the same. Please suggest.

Thanks in advance.

Regards,

Tarun

3 REPLIES 3

Former Member
0 Kudos

Hi,

Never found a decent BAPI as such but you can use FM SD_CUSTOMER_MAINTAIN_ALL, if you need to call it remotely then create a RFC enabled wrapper for it. For such a simple requirement I would probably use a BDC call to do it.

Cheers

Allan

0 Kudos

Hi Allan,

I know that BDC is always a best option to use.

But thats the last option for us. The FM you suggested requires all the fields to be populated in the importing parameters, which can be a bit lenghty as per the requirement.

Hope you get my point.

Still waiting for useful pointers....

Regards,

Tarun

I355602
Advisor
Advisor
0 Kudos

Thanks for the FM.

But I did the same using BDC itself.

Regards,

Tarun