09-05-2013 10:42 AM
i remove Period from standard screen and take PNPBEGDA & PNPENDDA as system date .
i want to add only one field Person Number on selection screen.
in program i added this line before get pernr.
CLEAR : PN-BEGDA,PN-ENDDA.
PN-BEGDA = SY-DATUM.
PN-ENDDA = SY-DATUM.
also i am making new HR Report category for Master data (infotypes).
but i dont get desire output.
if it is possible to remove Current month, Current Year, Up To day, From Today and other Period radio buttons.
i want use only Today radio button with default selected.
09-05-2013 1:50 PM
Hi Jay,
just make a tiny Wrapper report like this:
REPORT Z_MY_WRAPPER.
data: pernr type persno.
SELECTION-SCREEN BEGIN OF BLOCK psel with FRAME.
SELECT-OPTIONS: s_pernr for pernr.
SELECTION-SCREEN END OF BLOCK psel.
data: repid type sy-repid value 'REPORTNAME'.
submit (repid)
with pnpbegda = sy-datum
with pnpendda = sy-datum
with pnppernr in s_pernr
and return.
You can of cours set any other selection-screen variables to yout liking.
Regards Jörg
09-05-2013 1:50 PM
Hi Jay,
just make a tiny Wrapper report like this:
REPORT Z_MY_WRAPPER.
data: pernr type persno.
SELECTION-SCREEN BEGIN OF BLOCK psel with FRAME.
SELECT-OPTIONS: s_pernr for pernr.
SELECTION-SCREEN END OF BLOCK psel.
data: repid type sy-repid value 'REPORTNAME'.
submit (repid)
with pnpbegda = sy-datum
with pnpendda = sy-datum
with pnppernr in s_pernr
and return.
You can of cours set any other selection-screen variables to yout liking.
Regards Jörg
09-06-2013 6:38 AM
it is very usefull below is my code.
TABLES : PERNR.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS: S_PERNR FOR PERNR-PERNR.
SELECT-OPTIONS: S_STAT2 FOR PERNR-STAT2.
SELECT-OPTIONS: S_BUKRS FOR PERNR-BUKRS.
SELECT-OPTIONS: S_WERKS FOR PERNR-WERKS.
SELECT-OPTIONS: S_BTRTL FOR PERNR-BTRTL.
SELECT-OPTIONS: S_PERSG FOR PERNR-PERSG.
SELECT-OPTIONS: S_PERSK FOR PERNR-PERSK.
SELECT-OPTIONS: S_ABKRS FOR PERNR-ABKRS.
SELECT-OPTIONS: S_ORGEH FOR PERNR-ORGEH.
SELECTION-SCREEN END OF BLOCK B1.
DATA: REPID TYPE SY-REPID VALUE 'ZHR_R_SENIORITY_LIST'.
SUBMIT (REPID)
WITH PNPBEGDA = SY-DATUM
WITH PNPENDDA = SY-DATUM
WITH PNPPERNR IN S_PERNR
WITH PNPSTAT2 IN S_STAT2
WITH PNPBUKRS IN S_BUKRS
WITH PNPWERKS IN S_WERKS
WITH PNPBTRTL IN S_BTRTL
WITH PNPPERSG IN S_BTRTL
WITH PNPPERSK IN S_PERSG
WITH PNPABKRS IN S_PERSK
WITH PNPORGEH IN S_ABKRS
WITH PNPORGEH IN S_ORGEH
AND RETURN.
09-06-2013 6:04 AM
Hi,
For this find the screen field name write the logic in Selection screen output, make it as a default selection. Through HR report categories we can design our own selection screen.
Regards,
John.
09-06-2013 6:08 AM
It is possible to remove those radio buttons. Select the appropriate screen using the HR Report Category.
09-06-2013 6:27 AM
Is It possible when we are using PNP database then can we remain Default Pre-Checked Today Radio button on Logical screen and remove other buttons.