Application Development and Automation 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: 
Read only

set parameter

Former Member
0 Likes
833

Hello guru , Hw to use set parameter and get parameter for select option field-low and field-high field .

Joy

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
751

Joy,

See this doc , will be helpful

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

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.

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

Amit.

5 REPLIES 5
Read only

Former Member
0 Likes
752

Joy,

See this doc , will be helpful

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

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.

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

Amit.

Read only

Former Member
0 Likes
751

Hi.

[http://sapient.wordpress.com/2007/06/19/what-is-set-parameter-and-get-parameter/]

Regards,

Sravanthi

Read only

0 Likes
751

No guru I am not asking all of that , my prob is like this .

SELECT-OPTIONS : plant FOR vbrp-werks NO INTERVALS memory id wrk .

SELECT-OPTIONS : fkart FOR vbrk-fkart memory id fkt,

date FOR vbrk-fkdat memory id fdt.

now when I want to pass the value from other program selection screen

SET PARAMETER ID 'WRK' FIELD s_werks-low .

SET PARAMETER ID 'FTY' FIELD s_fkart-low .

SET PARAMETER ID 'FDT' FIELD s_fkdat-low .

CALL TRANSACTION 'YGR' ."AND SKIP FIRST SCREEN .

EXIT .

the value is coming to the other selection screen , in selectt option fielde only in field-low but I want in low and high field together .

whats the procedure , plz guide me .

Joy

Read only

Former Member
0 Likes
751

ok