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

How to read data from external memory

Former Member
0 Likes
498

Hi all,

I am using MB5B report in my program to get Current stock. So, I have submitted MB5B report in background and i have exported the result to SAP memory. Now i want to read some of the values of exported output. I don want to use complete MB5B output. Only soem fields from MB5B report.

How can I do it ?

Thx & regards,

Ravi

Hi all,

I am using MB5B report in my program to get Current stock. So, I have submitted MB5B report in background and i have exported the result to SAP memory. Now i want to read some of the values of exported output. I don want to use complete MB5B output. Only soem fields from MB5B report.

How can I do it ?

Thx & regards,

Ravi

1 REPLY 1
Read only

Former Member
0 Likes
377

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 Memmory - use to acess memmory area between session

eg:- when u call a transaction or report ( within ur program) want the value of the prticular field should have value define by you.

Then you use GET and SET parameter command field you set or get should have parameter ID

Set

http://www.geocities.com/SiliconValley/Campus/6345/set_para.htm

GET

http://www.geocities.com/SiliconValley/Campus/6345/get_para.htm

EXPORT

http://www.geocities.com/SiliconValley/Campus/6345/export01.htm

Award points if found helpfull....

Cheers,

Chandra Sekhar.