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

PNP Selection Screen

former_member377111
Participant
0 Likes
1,072

Hi Friends,

While creating a report in HR module im facing a problem with the selection screen.Im using the payroll selection screen to enter the period.im also givig the company code in the below block.But the payroll area is comming mandatory which i donot want.i want to excecute the report for a company code,which could have many payroll areas..Please help me!!!

Points would be rewarded for helpful tips.

Thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
884

Hi,

Use the below code

at selection-screen output.

loop at screen.

if screen-name = 'PNPABKRS-LOW'.

screen-required = 0.

endif.

modify screen.

endloop.

6 REPLIES 6
Read only

Former Member
0 Likes
885

Hi,

Use the below code

at selection-screen output.

loop at screen.

if screen-name = 'PNPABKRS-LOW'.

screen-required = 0.

endif.

modify screen.

endloop.

Read only

0 Likes
884

Its still not allowing.

Giving error as "No valid payroll area specified".

Read only

Former Member
0 Likes
884

you can customize your selection screen if u r using it with a ldb]\

CHECK OUT IN ATTRIBUTES

HR report category

there you can custmize ur selection screen

thnkx

bhanu

Read only

Former Member
0 Likes
884

Then create your own Report category and change the attributes of Payroll area as non-mandatory

Read only

Former Member
0 Likes
884

You can opt for HR report category without Payroll Area...

i think there are some

regards

PRax

Read only

0 Likes
884

Hi Friends,

Thanx for ur replies,but still im facing problem.

When im using the no payroll area report categories,even the company code selection field is disappearing from the below selection.

Please can u help me in creating a report category in which i require the payroll period but no payroll area.and the below all selection screens,which has the company code field..