on 09-22-2005 6:14 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You should post this question in the ABAP-forum, this is the better place.
Good luck!
Best regards
Renald
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.