01-15-2014 11:24 AM
Hello ABAPers,
How to create dynamic text of i/o field in module pool programming after selecting date from dialog screen.
My requirement is that after selecting date from dialog screen some action should happen(some event should trigger). I am able to create dynamic text for i/o field after user interaction only(after pressing push button or enter button).
But, I want to create it as soon as user selects date from dialog screen. Please help me.
01-15-2014 11:33 AM
Hi,
I think without any user-interaction the cursor can't move to PBO! check any dialog modules are available in this instance!
Check these demo programs could find any alternate
DEMO_DIALOG_MODULE
DEMO_DYNPRO_F4_HELP_MODULE
DEMO_DYNPRO_MODULE
01-15-2014 11:48 AM
Hi,
try to use an own F4 for date and do your Operation.
Here a short code:
Regards, Dieter
01-15-2014 12:19 PM
Hello Dieter,
I have tried your code but its not working, even after value of the date is selected it is not displayed in p_date0.
01-15-2014 12:26 PM
Hi,
I don't think so in module pool! the cursor will stop at POV only! not moving to PBO!
01-15-2014 12:43 PM
Hi,
try to insert P_DATE0 like P_DATE1 in table TAB_UPDATE.
Redards, Dieter
01-15-2014 12:15 PM
Hi,
You can use the FM 'DYNP_VALUES_UPDATE' . This Function module will help in updating the values in text i/o fields.
You have to pass the field name along with the values as import parameter to this FM.