Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

SET PARAMETER ID FOR radio

Former Member
0 Kudos

HOW I CAN SAY SET PARAMETER ID FOR radiobutton

9 REPLIES 9

former_member387317
Active Contributor
0 Kudos

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

0 Kudos

IF I MAKE CALL TRANSACTION AFTER THAT I CAN NOT USE ABAP MEMORY

AND WHAT IS THE WRITE STATMENT FOR BUTTON

Former Member
0 Kudos

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.

0 Kudos

tatti

in radiobutton you dontt have parameter id

thanks.

0 Kudos

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

0 Kudos

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.

0 Kudos

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.

0 Kudos

Hi,

As far as I know you can't achieve this using SET...

Someone correct me if I am wrong.

Regards,

Atish

hymavathi_oruganti
Active Contributor
0 Kudos

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