We can pass data to a called program using SPA/GPA parameters. SPA/GPA
parameters are field values saved globally in memory. Each parameter is identified by a
three-character code: you can define these parameters in the object browser by
selecting Other objects on the first screen. The SPA/GPA storage is user-specific and
valid throughout all the user's sessions.by using the SET PARAMETER or GET
PARAMETER statements
These statements let you store and retrieve SPA/GPA values from an ABAP/4 program.
If the selection screens for the two transactions do not share the same required fields,
use these statements to store screen fields explicitly by name.
Before calling the new transaction from a PAI module, store the caller transaction's fields
under one name:
SET PARAMETER ID 'RID' FIELD
The system stores the value in
character identifier 'RID' must be defined in the SAP table TPARA. If the SPA parameter
'RID' already contains a value, the SET PARAMETER statement overwrites it (with the
contents of
In the PBO module for the called transaction, retrieve the fields under the other name:
GET PARAMTER ID 'RID' FIELD
ABAP,ABAP report,Interactive Report,ALV grid,ALV list,IDOC,User Exit,RFC,Smartform,sapscript,ABAP Performance,Remote Function Module( RFC ),Function Module,Modularization techniques,ABAP tools,ALV report Generator,ABAP Interview Questions,BDC,BAPI,ALE,BADI, EDI,InternalTable,DataStructure,LSMW,Domain,DataElement,Basis and Administration ,ABAP HR development,ABAP Debugger,BW,ExceptionHandling,Download FI, CO, MM, PP, SD, PM, PS, QM, SM, HR, BW, APO,ABAP Tutorial
Monday, June 18, 2007
What is set parameter and get parameter?
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment