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

Variants, Dynamic Value, Dynamic Variants

Former Member
0 Likes
2,837

How do I create a dynamic variant in ECC 6.0. I'm aware of the steps in 3.X and 4.X environments. Any help will be highly appriciated. Thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
895

Please find below procedure to define the dynamic variant in ECC6.0

Step 1: Go to SE38, Enter the program u2013 RBDAPP01 (Program to process inbound IDocs) and click on execute button.

Step2: Enter message type u201CMATMASu201D and Click on the save button

Step 3: To create dynamic value for Created on field, Click on Selection variable for u201CCreated Onu2019 Filed

.

The F4 for the selection variable shows the following options.

T u2013 Table Variable for TVARVC

D u2013 Dynamic data calculation.

Select D u2013 Dynamic data calculation.

Step 4 : Click on u201CName of the Variable (Input only Using F4) column row for the u201CCreated onu201D field.

F4 option for the u201CName of Variable u201Cprompts to select I/E, Option & Variable Name.

Choose the variable name as u201CCurrent data u2013xxx,Current data + YYYu201D and click on ok button.

Following screen prompts to enter the value. Enter u201C7u201D for the u201Ca values for xxxu201D and 0 for u201Ca value for yyyu201D. As shown in below screen.

Save the variant.

Go back to report selection screen and select variant name as created above.

3 REPLIES 3
Read only

Former Member
0 Likes
896

Please find below procedure to define the dynamic variant in ECC6.0

Step 1: Go to SE38, Enter the program u2013 RBDAPP01 (Program to process inbound IDocs) and click on execute button.

Step2: Enter message type u201CMATMASu201D and Click on the save button

Step 3: To create dynamic value for Created on field, Click on Selection variable for u201CCreated Onu2019 Filed

.

The F4 for the selection variable shows the following options.

T u2013 Table Variable for TVARVC

D u2013 Dynamic data calculation.

Select D u2013 Dynamic data calculation.

Step 4 : Click on u201CName of the Variable (Input only Using F4) column row for the u201CCreated onu201D field.

F4 option for the u201CName of Variable u201Cprompts to select I/E, Option & Variable Name.

Choose the variable name as u201CCurrent data u2013xxx,Current data + YYYu201D and click on ok button.

Following screen prompts to enter the value. Enter u201C7u201D for the u201Ca values for xxxu201D and 0 for u201Ca value for yyyu201D. As shown in below screen.

Save the variant.

Go back to report selection screen and select variant name as created above.

Read only

Former Member
0 Likes
895

Hi,

Try like below

After you hit save on your selection screen in ecc6 you would not see the check boxes then If you scroll to the right you see a column for "Selection Variable" and even though it is Greyed-Out, you can still click a Drop Down and select a value! Select "D" Then scroll further right and click in the column and press [F4].

Regards,

Himanshu

Read only

Former Member
0 Likes
895

Hi

Below stepts are...

1.First maintain a variable with values in table TVARV. This can be done from transaction STVARV. Later this variable needs to be assigned to the variant.

By giving the values to Zfield with Lower avlue and higher value...

Enter Variant name, description, set the u2018Selection variableu2019 (L) radio button and press u2018Selection variableu2019 push button on Variant screen.

Next, check that green traffic light is on under column T (T: Table variable from TVARV). Then click on the Down arrow button, now give variant name there and save.

Now, ur dynamic variant is ready to use.

It may helpfull......

thanks

Ravi