Relationship between two fields.

Hi,
I need to understand the link between the Personnel number(PERNR) from TA0105 and the field BNAME in USR02.
Thanks.

Hi Niranchan,
PERNER is used to identify a person (in the HR module Particularly). Basicaly it is used to identify an employee of the org. Where as, BNAME in USR02 is to identify the R3 users.
Say you are an employee of a company named INF using SAP HR module for payroll, there will be a PERNER maintained for you in their system. But you will not necessarily have a BNAME in USR02, since you are not a registered user of the R3 system used for payroll processing.

Similar Messages

  • Additional data on relationship between two objects

    Hi
    We have a requirement to capture additional data on a relationship between two objects.  The data to be captured are custom fields that are unique to the relationship between the objects and not specific to either of the objects.
    We created a new object type and related it to the position (S)and the job (C) object.  In the customising (Personnel Management/Personnel Development/Basic Settings/Maintain Relationships there is an option to set up Additional Data.  There are however several restrictions (e.g. the substructure has to be in T77AD).  When you set up an existing substructure (e.g. PAD22) and screen (e.g. 3000), it works really well, however we have not been able to get this to read our own substructure and screen (since there is no customer include on HRP1001 and the 'Additional data' button seems to go to MP100100 to find the screen).
    My question is two fold:
    a) Is this an allowed customisation (e.g. can we create our own substructure, screen and Query string)? And if so, how does the data get into T77AD (since SAP recommends that data should not be added to this table)? and
    b) Is there any documentation on this (thus far I have only received info on how to enhance infotypes which I don't think is relevant???)?
    If this can not be maintained is there any other suggestions on how to deal with this scenario?
    Any assistance will be appreciated.
    Regards
    Liezl

    Hi everyone
    Thanks for everyone who tried to assist us with this.  I am happy to report that our in-house guru's have found the answer.  So, for anyone who is interested:
    In programme MP100100 you have a screen 6000 which is a customer enhancements screen.  We set up two in-house function modules for the PBO and PAI with its own screen and added an append structure to PAD31 to add the fields required.  In the configuration, we then specified PAD31 as the substructure with screen 6000 and then also specified our own PBO and PAI function modules.  The parameters required for screen 6000 is set up within our own customer screens.
    Hope this will be helpful to someone - it certainly seemed to open up some doors for us!
    Regards
    Liezl

  • How to build "Greater/less or Equal" relationships between two tables?

    Hi,
    Is there any straightforward approachs to realize the following kind of relationships between two tables?
    Table1.process_end_date >= Table2.work_start_date and
    Table1.process_end_date <= Table2.work_end_date
    BTW, there's no common columns for these two tables to do simple joins (inner, outter...).
    Thanks.
    Regards,
    Qilong 

    Sure.
    Table.SelectRows filters a given table (in this case Table2) based on a function provided as the second argument.
    (table2Row) => is the start of our filter function. It defines a function that takes one argument, called table2Row. Each row of Table2 will be passed to this function. If the function returns true, the row will be kept. If the function returns false,
    the row will be filtered out.
    The right hand side of the => is the filter expression. Because we're adding the custom column to Table1, we can reference a field in the current row of Table1 using square brackets (e.g. [process_end_date]). To reference the fields in the current row
    of Table2, we have to index into the table2Row variable passed to our function (e.g. table2Row[work_start_date]).
    Hope that helps.
    Ehren

  • How to create relationship between two records using MDM Java APIs

    Hi,
    I am trying to create relationship between two records using Java Apis. Please guide me in doing this.
    Regards,
    Niraj

    Hi Niraj,
    There is ModifyRelationshipsCommand:
    http://help.sap.com/javadocs/MDM/SP06/com/sap/mdm/data/commands/ModifyRelationshipsCommand.html
    Retrieve Relationship command:
    http://help.sap.com/javadocs/MDM/current/com/sap/mdm/schema/commands/GetRelationshipListCommand.html
    Also, please refer similar thread, MDM Java API and relationships.
    Hope it helps..
    Regards,
    Mandeep Saini

  • How to get relationship between two  views in the  reports

    How to get relationship between two  views in the  reports, I am doing a deletion program , it is fully relates to views , how to get relationship between them in the reports

    Hi,
    Please explain your question in detail...what do you want to read ?
    If you want to know about the navigation links between the views then you can use APIs  like
    wdComponentAPI.getComponentInfo().findInWindows("windowName").getViewUsageByID("Name").getNavigationLinks();
    Iterate through the navigationLinkInfo from above collection and can read the other properties .
    I haven't tried the above , but it should work !!!
    Regards,Anilkumar

  • Problem with a 1:M relationship between two entity beans

    I am having trouble trying to implement a 1:M relationship between two EJB2.0 entity beans using and EJBQL query. I have an ApplicantEJB, which contains a collection of phone numbers. The applicant table in the database has one primary key, applicant_id. The applicant_phones database table has a compound primary key--applicant_id and phone_type_id--so I have implemented a custom PK class to represent this, PhonePK. I have implemented a findByNameAndPhone method in my ejb-jar.xml file with the following syntax:
    SELECT object(a) FROM applicants a, applicant_phones p where a.applicantID = p.applicantID and a.name = ?1 and p.phoneNumber = ?2
    If I deploy this, Orion/OC4J translates the query in the orion-ejb-jar.xml with an incorrect reference to the applicant_phones.applicant_id column:
    SELECT a.applicant_id FROM applicants a , applicant_phones p WHERE ((a.applicant_id = p.applicantID ) AND (a.name = ?) AND (p.phone_number = ? ))
    I must have something wrong with the ApplicantEJB and PhoneEJB primary key mappings in my orion-ejb-jar.xml file, but I have tried many different combinations of values and keep getting them overwritten by the container with each deployment. Why is Orion/OC4J defaulting the applicant_id reference to the ob[i]Long postings are being truncated to ~1 kB at this time.

    I have posted excerpts from my orion-ejb-jar.xml file in this posting: Problem mapping a 1:M relationship between two entity EJBs w/ a compound PK
    Sorry for the duplicate postings, but I was getting errors on the submission.
    April

  • XOR arc among  various relationships between two entities

    I have a scenarious where subtype is implemented as XOR arc among 1:1 relationships between two entities.Not familiar how to make the arc of exclusive or ..in SQL Modeler.
    Grateful for any direction.
    Kind Regards
    Ivan,

    Hi Ivan,
    here are steps for logical model (they are similar for relational model):
    1) select two (or more) relationships and entity they are connected to
    2) Click on "New Arc" icon to create arc
    Philip

  • Create AlE Relationship between two company code F210 to FN21 (UHP To UPI)

    Hi,
    I want to know how to create ALE realtion ship between two company code ( F210 to FN21(Server name UHP to UPI )  and how to process it?
    Please reply ASAP.
    Regards,
    Achin

    Hi Sathish,
    Thanks for reply!..
    But My question I want to Add ALE relationship between two company code F210 to FN21 (UHP(Production server) To UPI(Third Party System)).
    Regards!
    Achin

  • How to give relationship between two tables with comon column with between oprator

    Hi Folks,
    I am using Sql Server 2008R2. I am getting a problem to establish relationship between two tables. 
    I have two Tables, 1.Inventory Details Table another one is Inventory Header Table.
    Inventory Details Table having a column Card No and inventory Header Table having columns  From card No and To Card No.
    I want to give relationship between these two tables with Card no. Could you please provide me the Sql Query.
    Your help would be greatly appreciated .
    Regards
    hasthi.
    email:[email protected]

    Hi Raju,
     We have two way that we can relate to the table either join or quality condition use following syntax/Query  for relating two tables 
    select * from Inventory_Details ID inner join  Inventory_Header IH on ID.CardNo between IH.FrmCardno and IH.ToCardNo
    or 
    Select * from  Inventory_Details ID ,Inventory_Header IH where ID.CardNo=IH.CardNo OrSelect * from  Inventory_Details ID ,Inventory_Header IH where ID.CardNo between IH.FrmCardno and IH.ToCardNo
    Hope this will help you 
    Niraj Sevalkar

  • Relationship between two tables

    Hi,
    Can some one tell me how can i find the relationship between two tables in CRM. is there any transaction for the same. Is it possible to see the data model.
    Thanks
    Akila.R

    Hi Nishant ,
    Could you please explain brief about the Data relationship ......??
    I can see the Foreign Key & Check Table relation in se11 .
    Since I am in the Analysing phase ,
    what are all the details can i get from Foreign Key & Check table kind relations ...??
    Thanks
    Rgds
    Ganesh

  • How to identify the follow up relationship between two service ticket

    Hi Folks,
    How to identify the follow up relationship between two service ticket ?
    Please help me on this...
    Regards,
    Shashi K, Reddy

    Hi Pepe !
    Thank you for the answer, but I dont find this structure ET_DOC_FLOW.....
    Please let me know is that structure is correct ......
    Regards,
    Shashi K, Reddy
    shashikumarreddy at gmail dot com

  • How to create relationShip between two resources??

    Hi,
    Is there any manual process on workbench to create relationShip between two resources like repositoryClient.createRelationship() API does.
    Regards
    Sunil

    Hi Niraj,
    There is ModifyRelationshipsCommand:
    http://help.sap.com/javadocs/MDM/SP06/com/sap/mdm/data/commands/ModifyRelationshipsCommand.html
    Retrieve Relationship command:
    http://help.sap.com/javadocs/MDM/current/com/sap/mdm/schema/commands/GetRelationshipListCommand.html
    Also, please refer similar thread, MDM Java API and relationships.
    Hope it helps..
    Regards,
    Mandeep Saini

  • Problem mapping a 1:M relationship between two entity EJBs w/ a compound PK

    I am having trouble trying to implement a 1:M relationship in OC4J 9.0.3 between two EJB2.0 entity beans using an EJBQL query. I have an ApplicantEJB, which contains a collection of phone numbers. The applicant table in the database has one primary key, applicant_id. The applicant_phones database table has a compound primary key--applicant_id and phone_type_id--so I have implemented a custom PK class to represent this, PhonePK. I have implemented a findByNameAndPhone method in my ejb-jar.xml file with the following syntax:
    SELECT object(a) FROM applicants a, applicant_phones p where a.applicantID = p.applicantID and a.name = ?1 and p.phoneNumber = ?2
    If I deploy this, Orion/OC4J translates the query in the orion-ejb-jar.xml with an incorrect reference to the applicant_phones.applicant_id column:
    SELECT a.applicant_id FROM applicants a , applicant_phones p WHERE ((a.applicant_id = p.applicantID ) AND (a.name = ?) AND (p.phone_number = ? ))
    I must have something wrong with my ApplicantEJB and PhoneEJB primary key mappings in my orion-ejb-jar.xml file, but I have tried many different combinations of values and keep getting them overwritten by the container with each deployment. Why is Orion/OC4J defaulting the applicant_id reference Long postings are being truncated to ~1 kB at this time.

    Sure. Here's the <entity-deployment> for my applicant entity:
    <entity-deployment name="ApplicantEntityEJB" location="ApplicantEntityEJB" table="applicants" data-source="java:/OracleDS">
    <primkey-mapping>
    <cmp-field-mapping name="applicantID" persistence-name="applicant_id"/>
    </primkey-mapping>
    <cmp-field-mapping name="name" persistence-name="name"/>
    <cmp-field-mapping name="phones">
    <collection-mapping table="applicant_phones">
    <primkey-mapping>
    <cmp-field-mapping name="applicantID">
    <entity-ref home="ApplicantEntityEJB">
    <cmp-field-mapping name="applicantID" persistence-name="applicant_id"/>
    </entity-ref>
    </cmp-field-mapping>
    </primkey-mapping>
    <value-mapping type="test.entity.PhoneEntity">
    <cmp-field-mapping>
    <entity-ref home="PhoneEntityEJB">
    <cmp-field-mapping>
    <fields>
    <cmp-field-mapping name="phoneTypeID" persistence-name="phone_type_id"/>
    <cmp-field-mapping name="applicantID" persistence-name="app[i]Long postings are being truncated to ~1 kB at this time.

  • Programmatically create a relationship between two positions in HR

    Hi,
    I have a requirement to create relationships in HRP1001 between two given positions with a start and end date.
    I need to write an upload program to do this but want to avoid Batch Input if possible.
    Are there any relevant function modules that can do what transaction PP01 does?
    Many Thanks
    David

    Hi,
    Try using this code
    LOOP AT T_MAINTAIN INTO WA_MAINTAIN.
        WA_MAINTAIN-FCODE = 'INSE'.
        WA_MAINTAIN-PLVAR = '01'.
        WA_MAINTAIN-ISTAT = '1'.
    *Relate account to project
        IF WA_MAINTAIN-OTYPE = 'O' AND WA_MAINTAIN-SCLAS = 'O'.
          WA_MAINTAIN-RSIGN = 'B'.
          WA_MAINTAIN-RELAT = '002'.
    *Relate position to project
        ELSEIF WA_MAINTAIN-OTYPE = 'O' AND WA_MAINTAIN-SCLAS = 'S'.
          WA_MAINTAIN-RSIGN = 'B'.
          WA_MAINTAIN-RELAT = '003'.
    *Relate job to position
        ELSEIF WA_MAINTAIN-OTYPE = 'S' AND WA_MAINTAIN-SCLAS = 'C'.
          WA_MAINTAIN-RSIGN = 'B'.
          WA_MAINTAIN-RELAT = '007'.
    *Relate employee to position
        ELSEIF WA_MAINTAIN-OTYPE = 'S' AND WA_MAINTAIN-SCLAS = 'P'.
          WA_MAINTAIN-RSIGN = 'A'.
          WA_MAINTAIN-RELAT = '008'.
        ENDIF.
    *Relate position to position
        ELSEIF WA_MAINTAIN-OTYPE = 'S' AND WA_MAINTAIN-SCLAS = 'S'.
          WA_MAINTAIN-RSIGN = 'A'.
          WA_MAINTAIN-RELAT = '002'.
        ENDIF.
        WA_MAINTAIN-ENDDA = '99991231'.
    *FM to create relationship
        CALL FUNCTION 'RH_RELATION_MAINTAIN'
          EXPORTING
            ACT_FCODE           = WA_MAINTAIN-FCODE
            ACT_PLVAR           = WA_MAINTAIN-PLVAR
            ACT_OTYPE           = WA_MAINTAIN-OTYPE
            ACT_OBJID           = WA_MAINTAIN-OBJID
            ACT_ISTAT           = WA_MAINTAIN-ISTAT
            ACT_RSIGN           = WA_MAINTAIN-RSIGN
            ACT_RELAT           = WA_MAINTAIN-RELAT
            ACT_SCLAS           = WA_MAINTAIN-SCLAS
            ACT_SOBID           = WA_MAINTAIN-SOBID
            ACT_BEGDA           = WA_MAINTAIN-BEGDA
            ACT_ENDDA           = WA_MAINTAIN-ENDDA
            ACT_PROZT           = WA_MAINTAIN-PROZT
          EXCEPTIONS
            MAINTAINANCE_FAILED = 1
            OTHERS              = 2.
        IF SY-SUBRC <> 0.
         WRITE : WA_INPUT-OBJID.
         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    ENDLOOP.

  • How to remove space between two fields in emergency primary contact.

    How Can I remove a space between the two fields.IN emergency primary contact there are certain field called "C/O" and a i have added one text for this field inside that.But it is taking a big space between the "C/O" field and the text view.Plz suggest how I can re,move this?Also How Can I add new transparent container  with the end user personalization in the emergency contact field.

    Hi Peddi
    In my structure pannel I have simpleSearchPanel below that only i have the two lov fields ex: emp_no and emp_name . how to set the spacer between this From which Region where can find the spacer bean what proerty do i need to set
    Thanks
    AT

Maybe you are looking for

  • FRM-18108 Error when opening a form with subclassed objects

    Dear Group, I have 2 forms in Oracle Forms 6i. One of the forms contains an object group. The other form contains the object that I subclassed it to. When I open the form that contains the subclassed object group, I get the FRM-18108 error. If I open

  • How do I know if a URL already exists in the bookmarks when I try to add a new bookmark?

    I have always been troubled by this problem because I have hundreds of bookmarks and I often can not remember whether a page has been saved. When I try to transfer to Safari from Chrome I found this very serious problem because Chrome has a reminder

  • Scenario-config.xml file not found in CRM system

    Hi All, We are on SAP CRM 5.0 SP 12 (Java + ABAP stack) for our eCommerce Scenario (ISA u2013 B2B). Currently we are facing an issue where login to XCM (Extended Configuration Management) & the CRM B2B Webshop is giving an error. Error message : ISA

  • Improving bad video ?

    Somebody knows out there an app that is able to enhance a bad video like a 3GP for instance ? Something smart enough that is able to do the trick and add quality by extrapolating between 2 frames or 2 lines for instance ?

  • How to recover .pst files in Mac?

    Hi there! I've a .bak file that I've tried to rename with .pst, but when I tried to import in MS Outlook (MSOffice for Mac), the program said "The Data File is damaged and Outlook is not able to import it". How can I fix this .pst file using my Mac?