‎2007 May 04 6:58 AM
Hi,
Anybody will pls tell me how to set the two transaction code for a single program??
I mean if we have one program ZXY & wanted to set the transaction code Z1 & Z2 for create & change respectively.
Could you pls tell me how to do it??
‎2007 May 04 6:59 AM
Just go to se80 or se93
<b><u>SE80</u></b>
in the left hand side. if u right click on the program name u will have the option to create a transaction.
<u><b>SE93</b></u>
I n SE93 u can create by giving ur program name and transactino nae that u want to give.
<b>Award if useful</b>
Regards,
Sudheer
‎2007 May 04 7:00 AM
‎2007 May 04 7:00 AM
u cannt call same program+screen for 2 or more tcodes ,
in that case u have to call with diff Screen Nos.
like
z1 = prgm1+screen 101.
z2 = prgm1+screen 102.
Regards
prabhu
‎2007 May 04 7:07 AM
hi Neha ,
Do it this way,
go to Tcode SE80, open the program XYZ , right click on your program , there will be an option for creating a transaction , give name as Z1 for create .
then , go to the program XYZ , again right click on your program , there will be an option for creating a transaction , give name as Z2 for change .
But remember one thing, handle the logic for the screens in the PBO and PAI if you are using same screen ... and if you are using different screen then use the logic accordingly ..
if you are using multiple screens in a same program and multiple transactions then while assigning the transaction to the programs , check for the proper screens as well ...
hope this helps you ...
Reward if helpful ...
Regards ,
Ranjita
‎2007 May 04 7:18 AM
Hi Ranjita,
Thanks for your valuable reply. It means that we can maintain the multiple transaction for same screen. But we need to set the logic for different transaction code accordingly in PBO & PAI.
let me know your comments.
Thanks,
‎2007 May 04 7:32 AM
Yes, you are absolutly right with this one.
When same screen is called from more than one TCODE then the code need to be handled in PBO & PAI of the module pool.
e.g. trxn OOEG & OOET.
Regard,
Amit
Reward all helpful replies.
‎2007 May 04 7:32 AM
Hi,
Yes,you can maintain 2 two transactions for same program.
Refere standard transactions like VA02,VA03.Both are using the same program SAPMV45A.If you check the program,you will get good idea.
‎2007 May 07 11:55 AM
Hi,
U need to <b>award points for useful answers</b> and u have to mention it as solved if ur question is solved. Dont forget.
Regards,
Sudheer