‎2010 Oct 20 7:30 AM
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.
‎2010 Oct 20 7:37 AM
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
‎2010 Oct 20 7:48 AM
Hi Lalit,
Thanks for the reply.
Could you please tell me where can i find that check box maintain screen variants.
Regards,
Samatha.
‎2010 Oct 20 7:52 AM
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
‎2010 Oct 20 8:01 AM
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
‎2010 Oct 20 7:41 AM
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
‎2010 Oct 20 7:52 AM
Please put a break point at Functional Module u201CRS_VARIANT_CHECK_TSTCu201D and debug. Check the RETURNCODE = 3.
‎2010 Oct 20 7:59 AM
Hi,
If you are getting warning message , no need to bother.
Evebthough you can create the Transaction code.
Regards,
Prvain
‎2010 Oct 20 9:20 AM