Help in pnp

Hallow I doing a program that use logical data base pnpce and
It working o.k.
The problem is when I choose one org. unit and I wont see the
Data just on her I get other org unit that I don’t choose
Maybe I forget something in my code
Regards
START-OF-SELECTION.
GET peras.
  PERFORM get_new_data.
END-OF-SELECTION.
Form get new data
rp_provide_from_last t_0001 ' ' pnpbegda pnpendda.
sy-datum sy-datum.
  IF t_0001-persg = '6' OR t_0001-persg = '7' OR t_0001-persg = '8'.
    wa_person_tab-stell = t_0001-stell.
    wa_person_tab-werks = t_0001-werks.
    wa_person_tab-persg = t_0001-persg.
    wa_person_tab-orgeh = t_0001-orgeh.
    wa_person_tab-persk = t_0001-persk.
    wa_person_tab-btrtl = t_0001-btrtl.
  ELSE.
    REJECT.       "IF Not EQ Jump From Node
  ENDIF.
  rp_provide_from_last t_0002 ' ' sy-datum sy-datum.        "pa0002
  wa_person_tab-lastname = t_0002-nachn.
  wa_person_tab-firstname = t_0002-vorna.
  wa_person_tab-perid = t_0002-perid.
  rp_provide_from_last t_0315 ' ' pnpbegda pnpendda.        "pa0315
  wa_person_tab-lifnr = t_0315-lifnr.  wa_person_tab-yywaers = t_0315-yywaers.
  APPEND wa_person_tab TO person_tab.
  CLEAR wa_person_tab.

hi write ur form as follows -
remove if condition by Check statement as follows -
Form get new data
rp_provide_from_last t_0001 ' ' pnpbegda pnpendda.
* sy-datum sy-datum.
check t_0001-persg = '6' OR t_0001-persg = '7' OR t_0001-persg = '8'.
wa_person_tab-stell = t_0001-stell.
wa_person_tab-werks = t_0001-werks.
wa_person_tab-persg = t_0001-persg.
wa_person_tab-orgeh = t_0001-orgeh.
wa_person_tab-persk = t_0001-persk.
wa_person_tab-btrtl = t_0001-btrtl.

