Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

regarding Parameters stmts

Former Member
0 Likes
729

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.

5 REPLIES 5
Read only

Former Member
0 Likes
699

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

Read only

Former Member
0 Likes
699

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

Read only

Former Member
0 Likes
699

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

Read only

Former Member
0 Likes
699

Hi,

localfile is dataelement.

rlgap-filename is refering to the field called filename in table rlgap.

Plzz reward points if it helps.

Read only

Former Member
0 Likes
699

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