Application Development and Automation 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: 
Read only

PNPCE selection screen

snursalim
Participant
0 Likes
2,863

Hi, I have problem in using logical database pnpce.

When using the logical database pnpce, it already has it's own default selection screen.

The default for the upper block of the selection screen(payroll period) is:

reporting period: today

What do i have to do if i want to set the default selection screen into

period: current payroll period

Many thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,635

Hi,

Try this way..

INITIALIZATION.
PNPTIMED = '1'.

When you execute the tcode you can see the Current Payroll Period in Period input selection,

Edited by: Avinash Kodarapu on Feb 9, 2009 10:01 AM

6 REPLIES 6
Read only

mvoros
Active Contributor
0 Likes
1,635

Hi,

you can try to define variant and use this variant for your new transaction. You should be able to switch default values.

Cheers

Read only

Former Member
0 Likes
1,636

Hi,

Try this way..

INITIALIZATION.
PNPTIMED = '1'.

When you execute the tcode you can see the Current Payroll Period in Period input selection,

Edited by: Avinash Kodarapu on Feb 9, 2009 10:01 AM

Read only

0 Likes
1,635

at selection-screen output.

if PNPTIMED ne '1'.

PNPTIMED = '1'.

endif.

not very sure but you can try...

Read only

Former Member
0 Likes
1,635

Go to Reports -> Attributes

and change the HR report category to CPFYREND.

This will resolve the issue..

Edited by: Gurpreet Singh on Feb 9, 2009 5:42 AM

Read only

Former Member
0 Likes
1,635

Assign 1 to PNPTIMED in initialization event ...

Initialization.

PNPTIMED = '1'.

Read only

Former Member
0 Likes
1,635

Hi ,

You can get selection-options by pressing F1 then technical attributes .

Then in AT SELECTION-SCREEN OUTPUT event you write the following code ---

AT SELECTION-SCREEN OUTPUT / INITIALIZATION.

select_option_name-sign = 'I'.

select_option_name-sign = 'EQ'.

select_option_name-sign = sy-datum.

append select_option_name .

Regards

Pinaki

Edited by: Pinaki Mukherjee on Feb 9, 2009 5:56 AM