Skip to Content
author's profile photo Former Member
Former Member

naming convension for a flat file

Hi all,

I am generating a flat file by using fm 'gui_download'.The naming convention of that flat file should be like this "al_ponumber_polineitem_labelid.pj".

the requirement is "When the po is generated the flat file should generate and the flat file naming convension should be "al_ponumber_polineitem_labelid.pj".

Need help very urgent,

Thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Sep 26, 2005 at 08:34 AM

    Hi,

    You should post this question in the ABAP-forum, this is the better place.

    Good luck!

    Best regards

    Renald

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 26, 2005 at 10:11 AM

    Hi Chandra!

    Looks like you have an own file for each line and label (if there are several labels per line).

    So you should have something like this:

    data filename type string.
    loop at ekko.
    loop at ekpo where ebeln = ekko-ebeln.
    loop at ekpo_label where ebeln = ekko-ebeln
                        and  ebelp = ekpo-ebelp.
    concatenate 'AL' ekko-ebeln ekpo-ebelp ekpo_label-id
                into filename separated by '_'.
    concatenate filename '.pj' into filename.
    * Rest of output definition
    * GUI_DOWNLOAD
    endloop.
    endloop.
    

    Regards,

    Christian

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.