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: 

How to generate a Text file from a Report

Former Member
0 Kudos

Hi Friends,

I need to generate a Text file foramat from my Report.My client is having a text file in a standard format.I need to Generate this Text file according to that text format.

My requirement is For one production order there will be so many line items and for each line item based on its Quantity i need to generate serial numbers.

For Ex for Production order 100 there r 3 line items.If 1st line item is of Quantity 20.I need to Generate 20 serial numbers for the 1st line item and the same for the remaining line items also.

How can i proceed.I need to do dis based on the production order Number.

In d selection screen i need to put the fields Production order Number and From:----


To:----


and u button Generate Text file.If I click on Generate Text file Text file should be generated.

Thanks & Regards,

Chitty.

Edited by: chitty d on Mar 12, 2009 5:44 AM

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Try with this FM SAP_CONVERT_TO_TXT_FORMAT.

Thanks & Regards,

Anagha Deshmukh

3 REPLIES 3

Former Member
0 Kudos

Hi,

As far as i understand from your requirements, it like you need all the data item leve into a text file.

You can fetch all the relevant data from variuos tables and then use GUI_Download into a text file.

0 Kudos

Hi,

Collect all your data in an internal table and then use FM GUI_DOWNLOAD.

Regards,

Pranaya

Former Member
0 Kudos

Hi,

Try with this FM SAP_CONVERT_TO_TXT_FORMAT.

Thanks & Regards,

Anagha Deshmukh