‎2009 Feb 24 12:40 PM
Hi abapers,
I have calculated data in one screen and i want this data to be displayed in next screen.
Please guide me in this case
‎2009 Feb 24 12:41 PM
Keep teh calculated data in Global internal table and use it in PBO of the second screen
‎2009 Feb 24 12:44 PM
declare a global varible
pass dataa into into it
and use this variable in next screen.
‎2009 Feb 24 12:48 PM
Hi Jansi,
You can also use ABAP memory. For that you can use, EXPORT and IMPORT statements. You can search for actual syntax in SDN. Plenty of help is available. Through this, you can store, modify and fetch value in ABAP memory.
Regards,
Sambaran Ray.
‎2009 Mar 05 6:37 AM
Suppose you are storing the Quantity (qty) value in the first screen for the field ztable-qty
i.e. qty = ztable-qty.
Now if you want to see the same quantity in the next screen , then
1. at first declare the qty as a global variable in the module pool report.
2. and then in the PBO of the next screen. write the code:
ztable-qty= qty.
Note: ztable-qty is basically the field name for the screen. It may change in your case.
regards,
Nilay
‎2009 Mar 05 6:38 AM
‎2009 Mar 05 6:42 AM
Hi friend,
Declare field name globally inside program.
In the next screen, in layout use same name for the screen field.
It will automatically reflect in PBO of next screen.
Thanks..
‎2009 Mar 05 7:04 AM
Hi,
This is very simple
1.Declare the variable used for calculation on first screen as Global in the TOP include (as all the vraiables declared in TOP are available in alll the screen and subscreens)
2.Simply use the variable in PAI of screen one for calculation
3.Use the same variable used in Screen 1 ,in the PBO of screen 2 for display.
Hope this help you.
Pooja