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: 

Uploading of document in salesorder

Former Member
0 Kudos

Hi,

Is it possible to upload some txt file to a salesorder through some function module or BAPI?

If yes please let me know the name of that function module/Bapi.

Thanks.

3 REPLIES 3

former_member181962
Active Contributor
0 Kudos

To upload data into internal table

use gui_upload.

then use the bapi:BAPI_SALESORDER_CREATEFROMDAT2 to create sales orders from the internal table data.

Regards,

Ravi

Former Member
0 Kudos

HI

TRY THIS BAPI

BAPI_SALESORDER_PROXY_UPLOAD

PLZ REWARD USEFUL ANSWERS

REGARDS

GANESH

Former Member
0 Kudos

Hi

1.Upload your flat file data into internal table using gui_upload, then separate header and item data.

2.loop header data internal table pass the corrsponding information to BAPI_SALESORDER_CREATEFROMDAT2 , then it will create Sales orders.

(or),

Create a BDC Recording using SHDB with VA01, then use this recording to upload the data.

Check this link also for the program : <a href="http://www.sap4.com/wiki/index.php/Programa_que_crea_un_batch-input_de_ordenes_de_ventas">VA01 BDC</a>

<i>Hope This Info Helps YOU.</i>

Regards,

Raghav