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

Values for variants

Former Member
0 Likes
375

Hi,

for a background job, there are 5 programs assigned to it. Depending upon the output of the first program, the values needs to be passed to the second program, so how does the second program gets the variant value.

is there any table where the new values are stored and can be changed??

Thanks

Regds

Gautam

2 REPLIES 2
Read only

santhosh_patil
Contributor
0 Likes
336

Hi,

U can get the values for the variant using FM

<b>RS_VARIANT_CONTENTS</b>

To change the variant values use FM

<b>RS_CHANGE_CREATED_VARIANT</b>

Check this link...

--PAtil

Read only

Former Member
0 Likes
336

Hi

Instead you can call the second program using the SUBMIT ...AND RETURN statement .

You can dynamically pass different values to the selection screen.

OR

See the link below

http://help.sap.com/saphelp_webas620/helpdata/en/c0/98039ee58611d194cc00a0c94260a5/content.htm

OR

Try to use table TVARV by placing values in the table in first report and using the value in the second and so on...

Hope it helps

Mark if helpful

Regards

Tushar Mundlik