Similar Messages

  • Search help using pnp?

    hi
    i am creating an alv report using PNP
    i created a Search Help based on pa0021 i am using only 2 files PERNR and FAVOR and i want this SEARCH HELP to show only the names of the people who belong to the pernr i chosed
    i am using this SEARCH HELP at a selection screen in my reprt
    thanks

    Hi, Ami
    Please Test the following Sample Report hope will solve out your problem,
    REPORT zfsl_sdn_test.
    TABLES: pa0021.
    PARAMETERS: pernr LIKE pa0021-pernr,
                favor LIKE pa0021-favor.
    ** Search Help for Pernr
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR pernr.
      TYPES: BEGIN OF ty_pernr,
        pernr LIKE pa0021-pernr,
        favor LIKE pa0021-favor,
      END OF ty_pernr.
      DATA: it_pernr TYPE STANDARD TABLE OF ty_pernr WITH HEADER LINE.
      SELECT pernr favor FROM pa0021
        INTO CORRESPONDING FIELDS OF TABLE it_pernr
        WHERE endda = '99991231'.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield    = 'PERNR'
          dynpprog    = sy-repid
          dynpnr      = sy-dynnr
          dynprofield = 'PERNR'
          value_org   = 'S'
        TABLES
          value_tab   = it_pernr.
    ** Search Help for Favor
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR favor.
      TYPES: BEGIN OF ty_favor,
        pernr LIKE pa0021-pernr,
        favor LIKE pa0021-favor,
      END OF ty_favor.
      DATA: it_favor TYPE STANDARD TABLE OF ty_favor WITH HEADER LINE.
      SELECT pernr favor FROM pa0021
        INTO CORRESPONDING FIELDS OF TABLE it_favor
        WHERE endda = '99991231'.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield    = 'FAVOR'
          dynpprog    = sy-repid
          dynpnr      = sy-dynnr
          dynprofield = 'FAVOR'
          value_org   = 'S'
        TABLES
          value_tab   = it_favor.
    Kind Regards,
    Faisal

  • 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

  • Help in pnp ce logic database

    Hallow I wont to change my declaration for dates and selection criteria to pnpce
    And I have 2 problem the first is that I have error that I don’t now how to solve like
    .In Unicode programs, the "-" character cannot appear in names, as it1
    does here in the name "PNP-SW-IGNORELOCKEDRECORDS".               
    2.In Unicode programs, the "-" character cannot appear in names, as it          does here in the name "PNP-SW-ENQUEUEPERNR".
    In Unicode programs, the "-" character cannot appear in names, as it3.          
    does here in the name "PNP-SW-AUTH-SKIPPED-RECORD".               
    In my program I do
    START-OF-SELECTION.
    GET peras.
    END-OF-SELECTION.
    Data
    TABLES: pernr.
    NODES: peras.
    INFOTYPES: 0000 NAME t_0000,
               0002 NAME t_0002.
    What im doing wrong
    The second problem in my  program I call to function before I use the pnpce I use
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.
    SELECT-OPTIONS so_date  FOR sy-datum  OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK b1.
    And for that I call the function with so_date-low and high .what I have to write in begda and endda if I use pnpce
    Thanke for your time

    Please read this weblog....
    <a href="/people/alvaro.tejadagalindo/blog/2006/02/19/how-to-deal-with-hr-payroll-reports to deal with HR Payroll reports</a>
    Greetings,
    Blag.

  • Help in pnp ce

    hallow i use pnpce (new logic database) and i wont to do in period that the <b>default</b> was <b>all</b> not today
    how can i change that?
    regards

    Hi antonio,
    1. simple
    2. just copy paste to get a taste of it.
    3.
    REPORT ABC.
    tables : pernr.
    <b>INITIALIZATION.
    PNPTIMED = 'A'.</b>
    regards,
    amit m.

  • Regarding at selection screen event

    hi experts,
                   i m working on hr abap report with the help of pnp ldb i made my selection screen using report category 'PY_DEF'  now what i want that i m not using the first selction screen which contains current period  details etc but when i click on the payroll period button the second selection screen is coming no doubt... containing payroll area current period ,other periods etc here i m entering payroll area eq 'ka' and  other periods from '012006' to '122006' ,,here i want to validate the user input that it sud be of one year that is from 1 to 12.....for this i know i will use at selection event but how can i use it for the second selection screen not for first screen......... plz help me....

    Do u realy need the first selection screen having the current period? If u don't need then u can hide the field in the report category, by passing only the payroll area with other period, in this case we can validate through selection screen..
    Reward points ... if found helpful...
    Regards,
    Sowmen Das

  • Regarding arrear breakup

    gdmrng experts,
                           i have developed a salary register in which with the help of pnp LDB  and wage type the salary details are coming along with HRA,VPF,CONVEYANCE,MEDICAL LTA,BONUS ETC cud u plz tell me how can i show arrear breakup in this program,plz suggest me some suitable idea ,,,,how can i get arrear brekup...thnx in advance..plz help me.

    refer this doc fisrt.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PYINT/PYINT_WT_VALUATION.pdf
    regards,
    srinivas
    <b>*reward for useful answers*</b>

  • Can't find 2 drivers for my Qosmio X770-126

    Hi,my laptop is a Qosmio X770-126 PSBY5E 03600 HFR
    I can't find this 2 drivers,i need help please :)
    PNP device IP:
    ACPI\TOS6205\2&DABA3FF&2
    ACPI\TOS620A\2&DABA3FF&2
    I tryed to install intel management engine interface but it can't resolve my problem
    Thx in advance

    Hi
    The *ACPI\TOS6205* seems to be Bluetooth device.
    The *ACPI\TOS620A* seems to be an HDD shock protection sensor
    Therefore you should install the Atheros Bluetooth Filter Driver Package and Toshiba BT stack to get BT working.
    Furthermore the HDD Protection Utility should be installed to get rid of TOS620A device

  • Need help with provide statement in pnp progrm

    hi experts,
    i need to select all the records that :
    1. pa00014-sunty in so_subty.
    base on the records that he found' i need to select from pa0001:
    p0014-endda = > p0001-begda and
    p0014-begda = < p0001-endda and
    p0001-persk ne so_persk.
    what i did:
    provide * from p0001
    from p0014
    between pn-begda and pn-endda
    where p0014-subty = so_subty  and
    p0014-endda = > p0001-begda and
    p0014-begda = < p0001-endda and
    p0001-persk ne so_persk.
    check p0001_valid = 'X'.
    endprovide.
    i got 2 problems:
    1. i not recognize the syntax: check p0001_valid = 'X'.
    2. the syntax for the provide is not good.
    i new in pnp thing.
    i hope i was clear.
    thanks in advanced,
    Michal.

    Hi,
       May be this code will help you.
    infotypes: 0001,0002,0008,0000,1000,0021,0041,0587 .
    PROVIDE ename BTRTL PLANS STELL ORGEH ABKRS FROM P0001 BETWEEN PN-BEGDA AND PN-ENDDA  .
    if p0001-begda = '20070801' .
          IT_FINAL-ORGEH = P0001-ORGEH .
          IT_FINAL-STELL = P0001-STELL .                            "   JOB
          IT_FINAL-PLANS = P0001-PLANS .                            "   POSITION
          IT_FINAL-ename = P0001-ename .                            "   personnel name
          IT_FINAL-BTRTL = P0001-BTRTL .                            "   DEPARTMENT
          IT_FINAL-ABKRS = P0001-ABKRS .                            "   PAYROLL AREA
          APPEND IT_FINAL .
    endif .
    ENDPROVIDE.
    PROVIDE GBDAT GESCH FROM P0002 BETWEEN PN-BEGDA AND PN-ENDDA .
           IT_FINAL-GBDAT = P0002-GBDAT  .                            "   DOB
           IT_FINAL-GESCH = P0002-GESCH  .                            "   ***
         IF IT_FINAL-GESCH = 1   .
           IT_FINAL-GTXT  = 'M'  .
         ELSE.
           IT_FINAL-GTXT  = 'F'  .
         ENDIF .
           APPEND IT_FINAL .
    ENDPROVIDE .
    PROVIDE TRFST FROM P0008 BETWEEN PN-BEGDA AND PN-ENDDA.
            IT_FINAL-TRFST = P0008-TRFST .                          "   personnel level
            APPEND IT_FINAL .
    ENDPROVIDE.
    PROVIDE  FAVOR FANAM FROM P0021 BETWEEN PN-BEGDA AND PN-ENDDA where P0021-pernr = pernr-pernr
      and  p0021-SUBTY = '11' .
           IT_FINAL-FAVOR  = P0021-FAVOR .                          "   FATHER'S NAME
           IT_FINAL-FANAM  = P0021-FANAM .
           CONCATENATE IT_FINAL-FAVOR IT_FINAL-FANAM  INTO IT_FINAL-FNAME .
           APPEND IT_FINAL .
    ENDPROVIDE.
    Regards,
    Himanshu

  • HELP IN USE PNP LOGICAL DATABASE

    And I have 2 problem the first is that I have error that I don’t now how to solve like
    .In Unicode programs, the "-" character cannot appear in names, as it1
    does here in the name "PNP-SW-IGNORELOCKEDRECORDS".               
    2.In Unicode programs, the "-" character cannot appear in names, as it          does here in the name "PNP-SW-ENQUEUEPERNR".
    In Unicode programs, the "-" character cannot appear in names, as it3.          
    does here in the name "PNP-SW-AUTH-SKIPPED-RECORD".               
    In my program I do
    START-OF-SELECTION.
    GET peras.
    END-OF-SELECTION.
    Data
    TABLES: pernr.
    NODES: peras.
    INFOTYPES: 0000 NAME t_0000,
               0002 NAME t_0002.
    What im doing wrong
    The second problem in my  program I call to function before I use the pnpce I use
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.
    SELECT-OPTIONS so_date  FOR sy-datum  OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK b1.
    CALL FUNCTION 'YHR_GET_EMP_COURSE_SINGLE'
      EXPORTING
        begda          = so_date-low
        endda          = so_date-high
        uname          = uname
        z_course_table = z_course_table
        switch_history = switch_history
      TABLES
        itab_final     = itab_final
        it_final       = it_final.
    And for that I call the function with so_date-low and high what I have to write begda and endda if I use pnpce
    Thanke for your time

    Refer my demo code for PNP database.
    also pls ensure u have provided LDB name in the attributes of the program say PNP.
    REPORT  ZPPL_PREVEMPLOYERS   message-id rp
                                 line-size 250
                                 line-count 65.
    *Program logic :- This Report is used to Download all the Previous
    * Employer (IT0023) records of the employees
    *eject
    *& Tables and Infotypes                                                *
    tables: pernr.
    infotypes: 0000,
               0001,
               0002,
               0023.
    *eject
    *& Constants                                                           *
    constants: c_1(1)       type c               value '1'   ,
               c_3(1)       type c               value '3'   ,
               c_i(1)       type c               value 'I'   ,
               c_x(1)       type c               value 'X'   ,
               c_eq(2)      type c               value 'EQ'  ,
               c_pl03       like p0001-werks     value 'PL03'.
    *eject
    *& Selection-Screen                                                    *
    parameters: p_file  like rlgrap-filename default 'C:TempABC.xls',
                p_test  as checkbox default c_x               .
    *eject
    *& Internal tables                                                     *
    * Internal Table for Output
    data: begin of t_output occurs 0    ,
           pernr like pernr-pernr       ,
           nachn like p0002-nachn       ,
           vorna like p0002-vorna       ,
           orgeh_stext like p1000-stext ,
           plans_stext like p1000-stext ,
           begda like p0023-begda       ,
           endda like p0023-endda       ,
           land1 like p0023-land1       ,
           arbgb like p0023-arbgb       ,
           ort01 like p0023-ort01   .
    data: end of t_output           .
    *eject
    *& Variables                                                           *
    data: o_stext like p1000-stext,
          p_stext like p1000-stext.
    *eject
    *& Initialization                                                      *
    Initialization.
    * Initialize Selection-Screen values
      perform init_selction_screen.
    *eject
    *& AT Selection-screen                                                 *
    at selection-screen .
    * Check if Test run selected, download file name should be entered
      if p_test is initial.  "
        if p_file is initial.
          message e016 with 'Please enter file name'
                            'specifying complete path'.
        endif.
      endif.
    *eject
    *& Start-of Selection                                                  *
    Start-of-selection.
    get pernr.
      clear t_output.
    * Read Infotype 0
      rp-provide-from-last p0000 space pn-begda pn-endda.
      check pnp-sw-found eq c_1.
    * Check if employee is active
      check p0000-stat2 in pnpstat2.      "pernr Active
    * Read Infotype 1
      rp-provide-from-last p0001 space pn-begda pn-endda.
      check pnp-sw-found eq c_1.
    * check if employee belongs to PL03
      check p0001-werks in pnpwerks.  "belongs to PL03
    * Check if emp belongs to Active Group
      check p0001-persg in pnppersg.
    * Read Infotype 2
      rp-provide-from-last p0002 space pn-begda pn-endda.
      check pnp-sw-found eq c_1.
    * Read Org Unit Text.
    CALL FUNCTION 'HR_READ_FOREIGN_OBJECT_TEXT'
         EXPORTING
              OTYPE                   = 'O'
              objid                   = p0001-orgeh
              begda                   = p0001-begda
              endda                   = p0001-endda
              reference_date          = p0001-begda
         IMPORTING
              object_text             = o_stext
          EXCEPTIONS
              nothing_found           = 1
              wrong_objecttype        = 2
              missing_costcenter_data = 3
              missing_object_id       = 4
              OTHERS                  = 5.
    *Read Position Text.
    CALL FUNCTION 'HR_READ_FOREIGN_OBJECT_TEXT'
         EXPORTING
              OTYPE                   = 'S'
              objid                   = p0001-plans
              begda                   = p0001-begda
              endda                   = p0001-endda
              reference_date          = p0001-begda
         IMPORTING
              object_text             = p_stext
         EXCEPTIONS
              nothing_found           = 1
              wrong_objecttype        = 2
              missing_costcenter_data = 3
              missing_object_id       = 4
              OTHERS                  = 5.
    * Gather all the required information related to the emp
      move: pernr-pernr to t_output-pernr,
            o_stext to t_output-orgeh_stext,
            p_stext to t_output-plans_stext,
            p0002-nachn to t_output-nachn,
            p0002-vorna to t_output-vorna.
    * Gather previous Employee details
      loop at p0023.
        move-corresponding p0023 to t_output.
        append t_output.
      endloop.
    *eject
    *& End-of Selection                                                    *
    end-of-selection.
      perform print_report.
    * Downlaod the file
      if not t_output[] is initial.
        if p_test eq space.
          perform download_file.
        endif.
      else.
        write: 'No records selected' color col_negative.
      endif.
    *eject
    *& Top-of-page                                                         *
    Top-of-page.
    * Print Header
      perform print_header.
    *eject
    *&      Form  download_file
    * Description :
    FORM download_file .
      DATA: full_file_name    TYPE string,
            z_akt_filesize    TYPE i     .
      full_file_name = p_file.
    *  download table into file on presentation server
      CALL METHOD cl_gui_frontend_services=>gui_download
        EXPORTING
          filename                = full_file_name
          filetype                = 'DAT'
          NO_AUTH_CHECK           = c_x
          codepage                = '1160'
        IMPORTING
          FILELENGTH              = z_akt_filesize
        CHANGING
          data_tab                = t_output[]
        EXCEPTIONS
          file_write_error        = 1
          no_batch                = 2
          gui_refuse_filetransfer = 3
          invalid_type            = 4
          no_authority            = 5
          unknown_error           = 6
          header_not_allowed      = 7
          separator_not_allowed   = 8
          filesize_not_allowed    = 9
          header_too_long         = 10
          dp_error_create         = 11
          dp_error_send           = 12
          dp_error_write          = 13
          unknown_dp_error        = 14
          access_denied           = 15
          dp_out_of_memory        = 16
          disk_full               = 17
          dp_timeout              = 18
          file_not_found          = 19
          dataprovider_exception  = 20
          control_flush_error     = 21
          not_supported_by_gui    = 22
          error_no_gui            = 23
          OTHERS                  = 24.
      IF  sy-subrc               NE        0.
        MESSAGE e016 WITH 'Download-Error; RC:' sy-subrc.
      ENDIF.
    ENDFORM.                    " download_file
    *eject
    *&      Form  print_report
    *Description:
    FORM print_report .
      data: i       type i,
            w_count type i.
      sort t_output.
    * Print the report
      loop at t_output.
        i = sy-tabix mod 2.
        if i eq 0.
          format color col_normal intensified on.
        else.
          format color col_normal intensified off.
        endif.
        write:/1     t_output-pernr          ,
               10     t_output-vorna(25)     ,
               35    t_output-nachn(25)      ,
               61   t_output-orgeh_stext     ,
               102  t_output-plans_stext     ,
               143  t_output-begda           ,
               154   t_output-endda          ,
               168   t_output-land1          ,
               178   t_output-arbgb(40)      ,
               219   t_output-ort01          ,
               249   space              .
      endloop.
      uline.
      Describe table t_output lines w_count.
      Skip 2.
      Write:/ 'Total No of Records Downloaded: ' color col_total,
              w_count.
    ENDFORM.                    " print_report
    *eject
    *&      Form  print_header
    *Description:
    FORM print_header .
      skip 1.
      Uline.
      format Intensified on color col_heading.
      write:/1   'Pers. #'        ,
             10   'Last Name'     ,
             35   'First Name'    ,
             61   'Org Unit'      ,
             102  'Position'      ,
             143  'Beg Date'      ,
            154   'End Date'      ,
            168   'Cntry Key'     ,
            178   'Prev Employer' ,
            219  'City'           ,
            249   space          .
      format intensified off color off.
      uline.
    ENDFORM.                    " print_header
    *eject
    *&      Form  init_selction_screen
    *Description:
    FORM init_selction_screen .
      refresh: pnpwerks,
               pnppersg,
               pnpstat2.
      clear:   pnpwerks,
               pnppersg,
               pnpstat2.
      pnpwerks-sign   = c_i.
      pnpwerks-option = c_EQ.
      pnpwerks-low    = c_pl03.
      append pnpwerks.
      pnppersg-sign   = c_i.
      pnppersg-option = c_EQ.
      pnppersg-low    = c_1.
      append pnppersg.
      pnpstat2-sign   = c_i.
      pnpstat2-option = c_EQ.
      pnpstat2-low    = c_3.
      append pnpstat2.
    ENDFORM.                    " init_selction_screen

  • Pnp & split screen help

    I'm 99% finished with my project.
    I now want to display split screen for both edited clips.
    I noticed I get picture in picture  on and off through out the clip like in the display screen (top right)
    How did that happen? It happens when I have both clips enabled.
    how do I get remove picture in picture and also  activate split screen?

    Probably to use the transform functions to crop and reposition the images. You'll probably need to to do one and then use the copy and paste attributes function to apply it to the other shots on that layer.

  • Dear experts help needed in creation of report in hr

    Please check the below code.
    There is one Transaction code PA20 from these i need the fields in my report.
    I tried writing the report but the fields are from structure so please help in creating the report.
    I am a beginner so i donno how to find the below fields are coming from which table.
    when i do F1 on the fields in PA20 i found the fields but they are from structure.
    type-POOLS: SLIS.
    TYPES : BEGIN OF TY_P0001,
            PERNR TYPE PERNR_D,      "Personnel Number
            BEGDA TYPE BEGDA,        "Start Date
            BUKRS TYPE BUKRS,        "Company Code
            ENAME TYPE EMNAM,        "Formatted Name of Employee or Applicant
            END OF TY_P0001.
    TYPES : BEGIN OF TY_P0016,
            PERNR TYPE PERNR_D,      "Personnel Number
            PRBZT TYPE PRBZT,        "Probationary Period
            CTTYP TYPE CTTYP,        "Contract Type
            END OF TY_P0016.
    TYPES: BEGIN OF TY_P9210,
             PERNR TYPE PERNR_D,
            ZTICKET_AMT TYPE ZTICKET_AMT,  "Ticket Amount
            END OF TY_P9210.
    TYPES : BEGIN OF TY_OUTPUT,
             PERNR TYPE PERNR_D,      "Personnel Number
             BEGDA TYPE BEGDA,        "Start Date
             BUKRS TYPE BUKRS,        "Company Code
             ENAME TYPE EMNAM,        "Formatted Name of Employee or Applicant
             PRBZT TYPE PRBZT,        "Probationary Period
             CTTYP TYPE CTTYP,        "Contract Type
             ZTICKET_AMT TYPE ZTICKET_AMT,  "Ticket Amount
            END OF TY_OUTPUT.
    DATA:  T_P0001 TYPE TY_P0001 OCCURS 1,
           W_P0001 TYPE TY_P0001,
           T_P0016 TYPE TY_P0016 OCCURS 1,
           W_P0016 TYPE TY_P0016,
           T_P9210 TYPE TY_P9210 OCCURS 1,
           W_P9210 TYPE TY_P9210,
           T_OUTPUT TYPE TY_OUTPUT OCCURS 1,
           W_OUTPUT TYPE TY_OUTPUT.
        START-OF-SELECTION.
            SELECT PERNR
                   BEGDA
                   BUKRS
                   ENAME FROM P0001 INTO TABLE T_P0001
                   WHERE
                    AND  BUKRS IN S_BUKRS
                    AND  BEGDA < '31032007'.
              SELECT PERNR
                     PRBZT
                     CTTYP
                     FROM P0016 INTO TABLE T_P0016
                     FOR ALL ENTRIES IN T_P0001
                     WHERE PERNR = T_P0001-PERNR
              SELECT PERNR
                     ZTICKET_AMT
                     FROM P920 INTO TABLE T_P920
                     FOR ALL ENTRIES IN T_P920
                     WHERE PERNR = T_P0001-PERNR.

    use logical data base PNP.
    tables: pernr.
    infotypes: 0001, 0016, ....
    start-of-selection.
    get pernr.
    here all tables Pxxxx defined as INFOTYPES are filled for the selected PERNR.

  • Selection Screen  of PNP Logical database

    Experts,
    I am stuck up in filtering of data.
    I am using PNP logical database in Adhoc Query, if I select Current Month as data selection than also it is giving all list of data..
    Can anyone give Input to me.
    it is urgent.
    Point will revert for useful answer.
    Hetal.

    how about if u do this step
    1. Goto- Attribute.
    2. Click "Change"
    3. Click 'HR Report Category'
    4. Click 'Create Report Category'
    5. Click 'new entries' for careating Report Category
    5. Select newly create report category
    6. Click the folder 'Definition of Organizational Selection'.
    7. Click 'New entries'.
    8. Here you assign the required fields to be displayed, for eg pywerks - personal area.
    9. finally assign this newly created 'report category' in the screen you will get upon clicking 'HR report Category' button in the Program attribute screen.
    Hope this may help you.  I am not much into hr abap. but sharing the info which i am aware.

  • Logical Database - PNP, PCH, PNPCE

    Hi Experts,
    Im New to ABAP HR,
    I would like to know about the logical databases we are using .
    Logical Database - PNP, PCH, PNPCE, basic principles
    If any body cud let me know about the differences , requiremnts , associated with these Logical databses will be much helpful for me.
    Thanks
    Rohini Devi
    [email protected]

    Hi Rohini...
    Global Employee Programming
    Thanks
    Message was edited by:
            Aslam Riaz

  • ABAP Report Program Logical Database PNP

    I have a ABAP program using the logical database PNP. The report is config to run on MSS using EP. I have added code to capture the Org Unit when it is pass to the program from MSS.  My issue is how do i capture the org unit value that is passed to the program.   I have added code to capture field pnporgeh  in the START OF SELECTION event.   This works great if you are running the program from R3, but none of my edit checking against field pnporgeh works.

    Hi John,
    I am also having same trouble where in i have added a new custom(Z) report in the MSS ->My Staff -> Reporting under report category -> Time Management (MSS). I am not able to find how the value of org unit which is selected on portal screen is passed to report in R/3 which is using PNP logical db.
    I tested in debugging but selection screen parameter PNPORGEH contains nothing.
    Many Thanks in advance for the help.
    Edited by: Ankit Kashyap on Nov 17, 2010 12:40 PM

