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 customize the selection screen of Get Objec

Former Member
0 Kudos

hi all,

I'm developing a program for sap hr.

I use the 'Get objec' to creat the selection screen.

and I wanna limit the date selection.

The defaut display is the 'Period' of radio-button group.

and I want only the single field 'Date' for input insead of a period with starting and ending dates (manuelly we need click on a button to switch to 'Date' input).

How can I switch automatically to the 'date' when I initilize my program?

Thanks a lot for your help

Yimin

5 REPLIES 5

rainer_hbenthal
Active Contributor
0 Kudos

call the macro rh_sel_keydate in the initialization phase of your program.

0 Kudos

Hi Rainer,

Could you tell me this macro is in which program/include?

I can't find it.

Tks

0 Kudos

maybe its somewhere in the logical database pch or table trmac

0 Kudos

its in the include DBPCHCOM of logical database PCH

Former Member
0 Kudos

Hi,

This is possible through program attributes.

goto attributes, click on 'HR Report category'

now make sure that, 'Master Data (Infotype)' is changed accordingly your requirement.

I think it is helpfull to you.

Regards

Sai