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: 

Which BAPI or Function can saved the Address.

Former Member
0 Kudos
138

Dear All.

I have created a program:u2019 created Sales Order from Quotationu2019. If the Sold to Party is u2018One-Time-Customeru2019, Then the customer address have not value. Because in VA21,the value address of One Time customer input by user.

Which Bapi or Function can create the address?

Thanks

Sun

1 ACCEPTED SOLUTION

Former Member
0 Kudos
95

hi,

you can try

BAPI_VENDOR_EDIT

BAPI_CUSTOMER_CHANGEFROMDATA

BAPI_CUSTOMER_CHANGEFROMDATA1

thanks

5 REPLIES 5

Former Member
0 Kudos
95

I used 'BAPI_BUPA_FS_ADDRESS_ADD'

The error is:'Business partner BUS0001 does not exist'.

I don't know which 'Business partner' for creating SO solid to party adress.

Thanks

Sun

0 Kudos
95

Hi Sun

use This BAPI BAPI_BUPA_ADDRESS_ADD

AND also check this

WB2_PARTNER_ADDRESS_CREATE

Ranga

0 Kudos
95

hi,Ranga Swamy

thanks

I used WB2_PARTNER_ADDRESS_CREATE but the return sy-subrc = 1. I commit the bapi,but the data not update.

Former Member
0 Kudos
96

hi,

you can try

BAPI_VENDOR_EDIT

BAPI_CUSTOMER_CHANGEFROMDATA

BAPI_CUSTOMER_CHANGEFROMDATA1

thanks

Former Member
0 Kudos
95

thanks of all