Table linking user to BP employee

Hi
We have assigned SAP users to BP created in role employee(in. Now we are doing a developemnt for which we require tables through which linkage between SAP user and BP number could be identified.
Please help me in this regard.
Thanx & Regards
Hits

Hello Hitesh,
The link between the user and the BP Employee is stored in table HRP1001.
The easiest way to retrieve the user for the BP is to use function module BP_CENTRALPERSON_GET. The input is then the GUID of the BP (which can be found in table BUT000). The output is the User ID.
I hope this helps.
Kind regards,
Kristoff.

Similar Messages

  • Table for User Address details

    Hi All,
    I wanted to know in which table the address of the employees (users) saved in SRM5.0? I checked function module BAPI_BUPA_ADDRESSES_GET, but it just links the business partner number to the Address Guid. How do I find which address detail is linked to this Guid? I checked table ADRC, but couldnot find it there. Could anyone help me on this?
    My actual issue is that, for a particular user,the address information doesnot showup in the shop screen(when I try searching for this user using 'shop for' option). The users in SRM are replicated from HR Org structure in ECC6.0
    So, I wanted to know which table of SRM is not updated with the address linking this user.
    For this particular user, I can find 2 address guids from the function module, BAPI_BUPA_ADDRESSES_GET. Is that the reason for this issue?
    How do I resolve this?
    Regds,
    Ancy

    Hi,
    The link between these two business partner number is Person number.. Following is the architecture..
    1) User will have a Business Partner number in SRM
    2) Company/org will have a Business partner number in SRM
    3) There is something called User and company relationship will exist by person number, i.e. User's official information like  Building, Floor, Room Number are stored under company's /org's BP address number refer to person number..
    BP u2013 Business Partner *************
    This should be helpful..
    Thanks!!
    Bharath

  • How to bind the data from user table into user report

    Hi All,
      Please assist me to bind the data from user table into user report. I did create an user table with data and create a user report template (using Query Print Layout). How can I display my data into report format which I created before? Any sample program or document I can refer?
    Platform: SAPB1 2005A
    Add On Language: VB.Net 2003
    Thanks.
    rgds
    ERIC

    Hi Ibai,
      Thanks for your feed back. I give you an example.
    Let say now i wanna print employee list, so i will go
    1. Main Menu -> Reports -> HR -> Employee List
    2. Choose the Selection Criteria -> OK
    3. Matrix will display (Employee List)
    4. I can print the report click on print button
    5. Printing report
    My target
    1. Main Menu -> Eric_SubMenu -> Employee List
    2. Matrix will display (Employee List)
    3. Print button
    4. Print report
    My problem
    Now I would like to use my own report format. My own report format means I wanna add on my logo or do some customization within the employee report. So how I am going to do? I only able to display the employee list in matrix. How do I create a new report format and display it.
    Thanks.
    rgds
    ERIC

  • Error -5002 when adding linked user defined field using DI API

    Hello,
    When I try to add a linked user defined field using DI API I get the error number -5002 with description:
    "The field 'Related Table' should consist of 8 alphanumeric characters with no valid or default values"
    I Get the error when I use the Add method.
    What is the solution for this problem? I use SBO 2005 A SP1 Patch 18
    The code I use is (.NET C# 2.0):
    SAPbobsCOM.IUserFieldsMD uf = (SAPbobsCOM.IUserFieldsMD)company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields);
    uf.Name = "S_BUCO";
    uf.TableName = "OPOR";
    uf.Type = SAPbobsCOM.BoFieldTypes.db_Memo;
    uf.SubType = SAPbobsCOM.BoFldSubTypes.st_Link;
    uf.LinkedTable = "S_BU";
    uf.Description = "Description";
    uf.Add()
    Regards,
    Jeffrey

    Hi Jeffrey,
    Your code above does not match the settings you are using in the UI. In particular, the type and subtype you are setting in code are not correct.
    To create the UDF via code, set the field types as follows:
    SAPbobsCOM.IUserFieldsMD uf = (SAPbobsCOM.IUserFieldsMD)company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields);
    uf.Name = "S_BUCO";
    uf.TableName = "OPOR";
    uf.Type = SAPbobsCOM.BoFieldTypes.db_Alpha;
    uf.EditSize = 8;
    uf.LinkedTable = "S_BU";
    uf.Description = "Description";
    uf.Add()
    There's no need to set the SubType property as you require a regular alphanumeric field.
    Kind Regards,
    Owen

  • Table Link for EQUNR (Eqpt Number) and GEWRK (Main Work Center)

    Hello,
    I need to fetch the main work center from equipment master. I need a direct table link between the equipment number and mainwork center. We are getting a link of equipment number (EQUNR) to work center (ARBPL) and a link of work center (ARBPL) to main work center (GEWRK). But the problem with this scenario is - main work center is not getting fetched from equipment master once work center is missing.
    We want a direct link through some table between EQUNR and GEWRK.
    Puneet

    Hi Puneet,
    Appreciate your problem !
    Many a times in such a situation (which I presume exists where no direct link is available between fields); we have 2 clear cut approaches -
    Approach 1:
    Develop a SAP Query, Functional Area/Infoset, and User Group ( using T code :SQ03,SQ02,SQ01 respectively )
    While developing Functional Area feed in these 2 tables (Table 1- equipment number (EQUNR) & work center (ARBPL) and Table 2 - work center (ARBPL) to main work center (GEWRK) with  work center (ARBPL) as the Primary Key- bridge to join these 2 tables.
    In SAP Query Development; you may take Plant as the Selection Field or any other field as per business requirement to make a search in the query.
    Now when you execute this query, you will get a complete Download of (EQUNR),work center (ARBPL)  and main work center (GEWRK) in one table.
    For SAP Query, you may also approach your ABAP Team Member. This is a cleaner approach than the other one.
    Approach 2:
    Take SE16 download of the Table 1 and Table 2 and join them in Excel (using vlookup if required).This approach is however limited to the data volume that you have to process.
    Please let me know, if you get stuck !
    Thanks,
    RAVI.

  • Tables containing user details.

    Hi,
    Which table can I use to view all the users available on the SAP system and their details e.g. Username, user's contact details and etc.
    Regards,
    Thandi

    plz check the table:USR03.
    Also,you get the Mail-ID in table ADDSMTP
    plz chk this link:
    Table for user details.

  • Im trying to update db table in  user exit, with the internal table

    Im trying to update db table in user exit, with the internal table
    my scenario:
    loop at itekpo.
    updating itekpo -
    > at the end of user exit the db table ekpo have to be updated
    endloop.
    Im updating internal table, using 
    MODIFY itekpo TRANSPORTING INCO1 INCO2  WHERE ebeln = itekpo-ebeln
    where itekpo is internal table, but it is not updating the db table 'ekpo'.
    i also tried updating ekpo directly !
    Thanks in advance

    Hi,
    you can search in the forum itself,
    Try this link for instance
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=tocreateaBADI&adv=false&sortby=cm_rnd_rankvalue
    You can find a code for finding BADI as a report with the following Transaction
    finding badis
    How to find BADIs
    Reward if helpful
    Regards
    Byju

  • Dynamic table linking to text file

    Access 2013.accdb
    A large quantity of text files will be arriving to the user.  They will all have the same fixed width format, but their file names will vary, and their stored location.
    The data needs to be appended into Table1
    I am thinking this approach: Link to a model text file Model.txt, and as part of that normal table linking I can set up the fixed width definitions for the fields.  I have already done this ok. So I have this linked table 'Model1' in the navigation
    pane
    When a new text file comes the user will archive it in a folder:  New1.txt
    I can then get the path as a string: "C:blah blah \New1.txt" lets call this NewString
    So what I am thinking is in order to Append in the new data; to first dynamically change the link table path to Model1 into the NewString and refresh the connect.
    The AppendQuery is looking for Model1 so that table name must not change, and the fixed widths that were part of the Model1 initial linking must not change.
    Does this sound viable - and what is the code for Model1 table relinking?  Table Def connect properties is not something I've delved into and much of the research I've found is seriously old mdb vintage
    I do not think the import spec feature of 2013 allows a dynamic change in file location / name - though if I am wrong on this point please let me know.  And I think in terms of a TransferText import I would lose the fixed widths definition and
    it would come in only as a single field file.  So these are the reasons I am thinking of manipulating the table path connection.
    Definitely would welcome advice on this one.  TIA

    getting a path to a file is pretty straight forward code out there for Windows Explorer file selection:
    'file select
    Dim strFile As String
          With Application.FileDialog(1)
               If .Show Then
                   strFile = .SelectedItems(1)
               Else
                   MsgBox "No file selected", vbInformation
                   Exit Sub
               End If
           End With
    'end file select
    so strFile would be what I termed NewString in my original post;  I have found code to change links to Access tables and even excel files - but haven't found what works to a text file....the code that I've experimented with does not like the .connect
    refresh......

  • Security/Access at qualified table link level...

    Hi,
    We have users accessing MDM from different part of the world and we have a scenario wherein US user's don't want Australian user's to add/change/delete US related qualified table link...
    Ex:- in "Company Code" qualified table we have link's to maintain data for different company code ex: CCode 1000 for US and CCode 2000 for Australia and I would like to restrict Australian user to access/delete CCode 1000 qualified table link. Is it possible to achive this in MDM 7.1 SP4..?
    Thanks in advance..
    Thanks,
    Rohit

    Hi Rohit,
    This is not possible to achieve. MDM does not support this functionality as of now. Unfortunately, there is no plan to enhance the Qualified table functionality in future too.
    Please find the official message provided by SAP for more details in one of the thread
    Data Manager Security on qualified table
    Regards,
    Mandeep Saini

  • Link users - positions - roles - authorization objects

    Hi guys,
    I want to write a report that would link USERS to POSITIONS to ROLES and finally to AUTHORIZATION OBJECTS. The user would enter the SAP username in the selection screen and the report should extract all the information listed above.
    I am able to link the following:
    + Users to positions via function module RH_BRANCH_GET
    + Users to roles via table AGR_USERS
    + Roles to authorization objects via function module PRGN_1251_READ_FIELD_VALUES
    Unfortunately, I dont know how to link positions to roles
    Does anyone know how to do that?
    Also, is there a more efficient way, than the approach highlighted above, to complete this requirement
    Thanks for your time
    -TR

    Hi,
    you can find a link between role and HR object in table HRP1001. The field SOBID contains name of the role. You need to find way how to convert object ID into position role. Be careful about additional fields from that table.
    Cheers

  • Schema error while linking users in ISW

    Hi
    When i am linking user (idsync -k) i get following error in isw log
    "LDAP modify operation of entry uid=jhenry,ou=people,ou=Faculty4,ou=Employee,o=aus.edu,o=ausedu failed at null. Error code: 65, reason: null" (Action ID=CNN101-1143923ED11-70281, SN=9
    and in DS6.1 error log i see this
    07/Aug/2007:14:05:10 +0400] - ERROR<5897> - Schema - conn=-1 op=-1 msgId=-1 - User error: Entry "uid=jhenry,ou=people,ou=Faculty4,ou=Employee,o=aus.edu,o=ausedu", attribute "mailUserStatus" is not allowed
    same error also occurring for paburi and nsnswmExtendedUserPrefs. These users are acticve mail users and objectclass. inetMailuser and ipUser is assign to them
    What could be the reason . Please help
    Thanks

    Hi,
    the error 'attribute "mailUserStatus" is not allowed' means that none of the objectclasses assigned to that User allow to have the attribute "mailUserStatus".
    Please check whether any of the objectclasses assigned to your Users allow this attribute. You can check this by looking at your schema. Im not quite sure how to examine the schema with dscc. There might be something under configuration.. Otherwise you could check the schema files in /var/opt/SUNWdsee/dsins1/config/schema/ to find out which objectclass provides the attribute mailUserStatus.
    Have you executed /opt/SUNWcomds/sbin/comm_dssetup.pl to adapt your directory for the JES stuff? But be careful with that, because it might make significant changes to your directory entries and schema..
    regards
    Message was edited by:
    DavidSchulz

  • SD-How to find table link of special delivery and sales order number?

    Hi Experts,
    I have a requirement as below.
    In LIPS table (SD document: Delivery: Item data), in this table has one kind data.
    One record has maintianed 2 fields PSPNR(Project definition (internal)) and PS_PSP_PNR(Work Breakdown Structure Element (WBS Element)).
    How to find sales order number of the above record? Could you tell me which table link the delivery item data and sales order number?
    Thanks a lot,
    Frank

    hi,
    check this.
    [https://forums.sdn.sap.com/click.jspa?searchID=20150250&messageID=3784069]

  • One-to-many table linking

    Hi all,
    I'm trying to write a report with multiple one-to-many table links.  The issue is I only want a single record from the linked tables.  The main table is an item table and the linked tables are issue and receipt.  I want to display information from the last issue record and the last receipt record along with the item information.  Not sure how to restrict the joins to just a single record (also need to sort desc on dates in the linked tables).  Does this require the use of a view? or a custom sp?
    Thanks for taking your time to help.
    Kevin

    To bring back a single record then you will probably need to use a View , command or SP.
    However, in Crystal you can bring back multiple records and only display the record you want. The easiest way will be to group
    Data on Date and then Item code.
    Place the data you want to see in in Item group footer and suppress details and all other Group headers and footers.
    To get receipt date just use a maximum summary of receipt date in item group footer
    Ian

  • Convert table linked report into a Command version - Howto?

    How can I convert hundreds of reports from table linked into a Command version?
    One way to do is to take the SQL syntax off the report, add a Command with that Syntax and manually replace the database fields by the Command fields.
    I can not believe that is the right way to this. Is there no hidden (re-)mapping fields button or another undocumented feature?
    If this is the way to do it... when will there be a one-button-click solution. The underlaying data keeps the same, could not be that hard to build..?
    Without that basic functionality Crystal Reports is not option for us anymore.
    Backgroud: We do have hundreds of reports that are created by an ODBC (RDO) database (SQL Anywhere database), created by linking the tables and select the fields we like to use in the report. This works fine at least as we used the RDC method in our application. Because we are moving to .NET we could not use RDC anymore and have to use the .NET methods. However the .NET SDK is very limited. The only way to add more complex WHERE statements is to use the Command functionality of Crystal Reports.

    Hi Hans,
    Let me explain, Command Objects are sent directly to the DB server as is. CR does not alter the SQL at all. As you know in SQL there are minor differences between the various servers and the SQL syntax can vary from DB to DB. Because of this CR could not build in the logic to handle the vast number of potential mappings, and not jsut SQL types but also PC databases.
    To be able to map reports based on connections directly to the DB through a Command object the current versions of CR do not have the ability. Possibly the next version may have this feature though but we can't say for sure until it's released. Check our WEB site for new versions and there functionality.
    Next question about moving off of the RDC to .NET, you are correct. CR no longer allows you to modify the SQL statement directly. The RDC was actually supposed to stop you also but it did work.
    One possible solution is to use .NET and inProc RAS ( Report Application Server) and using record sets. Your app can get the SQL from the report, process the query and appending the info onto the WHERE clause as well as other filtering and then set the existing reports data source to the record set. As long as your data is less than 5000 rows then no performance issues, over 5K and you may start to see slow report processing. Depends on other info and report complexity etc.
    If this is an option for you please post your question to the Crystal .NET development forum. Also, you will need to use 12.x.2000.x versions of the CR .NET assemblies and not use the basic version 10.5 or 10.2 that comes with .NET 2008 and 2005.
    Thank you
    Don

  • How are attribute and text master data tables linked in SAP R/3?

    Hello,
    how are attribute and text master data tables linked in SAP R/3?
    Most tables with attribute master data like T001 for company codes,
    have a text master data table T001T (add "T" to table name).
    When looking at the content of table T001 via transaction se11,
    the text are automatically joined.
    But for some tables there is no "T"-table (e.g. table TVBUR for sales offices
    has no text table TVBURT), but in se11 you get texts. There is an address
    link in TVBUR, but the Name1, etc. are empty.
    a) Where are the text stored?
    b) How does the system know of the link?
    Hope someone can help!
    Best regards
    Thomas

    Hi Thomas
    The master and text table are not linked by name, of course, if you see the text table, it has the same key fields of master table, only it has the field key spras and the field for description.
    The link beetween the tables is done by foreign key: if you check the text table TVKBT u need to see how the foreign key for field VKBUR is done:
    -> Foreing key with table TVBUR
    -> Foreing key field type -> KEY FIELD FOR A TEXT TABLE
    ->Cardinality-> 1-:CN
    It's very important the attribute sets for Foreing key field type, if it's KEY FIELD FOR A TEXT TABLE, it'll mean the table is a text table: i.e. that mean the master table is a check table for the text table, where the foreign key type is for text table.
    U can find out the text table of master table by SE11: GoTo->Text Table
    U can fined some information in table DD08L.
    Max

