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

Similar Messages

  • 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.

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • Business objects and event type linkages...

    Hi Experts,
    Im a bit confused with business objects (swo1) and event type linkages(swetypv). Ive learned that business objects are used to trigger events and so how does event type linkages related to business object? Do I need to create business object or should I just search/look for the appropriate object needed?Please kindly explain to me the process or steps in using business object and event type linkages in related with idocs.

    Hi,
    Business objects neednot have to be created if your are fine with the standard method they have used in or the events yre available for you. If you need to cusomize it then you have to copy it to a subtype. Then do your modifications in it. Event type linkages are used to say which event is active for a Workflow. And if you want to trigger a Workflow based on certain conditions then you have to use either this or Start of Condition. The Error handling of workflow is also handled by Event Type Linkage. So whenvever you create a event linkage for a workflow you get an entry in Event Type Linkage.
    Hope this would have thrown some light on you.
    Thanks,
    Prashanth

  • Link Between Business Object and Transaction

    <b>How is Business Object linked to transactions?</b>
    For example, how is business object BUS2032 (Sales order) linked to transaction VA01 (Create sales order)?

    Hi Ben,
    I'm not sure that you link a business object and a transaction code explicitly. Normally in the business objects methods you have coded what transaction code should be called. Therefore if you use the methods of the business objects it then knows what transaction to call.
    Conversely on the workflow side you will find that down in the depths of the coding for VA01 (as an example) it calls workflow function modules and raises events. When doing so it provides the business object id and key to the business object (i.e. the sales order number). Indirectly I guess the change documents that are raised for most things in SAP like sales documents are uniquely identified and therefore can also be translated to the business object key (e.g. sales documents will have their own change document type).
    A brief example in my 4.6c system can be found in include LIEDPF4C in the form finsta_kontoauszug_buchen with a call to function SAP_WAPI_CREATE_EVENT. You see the the parameter "object_type" has a variable passed to it "objtype_finsta". If you drill back on objtype_finsta you see that is hardcoded to the value BUS4499.
    I guess you could say the developer of the business object knows what transaction codes the business object should use and the developer of the code in the transaction code knows what business objects he should be raising events for if necessary.
    Hope this helps.
    Regards,
    Michael

  • Predecessors of Business Objects

    Hi,
    when preparing a data transfer by business objects,
    how do I know which business objects belong to a certain
    category? And how can I find out which business
    objects are predecessors?
    Regards,
    b.kim1

    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

Maybe you are looking for

  • SAX Parser Global Variable problem

    Can someone tell me what i am doing wrong. i have a javabean called querybean that i store cdata from an xml file. i also have a map that i want to store this querybean in. when i debug this, i can see the map being populated in my end element event

  • Apple TV resetting

    Since updating to 4.4.3 my Apple TV will reset itself and jump back to the main menu at least 2 or 3 times while streaming a movie from iTunes. Had it just over a year and never had a problem till now. It doesn't have any problems while streaming fro

  • Seriliazed material's movement  to be restricted after 601 mvmt

    Dear Experts, I am facing one problem with the despatches of serialized material,Here after the 601 movement the equipment/serial no status is set to ECUS:DESP. But if somebody wants to change the equipment/serial no status with manual transaction in

  • Adobe production premium windows pc dead would like to use in mac

    My windows based PC died and I would to load production premium in the MAC.  IS there a fee I can pay to get have the windows verson converted to MAC?  I own 3 versions web premium, design premium and production premium but all in windows.  is there

  • Enhancement involving both tec. and fun. thing so refer it once please

    <u><b>as my issue is to gnarate a popup window containing all the output types defined for that delivery and in that a edit mode box where the user can enter a number for refering the no. of outputs required for that output type refer to that deliver