2007 May 11 3:45 AM
Hello Friends.
How can I get clear Parameter ID value, which was set in the program. suppose, if value is set to 'X', How can I make it to ' '.
Sathish Kumar
Hello Friends.
How can I get clear Parameter ID value, which was set in the program. suppose, if value is set to 'X', How can I make it to ' '.
Sathish Kumar
2007 May 11 3:51 AM
2007 May 11 4:36 AM
Hi,
You can again set the value with ' '.
Ex..
SET PARAMETER ID 'MAT' FIELD space.
Thanks,
Naren
2007 May 11 4:42 AM
hi
good
use like this
ABAP programs can access the parameters using the SET PARAMETER and GET PARAMETER statements.
To fill one, use:
SET PARAMETER ID <pid> FIELD <f>.
This statement saves the contents of field <f> under the ID <pid> in the SAP memory. The code <pid> can be up to 20 characters long. If there was already a value stored under <pid>, this statement overwrites it. If the ID <pid> does not exist, double-click <pid> in the ABAP Editor to create a new parameter object.
To read an SPA/GPA parameter, use:
GET PARAMETER ID <pid> FIELD <f>.
This statement fills the value stored under the ID <pid> into the variable <f>. If the system does not find a value for <pid> in the SAP memory, it sets SY-SUBRC to 4, otherwise to 0.
thanks
mrutyun^