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: 

Parameter ID

Former Member
0 Kudos

Hi Experts,

I have one query for parameter id. What exactly parameter id?

Actually I was asked to prepare the selection screen & given some reference of parameter id for that field.

I have one field Customer number & given reference as parameter id KUN.

What i need to do exactly for this?? What will happen in selection screen & all??

Pls suggest??

7 REPLIES 7

Former Member
0 Kudos

Hi Poonam,

Searching on SCN will be a good practice
.

Anyways check this thread. Hope it will be helpful for you.

Thanks

Nitesh

Former Member
0 Kudos

Hi,

Refer to this Link...

Former Member
0 Kudos

PARAMETER ID is used to set content of a specific screen field in a module pool program.

Like:

SET PARAMETER ID 'KUN' FIELD VAR1.

former_member181995
Active Contributor
0 Kudos

common purpose of using parameter id in selection screen to fill the value by default which is set in user-id for perticuler field.

sample code:

SELECT-OPTIONS S_BUKRS FOR BSEG-BUKRS.

Write the code in the INITIALIZATION event.

INITIALIZATION.
GET PARAMETER ID 'BUK' FIELD S_BUKRS.

For Further help F1 is there.

former_member1245113
Active Contributor
0 Kudos

Hi Poonam

This is regarding the ABAP and SAP memory concepts

if it is regarding the INTERNAL SESSIONS it it about ABAP memory

if it is regarding the EXTERNAL seesions it is about SAP memory

when you say EXPORT the value of the field gets stored in the ABAP memory

and will be imported to the field name provided with the KEY word IMPORT

the same applies to SAP memory where we use SET GET KEY word

please go through the corresponding KEY word documentaions for the detail info as much theory availabe

Hope this will help you

Regards

Ramchander Rao.K

former_member206439
Contributor
0 Kudos

Hi

To fill the input fields of a called transaction with data from the calling program, you can use the SPA/GPA technique. SPA/GPA parameters are values that the system stores in the global, user-specific SAP memory. SAP memory allows you to pass values between programs. A user can access the values stored in the SAP memory during one terminal session for all parallel sessions. Each SPA/GPA parameter is identified by a 20-character code. You can maintain them in the Repository Browser in the ABAP Workbench. The values in SPA/GPA parameters are user-specific.

ABAP programs can access the parameters using the SET PARAMETER and GET PARAMETER statements.

for better help

Reag SAP Help

http://help.sap.com/saphelp_nw04/helpdata/EN/9f/db9e0435c111d1829f0000e829fbfe/content.htm

Former Member
0 Kudos

Hi Poonam,

As mentioned my above members PARAMETER ID wil be stored in SAP memory, so even if you come out of of your program then also they will be having the stored value.

For example say, you have a requirement like after processing a sales order in a program you need to display the details for that particular sales order number using transaction VA03, but you don't want to enter sales order number in the first screen and you directly want to go the second scren.

For this you first you have to find the 'Parameter Id' for sales order number.

for this go to transaction 'VA03' ->press F1 on sales order nuber ->Click 'Technical Information' (4th button) ->under field data you can see parameter id as 'AUN'.

SET PARAMETER ID 'AUN' FIELD your Sales order Number'.

  • Now Sales order number will be set.

CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.

*Now the details will be displayed

Regards,

Manoj Kumar P