How to locate the user id of user which created a Business Partner Master Data set

Hi everyone,
First post on here, on a number of occasions I have found either the answer to or a steer towards when facing a issue, hopefully someone can help with this question.
I'm working with SAP B1, v9 PL11 on SQL 2008R2.
I have to create a query which displays; cardcode, cardname, createdate, cardtype, username of creating user, on or after a date variable.
Having looked over the OCRD table I can't see a specific field containing data that would correspond to a user code.
OUSR looks like a good candidate with the user details but I don't think I can see any data types which are directly comparable so not able to make a workable join.. I've tried a number of combinations, such as ocrd.usersign = ousr.usersign and while it returned data it was not correct.
Please can someone help me find the name of the relevant field, or table which would contain this value so I can then complete my query.
Many thanks in advance!

Hi,
Welcome to SAP B1 forum.
Try this query:
SELECT T0.[CardCode], T0.[CardName],T0.usersign, T1.[U_NAME] FROM OCRD T0 left join  OUSR T1 on t1.userid  = t0.usersign WHERE T0.[CardType]  = 'c'
Thanks & Regards,
Nagarajan

Similar Messages

  • Regarding chossing the Business Partner Master Data

    Dear All,
                 I have one query regarding chossing the Business Partner Master Data. Let take an exapmle 
    suppose 2 sales person are making the sales Quotation and every sales Persons only making the quotaion
    for the specified leads or customers.Suppose Sales Person 'A' makes the quotaiton for 5 Leads and Sales
    Person 'B' makes the quotation for the different 5 persons.Now i want when  i Login into sales person 'A' Login
    and choose the Business Partner by pressing tab in sales quotation window , then that Sales Person 'A' can
    see only the Specified BP list which are belonging to his region.
    Thanks All.

    The access to Item Master and BP Master cannot be restricted to Users through Authorization. This is a known limitation of SBO.
    You can try this by using SDK.
    You can use Data Ownership Authorization, which means the marketing documents created by Sales Person 'A' will not be viewed by Sales Person 'B'
    Refer this thread for details
    [Customer master restriction in Marketing document.........;

  • Can we block the business partner master data for embargo reason?

    Hi,Experts:
       Do you know if we can add the embargo block on business partner master data in GTS just like SPL checking?
    Thanks

    Embargo checking in SAP GTS can be enforced using any combination of the following:
    country-to-country, country group to country, or all countries to country.
    The check is based on the combination of the country of departure and the country of destination (or groups of countries).
    If the system detects an embargo situation, the document is blocked for further processing.
    IF you want to block Business partner for embargo reason,
    you may have to do some code enhancement(abap coding based) for the same.

  • How to Create Approval for  New Business Partner Master Data

    Hello Experts,
    Is it possible for creation of an approval query such that while creation of New Business Partner:
    if
      a user forgets to add data in a field say TIN No. which is present in Tax Information,
    then
      the Business Partner Creation is withheld and sent for approval .
    Can someone please help me with creation of such an approval procedure ?
    Thanks and Regards,
    Manish Saluja

    Hello Manish...
    Sorry to say there is no way to create an approval template on master data (BP, item, etc).  However, we once had a similar problem and used the Alert Management to catch critical information that was missing during the creation process.  Everyone had to enter a credit limit with no exceptions.  I do not have the exact SQL in front of me, but it went something like this...
    Very simple...
    SELECT
    T0.CardCode,
    T0.CardName,
    T0.CreditLine
    FROM OCRD T0
    WHERE
    T0.CreditLine IS NULL
    Then we set an Alert Message to go off every minute and sent it to the Accounting Department.  Although it did not STOP them from adding the Business Partner, it sure did give someone the heads up to call the person who created it after looking at the Change Log.  Sort of a compromise...maybe that helps you???
    Take care - Zal

  • How to delete Business partners in Business partner master data

    Dear sir,
    I had  remove some business partners in Business Partner maserdata. but i will remove some business partners one error will come into picture that error is " You cannot remove business partner; linked Sales Quotations exist  [Message 3502-79] "
    How to remove that bp in bp master data. plllz tell me how to solve these problem step by step process in sap business one 2007 B

    Hi,
    If you have created a Sales Quotation or for that matter any document for  the Business Partner you are trying to delete, you cannot delete the Business Partner from the database.
    As transaction and document is linked to the BP, then you cannot delete it.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • What is the use of factoring indicator in Business partners master data

    Hi All,
            I am the biginner to SAP B1.please help me.I am creating the businee partners master data in that general tab factioring indicatior is there.what is need for that?

    Hi,
    Please refer to Note No.  [593657|https://websmp130.sap-ag.de/sap(bD1odSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=593657]
    Symptom
    What is the factoring indicator?
    Other terms
    factoring indicator, factoring, indicator, business partner, master
    data,
    Reason and Prerequisites
    Solution
    Factoring indicator
    The factoring indicator is used in Reporting => Accounting Reports => General Ledger.
    If a factoring indicator has been defined for a Business Partner, it
    will be entered automatically into each Journal Entry that will be
    posted for this BP.
    In Reporting => Accounting Reports => General Ledger, you can
    click on the "Expanded" pushbutton, check the "Indicator" button, select "From" and "To" and the system will only display the transactions which include the selected indicator.
    This field is for the so-called subrogation, which means
    demands to BPs are sold to the bank.
    Through this field you can allocate an assignment code to
    a Business Partner, this code can be used in an accounting reports.
    This functionality is only intended for Austria.
    Also, following information from the Online Help (F1)
    Factoring Indicator
    Assign a factoring indicator for the business partner. Note that both code and name are displayed.
    This indicator is automatically inserted as default value in the invoice. The factoring indicator may be displayed in the account statements.
    Choose  to open a Choose From List window displaying the indicators that have been defined. Choose New to define new ones.
    The indicator is only displayed after activating the field Indicator in Personal Settings.
    Regards,
    Jitin
    SAP Business One Forum Team

  • How to find the list of all user exits modified by the users

    How to find the list of all user exits using by in R3

    Hi Mohamed
    You use Solution Manager to do the comparison for you.  There are some nice features that will highlight all your customised coding.  Have a look at the SolMan resources on the Support Portal e.g. using SolMan for upgrade comparisons.
    Rgards
    Carl.

  • How to restrict the department to not user other departments' equipment?

    Dear SAPIENTS,
    How to restrict the department to not user other departments' equipment? If suppose any one creating order for equipment having different authorization group then system should not allow me to do this.
    Regards,
    Kaushal Rai

    Kaushal Rai,
    Use Authorization group for technical objects, create authorization gruops in IMG and assign the same to the Equipment master and block the other department with the same authorization group. For ristricting the authorization group to other departments after creating and assigning it to the equipment seek help from your BASIS team.
    goto the below path for cerating the Authorization group:
    IMG - PMCS - Master data in PMCS - Technical Objects - Define Authorization groups:
    Here you define the authorization groups, after completion of this step go to the Equipment master in General Data tab page there is a feild Authourization Group, mention the respective authorization group and provide this Authorization gruop value to the respective user in the user role with the help of BASIS Team.
    Regards,
    Praveen.

  • How to change the text of a user defined field in dynamic selections?

    Logical Database PSJ is used by t code CJI3 - we added a couple of user fields into the dynamic selections of CJI3.
    Now - how to change the text of this user filed (USR01 of structure PRSP_R in logical database PSJ)?
    Found an OSS note - 86980 - that tells that this is not possible.
    But when we read the documentation on the user field (CJI3 - dynamic selections  - double click on user field - F1), it shows the following text:
    User-defined field in which you can enter general information with a length of up to 20 characters.
    Dependencies
    The names (key words) for  user-defined fields depend on the field key.
    Now the question is where to change the field key..
    Thanks,
    Ven

    Madhu - you did not get the question I think.
    Anyways - I found an OSS note 1266643 - this code change should take care of the issue - it will then reflect the details maintained in custoizng at transaction code OPS1..
    Thanks,

  • How to find the maximum no of users logged in Database

    Hi All,
    How to find the maximum number of users logged in database at particular time? I can find currently logged users or umber of sessions running on Database but I wanted to find at what time maximum number of users or sessions connected to the DB? is that possible? if yes please help me. thanks.

    Vijay wrote:
    Hi All,
    How to find the maximum number of users logged in database at particular time? I can find currently logged users or umber of sessions running on Database but I wanted to find at what time maximum number of users or sessions connected to the DB? is that possible? if yes please help me. thanks.
    select * from v$resource_limit;Lists about 20 different resources with current, maximum and limit on usage. Session count is one of them. I don't think there's any (simple, efficient) way to determine the maximum number of different users of sessions, though.
    Regards
    Jonathan Lewis

  • How to solve the issue "CUV check user equivalence failed" ?

    Folks,
    Hello. I am installing Oracle 11gR2 RAC using 2 VMs (rac1 and rac2) whose OS are Oracle Linux 5.6 in VMPlayer according to the website http://appsdbaworkshop.blogspot.com/2011/10/11gr2-rac-on-linux-56-using-vmware.html
    In order to install Grid Infrastructure, we need to run Cluster Utility Verification (CUV) at first by running the cammand below:
    [ora11g@rac1 grid]$ ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -verbose
    Its output:
    Performing pre-checks for cluster services setup
    Check: User equivalence for user “ora11g”
    Node Comment
    rac1 failed
    rac2 failed
    Result: PRVF-4007 : User equivalence check failed for user “ora11g”
    ERROR:
    User equivalence unavailable on all the specified nodes
    Verification cannot proceed
    Pre-check for cluster services setup was unsuccessful on all the nodes.
    As you see above, check user equivalence failed. I have run the 4 commands to fix this error as below:
    [ora11g@rac1 /]$ ssh-keygen
    Its output:
    Generating public/private rsa key pair.
    Enter file in which to save the key (/home/grid/.ssh/id_rsa):
    Enter passphrase (empty for no passphrase):
    Enter same passphrase again:
    Your identification has been saved in /home/grid/.ssh/id_rsa.
    Your public key has been saved in /home/grid/.ssh/id_rsa.pub.
    The key fingerprint is:
    0c:10:6c:3b:ae:21:63:64:f8:0d:0e:d8:f0:41:32:ff [email protected]
    [ora11g@rac1 .ssh]$ cat *pub >>authorized_keys
    [ora11g@rac1 .ssh]$ ssh rac1
    Its output:
    The authenticity of host ‘rac1 (127.0.0.1)’ can’t be established.
    RSA key fingerprint is 9d:ae:51:7c:72:81:07:37:31:92:f1:c8:90:bc:52:55.
    Are you sure you want to continue connecting (yes/no)? yes
    Warning: Permanently added ‘rac1′ (RSA) to the list of known hosts.
    Write failed: Broken pipe.
    [ora11g@rac1 .ssh]$ ssh rac1-priv
    Its output:
    The authenticity of host ‘rac1-priv (192.168.137.35)’ can’t be established.
    RSA key fingerprint is 9d:ae:51:7c:72:81:07:37:31:92:f1:c8:90:bc:52:55.
    Are you sure you want to continue connecting (yes/no)? yes
    Warning: Permanently added ‘rac1-priv,192.168.137.35′ (RSA) to the list of known hosts.
    Write failed: Broken pipe.
    After run the 4 commands above, I run the command below again:
    [ora11g@rac1 grid]$ ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -verbose
    Its output is the same:
    PRVF-4007 : User equivalence check failed for user “ora11g”
    ERROR:
    User equivalence unavailable on all the specified nodes
    Verification cannot proceed
    I think the problem is "Broken pipe" and ssh cannot write authorized_keys to the machines.
    My question is:
    Do any folk understand how to solve the issue CUV "check user equivalence failed" for 2 VMs ?
    Thanks.

    Folks,
    Hello. Thanks a lot for replying.
    I have installed Grid Infrastructure a few times. Each time, on step 7 of 9, the installer fixes and checks 2 machines correctly. The entire installation has 3 parts as below:
    1) Install Grid Infrastructure for a Cluster
    2) Execute Root Scripts for Install Grid Infrastructure for a Cluster (script is root.sh)
    3) Configure Oracle Grid Infrastructure for a Cluster that includes NCA, ASMCA, PICA and CVU.
    Each time, on step 8 of 9, the Installer installs Grid Infrastructure for a Cluster successfully that includes "Prepare, Copy files, Link binaries, Setup files and Perform remote operations".
    But when the Installer get to part 3 CVU, it fails and then the Database cannot be installed.
    Deinstall Grid is a very complicated process to do. Because of this reason, we need to run CVU at first to make sure everything is correct for 2 machines before install Grid.
    Even we ignore "user equivalence (ssh)", we don't know whether other items can be passed or not because CVU cannot proceed to check the machines.
    My question is:
    How to have the script "runcluvfy.sh" continue to check the machines while confronting "user equivalence failed" ?

  • How to find the total no of users in a client

    Hi Techie's,
    How to find the total no. of users in the client ? is it possible ?
    i have tried out with the steps by viewing the table USR01,but i can't get the actual solution ?
    solutions rewarded!
    regards,
    S.Rajeshkumar

    Hi rajesh,
    You can use SU10, then click on "Authorization data" -> put * on user -> execute.. you should get a list of all users in the client with details included...
    Also you can list them using USMM and check all licensed users....
    Also SUIM -> users by complex selection criteria -> By user id -> put * on user -> execute.
    Regards
    Juan

  • How to trace the ip address of user session?

    how to trace the ip address of user client session?

    Hi.
    This should help:
    http://www.oracle-base.com/articles/misc/IdentifyingHostNamesAndAddresses.php
    Cheers
    Tim...

  • How to find the List of expired user Ids

    How to find the List of expired user Ids

    Can you please tell me the question in detail.What do u mean by expired users?
    IN a Client or in a System.

  • How to locate the source code which populate the SO number?

    Hi,
    For example:
    In T-code: VA01
    Put your cusor on the screen field : Standard Order
    Then press F1, get the technical info of this field as below shows:
    Screen field     VBAK-VBELN
    Program name     SAPMV45A
    Screen no.       4001
    So my question is, how to locate the source code which exactly to populate the SO number into VBAK-VBELN by the system automaticallly.
    As assumed that the system is generate this kind of SO autuomatically, and its number range is defined in SPRO.
    I just want to find out the coding part which gengerate the SO number.
    Want to see the source code of that...
    How to find it???
    Thanks.

    Hi Deepak,
    Thanks for the info..
    But i think i am also know that.
    Questions is dont know how to find the KEY statements that exactlly to generate the number...
    Anyway, 2 points to you.

Maybe you are looking for

  • Reading a Random Line from a Text File

    Hello, I have a program that reads from a text file words. I currently have a text file around 800KB of words. The problem is, if I try to load this into an arraylist so I can use it in my application, it takes wayy long to load. I was wondering if t

  • How do I get my camera roll back following iOS 8 upgrade?

    how do I get my camera roll back following iOS 8 upgrade?

  • Initial view for portfolio

    I have 9 standard on vista and I set my initial view to show bookmarks, but when I save and reopen it does not show them. how do I fix that? Also how to I set it so that the portfolio opens to a specific file in the portfolio/page view?

  • Podcast image?

    Hi, I've got my RSS feed linked to a JPEG image that I know is far larger than 300 x 300 pixels (minimum), but it still doesn't show up when my podcast is downloaded from the iTunes store. How can I get that to work?

  • 2 Frames in one file

    i'm trying to put this mass and temperature converter together just like two frames running simultaneously on the screen. i dont know exactly how to do it. what do you think is wrong with this? thanks :) import java.awt.*; import java.awt.event.*; im