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

Setting Transaction Code

Former Member
0 Likes
1,040

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??

8 REPLIES 8
Read only

Former Member
0 Likes
975

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

Read only

Former Member
0 Likes
975

hi,

You can create TCODE in transaction SE93,

Regards

Reshma

Read only

Former Member
0 Likes
975

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

Read only

former_member196299
Active Contributor
0 Likes
975

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

Read only

0 Likes
975

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,

Read only

0 Likes
975

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.

Read only

0 Likes
975

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.

Read only

0 Likes
975

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