SAP StackFICOHRMMSDPMPSABAPNetWeaverTablesTcodes ☰MENU

ABAP GET PARAMETER statement

GET PARAMETER in ABAP programming is used for reading the data objects in SAP memory. Before accessing, the objects should be created in SAP memory using SET PARAMETER. These data objects in SAP memory is known as SPA/GPA parameters ( also known as SET/GET parameters) .

Syntax of GET PARAMETER statement

GET PARAMETER ID pid FIELD dobj.

Here we assigning a data object named dobj in ABAP program with the content of object pid in SAP memory.

sy-subrc values

  1. sy-subrc=0 ( the specified SPA/GPA parameter exists in memory and its value transferred)
  2. sy-subrc=4 (The specified SPA/GPA parameter not exist in memory for the user)
Also Read : View Other ABAP Keywords & Syntax -> ABAP Transaction codes

SAP ALECRMSCMSRMSAP Solutions SAP ReferencesSAP BasicsPP ModuleWMSAP Partners
HomeContact & Privacy PolicyTwitter
All of the product names here are trademarks of their respective companies. The site sapstack.com is not affiliated with SAP AG.
©2024 sapstack.com