Maybe you are looking for

  • Font Problem in CS2

    Whenever I tried to scroll through the Fonts in the Character Panel, it moves the selection to the first font in the character panel. Is it because of the Numerous number of fonts in my System. Also certain characters in my native language dont appea

  • Why is iPhoto suddenly missing from OX 10.8.5?

    I rarely use iPhoto but today I tried to open it and it is inexplicably missing from my computer. I have a MacBook Air from a couple of years ago and I'm running OX 10.8.5. I'm holding off of Mavericks until problems are resolved and my IT guy says i

  • Question on MDM 2.1 security.

    Hi All, We are trying to configure MDM 2.1 for our project and we have a question about security. One of our goal is to flter data according to a particular user. For instance, we have a group of users that will be able to see only their own data (so

  • Ask your question.i need to download os5 for my 3gs

    Where can I download ios5 for my iphone, its not letting me do it on this site

  • Operating system version {0} is too low. You need at least version {2}

    Please can someone tell me what this means?: <!--LOGHEADER[START]/--> <!--HELP[Manual modification of the header may cause parsing problem!]/--> <!--LOGGINGVERSION[1.5.3.7185 - 630]/--> <!--NAME[T:\\usr\\sap\\jupgrade\\log\\CHECKS.LOG]/--> <!--PATTER