Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

what is get/set parameter id



Former Member

A parameter id allows you to store and retrieve values for a specific user, see below for syntax on how to perform these operations.

The program displays a report containing what the value of the parameter id is before you run the SAP program and what it is after wards. Before will contain blank or what ever you entered last time the program was executed, and the after value will be the value you entered onto the ABAP selection screen this time.

Example program,:

REPORT  PARAMID                                                 .

data: gd_valuein(10) type c,
      gd_valueout(10) type c.

PARAMETERS: p_value(10) type c.

get parameter ID 'ZMESS' field gd_valuein.
set parameter ID 'ZMESS' field p_value.
get parameter ID 'ZMESS' field gd_valueout.

write:/ 'value at start of program:',  gd_valuein,
      / 'value at end of program:',  gd_valueout.

Reward points if it is usefull ....


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question