‎2008 Jan 14 4:18 AM
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
‎2008 Jan 14 5:41 AM
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
‎2008 Jan 14 5:26 AM
Hi Prashanth
To create the sales order using VA01.. use BAPI_SALESORDER_CHANGE.
reward if helpfull
regards,
raghu.
‎2008 Jan 14 5:34 AM
try BAPI_SALESORDER_CREATEFROMDAT2
check the below sample code
http://www.sap-img.com/abap/bapi-salesorder-createfromdat2.htm
Regards.
‎2008 Jan 14 5:41 AM
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