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

hello

Former Member
0 Likes
696

Hi there,Can we call a transaction from a secondary list? how?

6 REPLIES 6
Read only

Former Member
0 Likes
668

Hi,

Use the following Statements you can call other Transactions Like ME23

SET PARAMETER ID 'BES' FIELD IT_EKKO-EBELN.

CALL TRANSACTION 'ME23' AND SKIP FIRST SCREEN.

Regards

Sanjeev

Read only

Former Member
0 Likes
668

hi ,

yes, we can call...

in secondary transaction.. if u want to go to mm03 transaction..

then write a code as

<b>SET PARAMETER ID 'MAT' FIELD WA_MARA-MATNR.

CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.</b>

if there is not parameter required then u can call the transaction directly..

<b>CALL TRANSACTION 'MM03'.</b>

Regards

CNU

Read only

Former Member
0 Likes
668

Hi,

You can achieve this by using the command LEAVE TO TRANSACTION <TCODE>

LEAVE TO TRANSACTION tcod.

Addition:

... AND SKIP FIRST SCREEN

Effect

Ends the current processing and starts the transactiontcod. All previous internal sessions are deleted from thestack, and one new internal session is opened for the program ofthe transaction that you called. When this session ends, controlreturns to the next-highest area menu.

Note

If you pass the constant SPACE or an emptycharacter field to tcod, the system ends the current program anddeletes all existing internal sessions from the stack. The systemreturns to the next-highest area menu.

Examples

Startingi Transaction SM02:

LEAVE TO TRANSACTION 'SM02'.

Restarting the current transaction:

LEAVE TO TRANSACTION SY-TCODE.

Addition

... AND SKIP FIRST SCREEN

Effect

The first screen of the transaction is processed withoutbeing displayed. The fields on the screen are filled, where possible,using SAP memory. You should therefore firstset the required values using SETPARAMETER. If an error occurs while processing the initial screen (becausea value is wrong or missing), the screen is displayed, and the usermust correct the entry by hand before the transaction can continue.

I hope this solves your problem.

Regards,

Vara

Read only

Former Member
0 Likes
668

give..

call transaction 'tcode' or leave to transaction 'tcode'.

give transaction code in the place of tcode.

regds,

kiran

Read only

Former Member
0 Likes
668

Hi

Yes..offcourse CALL TRANSACTION 'transaction name'...

Srini

Read only

Former Member
0 Likes
668

Thanx a lot, it helped me.!!!