Business Object UserPermission using Table USR3

Hi,
   Does anybody know where in the SAP B1 functionality the table USR3 (for Business Object UserPermission) and/or table OUPT (for Business Object UserPermissionTree) get populated?
  Thanks in advance.

Hi Robert,
The DI API documentation about the UserPermission + UserPermissionTree object mentions that:
It mentions it in the introduction to this object - and essentially in the <b>Remarks</b> it even points you to the menu.
Regards,
Frank

Similar Messages

  • Business Object BUS1065 using PA30

    Dear Experts,
    As per my requirement, I am using business object BUS1065 in PA30 for creating attachment and stored document until here it is working fine but the business object is not taking the info type value which is I entered in PA30 transaction. I am found this problem in OAAD transaction where I am testing the attachment file .
    Please assist me on this issue, If any one have idea about the issue.
    I had tried to find in SAP FORUM, but I could not get like this issue.
    Appreciate your response.
    Thank you.
    Regards,
    Prasad.

    Hi Robert,
    The DI API documentation about the UserPermission + UserPermissionTree object mentions that:
    It mentions it in the introduction to this object - and essentially in the <b>Remarks</b> it even points you to the menu.
    Regards,
    Frank

  • Business Objects Customization Using Class file without net bean

    Hi,
    Any one please help me out.
    my requirement is like I want to use Business Objects SDK
    <%@ page import="com.crystaldecisions.sdk.framework.CrystalEnterprise" %>
    above is example..
    in Class file of Java without using netbean.
    I try to do this with creating Batch file add all Jar file and set path and but its not working.
    Also can I Login Into business Objects through class file not using netbean(means from command prompt)
    and create user group into CMS.

    Please find following servlet code who dont understand my requirement.
    * GroupCreation.java
    * Created on September 2, 2008, 3:47 PM
    import java.io.*;
    import java.net.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import com.crystaldecisions.enterprise.ocaframework.ServiceNames;
    import com.crystaldecisions.sdk.exception.SDKException;
    import com.crystaldecisions.sdk.framework.CrystalEnterprise;
    import com.crystaldecisions.sdk.framework.IEnterpriseSession;
    import com.crystaldecisions.sdk.framework.ISessionMgr;
    import com.crystaldecisions.sdk.occa.infostore.IInfoStore;
    import com.crystaldecisions.sdk.occa.managedreports.*;
    import com.crystaldecisions.sdk.occa.security.ILogonTokenMgr;
    import javax.servlet.http.Cookie;
    import com.crystaldecisions.sdk.occa.infostore.*;
    import com.crystaldecisions.sdk.occa.pluginmgr.*;
    import com.crystaldecisions.sdk.plugin.CeProgID;
    import com.crystaldecisions.sdk.plugin.desktop.user.*;
    import com.crystaldecisions.sdk.properties.*;
    import javax.servlet.http.HttpSession;
    * @author prashant.joshi
    * @version
    public class GroupCreation extends HttpServlet
    protected void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException
    HttpSession session = request.getSession(true);
    response.setContentType("text/html;charset=UTF-8");
    PrintWriter out = response.getWriter();
    String cms = request.getParameter("CMS");
    String username = request.getParameter("UserID");
    String password = request.getParameter("Password");
    String auth = request.getParameter("Aut");
    IEnterpriseSession enterpriseSession = null;
    try
    ISessionMgr sessionMgr = CrystalEnterprise.getSessionMgr();
    catch(SDKException e)
    out.println(e.getMessage());
    Exception failure = null;
    boolean loggedIn = true;
         // If no session already exists, logon using the specified parameters.
    if (enterpriseSession == null)
    try
    // Attempt logon. Create an Enterprise session
    // manager object.
    ISessionMgr sm = CrystalEnterprise.getSessionMgr();
    // Log on to BusinessObjects Enterprise
    enterpriseSession = sm.logon(username, password, cms, auth);
    catch (Exception error)
    loggedIn = false;
    failure = error;
    if (!loggedIn)
    // If the login failed, redirect the user to the start page.
    out.println("<SCRIPT language=\"javascript\"> " +
    " alert (\"Sorry - you could not be logged on to this server." +
    " Ensure that your user name and password, as well as the CMS name are correct." +
    "\"); </SCRIPT>");
    out.println("<META HTTP-EQUIV='refresh' CONTENT='0;URL=LogonPage.jsp'>");
    return;
    else
    try
    // Store the IEnterpriseSession object in the session.
    session.setAttribute("EnterpriseSession", enterpriseSession);
    // Create the IInfoStore object.
    IInfoStore iStore = (IInfoStore) enterpriseSession.getService("InfoStore",
    ServiceNames.OCA_I_IINFO_STORE);
    // Store the IInfoStore object in the session using the
    // helper functions.
    session.setAttribute("InfoStore", iStore);
    // Create the IReportSourceFactory object.
    IReportSourceFactory reportSourceFactory = (IReportSourceFactory) enterpriseSession.getService("PSReportFactory");
    // Store the IReportSourceFactory object in the session
    // using the helper functions.
    session.setAttribute("ReportSourceFactory", reportSourceFactory);
    // Retrieve the logon token manager.
    ILogonTokenMgr logonTokenMgr = enterpriseSession.getLogonTokenMgr();
    // Retrieve a logon token and store it in the user's cookie
    // file for use later.
    Cookie cookie = new Cookie("LogonToken", logonTokenMgr.createLogonToken("", 60, 100));
    response.addCookie(cookie);
    // LOCUse the plugin manager and the UserGroup plugin to create a new
    // UserGroup object._ENDLOC_
    // LOCIf the infoStore object is not found then display an error message._ENDLOC_
    IInfoStore infoStore = (IInfoStore) session.getAttribute("InfoStore");
    // LOCIf the infoStore object is not found then display an error message._ENDLOC_
    if (infoStore == null)
    throw new Error("_LOC_InfoStore object not found. Please logon again._ENDLOC_");
    IPluginMgr pluginMgr = infoStore.getPluginMgr();
    //IPluginMgr pluginMgr2 = infoStore.getPluginMgr();
    IPluginInfo userGroupPlugin = pluginMgr.getPluginInfo("CrystalEnterprise.UserGroup");
    // IPluginInfo userGroupPlugin2 = pluginMgr.getPluginInfo("CrystalEnterprise.UserGroup");
    // LOCCreate a new InfoObjects collection._ENDLOC_
    IInfoObjects newInfoObjects1 = infoStore.newInfoObjectCollection();
    IInfoObjects newInfoObjects2 = infoStore.newInfoObjectCollection();
    // LOCAdd the UserGroup interface to the new InfoObjects collection._ENDLOC_
    newInfoObjects1.add(userGroupPlugin);
    newInfoObjects2.add(userGroupPlugin);
    // LOCGet the new UserGroup object from the collection._ENDLOC_
    IInfoObject iObject1 = (IInfoObject) newInfoObjects1.get(0);
    IInfoObject iObject2 = (IInfoObject) newInfoObjects2.get(0);
    // LOCOnce you have the new UserGroup object, set its properties._ENDLOC_
    iObject1.setTitle ("Single Home Group");
    iObject1.setDescription ("It is Single Home Group");
    iObject2.setTitle ("Multi home Group");
    iObject2.setDescription ("It is multi Home Group");
    // LOCRetrieve the ID of the InfoObject (user group)._ENDLOC_
    // objectID = iObject.getID();
    // LOCSave the new group to the CMS._ENDLOC_
    infoStore.commit (newInfoObjects1);
    infoStore.commit (newInfoObjects2);
    catch(Exception ex)
    // If the User group is already created.
    out.println("<SCRIPT language=\"javascript\"> " +
    " alert (\"Sorry - The User Group is already created Please enter another User Group." +
    "\");</SCRIPT>");
    out.println("<META HTTP-EQUIV='refresh' CONTENT='0;URL=LogonPage.jsp'>");
    return;
    // If the User is Logged on the Business objects
    out.println("<SCRIPT language=\"javascript\"> " +
    " alert (\"UserGroup get created in CMS.\"); </SCRIPT>");
    out.println("<META HTTP-EQUIV='refresh' CONTENT='0;URL=LogOff.jsp'>");
    out.close();
    /** Returns a short description of the servlet.
    public String getServletInfo() {
    return "Short description";
    // </editor-fold>
    when I paste above code in simple notepad as class file and run this file from command prompt
    it gives error like following 1 example I getting 46 errors for different Business Objects classes
    symbol : variable CrystalEnterprise
    location: class GroupCreation
    ISessionMgr sm = CrystalEnterprise.getSessionMgr();
    Please help me Out.
    Thank you.

  • How I can identify business objects in a table?

    Hi,
    Can someone advise me how to identify business objects and events created in a Ar Customers ( ARXCUDCI) table?
    Many thanks,
    regards
    Ilinka

    Depending on how big your spreadsheet is and how frequently you want to do this you might want to contruct insert statements in excel, then run these. I have done this to load a few hundred rows for a one off test on dev.
    e.g. if you have values 1 and 'a' in you spread sheet and want to insert them in to table xxx col1 & 2:
    | /|   A   |   B   |    C
    |1 |col1   |col2   |
    |2 |      1|a      |="insert into xxx ("&$A$1&","&B1&") values ("&A2&",'"&B2&"');"then paste the contents of colum C
    insert into xxx (col1,col2) values (1,'a');into sqlplus or a script.

  • Save metada of Business Objects locally using JCO

    Hi.
    After retrieving the metadata of Business Objects, using JCO, (i.e. i have replicated the BAPI Explorer), I would like to save a particular Application Heirarchy Area & all Business Objects under it locally (e.g. Financial Acounting and all business objects under that area). I know there is a Save on the IRepository interface, but this seems to save all cached functions - that is not what i want ! Is there any way to save the metadata of those business objects using JCO ? Or should i just create my own Save which will save the metadata i want (to XML).
    thanks
    Javed.

    Hello Javed,
    to my opinion the best way to save the metadata, is to create your own xml structure. The methods save/load are only for handling the name of the repository and of the names of the functions and structures.
    Regards,
    Daniel

  • How business object be used in such worst situation?

    What I get from front end (thick client) is a large value object with undefined data type (data in vector or hashtable), it 's difficult to extract the data from the object in business logic layer. Eg. in gui, data managed in table, and I need to extract the data in the business tier, such that the business layer need to know the structure of front end data. It 's not make scense any more.
    The worst case is I cannot control the data construction from front end.
    So, I would like a data model to convert the data into business data (simple data).
    But it seems not a best case.
    So, any suggestion?

    Thanks all,
    actually, the problem is the incoming data has no
    regular type.
    The value object contains different data in different
    situation.That still means it is ordered in some way.
    One may be a hastable, one may be a vector and so on.
    What the server (business tier ) need to do, is to
    define a generic approach to obtain those data and
    manage them into a systematic data without following
    the front end component structure...That isn't possible. You must have some notion of the type of data. You can't decide to apply the business rules for a social security number to a zip code. Both have 9 digits so with out some other information about the context you can't tell them apart.
    In the same way you don't want to save a vendor information in the customer table just because both look like address information.
    I have tried to use a web service idea to apply on it.
    Such that using a xml as a function descriptor. The
    xml describe the server function(s) and the data
    needed.
    But I want to find a best way to solve it.
    So, does anyone has experience on such work?
    Let say swing application calling a server program via
    rmi. The swing is a thick client with a lot of
    functions and components. The server side handles
    business function only.Do you control the GUI or not? If you do then you dictate how the GUI gives the data to you. If not then you produce a translation layer that converts the GUI format into a form that is usable by all of the other layers.

  • Problems with a Business Object when using data RAW.

    Hi,
      I've created a Z bapi with parameter tables as
        FILE_BIN like SDOKCNTBIN
    The structure SDOKCNTBIN has one RAW field.
    When I go to SWO1 and implement a new Bapi, the following error occurs:
    "Field SDOKCNTBIN -LINE is too large to be included in container"
    Does anyone knows why when I declare an structure with a field RAW, gives that error?
    Thanks in advance!

    Does this occur when using Immediate Mode?
    Here's a blurb from my ADF Toy Store paper about Batch Mode and immediate mode.
    http://www.oracle.com/technology/products/jdev/collateral/papers/10g/adftoystore/readme.html#batchmode

  • Uses of Business Objects

    Hi Gurus,
    What are the uses of Business Objects created in SWO1 Tcode.
    Thanks,
    KNV.

    Hi Ratnakar,
    Check these links about BO's..
    http://help.sap.com/saphelp_46c/helpdata/en/59/ae4484488f11d189490000e829fbbd/frameset.htm
    http://help.sap.com/saphelp_46c/helpdata/en/59/ae449e488f11d189490000e829fbbd/frameset.htm
    http://help.sap.com/saphelp_46c/helpdata/en/a5/3ec8534ac011d1894e0000e829fbbd/content.htm
    http://www.erpgenie.com/abap/bor.htm
    Business Objects are used basically to trigger other objects with the respective events like
    1) To Trigger Workflows
    2) To Trigger Events
    3) Used to communicate with NON SAP Systems using BAPI's
    4) To Trigger user define Business object we need to define the super type and need to delegate it with respect to the supertype so as to trigger custom business object which in turn triggers it event linkage objects whether it may be workflow or Event etc.
    Hope this would help you.
    Regards
    Narin Nandivada

  • Business Object Modeler Question

    Hi Experts,
    I'm new to CE and currently trying to figure out what can I do with it?
    Assume that I'm planning to create an application to follow activities that our consultants doing.
    For this, we're planning to use Local Portal Database to store datas.
    When I checked, "Business Object Modeler" is a tool which helps to create business objects and generates tables behind and access services automatically.
    Then generating a Web Service for this BO and then using the WS with VC and WD4J is a great asset for us.
    But, my questions?
    1. Is this a right approach for  such scenario?
    2. I've created a sample BO and generated WS and tried to use with VC. Create, Delete, Reand and Update Operations can be made available for WebService, but I'm unable to add FindAll or FindByMultiple Parameter operations to Web Service?
    Any idea for Q1 and answer for Q2 will be appreciated.
    Regards

    Hi,
    Yes, You have to arite the code.Actually, Application services are the place where you will wrtie your business logic.
    In th application service operations you have to call the business object operations.
    For architechturel guidelines you can go [through thii doc|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00caf8bd-487a-2a10-36a9-93d840309310].
    answer to second question:
    You can't change the code in the BO operations. What ever you want, you have to do it in the application servcies only.
    Create an application service operation  say:
    operation(). Create a input/output data structures.
    Exapmle:     OperationResponce operation(OperationRequest).
    Yuor lists add to the  OperationRequest datatype. Similarly for  OperationResponce also. In this case you don,t have any issues.Actually this is the standered for Web Services.
    [This document|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0d97ec6-5de0-2a10-a5b3-b5926075566c], you can use as an example
    [CE 7.1 Tuorial Center.|https://www.sdn.sap.com/irj/sdn/nw-development?rid=/webcontent/uuid/903c2cdb-98d6-2a10-84b7-ab22535de11a]
    Reward Points, If you feel it is useful.
    Sampath

  • OInvoice Business Object XML Schema question

    I am trying to produce an xml file based on the oInvoices business object to use in an EDI translation.  I am running Sap Business One 2005 A SP:01 PL:03.  I used one of the sample programs in the SDK Samples folder to produce an XML schema of the oInvoices object.  The sample program is in the COM DI folder, program #06. ObjectSchemas.  When I run this program is produces an xml file that is really a schema for oInvoices, and it uses the GetBusinessObjectXmlSchema function for the oInvoices BoObjectType.  If I use the SaveXML function on the SAPbobsCOM.BoObjectTypes.oInvoices, I get a different xml file that does not use the same table or fields names.  (See sample below - schema uses the table name, OINV, SaveXml uses 'Documents' in place of the OINV name, schema has a QueryParams tag set, SaveXml does not, SaveXml has a Version defined within the AdminInfo, the Schema does not have this). Why doesn't the oInvoices xml schema match the xml file produced using the SaveXML function.  Which example below is the correct xml representation of an Invoice?  I have copied parts of each file below.
    oInvoices file produced using GetBusinessObjectXmlSchema for oInvoices:
    - <element name="BOM">
    - <complexType>
    - <all>
    - <element maxOccurs="1" minOccurs="0" name="BO">
    - <complexType>
    - <sequence>
    - <element maxOccurs="1" minOccurs="0" name="AdmInfo">
    - <complexType>
    - <all>
      <element maxOccurs="1" minOccurs="0" name="Object" type="long" />
      </all>
      </complexType>
      </element>
    - <element maxOccurs="1" minOccurs="0" name="QueryParams">
    - <complexType>
    - <all>
      <element maxOccurs="1" minOccurs="0" name="DocEntry" type="string" />
      </all>
      </complexType>
      </element>
    - <element maxOccurs="1" minOccurs="0" name="OINV">
    - <complexType>
    - <sequence>
    - <element maxOccurs="unbounded" minOccurs="0" name="row">
    - <complexType>
    - <all>
      <element maxOccurs="1" minOccurs="0" name="DocNum" type="long" />
      <element maxOccurs="1" minOccurs="0" name="DocType" type="string" />
      <element maxOccurs="1" minOccurs="0" name="Handwrtten" type="string" />
      <element maxOccurs="1" minOccurs="0" name="DocDate" type="string" />
      <element maxOccurs="1" minOccurs="0" name="DocDueDate" type="string" />
      <element maxOccurs="1" minOccurs="0" name="CardCode" type="string" />
      <element maxOccurs="1" minOccurs="0" ......
    OInvoices xml file produced using SaveXml
    - <BOM>
    - <BO>
    - <AdmInfo>
      <Object>13</Object>
      <Version>2</Version>
      </AdmInfo>
    - <Documents>
    - <row>
      <DocNum>5</DocNum>
      <DocType>dDocument_Items</DocType>
      <HandWritten>tNO</HandWritten>
      <Printed>tNO</Printed>
      <DocDate>20050116</DocDate>
      <DocDueDate>20050215</DocDueDate>
      <CardCode>C20000</CardCode>.....
    I did not copy all of the xml for each file as it would be too lengthy. 
    Thanks,
    Nancy Walk
    [email protected]

    Hi Nancy,
    I can´t find it right now, but I do remember reading that there were different XML definition versions for SBO objects. In the version 1, table names where used. In the version 2, object names where used. Looks like the schema defines version 2, but SBO is using version 2.
    I will check if I can found where I did read that. Try speaking with someone in SAP and about XML versions, perhaps they could help you with this info.
    Hope helps,
    Ibai Peñ

  • Business Object linked to application document

    hi All,
    Is there any standard tcode or way to find out a given business object is linked to what all application documents?
    Like for example i would like to know BO FIPP is linked or can be used for what all documents or tcodes??
    How can find out??
    Thanks in advance.
    Regards,
    Raj

    Hello Raj,
    this is indeed a sad thing, not having a control table that links transaction codes to objects or classes. The GOS-Integration (Generic Object Services) are implemented within each transaction and usually the business object types used there are hard coded.
    You can have a look at the where-used-list of ABAP class CL_GOS_MANAGER. You'll find an example here, include LMEORF1M at form routine  bus2053_object_publish.  There  you'll see the common way of how objects are used/published.
    Furthermore, the event creation/handling is also usually hard coded.
    Not all transactions that make use of business objects, also use the GOS. So you'll always get a part of this.
    You can also have a look at the where-used-list of Business Object Interface IFGOS.
    Best wishes
       Florin

  • Create a Business Object and add to transaction MASS

    Hi folks, I would like to know if it's possible to create a business object for 2 tables and use this with standard transaction MASS for mass maintenance.
    I want to use transaction MASS for mass maintenance on the foreign trade data, 2 table will be available eikp and eipo. I think I will have to create a business object, first it is possible and how will I setup all this,
    thanks

    Hi,
    Check this link.
    http://www.erpgenie.com/abap/bapi/example.htm
    aRs

  • Generic Object Services using Web Dynpro

    I am using Web Dynpro for ABAP and would like to access Generic Object Services (GOS) to view attachments to an SAP Business Object.  Using the cl_gos* classes does not work when running WebDynpro as it uses the controls framework. 
    How can I access the functionality of GOS from a Web Dynpro application?
    Regards,
    Bob

    Hi,
    I assume that you wantted to have the attachements in a mail.
    Please check out the Adobe Forms(ie PDF attachements) and Office Control UI elements in WDA.
    Regards
    Lekha

  • Create interface on Business Object BUS2052

    Hi Experts,
    I need to create IFACRCH21 Interface into BUS2052 Business Object for use Archivelink.
    I need that appear the "Store Business Document" option into create on GOS bottom selector into ME31K transaction.
    Can i create this interface for any process?? Or i only can create this interface register the object.
    Too much thanks.
    Best Regards.
    Edited by: Alberto Ruiz on Nov 5, 2008 4:18 PM

    Hi RS,
    hope you have delegated your ZBUS2096 to proper supertype,
    when you created the method, hope you have released component at the sub-object (that is method) first and then object level,
    after which hope you have clicked the generate icon for your BOR.
    Hope it helps.
    Aditya

  • Business ByDesign UI: find Business Objects and UI definitions involved

    Hello,
    I am new to SAP Business ByDesign sdk development. The most difficult part is to identify the right Standard SAP Business Objects and use them the right way.
    As I understood from another sdk developer, he has seen on an SAP sdk training that there exists functionality to see/determine in the ByDesign UI the Business Objects and UI definitions involved in a specific UI.
    In a test tennant for a customer this functionality is unavailable.
    - is this functionality released for customer use?
    - how can I activate this functionality myself?
    - what are the prerequisites to be able to use this functionality?
    thank you for your answers in advance,
    Roelof Jan Bouwknegt

    Hi Alexandre,
    have a look at the Web Dynpro component WDR_TEST_EVENTS, view BG_SIMPLE_IN_MPANE, method WDDOMODIFYVIEW.
    Here is a snippet for setting additional customizing or data for a business graphics view-element. Call this from method WDDOMODIFYVIEW.
    DATA lr_bg TYPE REF TO cl_wd_business_graphics.
    DATA lr_bg_method_handler TYPE REF TO if_wd_busin_graphics_mtd_hndl.
    DATA lr_add_cust_xml TYPE REF TO if_ixml_document.
    lr_bg ?= ir_view->get_element(  <your viewid of business graphic>  ).
    lr_bg_method_handler ?= lr_bg->_method_handler.
    lr_add_cust_xml =  get_<your additional customizing/data>.
    lr_bg_method_handler->add_direct_customizing(
    i_customizing = lr_add_cust_xml
    Kind regards,
    Silke

Maybe you are looking for

  • Adobe InDesign often crashed

    Hello, Issues with Indesign CS6 crashing 3-4weeks after fresh install. Version: 8.0.2 ran all the update in adobe/indesign, even fresh install of Windows a few time. System Information: Windows 7 Enterprise 64bit 6GB RAM CPU i5 3.20GHz Pulled the cra

  • Strange Problem - All of my preloaded .swf files play at once

    Hey guys,   I've been getting a strange problem that I haven't been able to debug.  I recently developed an interactive audio and video treatment program that users click through in which a master swf file (DTM-Start.swf) uses ActionScript upon first

  • Can't sign in to start IMAC.

    While in a web site mouse would not react to "click" so I couldn't navigate site. The curser moved as I moved cordless mouse. I just couldn't click on anything. I shut down and when starting again the mouse curser still moves however I can't click on

  • Address book photo in Mail

    Is there anyway to remove the Address Book photo when printing a Mail message? I print some of my stuff to pdf and would rather not have the photo printed as well. Thanks. iMac G5 20    

  • Differnce between jre and container

    This may be a silly question, but i want to know what is the difference between jre and a container?