Discussion PNP or PNPCE

Hi guys!!
      We are just start using  PNPCE in our HR programs .The only thing I am posting this thread, I want to get feel that what kind of <i><u><b>Problems/Issues/limitations</b></u></i> facing after using PNPCE and how you’re solving that out !
- I came across a bossiness scenario where we have to read all of the record from certain IT.
But PNPCE behaves different , even you are passing begda and endda as '18000101' and '99991231' in rp_provide Macro , it just get one record.
Like in one thread Suresh Described!!
<b>"The one thing pnpce does do is when the GET executes only the infotype records retrieved for the interval requested will be retrieved. Whereas PNP by default, will retrieve all infotype records for a given PERNR."</b>
<u>Please give you inputs , please don’t paste link for documentation</u>
I’ll appreciate your help and suggestions!!
Thanks
Saquib
Message was edited by: Saquib Khan

Hi Saquib,
  As of now PNPCE is not in its full form.
  This is very clear from the SAP Notes provided.(516489)
  "The Time Management functions for concurrent
   employment have not been released for all customers.
   They are activated for selected pilot customers only"
  "If you use concurrent employment, you cannot
  implement the payment process Cash Payment with Cash
  Breakdown List based on wage type /557 (Cash Payment)
  or programs RPCMLI00 and RPCMLI09 (Cash Breakdown
  List). If you use concurrent employment and want to
  effect wage and salary payments in cash, you can
  implement the payment process Cash Payment With
  Multicurrency Cash Breakdown List."
  In addition to these there are few more things which
  needs to be released.
Regards,
GSR.

