2008 Jan 07 6:47 AM
HI All,
What is the difference b/w stmts 1 & 2 let me know. any difference in that, why to use those pls let me know.
1). PARAMETERS: p_flnme1 TYPE localfile MODIF ID m1,
P_flnme2 TYPE localfile MODIF ID m2.
PARAMETERS: P_ifile1 LIKE rlgrap-filename MODIF ID m2,
P_ifile2 LIKE rlgrap-filename MODIF ID m3.
Why they are using Localfile above and below rlgrap-filename.
Akshitha.
HI All,
What is the difference b/w stmts 1 & 2 let me know. any difference in that, why to use those pls let me know.
1). PARAMETERS: p_flnme1 TYPE localfile MODIF ID m1,
P_flnme2 TYPE localfile MODIF ID m2.
PARAMETERS: P_ifile1 LIKE rlgrap-filename MODIF ID m2,
P_ifile2 LIKE rlgrap-filename MODIF ID m3.
Why they are using Localfile above and below rlgrap-filename.
Akshitha.
2008 Jan 07 6:53 AM
Hi Akshita,
RLGRAP-FILENAME have the Domain LOCALFILE.
Using differently is probably they would use them differently in calling some FMs and those FMs request these variables of that type only.
awrd points if useful
Bhupal
2008 Jan 07 6:54 AM
HI ,
if u use localfile means once u can pass that file url .
otherwise if u use RLGRAP in selection screen u can pass that file url in selection screen.
THX
2008 Jan 07 6:55 AM
its just the same
rlgrap is a structure with field filename of type localfile.
both the statements are same
just accessing them indirectly
The first statement uses type Domain
the second statement uses like a filed in the structure
2008 Jan 07 6:56 AM
Hi,
localfile is dataelement.
rlgap-filename is refering to the field called filename in table rlgap.
Plzz reward points if it helps.
2008 Jan 07 7:01 AM
Hi,
If ur going to upload or download any file from ur local system RLGRAP u have to define. because RLGRAP is a structure which contain file name....
Both the statement declaration is different first one is they used TYPE statement and second one is LIKE statement.
both the statements are similer but where as in TYPE statements u can use it in any where in ur programe.
reward me a points if it is use full answer..
praveen
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |