10-14-2007 2:00 PM
10-14-2007 2:08 PM
Hi
SAP memory is a memory area to which all main sessions within a SAPgui have access. You can use SAP memory either to pass data from one program to another within a session, or to pass data from one session to another. Application programs that use SAP memory must do so using SPA/GPA parameters (also known as SET/GET parameters). These parameters can be set either for a particular user or for a particular program using the SET PARAMETER statement. Other ABAP programs can then retrieve the set parameters using the GET PARAMETER statement. The most frequent use of SPA/GPA parameters is to fill input fields on screens
SAP global memory retains field value through out session.
set parameter id 'MAT' field v_matnr.
get parameter id 'MAT' field v_matnr.
They are stored in table TPARA.
ABAP memory is a memory area that all ABAP programs within the same internal session can access using the EXPORT and IMPORT statements. Data within this area remains intact during a whole sequence of program calls. To pass data
to a program which you are calling, the data needs to be placed in ABAP memory before the call is made. The internal session of the called program then replaces that of the calling program. The program called can then read from the ABAP memory. If control is then returned to the program which made the initial call, the same process operates in reverse.
ABAP memory is temporary and values are retained in same LUW.
export itab to memory id 'TEST'.
import itab from memory Id 'TEST'.
Here itab should be declared of same type and length.
http://www.sap-img.com/abap/difference-between-sap-and-abap-memory.htm
ABAP Memmory & SAP Memmory
http://www.sap-img.com/abap/difference-between-sap-and-abap-memory.htm
http://www.sap-img.com/abap/type-and-uses-of-lock-objects-in-sap.htm
HOPE IT WILL HELP U..
Thanks & Regards
ilesh 24x7
10-14-2007 2:10 PM
IF I MAKE CALL TRANSACTION AFTER THAT I CAN NOT USE ABAP MEMORY
AND WHAT IS THE WRITE STATMENT FOR BUTTON
10-14-2007 2:36 PM
HI,
GET PARAMETER ID / SET PARAMETER ID :- THESE R USED TO ACCESS THE SAP MEMORY.
SAP MEMORY IS THE ONE WHICH WILL BE GIVEN FOR EVERY SAP LOGON
FOR EXAMPLE : IF U R PROVIDING FOR FIELD ""VBELN""
FIRST OF ALL U NEED TO GO TO THAT FIELD IN THE
TABLE,
DOBLE CLICK ON ""DATA ELEMENT"" GO TO FURTHER
CHARACTERISTICS ,
THERE U FIND
PARAMETER ID : ""BES""
LIKE THIS U HAVE TO FIND THE PARAMETER ID FOR A PARTICULAR FIELD
AFTER FINDING PARAMETER ID USE IT AS
"""SET PARAMETER ID 'BES' FIELD VBELN."""
"""GET PARAMETER ID 'BES' FIELD VBELN."""
LIKE THIS U HAVE TO USE IT IN UR PROGRAM.
FIRST U DECALRE IT AS A RADIOBUTTON THEN U ASSAIGN IT.
10-14-2007 2:41 PM
10-14-2007 2:59 PM
litle ritchi,
please explain in detail the full process you want to do.
Nobody can read your mind.
A radiobutton is a flag, it can't carry values except 'X' and ' '. Those values will not be used in a Transaction start screen.
Regards,
Clemens
10-15-2007 8:58 AM
i have screen with radio button and parameter
this for parameter----SET PARAMETER ID 'MAT' FIELD <field>.
how to declare for radio button----??????????????????
it dont have parametre id
CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.
10-15-2007 9:55 AM
i have the same problem .
i make zscreen-- called trans CO19, i can pass parameter value with command SET PARAMETer but not the radio button value.
10-15-2007 9:57 AM
Hi,
As far as I know you can't achieve this using SET...
Someone correct me if I am wrong.
Regards,
Atish
10-15-2007 10:10 AM
for the radiobutton variable, u need to set the parameter id .
EXAMPLE:
PARAMETERS: ABC AS RADIOBUTTON.
SET PARAMETER ID 'RAD' FOR ABC.
but for transaction u want to pass the parameter id for radiobutton, u need to set the parametr id for the radiobutton in the layout of the screen and then use it using set parameter id.
for standard transactions, u need basis permission
Message was edited by:
Hymavathi Oruganti