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: 

How to display computed value in the input field

Former Member
0 Kudos

Hi,

I am a newbie, could anyone help me in solving the problem

ho display the computed value in the input field.

regards

guhapriyan

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Guha ,

You can display a computed value in the input field if tis a Dictionary/program fields.

You can use this statement:

move <x> to <y>

<x> element conatining the value..

<y> Input field name

5 REPLIES 5

ssimsekler
Active Contributor
0 Kudos

Hi Guhapriyan

All fields in a SAP screen is related to a variable at the backend program. So setting that variable to a value will yield to display the value in that field. However you should set the field attribute poperly as which data type it will contain.

However, it seems you need a more comprehensive aspect for screen programming. Refer to relevant references for that.

*--Serdar

balaji_viswanath
Participant
0 Kudos

Guha,

Can you please explain further... always please give full details...

Are you trying Dialog programming or list programming?

Can you please explain the sceanrio and post the code also.

Regards,

Balaji Viswanath.

Former Member
0 Kudos

Hi Guha ,

You can display a computed value in the input field if tis a Dictionary/program fields.

You can use this statement:

move <x> to <y>

<x> element conatining the value..

<y> Input field name

Former Member
0 Kudos

hi guha,

to display a calculated value in the input field,after the at selection-screen output pass the value to the screen field.

hope this helps.

cheers,

latha prabhu.

Former Member
0 Kudos

hi guha,

to display a calculated value in the input field,after the at selection-screen output pass the value to the screen field.

hope this helps.

parameters : p_sess(10) type c.

at selection-screen output.

sum = 5 + 5.

p_sess = sum.

cheers,

latha prabhu.