Similar Messages

  • Change of LDB from PNP to PNPCE

    HI All,
       I have a HR program where LDB PNP is used. Now I need to change the LDB from PNP to PNPCE. Can any one please tell me what are the mandatory change I need to do in the program after changing the LDB.
    Thanks & Regards,
    Arnab

    Hi,
    Purpose
    The PNPCE logical database supports the evaluation of HR master data. It includes the functions of the PNP logical database and offers additional evaluation options. Therefore, you should use the PNPCE logical database instead of the PNP logical database for all new developments.
    The enhanced functionality of PNPCE in comparison to PNP essentially concerns the evaluation of Concurrent Employment, that is the possibility to group evaluate several assignments/personnel numbers of a person. The new events 'GET PERSON' and 'GET GROUP' as well as an enhanced syntax for the INFOTYPES statement (addition AS PERSON TABLE) for the procurement of infotype data enable you to use the new functionality. The use of these new functions is optional. You can run a PNPCE report that does not use the new events and the addition for the INFOTYPES statement in a PNP-compatible session. Since the PNPCE also has an improved selection screen, each report benefits from this even if the report does not use the functions for evaluating Concurrent Employment.
    Prerequisites
    A report that wants to use the PNPCE must enter this in its report attributes under Logical database.
    In addition, the PERNR structure must be declared in the report using the 'TABLES PERNR' statement. You can only use the PERNR structure again in certain circumstances. The use of the 'GET PERNR' event is therefore forbidden. Instead, use the 'GET PERAS' event. Except for the PERNR-PERNR component, all other components of the PERNR structure are no longer filled and have initial values. This kind of programming (with the exception of PERNR-PERNR) therefore not permitted.
    In addition to the 'GET PERAS' event, you can also use the GET PERSON' and 'GET GROUP' events. To be able to use these events, you must declare them using the NODES statement (NODES PERSON', 'NODES GROUP', or. NODES PERAS').
    Explanation of Terms
    If the 'GET PERSON' and 'GET GROUP events and the 'AS PERSON TABLE' addition for the INFOTYPES statement are not used, the report indicates that it does not require the functionality for evaluating Concurrent Employment. In this case, the report runs in a PNP-compatible session. This is referred to as PNP mode in the following documentation. On the other hand, if the report uses the functionality for evaluating Concurrent Employment we refer to CE mode.
    Features
    Process of an Evaluation
    The PNPCE selection screen offers you as standard a range of functions that you can use to restrict the personnel number and person selection. These are discussed in more detail in the following sections. The process is initially as follows regardless of whether the report runs in CE or PNP mode. All available functions and selection conditions leads to the selection of personnel numbers. If you use the sorting function, this set of personnel numbers is then sorted according to the sort criteria you selected. In PNP mode, the GET PERAS event is triggered as a result for each personnel number.
    In CE mode, the persons belonging to the personnel numbers are determined first for all personnel numbers selected. The GET PERSON event is then triggered for each person. The person ID is specified in the OBJID component of the PERSON structure. PERNR_NUM contains the total number of personnel assignments (= personnel numbers) that this person has and the ALL_PERNRS table, which contains a list of these personnel numbers regardless of whether they were actually selected or not. The SELECTED flag is set to X for the personnel numbers selected. The flag is initial for all personnel numbers that are not selected. The PROCESS flag specifies whether the personnel number should be processed in the rest of the process. This flag is set to X by default for the personnel numbers selected. However, the report can set or delete this flag at the GET PERSON event for all personnel numbers. In this way, report and logical database communicate with each other which enables the report to control the rest of the process.
    In the next step, the logical database groups all personnel numbers of a person that are to be processed (that is, all personnel numbers that have the PROCESS flag set). The report can control the type of grouping using the PNPCE_GROUPING_FROM_PAYROLL flag (normal or payroll grouping) and using the PNPGPRSN (grouping reason) and PNPGPVAL (grouping value) parameters of the selection screen. The GET GROUP event is triggered for each group of personnel numbers determined. The GROUPING_REASON and GROUPING_VALUE components contain the grouping reason and grouping value of this group. The number of personnel numbers that belong to this group and that are processed subsequently is in PERNR_NUM. The included ALL_PERNR table contains a list of these personnel numbers with additional information. The SELECTED flag specifies whether the current personnel number was originally selected (flag is set) or was marked by the report as to be processed. GROUPING_BEGDA and GROUPING_ENDDA contain the validity period that the personnel number has for this grouping. The NO_AUTHORITY flag is set if there is insufficient authorization for a personnel number. This personnel number is not processed further. The SORT component defines a standard sort order for the personnel numbers of a group. The report can change this by overwriting the values. In this way, report and logical database communicate with each other, which controls the further processing sequence of the personnel numbers.
    The GET PERAS event is then triggered for all personnel numbers of the group (with the exception of the personnel numbers for which no authorization exists) in the sequence defined by the SORT component (see above). The SELECTED, GROUPING_BEGDA, and GROUPING_ENDDA components have the same meaning here as with the GET GROUP event. The PROCESSED_BEFORE flag specifies whether the personnel number has already been processed once before (it is possible that the personnel number belongs to several groupings and has been therefore been processed several times).
    Thanks and Regards
    Ravi

  • Change existence report LDB PNP to PNPCE

    Hi HR experts !!!
    We want to convert all the existence reports which are using <b>PNP</b> to <b>PNPCE</b>? Do you guys have idea how much time it’ll take? As we have around 1000 reports.
    I need your input guys
    Cheers
    Usman

    Usman,
        I am also on HR project . We’re also discussing the same thing !! but it looks like it need another project to change the LDB to PNPCE as reason being  lots of reports are written using PNP logic in mind.
    But PNPCE Behaves different . Well I must say its another project to change 1000 reports
    FYI...
    It is better to go in for PNPCE even if you do not have Concurrent Employment to take advantage of the new lDB. The one thing PNPCE does do is when the GET executes only the infotype records retrieved for the interval requested will be retrieved. Whereas PNP by default, will retrieve all infotype records for a given PERNR.
    SAP recommends to use PNPCE for all new development. But all the features are not available as of now. The Time Management functions for concurrent employment have not been released for all customers. They are activated for selected pilot customers only. Can get some info in SAP Note : 518520 , 516489..
    OSS Note # 561645 ( LDB PNPCE: compatibility with PNP )
    Symptom
    In some respects, logical database PNPCE responds differently from logical database PNP. This may cause errors in applications that do not know this difference.
    Other terms
    PNP, PNPCE, payroll period, PNPTIMR9, PNPTIMRA, error message, information message
    Reason and Prerequisites
    There are the following differences between logical databases PNP and PNPCE:
    Unlike PNP, logical database PNPCE does not have two radio buttons you can use to set the payroll period (parameters PNPTIMR9 and PNPTIMRA). Instead, the payroll period is set via parameter PNPTIMED (displayed as a dropdown box on the selection screen). This difference must be taken into account when you call a PNPCE report from another program. Otherwise, in incorrect system response occurs in the PNPCE report called. Problems may also occur if you convert an existing PNP report to PNPCE and want to use an old (PNP) variant.
    If you enter an invalid payroll arear or an invalid payroll period, PNP issues an error message whereas PNPCE only issues an information message. This causes problems if you run a PNPCE report in the background because in this case the program runs into an endless loop instead of terminating.
    Solution
    Implement the attached corrections or import the corresponding support package.
    This changes PNPCE in such a way that it responds like PNP
    Moreover, also look at OSS
    PNPCE: Performance improvement  ( OSS note # 687004)
    Symptom
    You use a report that is based on logical database PNPCE. Either the performance of the report is poor, or the program terminates due to a memory overflow.
    Other terms
    Performance, PNPCE, 0000, 0001, buffer, memory space, memory space consumption, partitioning, FILL_0000_0001_BUFFER, T77S0, LDB, PCEPS, PNP mode
    Reason and Prerequisites
    The PNPCE can be used in a PNP-compatible mode. The mode is 'PNP-compatible' if the report does not program on events GET PERSON and GET GROUP and does not use the 'AS PERSON TABLE' extension for the INFOTYPES statements (for more details refer to the documentation of logical database PNPCE in Transaction SE36).
    In this mode the performance is worse, as if logical database PNP is used. After the implementation of the correction from this note, the performance is significantly improved.
    Another problem is that all personnel numbers that meet the entered selection criteria are internally selected during the execution of the report. Then the system imports all data records of infotypes 0000 and 0001 for all these personnel numbers because they are needed for the internal processing for different reasons. If the amount of personnel numbers or the amount of data records per personnel number is very large, memory problems can occur. The attached correction solves the memory problems.
    Solution
    Implement the correction according to the correction instructions or import the corresponding Support Package. If you implement the correction manually, you first have to implement Note 705870.
    A part of the correction causes the internal processing of the persons/personnel numbers in blocks. If logical database PNPCE runs in PNP mode, the block-by-block processing is executed based on personnel numbers. Otherwise (in CE mode) it is executed based on persons. In PNP mode, logical database PNPCE behaves exactly like logical database PNP concerning the block processing. The settings are also made along the lines of logical database PNP. For a more detailed description refer to Note 705870.
    Standard setting of the block size
    In CE mode the block size is set to 10,000 persons by default. That is, as long as the number of selected persons does not exceed this value, no block processing is executed at all. A memory space analyses showed that this does not cause problems with the memory space in a system with an average number of infotype 0000 and infotype 0001 data records. However, if the amount of data records (= splits) is very large in your system, you have to reduce the maximum block size manually.
    Manual setting of the block size
    There are two different options to set the block size manually: a) report-specific by means of a switch which you have to set in the source code of the report, and b) cross-system by means of a switch in switch table T77S0.
    The report-specific switch is called PNP_MAX_PARTITION_SIZE. It has priority (if switch T77S0 is activated) and must be set in the source code of the report at event START-OF-SELECTION at the latest.
    Example: Set the maximum block size (number of persons that can be processed together) to 250:
    START-OF-SELECTION.
      PNP_MAX_PARTITION_SIZE = 250.
    The switch is recommended for customer-specific reports requiring a lot of memory and therefore need to minimize the additional memory space of logical database PNPCE. It is not suited for SAP standard reports because the report would have to be modified in that case.
    The cross-system switch is maintained in table T77S0. It affects all reports that are based on logical database PNPCE and do not use the report-specific switch PNP_MAX_PARTITION_SIZE.
    The switch belongs to the LDB group and is called PCEPS. The switch is maintained in Transaction SM30 (enter table 'T77S0' and choose 'Maintain'). The switch is delivered (for Release 4.70 in a Support Package) with initial value (0). An initial value causes the switch to be ignored and the standard setting to be used instead. If you want to set the switch, set it to a numeric value. This value specifies the maximum number of persons that are processed together in a block.
    Example:
    LDB  PCEPS  250
    For more information on the procedure of a system upgrade refer to Note 317722
    Thanks
    Saquib
    Message was edited by: Saquib Khan

  • 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

  • Management Global Employee  Vs C.E + PNP or PNPCE

    All,
         We are moving towards implementing u201CManagement Global Employeeu201D. I am new to u201CManagement Global Employeeu201D   and I found some good documentation at www.saphelpbykevin.com  . Kevin you did great job there like you did with us in Boise, Idaho.  Any way first I wanted to understand the key differences between C.E and MGE?
    After that what effort we need to do in order to change our ABAP program. Can we use PNP with MGE ?
    Iu2019ve worked on  Concurrent Employment in 2006 and I remember we had a hard time changing all our HR ABAP program and LDB to PNPCE . Are we talking about the same effort here? If any body of you has any suggestion , key point please share with me .
    Thanks,
    Saquib Khan

    Lol!
    I didn't see post until now...Not sure if you received the response yet...
    MGE is a subset or submodule of CE.
    CE concept is more align with and more import if you use SAP Payroll and Time. CE is concurrent employment where a person holds more than one position at a time in the same country.
    MGE is management global employee. Where a person move from one position to another during a duration to do an assignment. Upon completing the assignment, the person could localize there or return home.
    PNP and PNPCE. PNP is being discontinued and is replaced by PNPCE. The main difference between the two is PNPCE support the PERSON ID concept. Which is the unique identifier for an employee. It would be best to use PNPCE with MGE as you need that PERSON ID in the HR Report Category.
    Kevin T. Nguyen-Tu
    www.saphelpbykevin.com

  • PNP and PNPCE

    What is the difference between PNP and PNPCE. why we are using PNP instead of PNPCE. In what situation we use PNPCE..
    Please focus on this issue.
    Regards
    vamsi.

    0712 is used in Concurrent Employment, it is for Main Assignment of a person.
    I think he wanted to mention 709 Infotype that is used to determine pernrs for a person.
    Every person in Concurrent Employment (CE) environment can hold multiple positions, each position will have one pernr, so one person can have many pernrs. (one for each job/position). These infotypes are useful while fetching data for all pernrs of a person. PNPCE is the logical database that facilitates all this process.

  • How to add table Z to infoset that is using PNP or PNPCE

    hello my friends... i thing that the subject explains my situation... i want to add a Z table to infoset that is using PNP or PNPCE database, then i want to use the fields of Z table to selection criteria
    regards and thanks in advance
    Mário

    Hi Mario,
    As you go to GOTO - Global Properties while maintaining the infoset, you will realize that an infoset can either have a logical database or table join-not both at the same time-.
    However, in your case, you can use References - Text field for respective fields in field group.
    If it is a custom infotype, you can directly relate the text table to the domain of the data element of the infotype field.
    -Please check IT0002 Country of birth as reference-
    Regards,
    Dilek

  • What is the main diff b/n ldb pnp and pnpce?

    hi ,
    what is the main diff b/n ldb pnp and pnpce?
    thanks.

    Hi Arun,
      PNP/PNPCE  - Both are Logical Databases for PA Module
    In PNPCE - CE stands for Concurrent Employment.
    The differnces are:
    The PNPCE logical database supports the evaluation of HR master data. It includes the functions of the PNP logical database and offers additional evaluation options. Therefore, you should use the PNPCE logical database instead of the PNP logical database for all new developments.
    The enhanced functionality of PNPCE in comparison to PNP essentially concerns the evaluation of Concurrent Employment, that is the possibility to group evaluate several assignments/personnel numbers of a person. The new events 'GET PERSON' and 'GET GROUP' as well as an enhanced syntax for the INFOTYPES statement (addition AS PERSON TABLE) for the procurement of infotype data enable you to use the new functionality. The use of these new functions is optional. You can run a PNPCE report that does not use the new events and the addition for the INFOTYPES statement in a PNP-compatible session. Since the PNPCE also has an improved selection screen, each report benefits from this even if the report does not use the functions for evaluating Concurrent Employment.
    Hope this helps you.
    Regards,
    Chandra Sekhar

  • PNP and PNPCE databases in ESS portal

    HI,
    As all you know standard ESS works on PNP logical database.but we have a situation in our project that we should use PNPCE database instead of PNP.
    So i would like to get your inputs on the usage of PNPCE in ESS .will there be any bad impact of using that database
    helpful inputs will be rewarded
    Bala

    Hi Bala,
    It's very interesting question.
    In case of PNP we are using the employee number as the base and using the sap logon name of this user pernr.
    But if we are able to do the same with Person ID of the employee then I think we will be able to use the ESS with PNPCE.
    I am not sure that is this possible but just giving a thought.
    Regards,
    Umesh Chaudhari.

  • PNP and PNPCE databases in ESS

    HI,
    As all you know standard ESS works on PNP logical database.but we have a situation in our project that we should use PNPCE database instead of PNP.
    So i would like to get your inputs on the usage of PNPCE in ESS .will there be any bad impact of using that database
    helpful inputs will be rewarded
    Bala

    Hi Bala,
    It's very interesting question.
    In case of PNP we are using the employee number as the base and using the sap logon name of this user pernr.
    But if we are able to do the same with Person ID of the employee then I think we will be able to use the ESS with PNPCE.
    I am not sure that is this possible but just giving a thought.
    Regards,
    Umesh Chaudhari.

  • FM LDB_PROCESS with PNP or PNPCE does not work...

    This is the code. This do nothing, no errors, no results.(The system have employees.)Please help with some advice.
    José.
    TABLES: PERNR.
    TYPE-POOLS: RSDS, RSFS.
    DATA: CALLBACK TYPE TABLE OF LDBCB,
          CALLBACK_WA LIKE LINE OF CALLBACK.
    DATA: SELTAB TYPE TABLE OF RSPARAMS,
          SELTAB_WA LIKE LINE OF SELTAB.
    DATA: TEXPR TYPE RSDS_TEXPR,
          FSEL  TYPE RSFS_FIELDS.
    Refresh: Callback.
    Clear: Callback.
    CALLBACK_WA-LDBNODE     = 'PERNR'.
    CALLBACK_WA-GET         = 'X'.
    *CALLBACK_WA-GET_LATE    = ' '.
    CALLBACK_WA-CB_PROG     = SY-REPID.
    CALLBACK_WA-CB_FORM     = 'PROG_PERNR'.
    APPEND CALLBACK_WA TO CALLBACK.
    Refresh: Seltab.
    Clear: Seltab.
    SELTAB_WA-SELNAME = 'PERNR'.
    SELTAB_WA-SIGN    = 'I'.
    SELTAB_WA-KIND    = 'P'.
    SELTAB_WA-OPTION  = 'EQ'.
    CLEAR SELTAB_WA-LOW.
    CLEAR SELTAB_WA-HIGH.
    APPEND SELTAB_WA TO SELTAB.
    Refresh: TEXPR, FSEL.
    Clear: TEXPR, FSEL.
    CALL FUNCTION 'LDB_PROCESS'
      EXPORTING
        LDBNAME                     = 'PNP'
        EXPRESSIONS                 = TEXPR[]
        FIELD_SELECTION             = FSEL[]
      TABLES
        CALLBACK                    = CALLBACK
        SELECTIONS                  = SELTAB
      EXCEPTIONS
        LDB_NOT_REENTRANT           = 1
        LDB_INCORRECT               = 2
        LDB_ALREADY_RUNNING         = 3
        LDB_ERROR                   = 4
        LDB_SELECTIONS_ERROR        = 5
        LDB_SELECTIONS_NOT_ACCEPTED = 6
        VARIANT_NOT_EXISTENT        = 7
        VARIANT_OBSOLETE            = 8
        VARIANT_ERROR               = 9
        FREE_SELECTIONS_ERROR       = 10
        CALLBACK_NO_EVENT           = 11
        CALLBACK_NODE_DUPLICATE     = 12
        OTHERS                      = 13.
       case sy-subrc.
          when 1.  raise ldb_not_reentrant.
          when 2.  raise ldb_incorrect.
          when 3.  raise ldb_already_running.
          when 4.  raise ldb_error.
          when 5.  raise ldb_selections_error.
          when 6.  raise ldb_selections_not_accepted.
          when 7.  raise variant_not_existent.
          when 8.  raise variant_obsolete.
          when 9.  raise variant_error.
          when 10. raise free_selections_error.
          when 11. raise callback_no_event.
          when 12. raise callback_node_duplicate.
        endcase.
      if sy-subrc ne 0.
          message id sy-msgid type sy-msgty number sy-msgno
               with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    *&      Form  PROG_PERNR
    *       text
    *      -->NAME       text
    *      -->WA         text
    *      -->EVT        text
    *      -->CHECK      text
    FORM PROG_PERNR USING NAME  TYPE LDBN-LDBNODE
                          WA    TYPE PERNR
                          EVT   TYPE C
                          CHECK TYPE C.
        message id sy-msgid type sy-msgty number sy-msgno
               with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      CASE EVT.
        WHEN 'G'.
          WRITE: / WA-PERNR.
          ULINE.
        WHEN 'L'.
      ENDCASE.
    ENDFORM.                    "PROG_PERNR

    Yes, this is the best way of fill out these tables. But my problem is different, I'm trying to get the infotypes info through a BADI or function module.
    I received a response from SAP about how to resolve this issue. I need to use the old way:
    SUBMIT...RETURN to call another report with the PNP/PNPCE Logical Database.
    That's the reason for use the LDB_PROCESS function module. (SUBMIT...RETURN uses too many memory and processor resources) Now I know that this function module does not work with HR Logical Databases because the Infotypes structures. 
    Thank you by your quick reponse.
    José

  • Concurrent Employment & BW HR/Payroll Reporting (PNP vs PNPCE)

    Has anyone implemented BW HR/Payroll reporting with concurrent employment?  What (if anything) needs to be done to the BW HR/Payroll extractors? How is the "central persons" concept portrayed in BW?  Is there any documentation on BW & concurrent employment?

    There were no responses to this query the last time. I would like to ask this question again. Has anyone implemented BI HR reporting with concurrent employment turned on the ECC side? I'd really appreciate if you could share any documentation on this subject.

  • PNPCE insted of PNP Logical Data Base

    Hi
    I want to display flexible concurrent employee report.For this i copied standard program and changed the logical database from PNP to PNPCE.But the new report is not pulling data.
    What else i have to chage to run it successfully.
    Thanks in Advance.
    Swami.

    Please check which GET event use. I think its use GET PERNR. But if u r using PNPCE LDB then it will not work. For PNPCE you have to use GET PERAS  or GET PERSON.

  • Difference bwt PNP & PNPCE

    Hello SAP Minds,
    Can any one please focus on the difference between PNP and PNPCE with example.
    Thanks a lot for your support.

    Hi vamsi,
               I think those are logical databases for creating infosets.I am giving link for you.There you can find the some information about those.
         If you found helful reward me....
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/cb455f455611d189710000e8322d00/content.htm
    Cheers
    Srihari.

  • To use logical database PNP in class builder

    Hi
    Inside the class builder (SE24), i have a created a method.
    Now while implementing that method, that is between method and endmethod
    statement can i implement logical database PNP or PNPCE.
      If 'yes' how to use it.
      if 'no' what is the other way to implement authorization.
    Pls help me

    Hello,
    assume that the routines GET_ITnnnn are written by yourself. For reading infotypes ABAP Objects provides us with same very helpful classes as shown below:
    * define data
      DATA:
        gif_employee      type ref to if_pt_employee,
        go_employee       type ref to cl_pt_employee,
        gt_infotypes      TYPE tim_tmw_itlist_tab,
        go_control        TYPE REF TO if_pt_td_control,
        go_data           TYPE REF TO if_pt_td_base,
        go_pnnnn          TYPE REF TO if_pt_td_itnnnn,
        gt_p0001          TYPE TIM_P0001_TAB,
        gt_p0002          TYPE TIM_P0002_TAB,
        gt_p0003          TYPE TIM_P0003_TAB.
    start-of-selection.
    GET pernr.
    <b>* Create employee instance</b>
      gif_employee = cl_pt_employee=>get_employee( pernr ).
      go_employee ?= gif_employee.
    <b>* Get master infotypes (0001, 0002)</b>
      CALL METHOD go_employee->get_master_data
        EXPORTING
          im_begda = id_fromdate
          im_endda = id_todate
        IMPORTING
    *      EX_I0000 =
          EX_I0001 = gt_p0001
          EX_I0002 = gt_p0002
    *      EX_I0007 =
    *      EX_I0008 =
    <b>* Append all other required infotypes to itab</b>
      APPEND '0003' TO gt_infotypes.
      CALL METHOD go_employee->get_infotypes
        EXPORTING
          i_itlist      = gt_infotypes
          i_fromdate    = id_fromdate  " start date
          i_todate      = id_todate    " end date
    *      I_FILTER      =
          i_noauthcheck = 'X'
        IMPORTING
          e_result      = gt_infty_request
          e_retcd       = gd_retcd.
    * Please see documentation of parameter e_retcd...
      LOOP AT gt_infty_request INTO go_control.
        go_data = go_control->data.  <b>" get data object</b>
    *   Casting
        TRY.
            go_pnnnn ?= go_data.
          CATCH cx_sy_move_cast_error.
            CONTINUE.
        ENDTRY.
    <b>*   Convert infotype (semi-transparent -> transparent)</b>
        CALL METHOD cl_hr_pnnnn_type_cast=>prelp_to_pnnnn
          EXPORTING
            prelp = lo_pnnnn->prelp
          IMPORTING
            pnnnn = gs_p0003.
        APPEND gs_p0027 TO gt_p0003.
      ENDLOOP.
    The class CL_PT_EMPLOYEE provides us already with very easy access to so-called master infotypes (000, 0001, 0002, 0007 and 0008). All other infotypes can be read using method GET_INFOTYPES.
    Using these classes we have a very convenient and standardized way of accessing all kinds of infotypes.
    Vasanth

Maybe you are looking for

  • Windows 7 IE8 32bit Shockwave installs but can't get it to work.

    I have tried many locations on this site to remedy this problem. The player installs and passes the test of installlation, however when I go to say Yahoo games it reinstalls, then installs additional compatibility items and craps out about 90%of the

  • Loading LOTS of objects from xml

    hi I'm developing code that parses an XML file with known elements and reads the contents into objects I've been doing this using DOM DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); DocumentBuilder db = dbf.newDocumentBuilder(); In

  • Power surge now nothing but issues.

    So I had a power surge (no protector...I know dumb) and my pc restarted.  When it came back on it loads the bios.  If I leave the bios, it beeps once long and then 2 short and goes to black screen.  Everything I read says that it means my video card

  • Rotation won't work; embedded in .pdf

    hi all I've embedded a few .swf's in a .pdf presentation--they all work great except for one, where a rotation tween (using tweenlite) won't work.  It works fine playing it in flash player however... I've tried both reader and acrobat, with the same

  • What is best way to place Excel Spreadsheet online for editing?

    I need to place an Excel Spreadsheet on a website in such a way people are invited to add content. Google Docs provides a way to do this, but it has been problematic. Can someone suggest a way I can do this with Dreamweaver (or another Adobe product)