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: 

Time Field on the screen to be populated from the program

vishal_kumar9
Explorer
0 Kudos

Hello Experts,

I have a requirement in which I have a field of type sy-uzeit (on a screen in Module Pool) and this has to be populated from the program after some calculations.

But what I have observed in previous developments is that, a field will be populate on the screen, if it is declared in the database and mapped to this dictionary structure or it is declared of type char.

But here I cant use any of the above solution.

So, Please suggest some other way to achieve this. I have tried all Dynpro update, get/set parameter but did not work.

Thanks in Advance !!

Regards

Vishal Kumar

3 REPLIES 3

former_member195402
Active Contributor
0 Kudos

Hi,

please use keyword GET TIME with option FIELD for that:

GET TIME FIELD my_time.

Regards,

Klaus

0 Kudos

Hi

I need to pass the value from program to the screen.

Regards,

Vishal

0 Kudos

Hi,

if my_time is your screen field in the above sample and you process GET TIME in PAI, the value should be available automatically, if the next PBO of this screen has been processed.

Without PBO you may need function module DYNP_VALUES_UPDATE to publish the modified time value.

Regards,

Klaus