05-24-2006 10:56 AM
hi friends,
plz tell me wat is the functionality of this code and wat should be the input
1)SELECTION-SCREEN BEGIN OF BLOCK blk2 WITH FRAME TITLE text-002.
PARAMETERS: p_ifile LIKE dynpread-fieldname OBLIGATORY, " Input file
p_efile LIKE dynpread-fieldname OBLIGATORY. " Error file
SELECTION-SCREEN END OF BLOCK blk2.
2)DATA : fm_file LIKE ibipparms-path .
3)DATA : v_file LIKE rlgrap-filename.
4)DATA : v_efile LIKE rlgrap-filename.
5)i have a doubt
is code SAVE_DOCUMENT is must while uploading from dat file to sap table
thank's*regards
soorya
05-24-2006 11:00 AM
1)SELECTION-SCREEN BEGIN OF BLOCK blk2 WITH FRAME TITLE text-002.
PARAMETERS: p_ifile LIKE dynpread-fieldname OBLIGATORY, " Input file
p_efile LIKE dynpread-fieldname OBLIGATORY. " Error file
SELECTION-SCREEN END OF BLOCK blk2.
Thie above part is the selection screen design which accpets the file path for the input file and also accepts the file path for the error file to be placed.
2)DATA : fm_file LIKE ibipparms-path .
3)DATA : v_file LIKE rlgrap-filename.
4)DATA : v_efile LIKE rlgrap-filename
these are temporary variables for holding file names..
there is no such statement save_document in sap.
05-24-2006 11:01 AM
hi soorya,
1. we have to give two files on selection screen i.e, Input file <b>p_ifile</b> and Error File <b>p_efile</b>
05-24-2006 11:09 AM
HI SOORYA,
1)SELECTION-SCREEN BEGIN OF BLOCK blk2 WITH FRAME TITLE text-002.
PARAMETERS: p_ifile LIKE dynpread-fieldname OBLIGATORY, " Input file
p_efile LIKE dynpread-fieldname OBLIGATORY. " Error file
SELECTION-SCREEN END OF BLOCK blk2.
It is a selection screen where u give filepath for the input file and also for the error file.
2)DATA : fm_file LIKE ibipparms-path .
its data transfer parameter for a local file to be uploaded or downloaded
3)DATA : v_file LIKE rlgrap-filename.
& 4)DATA : v_efile LIKE rlgrap-filename.
--Local filename for uploading or downloading
hope this helps,
priya.