Infoset based on logical db PNPCE

A collegue already created an infoset based on logial daabase PNPCE.  When the user runs a query based on this infoset and asks for all education data for a specific PERNR, The result is only 1 line, the one with the highest enddate, not all education lines.  I allready tried to choose "All" in the reporting period.  How can I get all education lines of the pernr ?
I also need to add 2 extra fields to the infoset.  For the "Job" (IT0001-STELL) the linked field of IT1005-SLGRP and for the "Position" (IT0001-PLANS) the linked field IT1005-SLGRP.  How can I do this ?

capacity header data is linked to table KAZY (interval) - if there is no relevant record there, your field1 gets nothing

Similar Messages

  • Using infoset based on logical database gives lots of selection parameters

    Hi
    I'm trying to assist a new Crystal user in getting up on running on Crystal using infosets from SAP. Presently a simple infoset based on logical database PNPCE has been built using fields from just three infotypes (to keep things simple).
    When the user logs onto crystal and selects either this infoset, or a query based on the infoset, the very next step requires the user to set 80+ parameters to be null before running the report, and unfortunately those values cannot be saved to if in order to re-run the user has to manually set all the vallues to null again. Clearly this makes it pretty frustrating to use!
    This initial screen does not appear if using an infoset based on table joins, but unfortunately the logical database needs to be used to fulfill certain reporting requirements.
    I've tried saving a selection variant against a query and forcing it's use but these setting don't seem to be picked up by Crystal.
    Are there any Crystal/Query experts out there that can help with this?
    Regards
    Phil

    Hi,
    Is there anyone out there that can help with this? Seems to me like an issue that there 'should' be a soluton to...but I haven't found it yet!
    As a bit of additional info - the use of table join based infosets is not an option primarily because there are a lot of reports required that pull in the OM 'additional fields' that come through automatically when using an LDB. However, for table joins, it requires custom coding to be required to the infoset, which clearly restricts the user base from the ability to build their own reports.
    Regards
    Phil

  • Infoset based on logical database CRC and customer field wrongly calculated

    Hello,
    I'm building an info-set (SQ02) based on logical database CRC. My requirement is to calculate a value based on the start date of the capacity allocated to a work center (KAKO-BEGZT).
    I defined a customer field (named FIELD1) with data type I, defined in R-KAKO_A with the following coding :
    FIELD1 = R-KAKO_A + 100.
    After having built the query (SQ01), the field returns correctly the value for FIELD1 only if an interval is defined in the capacity of the work center. Without that, FIELD1 is always null.
    Can you help ?
    Thank you

    capacity header data is linked to table KAZY (interval) - if there is no relevant record there, your field1 gets nothing

  • QuickViewer - logical DB PNPCE.  Same person on multiple lines in result

    Hi
    I have created a Quickviewer using SQVI.  Logical DB PNPCE is used as data source.
    When I create the quickviewer I first has to build up the infoset by selecting info types to be included.
    I select several info types.
    When I build up the report I select fields also from several info types.
    Next is to execute the report.
    When I get the result list it is several lines for each person.  I may look like one line is displayed for each info type (included in the infoset) that the person has info in.
    This is even that I have build up my report with only line.
    Content is more or less the same on all lines for the person.
    How can get only one line for each person?  Even when I select info from several info types.
    Best regards
    Tom

    HI,
    check the infotypes used in the infoset with ONE personnel number that gives you several line items.
    There must be some infotypes where there is more than one data record stored for one personnel number (eg many infotypes have time dependent entries (begin-date / end-date) thus moe than one entry exists for the same personnel number if tthere are more begin / end time intervals.
    If you have identified the infotypes causing the multiple line items, define your selectioncriteria in a way that only ONE record is selected.
    best regards, Christian

  • Logical Database PNPCE and inherited Sub Area

    Hi,
    I have asked this in the HR forum but no response......
    I have a report using Logical Database PNPCE to find some values from a couple of info types. When I select a unit (from the 'OrgStructure' button at the top of the screen), say 111, and all its sub-units with no selections in the selection screen, I get one person displayed. This is correct and this person is in a sub-unit 3 levels down (unit 333).
    I then added a selection to only display people in units with Personnel SubArea 'OTEC'. Now I get no results output. When I look in PPOME, I can see that unit 333 has Personnel SubArea 'OTEC' but it is inherited from '111'.
    In PP01, unit 111 has an Account Assignment entry (Info Type 1008) but 333 does not.
    Does anyone know how to report on this?
    Is there a flag somewhere that tells the LDB to check for inherited units?
    If not, any ideas if there is a function out there to find the superior unit for these sub-units?
    Thanks.

    Thanks,
    I am aware of that FM but how do I find the parent unit in a clever fashion?
    The structure could have multiple levels e.g.
    Unit 1 - Unit 2a - Unit3a......
           - Unit 2b
           - Unit 2c
    Unit 1 is the parent and all the below units inherit from it.
    The LDB is looping through an internal table with a list of the units. It finds Unit 1 but not the rest.
    So, when the LDB is looking for Unit 3a, how does it know that Unit 1 is the parent?
    If I use that FM, I think I would have to look for all units above it and see if there is an Info Type 1008 exists. Seems like a lot of processing for something that should be simple?
    Kroc.

  • How to pass a default value in selection screen of logical database pnpce

    Dear All,
    Can any one tell me how to pass a default value in selection screen of logical database pnpce .
    Regards
    Rakesh Singh

    Hi Rakesh,
    Go to SE36 (logical database Builder).First enter PNPCE in Logical Database and press documentation,here you will get the details of exactly what is PNPCE and how it works.After that select selections in subojects in se36 only and enter display ,there you have the include from where you acn get the idea.
    Regards,
    Rahul

  • Logical Database (PNPCE) , selection screen hide.

    Hi Gurus,
             i have couple of questions related to logical database pnpce.
    1.Since i know logical database has there own selection screen , my requirement is i want to add my custom fields to the selection screen other than what is provided is it possible or not.
    2. i want to hide the selection screen of the logical database, but i do want to create my own in which i will be declaring some select options of the standard logical database screen has, like pernr, organisation unit, etc, how do i communicate the entered data with the logical database if i dont use the logical database standard selection screen, hope i could able to explain my problem, please see into my problem and let me know thanks in advance,
    hussaini

    Hussain,
    LDB have standard selection screens, if at all you want to customize those standard selection screen you would have to define a report category for your program. You`ll have to configure in the spro settings for your corresponding report category.
    If you would like to declare your own selection criteria, you can very well do it and these criteria are visible below the standard selection criteria. You can process these elements in your program and not in the LDB standard program. Use the normal selection screen events in your program for processing your selection criteria.
    Hope this info is helpful, reward points if convinced.
    Regards

  • How to extend dynamic selection for Logical Database PNPCE

    Hi All,
    I need to extend dynamic selection for Logical Database PNPCE. Can someone able to help with steps?
    Thanks
    Ranjith

    Hi All,
    I need to extend dynamic selection for Logical Database PNPCE. Can someone able to help with steps?
    Thanks
    Ranjith

  • SQ01 - Name of Manager field for logical database PNPCE

    Hi,
    I am stumped and need your help.
    I have defined an infoset ZZ_HR_DATA with logical database. In the Infotype 0001, under additional selections, I have the field "Name of superior (organizational assignment)" and it's technical name is SYHR_A_P0001_AF_MANAGERN. I am OK so far.
    When I define a query against this info type, it is not showing as a field to select. What went wrong?
    The query shows another similar field SYHR_A_P0001_AF_MANAGERN and Quickviewer is displaying this as well.
    Regards
    Venny

    I figured this out. User error..
    Thanks
    Venny

  • HR Reporing Payroll using Logical Database PNPCE

    Hi ALL
    Can any body explain me how can we do HR Payroll reporing using logical database PNPCE.
    In the program attibutes as mentioned we need to scee 900 for payroll reporting, but when I use PNPCE I cant see that screen in the Dropdown.
    can any body help me with this.
    regards
    AJ

    check this program..
    REPORT    ZHR_PAYROLL_EX1
               MESSAGE-ID ZZ
               LINE-SIZE 132
               LINE-COUNT 64(2)
               NO STANDARD PAGE HEADING .
                  T A B L E S                                            *
    TABLES    : PA0001 ,        "Infotype 0001
                 PCL1,           "HR Cluster 1
                 PCL2,           "HR Cluster 2
                 T549A,          "Payroll Accounting Areas
                 T549Q.          "Payroll Periods
                  I N C L U D E S                                        *
    *--Standard Include for US Payroll
    INCLUDE RPC2RUU0.            "Cluster RD data definition
    INCLUDE RPC2CD00.            "Cluster CD Data-Definition
    INCLUDE RPC2CA00.            "Cluster CA Data-Definition
    INCLUDE RPC2RX00.            "Cluster RF data definition internat. part
    INCLUDE RPPPXD00.            "Data definition buffer PCL1/PCL2
    INCLUDE RPPPXD10.            "Common part buffer PCL1/PCL2
    INCLUDE RPPPXM00.            "Buffer handling routine
                    INTERNAL TABLES
    *Internal Table to Hold data from PA0001
    DATA : BEGIN OF I_0001 OCCURS 0,
              PERNR LIKE PA0001-PERNR,  "Personnel Number
            END OF I_0001.
    *Internal Table to Hold data from PA0001
    DATA : BEGIN OF I_FINAL OCCURS 0,
              PERNR LIKE PA0001-PERNR, "Personnel Number
              GAMNT LIKE PC207-BETRG,  "Gross Amount
              NTAMT LIKE PC207-BETRG,  "Net Amount
              PAYDT LIKE PC261-PAYDT,  "Pay Date
              RUNDT LIKE PC261-RUNDT,  "Run Date
              VORNA LIKE PA0002-VORNA,  "First Name
              NACHN LIKE PA0002-NACHN,  "Last Name
            END OF I_FINAL.
    *Internal Table to Hold data from PA0002
    DATA : BEGIN OF I_0002 OCCURS 0,
              PERNR LIKE PA0002-PERNR,  "Personnel Number
              VORNA LIKE PA0002-VORNA,  "First Name
              NACHN LIKE PA0002-NACHN,  "Last Name
            END OF I_0002.
    Control record type
    TYPES     : BEGIN OF T_T569V,
                   ABKRS    LIKE T569V-ABKRS, "Personnel Area
                   PABRJ    LIKE T569V-PABRJ, "Accounting year
                   PABRP    LIKE T569V-PABRP, "Accounting period
                   STATE    LIKE T569V-STATE, "Status of Control Record
                   ADRUN    LIKE T569V-ADRUN, "HR: Special payroll run
                 END   OF T_T569V.
                      STRUCTURES
    DATA : WA_T569V TYPE T_T569V.    " Work area for t569v
                     DATA
    DATA : V_PABRJ  LIKE T569V-PABRJ,  "Accounting year
            V_PABRP  LIKE T569V-PABRP,  "Accounting period
            V_BEGDA  LIKE SY-DATUM,     "Begin Date
            V_ENDDA  LIKE SY-DATUM,     "End Date
            V_FPPER(6) TYPE C,          "For Period
            V_SEQNR  LIKE PC261-SEQNR.  "Sequence Number
       SELECTION SCREEN
    Selectio Screen Block for Employee Selection.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS : S_PERNR FOR PA0001-PERNR, "Pernr
                      S_DATE  FOR SY-DATUM.     "Date
    SELECTION-SCREEN END OF BLOCK B1.
       START-OF-SELECTION
    START-OF-SELECTION.
    *Get Data from pa0001
       PERFORM GET_DATA_FROM_0001.
    *Get Data from pa0001
       PERFORM GET_DATA_FROM_0002.
    *Get CHAD Details
       PERFORM GET_PAYDATA.
       END-OF-SELECTION
    END-OF-SELECTION.
       IF NOT I_FINAL[] IS INITIAL.
    *Print the Final Report.
         PERFORM PRINT_REPORT.
       ENDIF.
                    T O P  O F  P A G E
    TOP-OF-PAGE.
    Display Header
       PERFORM DISPLAY_HEADER.
                    S U B - R O U T I N E S
    *&      Form  get_data_from_0001
          Get Data from 0001
    FORM GET_DATA_FROM_0001.
       SELECT PERNR                     "Personnel Number
              FROM PA0001
              INTO TABLE I_0001
              WHERE PERNR IN S_PERNR AND
                    ENDDA >= S_DATE-LOW AND
                    BEGDA <= S_DATE-HIGH .
       IF SY-SUBRC = 0.
         SORT I_0001 BY PERNR.
       ENDIF.
    ENDFORM.                    " get_data_from_0001
    *&      Form  get_data_from_0002
          Get Data from 0002
    FORM GET_DATA_FROM_0002.
       SELECT PERNR                     "Personnel Number
              VORNA
              NACHN
              FROM PA0002
              INTO TABLE I_0002
              WHERE PERNR IN S_PERNR AND
                    ENDDA >= S_DATE-LOW AND
                    BEGDA <= S_DATE-HIGH .
       IF SY-SUBRC = 0.
         SORT I_0002 BY PERNR.
       ENDIF.
    ENDFORM.                    " get_data_from_0002
    *&      Form  populate_chad_coinage_table
          text
    FORM GET_PAYDATA.
       LOOP AT I_0001.
         READ TABLE I_0002 WITH KEY PERNR = I_0001-PERNR BINARY SEARCH.
         IF SY-SUBRC = 0.
           I_FINAL-VORNA = I_0002-VORNA.
           I_FINAL-NACHN = I_0002-NACHN.
         ENDIF.
    Read Result Directory for Payroll Results for a Employee.
         PERFORM CU_READ_RGDIR.
    Get Sequence Number & Associated Payroll Results.
         PERFORM GET_PAYROLL_RESULTS.
       ENDLOOP.
    ENDFORM.                    " get_paydata
    *&      Form  cu_read_rgdir
          Reag rgdir to get the results with conty grouping 'TD'
    FORM CU_READ_RGDIR.
       DATA : V_MOLGA  LIKE T500L-MOLGA ."Country Grouping
    *Call function module to get Results
       CALL FUNCTION 'CU_READ_RGDIR'
         EXPORTING
           PERSNR          = I_0001-PERNR
         IMPORTING
           MOLGA           = V_MOLGA
         TABLES
           IN_RGDIR        = RGDIR
         EXCEPTIONS
           NO_RECORD_FOUND = 1
           OTHERS          = 2.
       SORT RGDIR BY SEQNR.
    ENDFORM.                    " cu_read_rgdir
    *&      Form  get_payroll_results
          Get Sequence number
    FORM GET_PAYROLL_RESULTS.
       LOOP AT RGDIR WHERE   SRTZA = 'A' AND
                         VOID IS INITIAL AND
                         REVERSAL IS INITIAL AND
                         OUTOFSEQ IS INITIAL AND
                         PAYDT    IN S_DATE.
         V_SEQNR = RGDIR-SEQNR.
    *-- Macro Call for Germany
         RP-INIT-BUFFER.
         RX-KEY-PERNR = I_0001-PERNR.
         RX-KEY-SEQNO = V_SEQNR.
         RP-IMP-C2-RU.
         LOOP AT RT WHERE LGART = '/559'.
           I_FINAL-PERNR = I_0001-PERNR.
           I_FINAL-GAMNT = RT-BETRG.
           I_FINAL-PAYDT = RGDIR-PAYDT.
           I_FINAL-RUNDT = RGDIR-RUNDT.
           APPEND I_FINAL.
           CLEAR  I_FINAL.
         ENDLOOP.
       ENDLOOP.
    ENDFORM.                    "get_payroll_results
    *&      Form  display_header
          Display Header
    FORM DISPLAY_HEADER .
       FORMAT COLOR 1.
       ULINE.
       WRITE:/1 SY-VLINE,
             (15) 'Empl Number',
             SY-VLINE,
             (20) 'First Name',
             SY-VLINE,
             (20) 'Last Name',
             SY-VLINE,
             (15) 'Pay Date',
             SY-VLINE,
             (15) 'Run Date',
             SY-VLINE,
             (25) 'Gross Amount',
             132 SY-VLINE.
       ULINE.
       FORMAT COLOR OFF.
    ENDFORM.                    " display_header
    *&      Form  print_report
          Display Report
    FORM PRINT_REPORT .
       LOOP AT I_FINAL.
         WRITE:/1 SY-VLINE,
               (15) I_FINAL-PERNR,
               SY-VLINE,
               (20) I_FINAL-VORNA,
               SY-VLINE,
               (20) I_FINAL-NACHN,
               SY-VLINE,
               (15) I_FINAL-PAYDT,
               SY-VLINE,
               (15) I_FINAL-RUNDT,
               SY-VLINE,
               (25) I_FINAL-GAMNT,
               132 SY-VLINE.
         ULINE.
       ENDLOOP.
       SKIP 2.
       WRITE:/1 'Period Begin Date:',(25) V_BEGDA.
       WRITE:/1 'Period End   Date:',(25) V_ENDDA.
    ENDFORM.                    " print_report

  • Logical database PNPCE

    Hi
      I have created a custom OM infotype 9910 which will data with Object ID either 'O' (Org Unit) or S (Position) .
    I am using Logical database PNPCE in my report. I have declared the infotype at the declaration part with infotypes 9910 statement
    When the get peras event is triggered in program the table p9910 is not filled with values even though there is record in HRP9910 with Object ID 'S' for the employee position who i am interested in.
    I think there is some link missing. For the OM infotype records to be filled during get peras event do i need to give any other selection value like evaluation path or i have to use a different event. Please advice
    Suitable answers will be rewarded
    Thanks,
    Kasi

    I don't think PNPCE does anything with HRP infotypes.  PNPCE is all about PA data since PERNR is the main key.  Logical DB PCH is the one that deals with HRP Infotypes.

  • Infoset based Query creating locks on DSO Activations

    Hello Experts,
    We are current on SAP NetWeaver 7.3 on ORACLE data base version 11.2.0.3.0.
    We have a query thats built on top of an infoset ( Based on left outer join on 0material and 0mat_plant) when user executes the query its causing locks on DSO activations.
    DSO activations are on hold due to locks on following table RSRNEWSIDS. when BASIS investigated this issue they came up with following reason
    executing this infoset based query is causing the locks and if we kill this job the DSO Activations run fine.
    The design is as follows
    Infoset(0material --Lefter outer Join -- 0mat_plant) ---> MP ---> BEx Query.
    Question 1) Is it possible for a query to create locks and cause holds on DSO Activations? if so what would be the reason?
    Question 2) Any solution or any of you faced similar issue?
    any solution is highly appreciated and rewarded.
    Regards,
    Vamsi.

    Question 1) Is it possible for a query to create locks and cause holds on DSO Activations? if so what would be the reason?
    It all comes down to SID if a query needs an association between fact and dimensions it will use SID and if you doing an activation it readjusts the SIDS so needs to be locked for the most up to date data.
    Question 2) Any solution or any of you faced similar issue?
    Do your query execution before or after DSO activation.
    Cheers!
    Suyash

  • Enhancement to logical database PNPCE

    Dear all,
    my client wants to include a few z_tables to the standard selection screen and output in their ad hoc reporting infoset in HR.
    Is there a way to include z_fields to the standard selection screen (PNPCE) as well as output of the ad hoc reporting infoset?
    Thanks for your response.
    Cross post locked
    Edited by: Rob Burbank on May 11, 2009 2:56 PM

    Hi Tony,
    You wont be adding the Z table directly.Instead you will be
    enhancing the structure PNNNN_AF with the fields from ur Z table.You need to create the Customozing Include CI_PNNNN_AF for this.
    You have three steps to go follow :
    1. Definition of additional fields in DDIC - Enhance structure PNNNN_AF.
    2. Create coding for additional field - In this step, you Create a Function Module and
       write logic to populate the values from ur Z table.
    3. Determine Data Retrieval Routines and Standard Add'l Fields.- You need to maintain
        the newly created FM name in the database view T770AF.
    Finally, You can integrate the additional fields into existing InfoSets using the path
    InfoSet --> other Functions --> Update HR Additional Fields.
    You will get a better idea once you go thru the SPRO Node documentation. Please let me know if you need any further Info.
    Mahesh

  • Data Source created by Infoset based in two joined tables

    Hi Forum,
    I want to do a segmentation in the Segment Builder based in a attribute list.
    The tablas i join are: BUT000 and ADRC. Everything is ok when the infoset is created and generated.
    Well, the next step i do is create the DATA SOURCE. When i edit source data  i fill these fields:
    Origin type --> 03 Infoset
    Name of Infoset --> ZINFOSET
    BP --> BUT000-PARTNER
    FM --> ZCONVERSION_MKT (this function convert the guid of my partners in a marketing guid, it works because the segmentation based in a infoset with a table works)
    Sampling Infoset --> ZINFOSET
    Sample --> BUT000-PARTNER
    Object --> BUT000-PARTNER_GUID ¿?¿?¿?¿?¿
    Partner Function --> Empty
    Description --> my description
    So, when i save this data...appears an error with this description:
    Techn. Name (BUT000) of InfoSets "ZDEF2" is not transparent table
    with this diagnosis:
    Each InfoSet in the IObject scenario must have a unique transparent retraction table assigned to it
    I need a object field, but i dont know what field choose...in the Segment Builder i choose the list and i create a few filter to try some queries but i doesnt work.
    Any suggestion or idea¿? or example?
    Regards,
    Mon
    Edited by:
    Mon

    Hi!
    It's solved. The mistake was on the connection of the tables:
    BUT000 - BUT020 - ADRC
    Thanks and regards,
    Mon

  • Navigational Attributes in InfoSets[based on InfoCubes] - BI 7.0

    Hi Gurus,
    I am using BI 7.0. We tried creating a MultiProvider based on three SD Cubes[Orders/Billing & Delivery] but since the result was being displayed in 3 rows instead of 1, we tried using an InfoSet to see if this would get the results to be displayed in a single line.
    In the MultiProvider, we had mapped some of the 'Navigational Attributes' from the underlying InfoCubes after turning them 'ON', but in the InfoSet, I am not able to view the Navigational Attributes of the Cube anywhere.
    Are we not able to add 'Navigational Attributes' to InfoSets? Is there a work around for this?
    Thanks
    Arvind

    Hi Arvind,
    Check note 1124036 @ www.service.sap.com . Check if you need to apply this.
    Also you can add infoobjects themselves in the infoset and join them by keys.
    Regards,
    Sunmit.

Maybe you are looking for

  • Why can't I open PDF files with Adobe Reader in Google Chrome?

    Suddenly I cannot open PDF files with Adobe Reader when I am in Google Chrome. I have installed up to date versions of both. What is happening?

  • Pointer slow when deployed via Citrix XenApp

    I have Acrobat Standard XI installed on Windows Server 2008 R2 boxes and deployed to users via Citrix. Users have reported an issue whereby the mouse pointer is jittery as though the refresh rate on it is low whenever the select tool changes to the p

  • Delta for Generic data source.

    Hi, I have created a generic data source for which I have taken the change data as generic delta in CRM4.0.  But the problem is delta is not getting initiated.   like we are not getting any records in delta.  Kindly guide me what else i have to do to

  • Acrobat XI won't play captivate published pdf

    I have the most recent version of Acrobat Pro and Captivate 7 software. But when I publish a Captivate Project it won't open with Acrobat XI . But it will open with Reader. Ideas? Thanks

  • Laptop suddenly shuts down and won't open

    Hello guys!   So I was using my laptop in my bed and suddenly, it shuts down and I don't know why. I thought it was low batt so I tried putting the charger but it won't charge.Please help me..