05-11-2006 10:48 AM
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.
05-11-2006 10:52 AM
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
05-11-2006 10:54 AM
HI
TRY THIS BAPI
BAPI_SALESORDER_PROXY_UPLOAD
PLZ REWARD USEFUL ANSWERS
REGARDS
GANESH
05-11-2006 12:05 PM
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