Maybe you are looking for

  • How can I manually refresh a Materialized View

    Hi, There's a materialized view created in 2006 as under: CREATE MATERIALIZED VIEW "schema"."mv_name" USING INDEX REFRESH FAST ON DEMAND WITH PRIMARY KEY USING DEFAULT LOCAL ROLLBACK SEGMENT DISABLE QUERY REWRITE AS SELECT * FROM "table_name@dblink;

  • Comma separated data into IN clause in oracle report query

    i have a field on form as order number it takes more than one value as 1,2,3 now i want to fetch data in report query for where order no in 1,2 and 3... but field takes value as 1,2,3... how can i separte the comma from value and how can i pass value

  • FLV files plays in preview, but not showing up on my LMS

    I have imported a single .flv file into Captivate 4, which was created in Flash 8. It shows in preview mode, as well as when I preview in IE browser, but when I launch from my LMS, I get nothing on the page. I can embed an .swf  video file that was p

  • How did I do?

    Hello users. This is more feedback than a technical issue. I was eager to exit the world of 'Windows' so I purchased the following system as a starter tool to utilize Mac and learn its capabilities: 400 MHz PowerPC 750 G3 processor, 256 MB of PC100 S

  • Images received go directly to desktop

    Everytime I get an image in iChat, a copy lands on my desktop. How can I stop this or redirect the default location? Kinda tired of having to manually delete them from the desktop.