Application Development and Automation 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: 
Read only

Regarding BAPI

Former Member
0 Likes
566

Hello

I am uploading data in VA01 using SD_SALESDOCUMENT_CREATE everything is working fine but at the end it is giving me an error ' Specify either address number or address handle'

can anyone help me in this issue did i miss any field points for sure

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
505

Hi Prasanth,

I know using SD_SALESDOCUMENT_CREATE we have advantage of creating sales documents irrespective of Business object.

I guess you might be giving some other details regarding the partner address which might be invoking the error message. Check the same.

Also try doing the below:

1. SE91, message class: AM, Message Number:053

2. Do where-used list.

3. You can find 8 occurrences of this message, try placing break point and see if you reach the point. This might give you some clue.

Kind Regards

Eswar

3 REPLIES 3
Read only

Former Member
0 Likes
505

Hi Prashanth

To create the sales order using VA01.. use BAPI_SALESORDER_CHANGE.

reward if helpfull

regards,

raghu.

Read only

Former Member
0 Likes
505

try BAPI_SALESORDER_CREATEFROMDAT2

check the below sample code

http://www.sap-img.com/abap/bapi-salesorder-createfromdat2.htm

Regards.

Read only

Former Member
0 Likes
506

Hi Prasanth,

I know using SD_SALESDOCUMENT_CREATE we have advantage of creating sales documents irrespective of Business object.

I guess you might be giving some other details regarding the partner address which might be invoking the error message. Check the same.

Also try doing the below:

1. SE91, message class: AM, Message Number:053

2. Do where-used list.

3. You can find 8 occurrences of this message, try placing break point and see if you reach the point. This might give you some clue.

Kind Regards

Eswar