Application Development 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: 

FM for getting the varient name into ITAB by passing program name

Former Member
0 Kudos
113

Hi,

What is the function module for getting the variant name into internal table by passing program name.

When i select the variant name and then execute the progrm, the variant name should be go to the internal table for further use.

Please reply soon.

Dhiraj.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
63

Hi,

You can get the variant selected by the user to execute the program through system field SY-SLSET.

-Abhijit

2 REPLIES 2

Former Member
0 Kudos
64

Hi,

You can get the variant selected by the user to execute the program through system field SY-SLSET.

-Abhijit

0 Kudos
63

check the table VARI

DATA: IN_PROGRAM LIKE VARI-REPORTNAME OBLIGATORY.

SELECT * FROM VARI INTO TABLE ITAB WHERE

REPORT NAME IN IN_PROGRAM

Message was edited by: kishan negi