PCH Logical Database - Set stucture conditions

Hi All,
Can anyone tell me what is the use or how to use the Set structure conditions in PCH logical database.
Best regards,
Aravind

Hi Sachin,
If you use PCH logical database in a program, on the selection screen you will see a button called Set structure conditions, by which you can enter some conditions.
I was wondering how to use the same.
Regards,
Aravind

Similar Messages

  • Screen in PCH Logical Database

    Hi
    Can i change the screen selection of a PCH Logical Database?? is possible do it??
    Regards
    Gregory

    Hi, Gregory Gotera
    Please have a look at the following Thead hope it will solve out your problem,
    [Hide Screen Element|Text based search on Z ABAP table;
    Please also follow the following Thread too to find the name of the field,
    [To find the name of the Screen Field|Selection screen + hiding selection parameter adn adjusting elements;
    Please Reply if any Issue,
    Kind Regards,
    Faisal
    Edited by: Faisal Altaf on Jan 19, 2009 9:40 PM

  • Cost center relationship in PCH logical database

    Hi Experts .
    According to what I knew theoretically ,
    External objects such as cost centers or users do not store data in the PCH logical database .
    But I created a position and Idid a cost assignment using relationship A11 to a cost center and went to SE36 and ran PCH for the selection of current plan version and object type K and object id of the cost center .
    After running for the evaluation path KOSTDIUP ( Account assignment usage ) , I could see the relationship of cost center with the earlier created position .
    So if relationships of cost center are not supposed to be in PCH logical database , then how come I can see the above result ?
    Thanks
    Rishabh

    This logical database generally enables you to report on all HR infotypes. However, you are advised not to use this logical database unless you want to report on Personnel Planning data.
    The Organizational Management uses the PCH logical database
    so S-Position is an object in OM, you can see the relationship.
    correct me if i am wrong !!
    regards,
    mohammed

  • Difference between PNP and PCH logical database

    WHats the difference between PNP nd PCH? When to use which??
    Tx

    Hi,
    The Difference is only with in an SAP R/3 system in which Concurrent Employment is active, reports are executed by the PNPCE logical database. The general logic of the PNPCE logical database corresponds to the PNP logical database. The PNPCE logical database can also process the concept of Concurrent Employment.
    HR Logical Databases
    In Human Resources (HR), the following logical databases can be used as a data source for HR InfoSets:
    PNP (PNPCE)
    PAP
    PCH
    By selecting a logical database, you determine the HR data that can be reported on using an InfoSet.
    Logical Database PCH
    This logical database generally enables you to report on all HR infotypes. However, you are advised not to use this logical database unless you want to report on Personnel Planning data.
    Logical Database PNP (or PNPCE)
    Use logical database PNP to report on HR master data. It is possible to use logical database PCH to access this data, but PNP meets such reporting requirements more quickly because it is best suited to the task of selecting persons.
    Logical database PNP enables you to access HR master data and infotypes from Personnel Planning. For example, you have the following options:
    Reporting on the costs, number of attendees booked, and instructor for a business event on which an employee is booked
    Reporting on working time and planned compensation for a position that an employee occupies
    Reporting on the validity and proficiency of a qualification that an employee fulfils
    From a technical perspective, this means you can use PNP to report on all of the infotypes that exist for objects (infotype 1000) that have a direct relationship (infotype 1001) with the Person object.
    The ability to access infotypes from Personnel Planning using logical database PNP is a special feature that you can only use in the context of SAP Query and Ad Hoc Query. You cannot use this functionality for ABAP reports you programmed yourself.
    You can also use logical database PNP to report on data from Personnel Time Management (infotypes 2000 to 2999) and Payroll (special payroll infotypes for the USA and customer infotypes; for more information, access Customizing for the Human Resources Information System and see Payroll Results).
    Logical Database PAP
    Logical database PAP enables you to access data from Recruitment.
    Check this link for more details
    http://help.sap.com/saphelp_erp2004/helpdata/en/e1/e1f83f6e5a11d687620000e82158f1/frameset.htm
    <b>Reward points</b>
    Regards

  • PCH Logical Database

    Can anyone tell me how to read objects with planned status using PCH ldb.
    Only objects with Active Status are read at Get Objec Event.

    Is there any specific reason that you cannot control the field?
    Could you possibly add you own custom field to the selection screen for object status?  Then before your get statement, you could populate the standard select option with the value from your custom select option.
    Regards,
    Chris H.

  • Do we have macros which we can use for the Logical Database PCH

    Dear Friends
                 I would like to know when we are using the
    Logical Database PCH .....do we have any macros
    for getting latest record etc.
    i.e i mean to say the macros which we use
    Rp-provide-from-last  in PNP logical Database
    do we have same facility in PCH logical database please let me know
    regards
    madhuri.

    hi madhuri,
    we use same macro.
    instead of get pernr .
    in pnp here  we give
    GET OBJEC.
    use this macro
    PAP_PROVIDE_FROM_FIRST P0001 SPACE PA$BEGDA PA$ENDDA
    PAP_PROVIDE_FROM_LAST P0001 SPACE PA$BEGDA PA$ENDDA.
    regards,
    sandeep patel
    Edited by: Sandeep patel on Jul 4, 2008 1:33 PM

  • Selection screen of logical database PCH

    Hi all,
    I am writing a report using the logical database PCH. For this report I need the full selection screen of the logical database, especially the structure parameters. However, wenn I test my program, I only get a reduced selection screen without the structure parameters and the "further conditions". According to the documentation I found, this behaviour appears when you set the selection screen version to '900' in the program attributes. In my program, the selection screen version is empty, and I still get the reduced screen. The missing selection fields are even totally unknown to the ABAP compiler. E.g. when I try to assign the field PCHWEGID in my report, I get a "field unknown" error message from the compiler.
    I have compared my report in various aspects to the standard report RHSTRU00 which shows the behaviour I want, I did not find any difference, and yet I get a different behaviour.
    Any ideas how to fix this?
    Thank you
    Alexandre

    Hi,
    Did you declare the below statement?
    TABLES: OBJEC, GDSTR.
    Regards,
    -Sandeep

  • Issues with parallel processing in Logical Database PCH and PNP

    Has anyone encountered issues when executing programs in parallel  that utilizes the logical database PCH or PNP?
    Our scenario is the following:
    We having have 55 concurrent jobs that execute a program that use the logical database PCH at a given time.  We load the the PCHINDEX table with the code below.
          wa_pchindex-plvar = '01'.
          wa_pchindex-otype = 'S'.
          wa_pchindex-objid_low = index_objid.
          APPEND wa_pchindex TO pchindex.
    We have seen instances where when the program is executed in parallel, with each process having its own range of positions id's, that some positions are dropped or some are added that is outside the range of the given process.
    For example:
    process 1 has a range of positions ID's 1-10
    process 2 has a range of positions ID's 11-20
    process 3 has a range of positions ID's 21-30
    Process 3 drops position 25 and adds position 46.
    Has anyone faced a similar issue?
    Thanks for your help.
    Best Regards,
    Duke

    Hi,
    first of all, you should read [Using Parallel Execution|http://download.oracle.com/docs/cd/B19306_01/server.102/b14223/usingpe.htm#DWHSG024] in documentation for your version - almost all of these topics are covered there.
    1. According to my server specification how much DOP i can specify.It depends not only on number of CPU. More important factors are settings of PARALLEL_MAX_SERVERS and PARALLEL_ADAPTIVE_MULTI_USER.
    2. Which option for Setting Parallel is good - Using the 'alter table A parallel 4' or passing the parallel hints in the sql statementsIt depends on your application. When setting PARALLEL on a table, all SQL dealing with that table would be considered for parallel execution. So if it is normal for your app to use parallel access to that table, it's OK. If you want to use PX on a limited set of SQL, then hints or session settings are more appropriate.
    3. We have a batch processing jobs which are loading data into the tables from flat files (24*7) using sql loader. is it possible to parallel this operation and any negative effect if enabled parallel.Yes, refer to documentation.
    4. Query or DML - which one will be perform best with parallel option.Both may take advantages of using PX (with some restrictions to Parallel DML) and both may run slower than non-PX versions.
    5. What are the negative issue if parallel option is enabled.1) Object checkpoint happens before starting parallel FTS (true for >=10gR2, before that version tablespace checkpoint was used)
    2) More CPU and memory resources are used with PX - it may be both benefit and an issue, especially with concurrent PX.
    6. what are the things to be taken care while enabling the parallel option.Read the documentation - it contains almost all you need to know. Since you are using RAC, you sould not forget about method of PX slaves load balancing between nodes. If you are on 10g, refer to INSTANSE_GROUPS/PARALLEL_INSTANCE_GROUPS parameters, if you are using 11g then properly configure services.

  • 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

  • Logical database PCH (HR)

    I need to use logical database PCH. Can anyone give me an example to use it with GET OBJID?.
    Thank you.

    Hi,
    the following link may also helpfull for you.
    http://www.sap-press.de/download/dateien/860/sappress_mysap_hr_technical_principles2.pdf
    Regards
    Bernd

  • Logical database PCH,Extended Object ID

    When using logical database PCH.I found Object structure has a component REALO means extended object id.
    Can somebody give a example to show the actual meaning of extended object id?
    thanks.
    Edited by: Lanmbor Yang on May 30, 2008 8:40 AM

    I answer to myself, FM HR_MACO provides the information I need.
    Anyway thanks for the interest

  • Logical Database PCH

    Hi experts.
    I need to use the logical database PCH because is necessary to report on Personnel Planning data, my business requirement is get all the employees that participated in all  training course types. My development by a selection screen to provide the relation   the "business event type" for all "business events"  of this type,  as well as all the employess that participated in the all "business event".
    Please someone can send me a code of example for to get this relation.
    Regards,
    Jose.

    Hi,
    the following link may also helpfull for you.
    http://www.sap-press.de/download/dateien/860/sappress_mysap_hr_technical_principles2.pdf
    Regards
    Bernd

  • Selection-screen logical database PCH

    Hello!!
       I need click a pushbutton (key date) on a selection screen of a logical database (PCH) before the programm is executed.
    Regards.

    For a ABAP I used this "quick and dirty" solution:
    *Add selectoption (or in your case button)
    SELECT-OPTIONS s_ssl FOR iooper-ssavd.
    INITIALIZATION.
    perform hide_selection_screen.
    AT SELECTION-SCREEN output.
    perform hide_selection_screen.
    FORM perform hide_selection_screen.
      LOOP AT SCREEN.
        IF screen-name CS 'S_WERK'.
          MOVE '0' TO screen-active.
          MODIFY SCREEN.
        ENDIF.
    ENDLOOP.
    ENDFORM perform hide_selection_screen.
    You can hide all required radiobuttons by adding them to the loop. The buttonclick can be catched at the previous mentioned event.

  • Reg setting up Logical database

    Hi,
    I need to set up logical file system for generating Idoc. can any one help me in setting up logical file system and how to config the idoc to that location.
    I appreciate your help.
    waiting to hear
    Thanks,
    Kisu

    Hi,
    I am not sure I understood your requirement. Your heading said "Reg setting up Logical database". But in your description you are asking about "logical file system". Then you say IDOC configuration. Can you please explain what you want to do?
    You can create logical file using transaction FILE. If you are talking about RFC Destinations for Idocs(not logical file system), then you are talking about SM59. If you are looking for configuring logical systems for ALE distribution or workflow configuration, then you do that in customizing transaction SPRO under "Basis Components>ALE>Logical Systems--> Define Logical Systems".
    Please let us know which one it is.
    Srinivas

  • ALTER DATABASE SET COMPATIBILTY_LEVEL executes irrespective of IF EXIST condition

    Hi,
    Problem:
    I want to set compatibility_level only when it is greater than 110.
    Solution:
    Select the compatibility level and if it is greater than 110, I alter database set compatibility level=110
    ISSUE
    Irrespective of IF Exist statement the alter database statement is executed all the time.
    Here is the sql statement
    IF EXISTS (
    SELECT * FROM sys.databases where compatibility_level >110 AND name='mydatabase'
    BEGIN
    ALTER DATABASE mydatabase SET COMPATIBILITY_LEVEL = 110
    END
    What is that I am missing here ??
    please support.

    Hi Gokula,
    Based on my tested, the syntax of your query is correct which you can see on the screenshots below.
    When COMPATIBILITY_LEVEL is 120.
    When COMPATIBILITY_LEVEL is 110.
    So in your scenario, please check the current COMPATIBILITY_LEVEL.
    Regards,
    Charlie Liao
    TechNet Community Support

Maybe you are looking for