‎2007 Feb 22 1:35 PM
I'm working on a flat file Inbound interface
I need to generate a program which calls the program RFEBCK00(FCKR transaction) and in my program I should convert the oracle format to RFEBCK00 program STRUCTURE (I will be getting a file in oracle format ) and when executed the program must perform its normal procedure.
my client doesn't want me to copy the RFEBCKK00 and do changes...............
can anyone give me suggestions.
Thanks in Advance
Hema
‎2007 Feb 22 1:49 PM
Hi abap,
Can you explain what ORACLE format is?
Normal procedure is, generally flat files will be separated by a special character (like , | , # ,...) or a fixed length file.
If your flat file is one of this, then you have to split the data at that particular special character, validate the data and format it according to RFEBCK00 file structure and then submit it.
If your flat file is a fixed length one, then making use of offsets, move value to the corresponding field, validate and format it according to RFEBCK00 file structure and then submit it.
Hope it helps.
Regards,
Phani.
‎2007 Feb 22 1:57 PM
Converting the fields I'm able to do that part but how to impliment from FCKR transaction without doing any changes in original program or copying the original program into my program.
Thanks
Hema
‎2007 Feb 22 2:10 PM
I have just seen the transaction FCKR, I think that you have to again generate a file on presentation server with the format that supports the transaction FCKR and submit the path of that file to the report RFEBCK00 and also pass the required (mandatory) parameters.
Hope it helps.
Regards,
Phani
‎2007 Feb 22 2:28 PM
yes you got me exactly ..
Now my problem is how can I submit the path...
‎2007 Feb 23 5:28 AM
Hi,
You will be aware of the path where you are going to generate the file, right?
If you know the path, just use the SUBMIT statement with CK_FILE = <file name with path> and also pass the other mandatory fields.
SUBMIT RFEBCK00 with CK_FILE = <file name with path>
with GROUP = <session name>
with I_BLART = <document_type> and return.Regards,
Phani.