‎2007 Nov 15 10:02 PM
hi gurus,
i have to create a program where
1) the program has to pick up two files from presentation server,
2) we need to create a selection screen button, for validation, if pressed,
the program has to match these two files for validations,
if any discrepencies occur, an error file or log has to be created.
3) if the validations are sucessfull, upload the file with the help of RFBIBL00 using
sessioon method, so as to see if any error have occured.
does any one have any idea how to handle this scenario, did any one does this previously.
the following is the way i thought of doing:
using the gui_upload pick the two file , do the validations, then using call transaction call
RFBIBL00, using session method.
does this work, am i thinking somthing wrong.
thanks
‎2007 Nov 15 10:06 PM
1. Call GUI_UPLOAD to upload your files
2. Compare files, validate against the master data.
3. Generate one file on the server which can be used by the RFBIBL00
4. SUBMIT RFBIBL00 with file generated on the server. Here you have to pass some parameters of the RFBIBL00 to create a Session method.
Regards,
Naimesh Patel
‎2007 Nov 15 10:13 PM
hi naimesh,
thank you very much for the reply,
i understood almost,
but the last point,
4. SUBMIT RFBIBL00 with file generated on the server. Here you have to pass some parameters of the RFBIBL00 to create a Session method.
how should i do this,
thanks again for your help.
‎2007 Nov 15 10:18 PM
If you read the documentation of the RFBIBL00, you will notice that we need to provide the raw data to this program in specified manner.
These are the structure used for genearting the file which contians the raw data. Your program should generate this file on the server.
BGR00 record type 0 session prefix
BBKPF record type 1 header data
BBSEG record type 2 document segment data (including one-time data,
COBL data)
SUBMIT RFBIBL00 WITH DS_NAME = P_SERVER_FILE
WITH CALLMODE = 'B'.Read RFBIBL00's documentation for more information.
Regards,
Naimesh Patel