What are the differences between the parameter SET and GET?

Go down

What are the differences between the parameter SET and GET?

Post  govind on Sun Apr 08, 2012 3:40 pm

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.

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.

govind
Admin

Posts : 54
Join date : 2012-01-31

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum