Application Development 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: 

transaction with parameters

0 Kudos

what is transaction with parameters? and how can i transfer the parameter to the tcode?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hit the F1 key on the fields on the first screen of the transaction. Then hit the Technical Info key. On the lower left, look for the parameter name. For example, a company code is very likely to have the parameter 'BUK'.

In your program use the SET PARAMETER... command to set a value for each parameter that you want to pass.

Then do a CALL TRANSACTION 'Transaction Name' AND SKIP FIRST SCREEN.

Let us know how it goes.

13 REPLIES 13

Former Member
0 Kudos

Hit the F1 key on the fields on the first screen of the transaction. Then hit the Technical Info key. On the lower left, look for the parameter name. For example, a company code is very likely to have the parameter 'BUK'.

In your program use the SET PARAMETER... command to set a value for each parameter that you want to pass.

Then do a CALL TRANSACTION 'Transaction Name' AND SKIP FIRST SCREEN.

Let us know how it goes.

0 Kudos

thank you .

but i can't find SET PARAMETER

0 Kudos

Hi,

I hope I am addressing the question correctly. According to SAP Documentation:

<b>

Parameter transactions allow you to preassign values to fields on the initial screen of a transaction.

To create a parameter transaction, use the Transaction Maintenance transaction (SE93). Once you have entered a transaction code and short description, choose transaction type Transaction with parameters (Parameter transaction).

You can hide the initial screen of a parameter transaction if you have specified values for all of its fields.

</b>

For an example of creating a parameter transaction, take a look at http://www.sapdevelopment.co.uk/tips/tips_tabmaint_tcode.htm.

Regards

Message was edited by: Shehryar Khan

Additionally, take a look at http://help.sap.com/saphelp_nw04/helpdata/en/eb/5fab38d79b11d296190000e82de14a/frameset.htm for other transaction types.

0 Kudos

thank you for your help.

i create a new tcode just like S_ALR_87012615 with develope clase $TMP,when i execute it ,it ask me to assign a program name . But where can i assign the program name to it ?

0 Kudos

Hi,

i am wondering how did you create the Transaction. I assume that you used the Transaction: SE93. In your case call this TA and fill your transaction code in the shown field, the press change. After you did, you can maintain a reportname.

Hope that helps

0 Kudos

THANK YOU FOR YOUR HELP, I JUST DO IT ACCORDING TO YOUR ADVICE.I CAN CREATE A NEW TCODE OF MYSELF NOW ZTYW11.

I ALSO COPY THE PROGRAM OF S_ALR_87012615 TO MYSELF PROGRAM ZYW11.

I WANT TO CONNECT TCODE ZTYW11 TO PROGRAM ZYW11.BUT I FIND I MUST SET D_SREPOVARI-REPORTTYPE TO RE,D_SREPOVARI-EXTDREPORT TO FM 01IFMEISA1 3FMB4001 ,AND IT STILL USE THE PROGRAM OF S_ALR_87012615 .

0 Kudos

For help on SET PARAMETER, in the ABAP editor, go to keyword help. Put in keyword SET. A list of different SET commands will be presented. About 5 down from the top, you should see SET PARAMETER... You can click on it to get the help.

0 Kudos

Hi,

S_ALR_87012615 is a SAP standard parameter transaction for executing a report painter report.

A parameter transaction is useful when you want to skip the initial screen of another transaction or start from a particular screen of a module pool. Suppose you want to run VA01 skipping the initial screen, then you will create a parameter transaction ZZVA01 in SE93 and enter the transaction code VA01 in the field provided for the purpose. At the bottom of the screen, you will enter each field on the initial screen of VA01 and the value you want to set it to. Now you have custom version of VA01 that may be specific to certain users who should create only certain order types or for certain sales areas.

Now coming to your specific situation. Did you copy the program to ZYW11 for any specific reason? Did you have to make changes to this ZYW11 program. If you did that, then what you now ended up is a normal report program. In this case, you will just create a normal report transaction in SE93. You don't need to create a parameter transaction.

Just go to SE93. Enter ZTYW11 for transaction code. Give some short text. Select the radio-button for "report transaction". In the next screen, Enter ZYW11 in the program name and save it.

Srinivas

0 Kudos

Hi,

If this has been answered, please reward and close the post. If not, please revert back.

Regards,

Srinivas

0 Kudos

Thank you very much.

if i do as you tell me,it execute not like the original tcode.

please tell me how to close the message.

I still don't know how to close?reply first?where is the "close"icon and post?

Message was edited by: Ruxiang Fu

0 Kudos

You will close the post by choosing the star icon next to the post that solved your problem and select "Solved Problem".

That will close the post.

Regards,

Srinivas

0 Kudos

I still don't know how to close?reply first?where is the "close"icon and post?please teach me step by step.

best regards,

fu

0 Kudos

Hi,

By assigning 'Solved Problem' points to someone will automatically change it to a answered status as it did in this case. This way others will not try to answer it again.

Regards,

Srinivas