Regarding table HRP1001

Hi guys,
          Need to know what is what in table hrp1001.
1) There are number of fields in this table but my interest is about OBJID and SOBID.
  As far as my knowledge i assumed that this is a relationship table and defines relation between objects.
I thought if OTYPE = 'P' then OBJID is personnel number.
But the problem is with SOBID. what this SOBID means if SCLAS = 'P' ???
  Could someone give me what this table means and how are the objects related....
2) related issue
"find the employee’s position Id using relationship B 008 in HRP1001 from Person object to the Position object"
what could be the selection form ???
Thanks in advance
Abhi..

Hi Abhi,
<b>1</b>.
<b>HRP1001</b>:Relationships table
Relationships between different Objects are stored in this table.
<b>HRHAP1000</b>:OBJECTS table.
JOB,
POSITION,
PERSON,
ORGANIZATIONAL UNIT,
Personnel subarea,  
Employee subgroup,  
Employee group,     
Company code,       
Business area.
<b>Ex</b>:
<b>2</b>.
U know one employee PERNR.If u want to get Manager to that emlpoyee.
<b>a</b>.
U get the Organizational unit from PA0001 table .
<b>b</b>.
Based on this OBJECT Organizational unit,we have to get
the person Position who manages this Organization.
Use select query
SELECT single l_SOBID
from HRP1001
into l_sobid
where OTYPE  = 'O'       
      OBJID  = PA0001-ORGEH
      PLVAR  = '01'      
      RSIGN  = 'B'       
      RELAT  = '012' 
This query shows relationship between POSITION and ORGANIZATIONAL UNIT.   
<b>c</b>.
After getting the Manger position ,To get MAnager PERNR
use the HRP1001 table .
SELECT single l_SOBID
from HRP1001
into l_sobid
where OTYPE  = 'S'       
      OBJID  = l_sobid
      PLVAR  = '01'      
      RSIGN  = 'A'       
      RELAT  = '008' .
This query shows relationship between POSITION and PERSON.
I hope that u can understand.
<b>Thanks,
Venkat.O </b>

