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

Problem while creating a z tcode

Former Member
0 Likes
3,392

Hi Experts,

I have a requirement to create a Z tcode for an existing report and while I am creating it using Program and Selection Screen(report transaction), I am getting a warning message saying 'No system variant chosen for nonlocal object'.

Please help.

Thanks in advance.

Regards,

Samatha.

8 REPLIES 8
Read only

Former Member
0 Likes
1,769

Hi

in this case while creating the TCODE you need to check the maintain screen cariant check box before saving this TCODE and then save it.

it will work for you

Thanks

Lalit Gupta

Read only

0 Likes
1,769

Hi Lalit,

Thanks for the reply.

Could you please tell me where can i find that check box maintain screen variants.

Regards,

Samatha.

Read only

0 Likes
1,769

Hi

go to se93. give description and select one of the option for report and screens.

then on next screen where you need to give the name of the program for which you are creating the tcode and the screen number, just below it there is a check box with text "Maintenance of standard transaction variant is allowed".

I hope you got it now.

Thanks

Lalit Gupta

Read only

0 Likes
1,769

Hi Lalit,

Yes I can see that but my requirement is to start with a variant means if i give that z tcode it should automatically show the values of a variant which i have created for that am using start with variant in Program and selection screnn radio button.

Regards,

Samatha

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,769

I suppose you want to transport report and transaction, so the variant must also be transportable, use a system variant (beginning with CUS& or SAP& )

Else you will transport report and transaction, but not the variant and that will cause some error when importing/executing in target systems.

You could also manually transport a non-system variant, but this one may (and will) be modified by user (Murphy's_law) - users wont be able to change a system variant in a productive system.

Regards,

Raymond

Read only

Former Member
0 Likes
1,769

Please put a break point at Functional Module u201CRS_VARIANT_CHECK_TSTCu201D and debug. Check the RETURNCODE = 3.

Read only

Former Member
0 Likes
1,769

Hi,

If you are getting warning message , no need to bother.

Evebthough you can create the Transaction code.

Regards,

Prvain

Read only

0 Likes
1,769

solved