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: 

to show default value at input screen.

Former Member
0 Kudos

Hi all there,

i want to show default value at input screen as sy-uname in module pool program.

Regards

Sagar

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hello,

In the PBO of the input screen, populate the screen field value as sy-uname .

Thanks,

Sowmya

3 REPLIES 3

Former Member
0 Kudos

Hello,

In the PBO of the input screen, populate the screen field value as sy-uname .

Thanks,

Sowmya

Former Member
0 Kudos

Hi,

Do the following for your requirement.

Declare a work area in top include like

wa_name like user_addr-name_textc.

Then in any PBO module you write like

select single name_textc into wa_name from user_addr

where bname = sy-uname.

SET TITLEBAR 'TI-1' with wa_name.

This will definitely solve your problem.

If the detail is not available in user_addr in your company, then you check for usr02, usr03, usr04 and so forth. But however you have fetch like this and set the title bar.

Thanks and regards,

Venkat.

Former Member
0 Kudos

solved