2010 May 14 8:23 AM
Hi
I have some fields on subscreen in a main screen. When i click a button on the main screen I need to save the values entered in subscreen.How can i do this.please help.
Hi
I have some fields on subscreen in a main screen. When i click a button on the main screen I need to save the values entered in subscreen.How can i do this.please help.
2010 May 14 8:36 AM
Do you mean you have entered some value sin ths sub screen and then coming back to the main screen at user command ?
If this is the case , the values will be available if you are using global varaibles.
2010 May 14 9:28 AM
Hi Pradeep
you can update value on screen in The PAi of the Subcsreen
Thanks
Nilesh
2010 May 15 10:03 AM
Hi
If I input any values from the program, Thos values are displayed in the input boxes.But IM not able to retrieve values from the fields in the subscreen.
2010 May 15 10:19 AM
HI,
The OK_CODE which is the user command of any screen will be avaliable in the Main screen onlly, it will not be avaliable in the sub screen. So u can happily save your data in PAI of either main screen or the Sub screen using the OK_CODE.
handle ok_code in the PAI of main screen & declare the data in Sub screen Globally. So u can save the data of the sub screen in the main screen itself. The data declared, i.e your "Input box name" in the sub screen should also be declared in the main program with the same name.(data declaration). So that the data from your sub screen flows to your global variable & then it is avaliable for saving in the PAI of ur main screen.
Hope this points helps you.
Edited by: Balakrishnachaitanya Lalam on May 15, 2010 2:50 PM
Edited by: Balakrishnachaitanya Lalam on May 15, 2010 2:52 PM
2010 May 18 5:20 AM
Hi
I want to read the values in the fields of the sub screen to a work area which i am not able to do . How to do this.
2010 May 18 5:23 AM
2010 May 18 6:02 AM
Hi
It is throwing invalid dynpro name exception for the program name i gave.Name of my program 'ZREQDET'
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |