2007 May 09 6:01 AM
hai,
i want to export the details of production order using the bapi bapi+prodord_get_detail to a text file.
how can i do this. please help me to do the object.
give me some sample codes
thanks in advance
Hi Selvi,
Just Call the BAPI from your Program as you use Function module and Pass the import parameters with the Same Structure.
You will get the result tables from the tables. You just loop it from the header and Populate the required result to the Final itab.
Then Use the Function module GUI_DOWNLOAD to get the flat file in your presentation server.
REgards
Rusidar
2007 May 10 5:40 AM
Hi selvi,
I had given u a sample bapi program build using lsmw..
<a href="http://www.saptechnical.com/Tutorials/LSMW/BAPIinLSMW/BL1.htm">http://www.saptechnical.com/Tutorials/LSMW/BAPIinLSMW/BL1.htm</a>
Rewrd if it's useful..
2007 May 10 5:57 AM
hi,
check these sites you will get help
BAPI-step by step
http://www.sapgenie.com/abap/bapi/example.htm
list of all bapis
http://www.planetsap.com/LIST_ALL_BAPIs.htm
for BAPI's
http://www.sappoint.com/abap/bapiintro.pdf
http://www.sappoint.com/abap/bapiprg.pdf
http://www.sappoint.com/abap/bapiactx.pdf
http://www.sappoint.com/abap/bapilst.pdf
http://www.sappoint.com/abap/bapiexer.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE8/BCFESDE8.pdf
http://www.planetsap.com/Bapi_main_page.htm
http://www.topxml.com/sap/sap_idoc_xml.asp
2007 May 10 6:50 AM
Hi Selvi,
Just Call the BAPI from your Program as you use Function module and Pass the import parameters with the Same Structure.
You will get the result tables from the tables. You just loop it from the header and Populate the required result to the Final itab.
Then Use the Function module GUI_DOWNLOAD to get the flat file in your presentation server.
REgards
Rusidar
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |