Issue with PNP LDB

Hi Experts,
We are in ECC version 4.6B. In the programs using LDB PNP am facing a strange issue.
In the selection screen I am restricting the data to personnel area say '20'. But still employee belongs to other personnel area are appearing in the report.
I have never come across such problems in ECC 6. May be this is the problem in old version of SAP.
I checked the old programs in the system and all have used "check" statement to overcome this.
But in the selection screen there are many fields in the "Further selection". Is it wise to add check statement for all. Or is there any SAP note which can solve this???
Thank You...

Hi Manas,
    Did you check the difference by choosing the reporting period. First the reporting period is given preference and then later on the second block Selection criteria is given .. Check with the period Today and ALL in your Report.
Cheers,
Jacks

Similar Messages

  • Issue with PNP selection

    Hi Experts,
    I am developing a program which uses PNP screen 900. But in the o/p screen when I press "Further Selections", its not displaying the list popup. But its working fine with screen 000.
    Kindly let me know whether I am missing anything.
    Thanks & Regards
    Manas

    Hi Manas,
    Please check the below link it will be useful
    [Pnp Selection Screen|Not able to hide all fields on PNP selection screen.]
    Thanks
    Kalyan

  • Problem while creating HR report with PNP LDB

    Hi Experts,
    I am working on HR Report using LDB PNP.
    In HR REPORT CATEGORY,i have mentioned "___00003" in Master Data radio button.
    Now i can create my own selection screen.In my Selection-Screen i am using pushbutton.
    Code is:
    SELECTION-SCREEN:
    PUSHBUTTON 5(15) but1 USER-COMMAND cli1,
    PUSHBUTTON 30(15) but2 USER-COMMAND cli2.
    INITIALIZATION.
    but1 = 'PDF FORMAT'.
    but2 = 'FILE FORMAT'.
    AT SELECTION-SCREEN.
      CASE sscrfields.
        WHEN 'CLI1'.
          PERFORM PDF.
        WHEN 'CLI2'.
          PERFORM FILE.
      ENDCASE.
    While executing i have clicked on 2nd pusbutton.
    It is going to CASE and also i am getting value of sscrfields = CLI2 .
    also sy-subrc = 0.
    but after that it is not going to WHEN condition.
    Can anybody plz help me out in this.
    Regards,
    Ankur

    SSCRFIELDS is a structure so you have to ask:
    CASE SSCRFIELDS-UCOMM.
      WHEN xx.
    ENDCASE:

  • Authorizations with PNP and Get Pernr.

    We have just noticed an issue with how our custom reports are working in regards to authorizations.  Our users have authorization to see Basic Pay infotype information up to the point where an associate becomes an executive.  When running our reports the latest salary shows up instead of the last one they are allowed to see or just leaving that field blank.  We are using the PNP logical database and Get Pernr.  Isn't that supposed to pick up whatever authorization is assigned to the person?
    Thanks,
    Mary

    I do not know how you come to this statement. Of course LDB checks ALL HR Authorization defined. This incoporates the personnel administration part as well as the combination to structural authorizations.
    However PNP will skip a PERNR if the user has only partial authorization by default. To get also only the restricted data what the user can see you must use the switch PNP_SW_SKIP_PERNR = 'N' at INITIALIZATION point.
    Please see the documentation available here:
      http://service.sap.com/erp-hcm
    On the left side follow the links:
      Services for mySAP ERP HCM
        Special Documentation
    Regards,
    Michael

  • X99S GAMING 9 AC Not booting - Debug 94 code - Issue with GTX 980 SLI in WoW

    Hello, I bought the X99S GAMING 9 AC motherboard but have ran into some issues.
    The computer won't boot when I put my second MSI GTX 980 Gaming 4 GB card in the last PCEI 3.0 port (PCIE port 5) and I get the debug LED message 94 on the motherboard. I have a SLI setup.
    The first card I have in the second PCIE 3.0 port due to the Noctua U14S CPU fan takes up space for the first slot. So I have been running my grafic cards in PCIE slot 2 and 4 with some issues.
    First the card in slot 2 gets really warm over 86 celsius. And second: SLI runs really poorly in World of Warcraft. I get a lot higher performance with just one card activated. I am not sure if it's cause I am not running my cards in the recommended PCIE 3.0 ports or because WoW has some issues with SLI, but I heard other people have no issues at all with WoW in SLI.
    I got the same issue with 3Dmark firestrike, the cards perform really poor in SLI. I get higher score with SLI turned off..
    Though SLI seems to run pretty well in 3dmark 11 and Diablo 3 Reaper of Souls.
    But the main issue right now, is that the computer won't boot with the grafic cards in PCIE port 2 and 5. The solution to run them next to each other is not good, cause it gets really hot and I get bad performance in WoW and Firestrike.
    Picture of my setup before I switched places with the grafic cards as you can see, it is really tight:
    Any upcoming bios updates (got v1.3) that will solve this issue on the horization? Hopefully this get sorted out really soon..
    My whole computer setup:
    Intel i7 5820K | MSI X99S Gaming 9 AC (bios 1.3) | SLI MSI GTX 980 Gaming 4GB | Samsung 850 Pro 512 GB | WD Red 4TB | G.Skill Ripjaws DDR4 3000MHz 4x4GB | EVGA SuperNOVA P2 1000W | Noctua NH-U14S PnP | Fractal Design Define XL R2 | 5 Noctua NF-A14 PWM 140mm fans | Windows 7 Pro 64 bit

    You must use the recommended PCIE slots as the manual says for your CPU type, PCIE #1 and PCIE #4 if I remember, just open the manual :P for optimal 2Way SLI, also your 5820k will limit to 28 pcie lanes only if you plan to add more vgas...the other problem is your giant CPU air cooler blocking PCIE#1, do a favor to yourself, buy a watercooler for your 5820k and your problems are gone, add some overclock in your system, low noise and better temps.
    Here I use 3x980 in SLI with X99S Gaming 9 AC, going soon to WC the VGAs with EK blocks.....3way is far more temperature critical than 2way spaced one.
    Cheers

  • Issue with gui_download function module

    Hi All,
             I have an issue with gui_download function module that it is creating one extra line while downloading my internal table data into text file,which i donot want.i have searched for various threads but couldnot get the proper reply.Or please provide me some other Function Module which will not create one extra line.Please help.

    part 2
    INCLUDE RPPPXD00.
    DATA : BEGIN OF COMMON PART A.
    INCLUDE RPPPXD10.
    DATA : END OF COMMON PART.
    INCLUDE PC2RXTW0.
    INCLUDE RPC2RX00.
    DATA : BEGIN OF COMMON PART B.
    INCLUDE RPC2CD00.
    DATA : END OF COMMON PART.
    INCLUDE RPPPXM00.
    INCLUDE RPCMGR00.
    AT SELECTION-SCREEN OUTPUT.
      CONCATENATE SY-DATUM2(6) SY-UZEIT0(4) INTO REF_NO.
      LOOP AT SCREEN.
        IF R1 = 'X'.
          IF SCREEN-NAME = 'FLN' OR SCREEN-NAME = '%_FLN_%_APP_%-TEXT' OR
             SCREEN-NAME = 'BTC'  OR SCREEN-NAME = '%_BTC_%_APP_%-TEXT' OR
            SCREEN-NAME = 'PY_DT' OR SCREEN-NAME = '%_PY_DT_%_APP_%-TEXT'"SOC BY ANKITA"
           OR SCREEN-NAME = 'ORG_ID' OR SCREEN-NAME = '%_ORG_ID_%_APP_%-TEXT'
           OR SCREEN-NAME = 'ORG_AC' OR SCREEN-NAME = '%_ORG_AC_%_APP_%-TEXT'
           OR SCREEN-NAME = 'DEPT_CD' OR SCREEN-NAME = '%_DEPT_CD_%_APP_%-TEXT'
           OR SCREEN-NAME = 'REF_NO' OR SCREEN-NAME = '%_REF_NO_%_APP_%-TEXT'
           OR SCREEN-NAME = 'PRS_BNK' OR SCREEN-NAME = '%_PRS_BNK_%_APP_%-TEXT'
           OR SCREEN-NAME = 'TRANS_TY' OR SCREEN-NAME = '%_TRANS_TY_%_APP_%-TEXT'
           OR SCREEN-NAME = 'TRANS_ID' OR SCREEN-NAME = '%_TRANS_ID_%_APP_%-TEXT'
           OR SCREEN-NAME = 'TRANS_RK' OR SCREEN-NAME = '%_TRANS_RK_%_APP_%-TEXT'."EOC BY ANKITA
            SCREEN-ACTIVE = 0.
          ENDIF.
        ENDIF.
        IF R2 = 'X'.
          IF SCREEN-NAME = 'FLN' OR SCREEN-NAME = '%_FLN_%_APP_%-TEXT' OR
             SCREEN-NAME = 'BTC'  OR SCREEN-NAME = '%_BTC_%_APP_%-TEXT' OR
             SCREEN-NAME = 'PREPBY' OR SCREEN-NAME = '%_PREPBY_%_APP_%-TEXT'
             OR SCREEN-NAME = 'APROBY' OR SCREEN-NAME = '%_APROBY_%_APP_%-TEXT'
             OR SCREEN-NAME = 'PY_DT' OR SCREEN-NAME = '%_PY_DT_%_APP_%-TEXT' "SOC BY ANKITA
             OR SCREEN-NAME = 'ORG_ID' OR SCREEN-NAME = '%_ORG_ID_%_APP_%-TEXT'
             OR SCREEN-NAME = 'ORG_AC' OR SCREEN-NAME = '%_ORG_AC_%_APP_%-TEXT'
             OR SCREEN-NAME = 'DEPT_CD' OR SCREEN-NAME = '%_DEPT_CD_%_APP_%-TEXT'
             OR SCREEN-NAME = 'REF_NO' OR SCREEN-NAME = '%_REF_NO_%_APP_%-TEXT'
             OR SCREEN-NAME = 'PRS_BNK' OR SCREEN-NAME = '%_PRS_BNK_%_APP_%-TEXT'
             OR SCREEN-NAME = 'TRANS_TY' OR SCREEN-NAME = '%_TRANS_TY_%_APP_%-TEXT'
             OR SCREEN-NAME = 'TRANS_ID' OR SCREEN-NAME = '%_TRANS_ID_%_APP_%-TEXT'
             OR SCREEN-NAME = 'TRANS_RK' OR SCREEN-NAME = '%_TRANS_RK_%_APP_%-TEXT'."EOC BY ANKITA
            SCREEN-ACTIVE = 0.
          ENDIF.
        ENDIF.
        IF R3 = 'X'.
          IF SCREEN-NAME = 'PREPBY' OR SCREEN-NAME = '%_PREPBY_%_APP_%-TEXT'
            OR SCREEN-NAME = 'APROBY' OR SCREEN-NAME = '%_APROBY_%_APP_%-TEXT'
            OR SCREEN-NAME = 'PY_DT' OR SCREEN-NAME = '%_PY_DT_%_APP_%-TEXT' "SOC BY ANKITA
            OR SCREEN-NAME = 'ORG_ID' OR SCREEN-NAME = '%_ORG_ID_%_APP_%-TEXT'
            OR SCREEN-NAME = 'ORG_AC' OR SCREEN-NAME = '%_ORG_AC_%_APP_%-TEXT'
            OR SCREEN-NAME = 'REF_NO' OR SCREEN-NAME = '%_REF_NO_%_APP_%-TEXT'
            OR SCREEN-NAME = 'DEPT_CD' OR SCREEN-NAME = '%_DEPT_CD_%_APP_%-TEXT'
            OR SCREEN-NAME = 'PRS_BNK' OR SCREEN-NAME = '%_PRS_BNK_%_APP_%-TEXT'
            OR SCREEN-NAME = 'TRANS_TY' OR SCREEN-NAME = '%_TRANS_TY_%_APP_%-TEXT'
            OR SCREEN-NAME = 'TRANS_ID' OR SCREEN-NAME = '%_TRANS_ID_%_APP_%-TEXT'
            OR SCREEN-NAME = 'TRANS_RK' OR SCREEN-NAME = '%_TRANS_RK_%_APP_%-TEXT'."EOC BY ANKITA
            SCREEN-ACTIVE = 0.
          ENDIF.
        ENDIF.
        IF R4 = 'X'.
          IF SCREEN-NAME = 'PREPBY' OR SCREEN-NAME = '%_PREPBY_%_APP_%-TEXT'"SOC BY ANKITA
             OR SCREEN-NAME = 'APROBY' OR SCREEN-NAME = '%_APROBY_%_APP_%-TEXT'
             OR SCREEN-NAME = 'BTC'  OR SCREEN-NAME = '%_BTC_%_APP_%-TEXT'."EOC BY ANKITA
            SCREEN-ACTIVE = 0.
          ENDIF.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP.
    START-OF-SELECTION.
      SELECT SINGLE * FROM T549Q WHERE PERMO = '01'
                                 AND   PABRJ = PRD+0(4)
                                 AND   PABRP = PRD+4(2).
      FR_DT = T549Q-BEGDA.
      TO_DT = T549Q-ENDDA.
      CONCATENATE FR_DT0(4) FR_DT4(2) INTO FR_P.
      CONCATENATE TO_DT0(4) TO_DT4(2) INTO TO_P.
      PN-PAPER = PRD.
      PN-PERMO = '01'.
    GET PERNR.
      RP-PROVIDE-FROM-LAST P0003 SPACE PN-BEGDA PN-ENDDA.
      RP_PROVIDE_FROM_LAST P0001 SPACE PN-BEGDA PN-ENDDA.
      IF PNP-SW-FOUND EQ 1.
       SN = SN + 1.
       ITAB1-SNO = SN.
       ITCC-SNO = SN.
        ITAB1-ENO = PERNR-PERNR.
        ITAB1-NAM = PERNR-ENAME.
      ELSE.
        REJECT.
      ENDIF.
      RP-INIT-BUFFER.
      RP-SEL-CALC.
      CALL FUNCTION 'RP_EVALUATION_PERIODS'
        EXPORTING
          LAST_CALCULATED_DAY = P0003-ABRDT
          LAST_DAY_IN_PERIOD  = TO_DT
          RETROCALCULATED_DAY = RP-SEL-CALC-RRDAT
        TABLES
          DIR                 = RGDIR
          EVP                 = EVP
        EXCEPTIONS
          RGDIR_EMPTY         = 1
          INTERNAL_ERROR      = 2
          OTHERS              = 3.
      DESCRIBE TABLE EVP LINES LIN.
      IF LIN > 0.
        LOOP AT EVP.
          IF EVP-IAPER = TO_P AND EVP-PAPER = TO_P.
            RX-KEY-PERNR = PERNR-PERNR.
            UNPACK EVP-SEQNR TO RX-KEY-SEQNO.
            RP-IMP-C2-TN.
            READ TABLE BT INDEX 1.
            READ TABLE WPBP INDEX 1.
            READ TABLE TAX INDEX 1."CHANGES BY ANKITA
            ITAB1-BAC = BT-BANKN.
            ITAB1-BKEY = BT-BANKL .
            ITAB1-DEP = WPBP-KOSTL.
            ITAB1-BETRG = BT-BETRG."CHANGES BY ANKITA
            ITAB1-TAXID = TAX-TAXID."CHANGES BY ANKITA
            YEAR = VERSC-PAYDT+0(4) - 11.
            MONTH = VERSC-PAYDT+4(2).
            DAY = VERSC-PAYDT+6(2).
            CONCATENATE YEAR MONTH DAY INTO ITAB1-PDT.
           ITAB1-PDT = VERSC-PAYDT - 110000.
            ITCC-DEP = WPBP-KOSTL.
            LOOP AT RT WHERE LGART = '/559'.
              ITAB1-BTFR = RT-BETRG.
              ITCC-BTFR = RT-BETRG.
             IF EVP-SRTZA = 'P'.
               ITAB1-BTFR = ITAB1-BTFR - RT-BETRG.
             ELSE.
               ITAB1-BTFR = ITAB1-BTFR + RT-BETRG.
             ENDIF.
            ENDLOOP.
          ENDIF.
        ENDLOOP.
      ENDIF.
      APPEND: ITAB1, ITCC.
      CLEAR: ITAB1, ITCC.
    END-OF-SELECTION.
      CONCATENATE 'Prepared By:' ` ` PREPBY INTO PREPBY.
      CONCATENATE 'Approved By:' ` ` APROBY INTO APROBY.
      IF R1 = 'X'.
        FORMAT COLOR 2.
        ULINE (127).
        NEW-LINE.
        WRITE: 2 'Sr No.', 10 'Emp Num', 27 'Name'.
        WRITE: 57 'Department'.
        WRITE: 72 '  Transfer Amount' RIGHT-JUSTIFIED.
        WRITE: 92 'Bank Key', 107 'Bank AC. Number'.
        WRITE:1 '|', 8 '|', 25 '|', 55 '|', 70 '|', 90 '|', 105 '|', 127 '|'.
        NEW-LINE.
        ULINE (127).
        NEW-LINE.
        FORMAT COLOR OFF.
        LOOP AT ITAB1.
          SN = SY-TABIX.
          WRITE: 2 SN, 10 ITAB1-ENO, 27 ITAB1-NAM.
          WRITE: 57 ITAB1-DEP.
          WRITE: 72 ITAB1-BTFR.
          WRITE: 92 ITAB1-BKEY, 107 ITAB1-BAC.
          WRITE: 1 '|', 8 '|', 25 '|', 55 '|', 70 '|', 90 '|', 105 '|', 127 '|'.
          ULINE (127).
          NEW-LINE.
        ENDLOOP.
        SKIP 4.
        ULINE 90(32).
        NEW-LINE.
        WRITE: 90 PREPBY.
        SKIP 4.
        ULINE 90(32).
        NEW-LINE.
        WRITE: 90 APROBY.
      ENDIF.
      IF R2 = 'X'.
        LOOP AT ITCC.
          COLLECT ITCC INTO ITCOL.
        ENDLOOP.
        FORMAT COLOR 2.
        ULINE (44).
        NEW-LINE.
        WRITE:2 'Sr No.', 9 'Department'.
        WRITE: 27 'Transfer Amount  ' RIGHT-JUSTIFIED.
        WRITE:1 '|', 8 '|', 25 '|', 44 '|'.
        NEW-LINE.
        ULINE (44).
        NEW-LINE.
        FORMAT COLOR OFF.
        LOOP AT ITCOL.
          SN = SY-TABIX.
          WRITE: 2 SN, 9 ITCOL-DEP, 27 ITCOL-BTFR.
          WRITE:1 '|', 8 '|', 25 '|', 44 '|'.
          NEW-LINE.
          ULINE (44).
          NEW-LINE.
        ENDLOOP.
      ENDIF.
      IF R3 = 'X'.
        LOOP AT ITAB1.
          CLEAR: ITTF, P3, P11, P13, P6, V_BAC.
          LEN = STRLEN( ITAB1-BKEY ).
          IF LEN < 3.
            CONCATENATE ITAB1-BKEY '***' INTO P3.
          ELSE.
          LEN = LEN - 3.
            LEN = 3.
            P3 = ITAB1-BKEY+LEN(3).
          ENDIF.
          CLEAR LEN.
          V_BAC = ITAB1-BAC.
          REPLACE ALL OCCURRENCES OF '-' IN ITAB1-BAC WITH ''.
          CONDENSE ITAB1-BAC NO-GAPS.
          LEN = STRLEN( ITAB1-BAC )."if length of acc num > limit
          IF LEN > 11.
            IT_FAIL-EN = ITAB1-ENO.
            IT_FAIL-BA = V_BAC.
            APPEND IT_FAIL.
            CLEAR: IT_FAIL.
            CONTINUE.
          ENDIF.
          P11 = ITAB1-BAC.
          CONCATENATE P11 '***********' INTO P11.
    above step is for putting '' in place of unfilled chars of P11.
          P13 = ITAB1-BTFR * 100.
          P6 = ITAB1-PDT+2(6).
          CONCATENATE ` ` P3 P11 BTC P13 P6 INTO STR.
          ITTF-ROW = STR.
          APPEND ITTF.
        ENDLOOP.
        IF ITTF[] IS NOT INITIAL.
          CONCATENATE FLN SY-DATUM SY-UZEIT '.txt' INTO FILEPATH.
          CALL FUNCTION 'GUI_DOWNLOAD'
          EXPORTING
            FILENAME                        = FILEPATH
            FILETYPE                        = 'ASC'
         WRITE_FIELD_SEPARATOR           = 'X'
            TABLES
            DATA_TAB                        = ITTF
         OTHERS                          = 22
          SKIP 2.
          IF SY-SUBRC <> 0.
            WRITE:/ 'Unable to Download file at ', FILEPATH.
          ELSE.
            WRITE:/ 'File with following data downloaded at ', FILEPATH.
            NEW-LINE.
            SKIP 2.
            LOOP AT ITTF.
              WRITE:/ ITTF.
            ENDLOOP.
          ENDIF.
        ELSE.
          WRITE 'No Data, no file was downloaded'.
        ENDIF.
        IF IT_FAIL[] IS NOT INITIAL.
          SKIP 2.
          FORMAT COLOR 2.
          WRITE 'Acc. No. of following employees exceeded the length limit'.
          WRITE:/ 'So their entry was not created in the file'.
          SKIP 1.
          WRITE : 'Employee Number', 20 'Bank Acc. No.'.
          FORMAT COLOR OFF.
          LOOP AT IT_FAIL.
            NEW-LINE.
            WRITE : IT_FAIL-EN, 20 IT_FAIL-BA.
          ENDLOOP.
        ENDIF.
      ENDIF.
      IF R4 = 'X'."CHANGES BY ANKITA
        WRITE:/ 'ERROR LOG - BANK A/C NO. CONTAINS ALPHANUMERIC'.
        WRITE:/ 'EMPID' COLOR COL_POSITIVE,12 '|',15 'Receiving Bank Code' COLOR COL_POSITIVE,
                                                                      40 '|','Receiver A/C No' COLOR COL_POSITIVE.
        PERFORM EXTRACT_DATA.
        SKIP 2.
      ENDIF."EOC
      RP-READ-PAYROLL-DIR.
    Edited by: ANKITA BHARDWAJ on Dec 9, 2009 10:36 AM

  • PNP LDB Problem

    Hi Gurus,
    I have a problem. I have created an HR report with PNP logical database. I created my own report category for the purpose. In the <b>Selection</b> option I have given
    two select options. One is personnel number and the other is company code.
    If I execute the program without entering anything in the selection screen the report
    is selecting some values. In that the personnel number 2 is not present. My guess
    is that the position of employee number 2 is wrong and becoz of this LDB is not selecting 2.
    But if I fill company code with the value from personnel number 2, the employee 2
    is getting selected. Why is this happening? Any pointers will be rewarded.
    Regards,
    Aravind

    Hi April,
    The program is very simple and is as follows.
    report  zar_pnp.
    nodes pernr.
    infotypes: 0000, 0001,1000.
    start-of-selection.
    get pernr.
      read table p0000 index 1.
      if sy-subrc eq 0.
        write / p0000-pernr.
      endif.
      read table p0001 index 1.
      if sy-subrc eq 0.
        write p0001-bukrs.
      endif.
    end-of-selection.
    The personnel numbers which are not selected if you leave all fields on the selection screen blank have some defects like. 1)They have wrong position(position which does not exist in T528B). 2) They donot have organizational management infotype. 3) They donot have 0003 infotype.
    I would like to know if a personnel number data has any such defect whether those
    personnel number would not be selected?
    But if an employee say 2 has no 0003 infotype, but has 0001 infotype. If we try to
    select the records of 2 only giving personnel number nothing will be selected.
    But if we provide company code employee 2 is selected.
    Any explanation to the above behaviour?
    Regards,
    Aravind

  • RE:pnp LDB selection screen problem

    hi,
    hi friends iam facing one problem regarding hr ABAP selection screen ,in my program iam using PNP LDB for bonus details report
    i have using selection screen declaration present for single selection.
    SELECTION-SCREEN BEGIN OF BLOCK B3 WITH FRAME TITLE TEXT-006.
    SELECT-OPTIONS: S_ABKRS FOR P0001-ABKRS NO INTERVALS NO-EXTENSION,
    S_WERKS FOR P0001-WERKS NO INTERVALS NO-EXTENSION,
    S_BTRTL FOR P0001-BTRTL NO INTERVALS NO-EXTENSION,
    S_PERSG FOR P0001-PERSG NO INTERVALS NO-EXTENSION,
    S_PERSK FOR P0001-PERSK NO INTERVALS NO-EXTENSION.
    SELECTION-SCREEN END OF BLOCK B3.
    based on this selection iam fetching the information from infotypes using macros.
    now my requirement is iam fetch the information for multiple selections means like payroll areas z1,z2 and z3 payroll informations
    should be fetching once. pls any body knows solution please give me reply.
    thanks & regards,
    mgrao.

    hi jain thanks for your reply, iam already created report category and assigned my report. here iam giving my report selection
    declerations fully   below.
          S E L E C T I O N       S C R E E N                           *
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001. " DECLEARED REPORT CODE LEVEL
    SELECT-OPTIONS: S_DATE   FOR SY-DATUM NO-EXTENSION.    "Bonus for Financial Year
    PARAMETERS:     P_BDATE  TYPE SY-DATUM OBLIGATORY,     "Bous payed as on
                    P_WKDAYS TYPE CHAR6.                                            "No.of Working Days     
    SELECTION-SCREEN END OF BLOCK B1.
    *SELECTION-SCREEN BEGIN OF BLOCK B3 WITH FRAME TITLE TEXT-006.    " COMMENTED report level TAKING FROM LDB PNP    
    *SELECT-OPTIONS: S_ABKRS FOR P0001-ABKRS NO INTERVALS NO-EXTENSION,     "  Payroll area
                   S_WERKS FOR P0001-WERKS NO INTERVALS NO-EXTENSION,                       Personnel area   
                   S_BTRTL FOR P0001-BTRTL NO INTERVALS NO-EXTENSION,                          Personnel  sub area        
                   S_PERSG FOR P0001-PERSG NO INTERVALS NO-EXTENSION,
                   S_PERSK FOR P0001-PERSK NO INTERVALS NO-EXTENSION.   
    *SELECTION-SCREEN END OF BLOCK B3.
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002. "REPORT CODE LEVEL SELECTION
    PARAMETERS: P_FORMCP TYPE PIN_RATE, " char6,    "Form C %    
                P_FORMEP TYPE PIN_RATE, " char6,                 "Exgratia %
                P_FORMBP TYPE PIN_RATE. " char6 .               "Bonus %   
    SELECTION-SCREEN END OF BLOCK B2.
    SELECTION-SCREEN BEGIN OF BLOCK B4 WITH FRAME TITLE TEXT-004.
    PARAMETERS: L_REPORT TYPE ZHRD_FORMC AS LISTBOX VISIBLE LENGTH 40 OBLIGATORY . Report for list box   1 form c
    SELECTION-SCREEN END OF BLOCK B4.                                                                                2 exgratia
    the above selection is iam used first, now iam commented BLOCK B3 SELECTION  PARAMETERS  and taking the parameters from REPORT CATEGORY  ASSINGN MENT.
    MY PROBLEM  is if i select one payroll area example z1 it showing all pay roll employees bonus details it is not filter the remaining payroll areas my requirement is what are the payrolls iam  selecting  those pay roll area details only displaying.
    data fetching from  INFOTYPES 0001,0002,0021 AND 9150 FOR BONUS DETAILS and out put is classical report format.
    please kindly give the reply if you knows the solution.
    thanks & regards ,
    mgr.

  • How to avoid default selection screen in HR interfaces(using pnp ldbs)

    How to avoid default selection screen in HR interfaces(using pnp ldbs)

    Dear Rakesh,
    The report category is used to change the selection screen of programs that use the 'PNP' logical database.
    See links bellow:
    http://www.sapdevelopment.co.uk/hr/hr_repcat.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/15/229357553611d3967f00a0c9306433/frameset.htm
    Report categories for selection screen in HR programming
    Also visit the following blog:
    /people/alvaro.tejadagalindo/blog/2006/02/19/how-to-deal-with-hr-payroll-reports
    Regards,
    Naveen.

  • Create a screen by  teh help of pnp  ldb

    hi  expert ,
                           i   have   a file ( new hire file )
    New Hire file:  This interface program will be scheduled to run in the background and all the mandatory fields will be defaulted as shown below. End date will be defaulted with system current date and Begin date will be defaulted with CURRENT DATE – 7 DAYS. The selection criteria can be changed for testing purposes and can be further be extended by using the logical database PNP. A report category should be created for LDB PNP.  but  i  don't   find  MOLGA  in pa0001 , so  please  give the code for this screen.
      Screen Field       Description
                 TYPE      Reference Field     Comments
       S_MOLGA     Country key       Select option     PA0001-MOLGA     Mandatory. Default with ‘10’
       S_PERSG      Employee group       Select option     PA0001-PERSG     Mandatory. Default with ‘1’
       S_PERNR     Employee       Select option     PA0001-PERNR     Optional
        P_BEGDA     Begin date       Parameter      SY-DATUM     Mandatory. Default with SY-DATUM – 7
       P_ENDDA     End date       Parameter     SY-DATUM     Mandatory. Default with SY-DATUM
    thanks.

    Hi
    You have to create a separate HR report Category in the report of PNP LDB and use
    From the program attributes after assigning the LDB PNP you will get the Report Category in the down.
    click on it
    and check for the related fields
    and you can modify the report category by making some fields disable so that you will get the required fields on the selection screen.
    MOLGA is not there in PA0001
    it is there in T500L,T500T, T500P and HRP1005  tables
    take from it
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Hidden fields on PNP LDB

    Hi guys,
    Is that possible to show hidden fields from PNP LDB, before user have to make any interference? I mean, when I execute program related to PNP,  on selection screen at first time I get, for example, werks that is not on standard showing. I have tried "modify screen" strategy but it did not work.
    Thanks anyway.

    Hi.
    Try using a variant.
    First create the layout you want to display, the variant.
    Then save it.
    Call the variant in the source code.
    Don't forget to create the variant all over again, when you migrate from one enviroment to another. The variants are not transportable.
    after creating the variant, in the selection screen, paste this code in your report,
    and replace /GERAL with your variant name.
    DATA gs_variant LIKE disvariant.
    clear gs_variant  .
    gs_variant-report = sy-repid.
    gs_variant-variant = '/GERAL1'.  "the name of the variant must begin with /
    hope it solves it.
    Filipe Guerra

  • Set variant for PNP LDB select option of pernr

    Hi All,
    I want to set variant for PERNR of PNP LDB in one of the program through other program using RS_CREATE_VARIANT FM.
    Please help to solve this problem.
    Thanks,
    Shailesh S. Malkar.

    REPORT  ZTEST.                   .
    tables: pa0003.
    ranges pernr for pa0003-pernr.
    * Fill neccesary PERNRs
    pernr-low = 1000.
    pernr-sign = 'I'.
    pernr-option = 'EQ'.
    append pernr.
    pernr-low = 1112.
    pernr-sign = 'I'.
    pernr-option = 'EQ'.
    append pernr.
    SUBMIT RHINTE00 WITH PNPPERNR IN PERNR.

  • Disabling PNP ldb authorizations

    Hi Experts,
    I am fetching data using pnp LDB ,
    But due to authorization issue I am not able to access certain data.
    Is their any way to disable pnp ldb authorization & get the results.
    Thanks in Advance.
    Regards,
    IFF

    Hi
    Answer is pure assumption
    Pls check the OSS note
    Note 492743 - PNP LDB: Incorrect authorization check
    it may give some idea.
    Pls take opinion from SAP / Basis before implementing the note
    Regards
    Madhan D

  • PNP LDB custom selections

    Hi All,
    I have created a report using PNP LDB and assigned a master data report category. I have also created additional selections in my report, besides the selections offered by the LDB/report category.  The issue is, the additional selections that I have defined appear at the bottom of the screen below the standard selections.  I need my custom selections to be shown at the top of the screen and the standard selections below that.
    How do I do that ?! I appreciate any pointers.
    Thanks,
    Kiran.

    HI Kiran,
    use reporting catagiries .
    change selection as per  your requirment
    rex

  • WinPE and FullOS Issues with Disk Numbers

    So, I seem to have run into an issue where I'm trying to image up an HP Z15 laptop and it has dual HDD's in
    it.  While imaging it seems to just die after it boots into the full OS and try's to configure the SCCM Client. I've narrowed down the issue to the secondary HDD causing the issue. The Main drive is a SSD that's 256GB, and the additional drive in the
    DVD-Rom Bay is a 750 GB drive.
    When booting into WinPE Disk 0 is the SSD and Disk 1 is the 750GB. I can partition these
    up just fine in PE, but when it flips to the full OS, the drive numbers change, and then the 750 GB drive where the _SMSTASKSequence folder is located is no longer accessible until it's assigned a driver letter. I was able to look in WinPE and the driver are
    created correctly and look correct with drive letters and all, but once that reboot happens I was reading the PNP takes over and decides whatever it wants each disk number to be.
    I know someone will say something about the drivers, I've checked those and downloaded the latest drivers from
    HP for this model and nothing has changed. I've also seen where some have suggested that it's best to partition and format the main drive, then wait until in the full OS to format and partition the other drive but I need to find a way to find out which drive
    # isn't formatted so that I can automate this.  Part of the main issue with this whole thing is the fact that the encryption software we are using doesn't allow for a drive to be partitioned and formatted after it's installed. I'm able to image the system
    up fine if I disable the secondary HDD and then just format it when the image is complete.
    Any thoughts or recommendations would be appreciated. 
    Thanks!

    Hi,
    >>"once that reboot happens I was reading the PNP takes over and decides whatever it wants each disk number to be."
    Where were you reading this from? Logs? Is there any information in smsts.log?
    >>"the _SMSTASKSequence folder is located is no longer accessible until it's assigned a driver letter"
    If you reboot the computer after you assign a drive letter, does the disk still have a drive letter? If that is the case, you could try to add a startup diskpart script to assign a drive letter.
    Best Regards,
    Joyce

Maybe you are looking for

  • Iphone 6 plus 16GB storage problem

    Halo Apple , i used iphone 5s 16GB , now i want to renew contract with Maxis but only got Iphone 6 Plus 16GB , i got apps like facebook&messenger , whatsapp , wechat , youtube , instragram , weibo , waze , google maps , car loan calculator , lunar ca

  • Memory Leak in Crystal Report XI

    We are using Crystal Reports XI Licensed Developer version for web based application. The generated reports are getting accessed by multiple users from web interface. After continuos access of reports, at some point it reaches the maximum limit of Ap

  • Is there a printer/scanner that works with MacBook?

    I would like to able to scan a document and send with an e-mail.

  • Quick question about iDVD 4 ...

    When burning a DVD, is the maximum length of time I can make my video 1 hour long or 90 minutes long?? I keep forgetting this ... THANXX!! Ryan

  • Cannot find location with iPad 2

    Cannot find location: I have an iPad 1 and a newly acquired iPad 2; even if they are side by side, the iPad 1 will find its location, while the iPad 2 cannot, and thus, lots of applications do not work. What to do ?