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

about RLGRAP structure

Former Member
0 Likes
541

Hi all,

In BDCs while defining a parameter as a file name we refer to the structure RLGRAP-FILENAME. what is the use of doing like this. means what is the significance of RLGRAP structure here ?

Thanks & Regards.

Laxman.P

B'lore.

3 REPLIES 3
Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
463

HI,

It is used beacuse the type that is expected by the BDC is LOCALFILE and this structure field has this type.

Regards,

Sesh

Read only

Former Member
0 Likes
463

Hi,

RLGRAP-FILENAME is the one field of the structure RLGRAP to hold the file name..

RLGRAP is a structure which is used by many standard Function modules which are related to File uploads and downloads...

Its type is C ( character type ) and of length 132 characters !!!!

For some standard Function modules their parameter to accept File name will be of this type ....

When we are using Funtion modules the types of the Import and Export parameters should be type compatible ... i.e their type and length should be same !!!!

Regards

Read only

Former Member
0 Likes
463

this is just a standard way of declaring filename as all the standard programs for FILE TRANSFERs use the structure RLGRAP , so to be compatible with the standard function modules we use this