2013 Jul 19 5:55 PM
Hi All,
I have a requirement, according to that I have to pick file from desktop change its format and pass it on to FF.5
I have used gui_upload to pick and converted the file in an itab. Now how do I pass this itab to FF.5 in my zprogram?
I tried
Submit RFEBKA00
WITH
SELECTION-TABLE iout
and return
But this gives me a dump. PERFORM PARAMETER TOO SHORT.
Any help please.
Thanks!
2013 Jul 20 1:38 AM
Hi,
As far as I know, this t-code have a parameter to put the file path, I do not think that is necessary to pass any itab with the file content, just pass the file path
At the moment I do not have access, but I suggest you to check (if possible) with a FI consultant to know which parameters need to be filled..
Regards,
Paulo.
2013 Jul 20 2:15 AM
Hi,
The selection table contents should match what you want to pass into the report RFEBKA00 via its selection screen. Please check the screen parameters of RFEBKA00 report then try to match what you are passing via the SELECTION-TABLE option.
Also check on the technical names of the parameters that you are passing via SELECTION-TABLE option.
Cheers,
Arindam
2013 Jul 20 2:36 AM
Thanks for replying guys!
Right now I don't know how to pass those parameter values.
Can you tell me how can I do that? Any sample using one field from that transaction.
2013 Jul 20 8:12 AM
2013 Jul 21 2:31 PM
Thanks Shah,
I think passing IOUT like that was wrong !
But let me try to explain my requirement one more time...
I get a text file on desktop. I pick this text file using gui_upload, then I convert this file to a different format.. after i convert this now i have this converted file in an internal table.
Now my next step is to pass this converted file to transaction FF.5 (Now here a question arises, as the converted file is in iout intrnal table right now can i directly pass it to FF.5 or do I need to download the converted file to desktop first and then pick from there? is so then how?)
Also user has set a variant named VAR1, (In this variant the file path is emply) so if I use
submit RFEBKA00 USING SELECTION-SET 'VAR1' and RETURN.
is this correct ?
2013 Jul 21 6:11 PM
hi,
If the requirement is to change the format, then i suppose you can use exit FEB00004 for that.. this exit is called soon after the file is uploaded from desktop, and contains the entire file in the internal table. You can change the format as per your requirement. By this way you dont have to copy the entire program to Z.
Thanks
Sam
2013 Jul 22 3:49 AM
Hi J Singh
You can create a temporary folder in the APP Server
After upload of your file do the necessary changes and put the new file in this folder with timestamp for uniqueness.
You can pass this file name for processing.
Regards.
2013 Jul 22 1:31 PM
Hi Shah thanks for taking time to reply back .
I can download file to app server or desktop and pick from there. But is it possible to directly pass internal table to FF.5 transaction?
or it can be done using file path name only?
Thanks!
2013 Jul 24 3:52 AM
Hi Singh,
No you cannot pass ITAB for that you will need to copy the program then you can modify it as required but that ain't simple .....
Regards
2013 Jul 21 4:25 PM
hello,
what i can suggest is to copy the standard program and do the changes as you want, like you are saying the itab you have already created. just you need to map your itab with the itab which standard SAP has created and by copying the standard you have the freedom to do additional validation also.
Regards
Animesh Sundriyal