Similar Messages

  • Update table HRP1001. Change the Position and the Org Unit.

    Hi,
    I am new to SAP HR and have been given a work in this area. The requirement is to update the relationship table HRP1001 replacing the old Manager' Position and the Org Unit with the New Manager's Position and the Org. Unit.
    I have some how found out the way to get the Postion and the Org unit of the old manager. Now I am replacing the same with the new details using the Update HRP1001 Command but this is the old and not recommended method acheiving this task.
    Can anyone please suggest me any Function Module OR the BAPI to update the HRP 1001 table with the New MAnager;s Position and the Org Unit.
    Thanks...!!!
    Regards,
    Deepak.

    Hi Kalpesh,
    I am using the FM: 'BAPI_HRMASTER_SAVE_REPL_MULT'but still not updating. I am trying to change the Position and the Org unit but not successful yet.
    I first used the Operator 'I' withi the table BAPIHROBJ-OPERATOR, it failed then I tried 'U' for update it still failed. Can you please let me know how many such operations possible with their charecter values apart from I & U. the domain value set does not exist as it is char1.
    Now I came to know that I have to terminate the old relationship by changing the ENDDA and create a new one with the new BEGDA as tomorrow's date.
    Can you please suggest something.
    Regards,
    Deepak.

  • Update table HRP1001

    Hello,
    My requirement is to update the table HRP1001. I need to in some cases Terminate a relationship i.e. Change the Endda to current date and in some cases create a new relationship between an Employee , position and the Org unit i.e insert a few new records in table HRP1001.
    I have tried 'RH_UPDATE_INFTY' but no success. I gave here only two parameters i.e. VTASK  = 'D'/'S'/'V' & INNNN (Tables).
    Can any one please tell me why this happens . it returns sy-subrc code as 0 and then I am using the FM RH_UPDATE_DATABASE to commit the changes but yet no result.
    I tried HR_INFOTYPE_OPERATION also but I guess this is not meant for the 1001 table as this belongs to relationship table.
    I tried the BAPI  'BAPI_HRMASTER_SAVE_REPL_MULT' but still no result.
    Can any one please guide me as to which Fm Should i use to terminate a relationship i.e. to change the ENDDA from 31/12/9999 to current date and also insert new records to cretae new relationships starting from sy-datum + 1 to 31/12/9999.
    Your help on this would be highly desirable..
    Regards,
    Deepak.

    Please have a look in below thread, think you have already but worth to have a look:
    [BAPI to maintain Infotype;

  • Long runtime in table HRP1001

    Hi,
    We have recently done Unicode Conversion of our ECC 6 System. After Unicode Conversion, we have found that there is one customer program which is taking too much time to Execute. This was working fine when the system was non-unicode.
    We have found out through SQL Trace that the customer program is taking too much time in fetching records from table HRP1001. We have checked the program and indexes for the table. These are same as they are in other non-unicode systems where it is working fine.
    Kindly Advise.
    Regards,
    Prasad

    Hi ,
    Please work with the BASIS team to run statistics on the table. This will help optimizing the indexes.
    Logon as ora<sid>
    brconnect -u / -f stats -f allsel,collect,keep -t hrp1000
    brconnect -u / -f stats -f allsel,collect,keep -t hrp1001
    Thanks,
    Puneet

  • The data in the table HRP1001 is inconsist with trx: ppoma_crm

    Hi gurus:
    I create a standalone Structure Model in SAP CRM for service scenario.
    I have an organizational unit that has two positions; one is a leader position and the other is normal position.
    We are using a function RH_STRUC_GET with relation u201C012u201D to look for the leader position from one organizational unit in the HRP1001
    We realized that in the HRP1001 exists a lot of position assigned with the relation u201C012u201D As the organizational unit has all of leader positions that are incorrectly because this is not like I created in the trx: ppoma_crm. As I said above for every organizational unit has two positions: one leader position and the other normal position.
    Do you know if there is a report that updates the table or is it a standard behavior?
    Thanks in advanced.
    Susana

    Hi:
    When you copy a organizational unit or a position an then is moved to another hierarchy, in the table HRP1001 is kept that data as the original unit or position from was copied.
    We solve the problem delete all these records and in the future no create with copy of others.
    Susana

  • Regarding Table Maintainance

    Helo All. I have a query regarding table maintainance.
    I have created a transaction for a table, and allowed only SHOW and VIEWNAME in default values.
    Still it is allowing to update the table.
    Can you tell me why?
    Thanks in advance !!!

    Your transaction is just calling SM30, even though you specify these defaults all of functionality of SM30 is available.
    To limit access to the table to display only you would need to either apply the authorisation concept (set an authorisation group in the table maintenance settings and restrict user access) or write a simple list report that displays the table contents and link that to a transaction.
    Regards,
    Nick

  • Regarding table VBEPDG- Dangerous goods

    Hi Friends.
    I need help regarding table VBEPDG.
    Can anybody tell me how entries are made in table VBEPDG? Whether its configuration table or master data table?
    In my purchase order an item has been wrongly marked as dangerous material,
    and this is leading to table VBEPDG.
    Thanks in advance.

    Dear Saketpanse,
    the table VBEPDG contains the schedule line data for the dangerous goods. If the material is not dangerous then the entry should not be created. Probably the material initially was classified as a dengerous one and is currently changed to the non-dangerous. Am I correct ?
    In this case the entry in VBEPDG will remain because during creation of the order the material was dangerous. Quite generally, SAP does not recommend to change Customizing or Master Data in the Life-system. It can cause many inconsistencies. The correct way to do such a change would be to reject all sales documents which could be affected by such a change, then do the change and then create the sales documents again. It is for the future.
    Concerning the current inconsistency. The correct way would be: to indicate the material temporary as a dangerous one again, then delete the sales order item, and then to indicate the material as a non-dangerous one and create the item again. If you have already subsequent documents, then you can only reject the item. Then the VBEPDG entry will remain, but will not disturb you anymore. Alternatively, you can write a simple ABAP report, which deletes the VBEPDG entry.
    I hope, that this information will help you a little bit further.
    Kind regards,
    Akmal Vakhidov
    Development Support SD, SAP, Walldorf/Germany

  • Regarding table names in sd

    hi developer's
    its regarding table names in sd.
    for sd_co1 and sd_co4 connected with 2lis_01_s001
    and 2lis_01_s012 i think.
    from which tables these 2 ds getting the data.
    plz let me know.
    Thanks in advance.
    Regards,
    Vijay.

    Hi Vijaya kumar,
    I hereby sending you some of the important links which will be very usefull to you, please go thru:
    2LIS_01_S260/2LIS_11_VAITM:
    http://help.sap.com/saphelp_nw04/helpdata/en/8f/36f338472b420de10000000a114084/content.htm
    2LIS_12_VASCL:
    http://help.sap.com/saphelp_nw04/helpdata/en/42/06f3381fff3358e10000000a11402f/content.htm
    2LIS_12_VCITM:
    http://help.sap.com/saphelp_nw04/helpdata/en/32/26f438151bc321e10000000a11402f/content.htm
    and 2LIS_01_S264
    http://help.sap.com/saphelp_nw04/helpdata/en/59/efe8375ae64014e10000009b38f8cf/content.htm
    NOTE: Quotations is not included in the LO Cockpit.
    and go through this link, this will gave some idea to you
    about the Sales Business content model.
    http://help.sap.com/saphelp_nw04/helpdata/en/3c/63073c52619459e10000000a114084/frameset.htm
    you can use best practice documention for sales and distribution scenario.
    http://help.sap.com/bp_hightechv1600/HighTech_US/html/BI/H44_EN_DE.htm
    Regards
    Pcrao.

  • Regarding Table View In visual Composer

    Hi All,
    I am using Visual Compsoer 7.0. I have a table in my iview. When i go to the layout tab and right click the table. I cant see the options like "CUSTOMIZE TOOLBAR", where i can insert a row in my table. How can i have this option in VC 7.0?
    Regards,
    Divya.

    Hi Divya,
    Refer this pdf. It ll be useful to u
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c617533c-0a01-0010-b88e-a6e8e2e419c9">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c617533c-0a01-0010-b88e-a6e8e2e419c9</a>
    Regards,
    Hemalatha

  • Problem Regarding TABLE updation for Scheduling Agreement

    Dear Experts,
    We have noticed that whenever we are releasing any Delivery Schedule for a line item against a Scheduling Agreement the table field ABART(Scheduling Agreement Release Type) in table EKET is not getting updated,but the same field or column in TABLE EKEH or EKEK is getting updated.
    Please advice what is the problem and how to resolve the same.
    Regards,
    Soumick

    Hi,
    The scheduling agreement schedule line is not firmed physically:The fixing indicator (EKET-FIXKZ) is empty for this schedule line.
    This can be checked in Transaction ME39 or with Transaction SE16 for table EKET for the corresponding schedule line.
    In the MRP group of the corresponding material, it is set that only transferred scheduling agreement schedule lines should be regarded as firmed (Transaction OPPR, firming scheduling agreement, Firm transmSLines [Field XFAT1]).
    In this case, only such scheduling agreement schedule lines are firmed which were transferred by message transmission through purchasing to the vendor. (see also the F1 help for the field).
    However, the system displays all scheduling agreement schedule lines as fixed in Transaction MD04 within the release period and assigns them with a star ('*'), that is, this applies also scheduling agreement schedule lines with a transmitted quantity of 0.
    In contrast to the above, these schedule lines are not displayed as fixed in Transaction MD05 or in the planning with 'Display result'.
    Note 354164 explains this system behavior.
    For the planning, the transmitted quantity is considered as fixed if this is correspondingly set in the MRP group of the material.
    If the transmitted quantity was updated correctly, it should be contained in field AMENG of table EKET.
    By using Transaction SE16 for this table and the corresponding schedule line (scheduling agreement number EBELN, item EBELP, schedule line ETENR), you should be able to find out....
    transmitted quantity was written to the database and a fixing can be carried out correspondingly in amount of the transmitted quantity or whether no update of the transmitted quantity occurred (see below Notes 82169, 117093, 134356).
    Solution
    First, the system behaves as intended.
    It should be checked whether the function, which is controlled by this indicator, is actually wanted this way (to firm only scheduling agreement schedule lines which actually have been transferred).
    In addition, problems can occur in purchasing when the printed quantity is updated (AMENG).This symptom can especially occur after you have upgraded from a release < Release 4.0A to a release > Release 4.0B.
    In this regard, see the related Notes 82169, 117093 and 134356.
    Regards,
    Udaya.

  • Regarding TABLE node -- Footer Area in smartform

    Hi Friends,
    This is regarding smartform.
    I have created TABLE node in MAIN window. As long as data exists in internal table my smartform is working fine. I mean it is displaying all the items and followed by TABLE FOOTER text.
    Assume if no data exists in the internal table. In that case the TABLE FOOTER text is moving up. But I need at least 10 line space in that table MAIN Area. I mean even thogh the data is not there in the internal table.. It should display some space and then TABLE FOOTER text should be displayed.
    Can any body tell me is there any way the TABLE FOOTER can fix irrespective of the data?
    This is very urgent. Thanks in advance.
    Regards
    Raghu

    For that, you can create one additional window such that it overlaps with the main window.
    The size of this window should be exactly equal to the size of the main window, excluding footer. That means footer should come just after this window.
    If there are no data to be displayed in the main window, then this empty window will be displayed.
    In effect, some blank lines will be shown.
    Just try this and check whether it suffice your requirement...
    Jissa.

  • Help regarding 'table controls' and 'internal table' updation

    Hi all.
    Basically this is what i have done..... I have created a table control in module pool program. I declared an Internal table and also have populated it from a database table. I have also used insert statement to insert an blank record in the table control view and delete statements to delete any record,  also in the table control view... .
    But I am not able to update any new record into an Internal table or  the  original table ..
    Any Ideas how to do it ,Gurus
    Thanks

    HEllo,
    Check thsi simple report.
    REPORT ZTFH_TABLECONTROL .
    TABLES : ZEMPTABLE.
    DATA : SELLINE .
    DATA : FLD(20).
    DATA : LINNO TYPE I , OFF TYPE I.
    DATA : ITAB LIKE ZEMPTABLE OCCURS 10 WITH HEADER LINE.
    CONTROLS  : CON_TAB TYPE TABLEVIEW USING SCREEN 100.
    SELECT * FROM ZEMPTABLE INTO TABLE ITAB.
    DESCRIBE TABLE ITAB LINES CON_TAB-LINES.
    CALL SCREEN 100.
    *&      Module  EXT_COMM  INPUT
    *       text
    MODULE EXT_COMM INPUT.
    LEAVE PROGRAM.
    ENDMODULE.                 " EXT_COMM  INPUT
    *&      Module  TAB_UPDATE  INPUT
    *       text
    MODULE TAB_UPDATE INPUT.
    CASE SY-UCOMM.
    WHEN 'DEL'.
          IF SELLINE = 'X'.
            DELETE ITAB WHERE EMPNO = ITAB-EMPNO.
            MESSAGE I000(ZYF_DEL).
          ENDIF.
    WHEN 'UPD'.
        IF SELLINE = 'X'.
             MODIFY ITAB INDEX CON_TAB-CURRENT_LINE.
             MESSAGE I001(ZYF_DEL).
        ENDIF.
    WHEN 'INS'.
         IF SELLINE = 'X'.
          GET CURSOR FIELD FLD LINE LINNO OFFSET OFF.
          SET CURSOR FIELD FLD LINE LINNO OFFSET OFF.
          IF FLD CP 'ITAB*' AND SY-SUBRC = 0.
            IF LINNO >= 1.
              LINNO = LINNO + CON_TAB-TOP_LINE - 1.
              CLEAR ITAB.
              INSERT ITAB INDEX LINNO.
              CON_TAB-LINES = CON_TAB-LINES + 1.
            ELSE.
              CLEAR ITAB.
              APPEND ITAB.
              CON_TAB-LINES = CON_TAB-LINES + 1.
            ENDIF.
          ENDIF.
        ENDIF.
    WHEN 'SAV'.
      MODIFY ITAB INDEX CON_TAB-CURRENT_LINE.
      MESSAGE I002(ZYF_DEL).
    ENDCASE.
    ENDMODULE.                 " TAB_UPDATE  INPUT
    “ FLOW LOGIC
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0100.
    LOOP AT ITAB WITH CONTROL CON_TAB.
    ENDLOOP.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0100.
    MODULE EXT_COMM AT EXIT-COMMAND.
    LOOP AT ITAB.
    MODULE TAB_UPDATE.
    ENDLOOP.     
    REgards,
    Vasanth

  • Two suggestions regarding table columns in the Oracle database

    Oracle,
    I have two suggestions to make.
    First, it would be of great value to be able to add a new column at an arbitrary position in a table and not simply add it to the end of the column list. Quite frequently we have to drop and recreate tables in order to accomplish this.
    Second, we often add 4 columns to the end of every table's column list (and accompanying triggers in order to keep them updated) which would seem suitable as Oracle pseudo-columns (in the same fashion as ROWID, etc.) These 4 columns would be:
    - Row created date
    - Row created by Oracle user
    - Row updated date
    - Row updated by Oracle user
    Regards,
    Dan D'Andrea
    [email protected]

    Dan,
    I don't work for Oracle, but, just some thoughts/reactions to your ideas.
    I don't think inserting a column in any arbitrary position is feasible, because it doesn't scale. It would require a reorganization of every block in the table. One reasonable workaround is to add the columns at the end of the table, then create a view on top of the table that has the columns in the desired order.
    As to the second suggestion, yes, we do something similar, add the same 4 columns to every table. I think the reason that Oracle doesn't support these types of pseudocolummns, is the overhead this would incur. Not only in terms of the extra resources, to maintain the data, but also storage overhead.
    So, just my unofficial opinion, but, I don't see how either of those suggestions would make it.
    Also, FYI, if you want to officially enter an enhancement request, see Doc ID 214168.1 on MetaLink.
    Hope that helps,
    -Mark

  • Regarding table information

    hi experts,
    there is one table KNVP for customer master partner function..
    i wud like to know is there any similar table for vendor master partner function..if yes then plz tell me the name of that table..
    regards,
    raman.

    Hi,
    There is partner - vendor relationship table SPKR1.
    Reward if Helpful.

  • Regarding Table data display

    Hi experts,
    I have one ztable having some fields, the end user will not have authorize for (SE11 and SE16) . I want to make program for display that table data. And also want put filter options( Select-options) for all fields, User wants select some fields based on that fields want display all data from that table.  How can i do this?
    Please help me? Any coding?
    Thanks and Regards,
    Linganathan.K
    Moderator message : Not enough re-search  before posting, discussion locked.
    Message was edited by: Vinod Kumar

    Dear Linganathan,
    It is purely based on your requirement.
    1. If the users are strictly restricted for SE11 and SE16 then  table generator would be a probable option
    2. However, when you restrict SE11 and Se16 I do not think so you will give SM30 also...
    3. Are you allow user to maintain/edit the table?
    3. Do you want to provide selection parameter...
    Based on this, probably you should go for a small report program that displays data in the ALV format accepting the input parameters as selection range.
    Regards,
    Venkat

Maybe you are looking for