on 03-24-2016 10:14 AM
Hey all,
1. This time I wanted to ask how to get to display description of the entered value in the custom text field?
E.g.user inputs a account group of 1010 and in the next screen client wants that the description of this account group is shown. Below is a visual example.
2. And also I would like to know how to deal with "remembered values". E.g. tcode VA41 - when in first screen contract type is selected -> proceeded to the next screen for entering details of contract -> exit without saving, then when next time entering VA41 the previously selected contract type is still appearing in the field. Hot to make it to be blank every time?
Thanks!
Hi Diana,
About 1.
onLoad of this screen, you can call a webRFC and populate the description.
About 2.
onLoad you may clear the value using a one line js.
Regards
Krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Every screen has a onLoad event and you can attach scripts to be executed when this event occurs. This event triggers when the screen gets loaded. In this script you can call an RFC and get the data you require and assign it to the custom field you have.
Using the same technique, when the screen gets loaded, you can clear any value of any standard/custom control.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.