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

Variant Contents

Former Member
0 Likes
705

Hi,

I have a program selection screen in which there is parameter defined for getting filename input.

This input field is of type LOCALFILE.

When I use the function module RS_VARIANT_CONTENTS it is truncating the value of the filename field to 45 characters. Is there any other function module or Class that I can use to fetch the value of the selection screen field that accepts more than 45 characters value.

Thanks

Edited by: Development SAP on Feb 13, 2009 7:28 PM

Hi,

I have a program selection screen in which there is parameter defined for getting filename input.

This input field is of type LOCALFILE.

When I use the function module RS_VARIANT_CONTENTS it is truncating the value of the filename field to 45 characters. Is there any other function module or Class that I can use to fetch the value of the selection screen field that accepts more than 45 characters value.

Thanks

Edited by: Development SAP on Feb 13, 2009 7:28 PM

4 REPLIES 4
Read only

former_member194669
Active Contributor
0 Likes
662

Yes this will be an issue.

Roundway solution will be MAP your local directory while file sits in by shorter name.

or localfile pointing to application directory then use logical file name thu transaction FILE

Read only

Former Member
0 Likes
662

Hi,

Use this type RLGRAP-FILENAME.

Thanks,

Ibrahim

Read only

Former Member
0 Likes
662

HI,

You Can use DYNP_VALUES_READ.

RS_VARIANT_DISPLAY

check this FM RS_VARIANT_SCREEN to create, display and delete variants.

Hope this will be Helpful.

Thanks

kalyan