Application Development 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: 

Dynpro: ENTER key clears values due to CALL SUBSCREEN

sap_rocks
Participant
0 Kudos
162

If a user presses the ENTER key in a dynpro with multiple tabs embedded in one main screen 100, in PBO CALL SUBSCREEN is being called, which regenerates the screen and therefore clears the values a user entered before. How can I avoid the clearing of the values? In the PAI the entered values are saved in the globals variables with the same name as the dynpro fields.

1 ACCEPTED SOLUTION

sap_rocks
Participant
0 Kudos
75

Ok, found my mistake: Had to rename the attribute like the related field in the screen and use DYNP_VALUES_UPDATE. Thought before that the field and the global attribute had already the same name... well they didn't - problem solved.

1 REPLY 1

sap_rocks
Participant
0 Kudos
76

Ok, found my mistake: Had to rename the attribute like the related field in the screen and use DYNP_VALUES_UPDATE. Thought before that the field and the global attribute had already the same name... well they didn't - problem solved.