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

pass parameter

Former Member
0 Likes
825

Dear All,

I am trying to pass paramter to a transaction but this call doesn't work.

SET PARAMETER ID 'XXX' FIELD XXX-value.

CALL TRANSACTION 'ME59N' AND SKIP FIRST SCREEN.

Pls note ME59N is a report

Do have an idea what can cause this occurance.

Regards

Marco M.

Edited by: Marco M on Aug 5, 2009 12:22 PM

1 ACCEPTED SOLUTION
Read only

venkat_o
Active Contributor
0 Likes
754

Hi Marco, <li>Try this way.

DATA:
        it_rsparams TYPE STANDARD  TABLE OF rsparams,
        wa_rsparams LIKE LINE OF it_rsparams.

   wa_rsparams-selname = 'SD_SAKNR'. "Screen field name SD_SAKNR for G/L account
   wa_rsparams-kind    = 'S'.        "S=Select-options P=Parameters
   wa_rsparams-sign    = 'I'.
   wa_rsparams-option  = 'EQ'.
   wa_rsparams-low     = '11010'.
   wa_rsparams-high    = space.
   APPEND wa_rsparams TO it_rsparams.
   SUBMIT fagl_account_items_gl VIA SELECTION-SCREEN
   WITH SELECTION-TABLE it_rsparams AND RETURN.
<li>Some times when you pass value to destination transaction or program using SET, it may not be reflected. the reason is that there should be GET statement to get the value sent to memory id. If that statement is not used, value is not available. Thanks Venkat.O

6 REPLIES 6
Read only

former_member585060
Active Contributor
0 Likes
754

This message was moderated.

Read only

Former Member
0 Likes
754

HI,

For which field are you setting the parameter ID?

Regards,

Ankur Parab

Read only

Former Member
0 Likes
754

Hi,

Please check PARAMETER ID 'XXX' is same of the field on Secreen.

To check parameter Id of a field press F1 on the field and then click Technical Information button.

Tou will get Parameter ID Field on Pop up.

For Example in ME59n, Field Plant has Parameter ID as WRK.

Thanks & Regards,

ShreeMohan

Read only

rainer_hbenthal
Active Contributor
0 Likes
754

> Pls note ME59N is a report

> Marco M.

ME59N is a transaction for sure.

Edited by: Rainer Hübenthal on Aug 5, 2009 12:31 PM

Read only

Former Member
0 Likes
754

Hi,

Could you please give for which field you are seting parameter ID.

Read only

venkat_o
Active Contributor
0 Likes
755

Hi Marco, <li>Try this way.

DATA:
        it_rsparams TYPE STANDARD  TABLE OF rsparams,
        wa_rsparams LIKE LINE OF it_rsparams.

   wa_rsparams-selname = 'SD_SAKNR'. "Screen field name SD_SAKNR for G/L account
   wa_rsparams-kind    = 'S'.        "S=Select-options P=Parameters
   wa_rsparams-sign    = 'I'.
   wa_rsparams-option  = 'EQ'.
   wa_rsparams-low     = '11010'.
   wa_rsparams-high    = space.
   APPEND wa_rsparams TO it_rsparams.
   SUBMIT fagl_account_items_gl VIA SELECTION-SCREEN
   WITH SELECTION-TABLE it_rsparams AND RETURN.
<li>Some times when you pass value to destination transaction or program using SET, it may not be reflected. the reason is that there should be GET statement to get the value sent to memory id. If that statement is not used, value is not available. Thanks Venkat.O