‎2008 Jan 15 12:48 PM
Hi All,
I have to create a program that would print out employee contracts from infotype 16.
I am using logical database PNPCE.
Is there a way to add "contract type" as a selection parameter in the screen that is generated by PNPCE?
Thanks,
~Mark
‎2008 Jan 15 12:54 PM
Hi,
Go to program attributes and click on report category . create it and in the F4 check if this field is there. this is the only way.
Regards,
Nishant
‎2008 Jan 15 12:54 PM
Hi,
Go to program attributes and click on report category . create it and in the F4 check if this field is there. this is the only way.
Regards,
Nishant
‎2008 Jan 15 12:57 PM
Hi,
Create CTTYP(Contract type) as input parameter in the program.
Then after GET PERNR.
write check stmt for that field like below.
PARAMETERS: p_cttyp type p0016-cttyp.
GET PERNR.
CHECK p0016-cttyp EQ p_cttyp.
Rewards points if helpful.
Regards,
Srinivas Ch
‎2008 Jan 15 12:58 PM
Hi Mark
You cannot add "Contract Type" as the selection fields through PNPCE LDB. PNPCE or PNP only provides you the fields from IT0000 and IT0001 for selection screen. If you need the Contract Type from IT0016 then declare one in your program and then later filter the records on this field inside GET PERSA event.
Cheers
~ Ranganath
‎2008 Jan 15 2:16 PM
Thanks for your replies guys.
How do I get to display the text of the field on the screen instead of just the field name.
Thanks.
‎2008 Jan 15 2:33 PM