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

hai all.. need help on bapi

selvi1
Explorer
0 Likes
518

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

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

3 REPLIES 3
Read only

Former Member
0 Likes
491

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..

Read only

Former Member
0 Likes
491

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