‎2007 Jun 30 11:00 AM
Hi,
i am using Export itab to memory id in my program and after that i have to run another report.
<b>When i use Submit reportname and then use import it is working fine.
But in case i use leave to transaction 'ZZZ'. snd then in that import is not working.</b>
I have to use leave to transaction because i want user to enter some values on selection screen.
What can be the problem in this case?
Regards,
Sonika
‎2007 Jun 30 11:05 AM
‎2007 Jun 30 11:09 AM
i hv to export internal table thats why i am using that...i cn't use set parameter
‎2007 Jun 30 11:17 AM
hi
To fill the input fields of a called transaction with data from the calling program, you can use the SPA/GPA technique. SPA/GPA parameters are values that the system stores in the global, user-specific SAP memory. SAP memory allows you to pass values between programs.
ABAP programs can access the parameters using the SET PARAMETER and GET PARAMETER statements.
<b>To fill one, use:</b>
<b>SET PARAMETER ID <pid> FIELD <f>.</b>
This statement saves the contents of field <f> under the ID <pid> in the SAP memory. The code <pid> can be up to 20 characters long. If there was already a value stored under <pid>, this statement overwrites it. If the ID <pid> does not exist, double-click <pid> in the ABAP Editor to create a new parameter object.
<b>To read an SPA/GPA parameter, use:</b>
<b>GET PARAMETER ID <pid> FIELD <f>.</b>
This statement fills the value stored under the ID <pid> into the variable <f>. If the system does not find a value for <pid> in the SAP memory, it sets SY-SUBRC to 4, otherwise to 0.
regards,
Ashok Reddy
‎2011 Jan 21 7:37 AM