Help Creating a t-code via SE93

Question: I'm trying to create a t-code via SE93 to run a Z abap program. I can create a t-code to run the program, but whenI try to create a t-code to run a variant of the program I get an error message. I input the the program id, the selection screen already has 1000 populated and when I put the variant name in the"start with variant" field I get an error message: "There are no variants for screen 1000". But I can run the variant for the programe from SE38.

Has anyone got any pointers on what is going wrong - its driving me NUTS!!!

Thanks

Answer:
Create it as a report transaction (program + SELECTION screen), not a dialog transaction without selection screen.

Another popular solution is to hardcode the selection values of the variant into the program itself...


_________________


Answer:
Hi, thanks. I have been using the program + selection screen option, this is where I was getting the error message. I'm not sure why the variant isn't hardcoded into the program but will ask. In the meantime any other suggetions?????

Answer:
Hi,

check with the ABAPer what kind of program it is (ABAP report or a Dialog program) and then redo your TCode !

See in SE93 menu "Change"-"Transaction type".

Hope it is your case !
Regards

Marty

Answer:
If you can run it from SE38 then it is a report program.

Does your error say that there are inconsistencies? Some transactions cannot be single tested from SE93.

Enter your Z transaction as /oZ... into the command window and see if that works.
_________________
Copyright ?2007 - 2008 www.jt77.com