Business object attribute assignment

Hi Al Experts,
We have a transaction in SAP called SWF_BAM where we can trigger a proxy call on the basis of events triuggered.
I created a z BO and i am trying to create the binding between my BO and proxy structure.
Here we can link the BO attributes with proxy structure.
In my proxy structure i have a table type .
Is there any way to create an attribute in Business Objetc of a table type??
Please guide me thanks in advance.

Rick,
Thanks for reply.
It always ask for reference field.
its not working.
actually that table type of proxy structure is appearing as container element and we have business  object attributes comes as container element
we can do it in container element but it is not allowing me to do in business object.
Please tell me any way to do it.
One question
can we achieve this using ABAP class?
Thanks in advance

Similar Messages

  • Problem with Business object attributes in UWL Workitem description

    Hi All,
    I have developed a workflow which sends the workitem for two level approvals. Once the workflow is triggered workitem sent to the respective user for approval. When user opens the workitem in inbox he can see all the data which comes from the 'Z'  Business object in R/3 and he can approve the same. Everything works fine when this process happens in R/3 system.
    The problem comes when user opens this workitem in UWL or this workitem is sent to user mail ID executing  'SWN_SELSEN' report, all the attributes of the business object are displayed in the workitem description  except 2 . These are the Minimum annual salary(GRMIN) and  Maximum annual salary(GRMAX) fields from 'T510N'  table.
    Regards,
    Vaishali.
    Edited by: vaishali rautray on Dec 24, 2008 7:52 AM

    Hi Saumya,
    Thanks for the quick reply.
    For storing the Minimum and maximum annual salary values I have created two attributes in the business object which are referring to database fields. T510N is a customizing table. I could see the values for the same, if I test the Business Object or Trigger the w/f in R/3 and check the approval work item in R/3. These values disappears only in case of web interfacing i.e. If I send the same work item to outlook mail or check it in UWL.
    I had checked the same and thought if there is any problem with BO or some other processing takes place before these values are retrieved. But I wonder why this happens only if I process the work item outside R/3 system?
    Regards,
    Vaishali.

  • DQE - Business Object Attributes not shown

    Hi,
    can anybody please help me in solving the following problem.
    I want to implement drag & relate for my EP 6 (sp13). I connected a sap crm system an imported some business objects from there (DRSPFLI and DRCARR).
    When I now want to check the relations with the relations editor. The autocomplete function doesn't work and even if I want to edit the relation manually I have the problem that no attributes of the selected business objects are shown for selection.
    Something seems to fail at the importing process of my business objects. (Hint: I can see the crm system in the metadata loader)
    Has anyone a idea how to fix this problem?
    thanx a lot
    Christoph Hofmann

    Hi,
    unfortunately this didn't solve it.
    The confusing is, that I see the System in the loaded DQE window at the metadata loader, but the corresponding business objects of this system appear without any parameters.
    I have no idea what else to do!
    christoph

  • Integrating Business Object Attributes and Database attribute

    Newbie using Oracle BPM 11g
    I am trying the following:
    1)Display two process fields from Business Objects (say firstname, last name) and one field which is a dropdown (say branchcode) from database using ADF UI.
    2)Initiator enters the firstname,lastname and then selects a branchcode from the drop down and submits the form.
    3)A Reviewer has to view these three fields selected by the Initiator.
    My question is how do we enable the reviewer to see the branchcode selected by the Initiator(as it is list of values from database and not from a business object)
    Sudip

    Hi,
    unfortunately this didn't solve it.
    The confusing is, that I see the System in the loaded DQE window at the metadata loader, but the corresponding business objects of this system appear without any parameters.
    I have no idea what else to do!
    christoph

  • Value help for business object attribute

    Hi Experts,
    Can some one give me the link to How to Guide: Framework Enhancements cookbook please?
    regards,
    Muralidhar Prasad.Chatna

    Hi,
    This problem can be solved by creating a BO method that makes a call to CRM_ORDER_MAINTAIN.
    Using this FM change the value of the attribute and save the same using CRM_ORDER_SAVE.

  • Instanciation of a business object in ABAP?

    Hello,
    I know that you can call the methods of business objects with BAPIs. But I want to instantiate a business object directly in the ABAP code. Does anybody have a code example for doing this?
    In theory I think that I have first do define a reference variable of the objecttype of the buisness object. Than I have to call the Create-Methode of the business object and assign the returned object to the reference variable. Is this correct?
    Thanks.
    Regards, Lars.

    Lars,
    Some more info to add to what Peter has already explained well.
    If you are going to call a method that has parameters (like a Create method as you mentioned) you would need to create and populate the container as follows.
    swc_container wa_container.
       swc_set_element wa_container 'Element1'  'Value'.
       swc_set_table wa_container 'Element2'  Itab.
    Also make sure you are not calling a dialog method in a background context!
    Cheers,
    Ramki Maley.

  • BAPI for Business Object BUS2013 - PurchSchedAgrmt

    I am trying to develope a LSMW that will create Purchasing Schedule Agreements from legacy system data.  I've searched the Business Object Attributes in LSMW and I don't see BUS2013 as an option... is this because there is no corrisponding IDoc Interface for this BO?  Is it possible to create a data transfer BABI that will work with this BO if one doesn't exist?
    It seems like BAPI_AGREEMENT_MAINTAIN will create a schedule agreement, is this not a data transfer BABI?

    I am using version 4.7, with Web AS 6.2...
    I did look into doing a recording but this is a huge pain, because i need to create purchasing schedule agreements with multiple line items.  The only option then is to create two recording... one recording to create the agreement with the first line item and then do a second recording which adds each additional line item.
    I'll give you some points for your help... i'm going to leave the thread open though in hopes that someone else may have an "out of the box" solution that they have used.

  • Package in ABAP Business Object

    Hi,
    whenever we create a ABAP business object, we assign it to any package even if it is used in our local system.
    Will anybody please tell me the reason?
    Regards,
    anirban

    This forum is dedicated to Busines Objects, a BI company recently acquired by SAP. Please re-post your message in the ABAP forum.
    Cheers,
    Fritz

  • Mandatory check failed for attribute process type of business object

    Hi Guys,
       Im facing an error with the Mandatory check failed for the attribute process type of the business object activity.
    I have the subscription business transaction customizing subscription assigned
    and the transaction types are visible when I create the activity but when I assign the transaction type then the following error is seen

    Hi,
    did you also synchronize the adapter object CRM_DNL_PROCTYP?
    Is the CDB table CDBC_PROC_TYPE properly filled in CDB respectively in your local DB?
    Regards,
    Wolfhard

  • How to Set / change the attribute of Business Object

    Hi all,
    Say I have a Z Business Object -> ZBO
    Inside the BO, I have an attribute -> ZA1
    And one method -> ZM1
    Is there any way in which  i can set / update the attribute ZA1 (for any particular instance) outside the Business Object (I mean without writing any code in the program of the Business object)?
    Thanks,
    Deb

    >
    Debidutta Mohanty wrote:
    > But Inside the class -> Can be assigned or changed -> Using Method -> Correct ?
    >
    > That means, inside the Business Object aslo, we can have one method to assign or change attribute. Is there any Macro to change the attribute ?
    Yes.
    BOR attribuites are a piece of code. You can see this by hilighting an attribute and clicking on the "Program" button. That code returns the attribute value, usually something from a DB table, something calculated, or a private attribute.
    To change what the attribute returns, you need to change the underlying data. How you do it depends on what your attribute code does in first place. This is why we can't give you an exact answer. If your attribute retrieves a value from a table entry then you need to change the table entry. If it is a calculated value then you need to change the data used in the calculation to make your attribute return something else. If it returns a private attribute value then you need to update this via a method.

  • Language attributes for business objects ERC_CDCY

    Hello,
    I need to activate TREX index ERC_CDCY from our e-recruiting system using SES_ADMIN transaction.
    When I activate it, I receive error message UNCAUGHT_EXCEPTION (CX_SY_OPEN_SQL_DB) at the
    relational index level (Relation of candidacy).
    I opened a message with SAPnet and got the following answer:
    Indexes are only created in english compared to others systems that contains indexes in both languages (EN, FR). We could not find any french attributes for business objects ERC_CDCY which is required (at least 7 words) to index it in french language.
    Do you know which transaction or SPRO menu path I could use to maintain de language attributes and the 7 words?
    Thanks for you help
    Hugo

    Hello Huga,
    About maintaining the language in E-Rec  you can have a look at the table
    V_T77RCF_SELANGU, there you can maintain the different language.
    The exception you are getting might be coming from the TREX side. please check the following notes:
    1260684  SQL statement terminates: "Too Complicated SQL
    1249465   TREX 7.1: Installing TREX for Embedded Search
    Best Regards,
    Deepak.

  • Error Workflow not assigned to business object

    Hi Team,
        I am working on CRM 7.0 system
         I have a Z business object ,and I have created a new workflow and called one of the method of the z business object.
    And I am trying to trigger this workflow through a action definition based on status.while creating the action definition with respect to workflow I am getting the error "assigned BOR object type is not used in any workflows"  no F4 values
          I have debugged and found that the entry in the table SWDSCNTIDX is not correct.
    Kindly request you to guide me how to assign workflow to business object or how can I refer the workflow what I have created in action definition.
    Regards,
    Poornima

    Hi,
    You have to go the workflow change container element of that BOR e.g. "BUS2010030" and on tab "properties" check the checkbox "IMPORT" and "MANDATORY".
    Doing the above BOR will be available in the F4 help of actions profile wizard or conditions.

  • How to access Business object type attribute from a method/function modul ?

    Hello,
    i have created a business object type object along with attributes and methods. Now inside the method i want to access the attributes. inside the method i am writing:
    data a type XXX.
    a = me->attribute
    this is creating a compilation error.
    Now the method is defined as a function module in some package, so can anyone inform me how to access object attributes from the function module ?
    pointes are awarded
    Regards

    Hello,
    thanks for your answer, but this too did not work, "=>" is for static attributes and the attributes i have are not static. Moreover, i tried it but it gave the same error :
    the abap error was when i was checking the code is :
    the type me=>documenttype is unknown
    as you know in SWO1 i created an object and when i create a method you link it to a function module and this is where you have the implementation of the method, so from this method how can i access the attributes on the main object that i created in SWO1
    regards

  • BAPI assigned to Business Object

    Hi All,
    Can any one tell me how to find the Business object assigned to a BAPI. for example BAPI_PO_CREATE1 which business is assigned to this BAPI.
    I want to know how to find the Business object.
    Regards,
    Venkat

    Hi,
    You can go inside the transaction called 'BAPI' and in the hierarchial view get inside the module under which the BAPI comes and then get to see the business object which is assigned to the BAPI.
    Hope it helps,
    Thanks,
    Sandeep.

  • Attributes Problem in Business Object

    Hi,
    We had a requirement of creating a new Business Object with a couple of attributes(both Database and Virtual Attributes)
    So, as per the requirement, I created my Business Object with all the required attributes. And I have coded the required Business Logic for my Virtual Attributes.
    Now, I created my Business Object's method's using these attributes(OBJECT-ATTRIBUTE_NAME) in my methods wherever required.
    Finally, I tested the Business Object in SWO1(Business Object Builder), here are my observations...
    1) The Database attributes is getting created properly and I can see the values for the required
    2) The Virtual Attributes are getting created as per the Business Logic and I can see the desired result for this also.
    3) The methods are giving desired results.
    Now, my doubt is, when I trigger one of this Business Object's method from workflow, the attribute values(OBJECT-ATTRIBUTE_VALUE) are not visible inside the method. But if I test the same BO using SWO1, I can see all the Attribute values(OBJECT-KEYFIELDS).
    I can only see the KEY FIELDS of the Business Object in Debug mode, I mean, I can view OBJECT-KEY-KEYFIELD value, but not the OBJECT-ATTRIBUTENAME inside the BO'S method in Debug mode-when triggered from Workflow.
    Well, I am triggering the Workflow using the SWUD transaction and infact I am creating the required Instances in the first screen of SWUD.
    Can anyone make me clear why this is happening?
    Regards,
    <i><b>Raja Sekhar</b></i>

    Hi people,
    Thanks for immediate reply.
    Well, I think I didnt explain my problem clearly...
    Well, here is my clear explanation.
    I created a new Business Object named ZOBJECT say...
    It has 3 key fields...
    PERNR(Employee Number),BEGDA(Start Date) and ENDDA(End Date)
    It has 2 attributes...
    One is a Databsase Attribute - ENAME which gets populated from database PA0001.
    Another is a Virtual Attribute - EMAILID which gets populated from some Business Logic.
    And it has one Event...ZEVENT
    It has one method...
    SENDMAIL - Which sends the email to the EMAILID Attribute.So my coding looks something like this...
    METHOD SENDMAIL.
      DATA : W_FROMEMAIL TYPE PA0105-USRID_LONG,
             W_TOEMAIL TYPE PA0105-USRID_LONG,
             W_SUBJECT(100),
            IT_TEXT TYPE STANDARD TABLE OF SOLI.
      W_FROMEMAIL = '[email protected]'.
      W_TOEMAIL = OBJECT-EMAILID.
      W_SUBJECT = 'Test Mail'.
    Populate the mail content into IT_TEXT Internal table
      call function 'YHSENDEMAIL'
          EXPORTING
            FROMEMAIL = W_FROMEMAIL
            TOEMAIL   = W_TOEMAIL
            SUBJECT   = W_SUBJECT
          TABLES
            IT_TEXT   = IT_TEXT.
    ENDMETHOD.
    So as shown above I designed my Business Object.
    And I tested this Business Object from SWO1(Business Object Builder) Transaction itself. I am able to get the desired result. Everything seems perfect till now.
    Now, I created my workflow with ZOBJECT-ZEVENT as the Start Event.
    I created one Standard Task to send EMail which in turn calls up my ZOBJECT-SENDEMAIL Method.
    So when I called this method, I found that OBJECT-EMAIL inside the method is not populated, ultimately, no mail is going.
    I dont understand why the attribute values are not populated when I call the same method from workflow.
    When I checked the workflow log, I can see my attribute values for the ZOBJECT. But in the Method, I cant access the attribute values as such...But I am able to access the Key fields of the method...
    Can anybody explain me the reason for this behavior?
    I checked the BINDING, Everthing seems perfect from this side...So I dont think it's a binding problem.
    Regards,
    <i><b>Raja Sekhar</b></i>
    Message was edited by: Raja Sekhar

Maybe you are looking for

  • Import standard Purchase Order process and interface tables

    Hi all, We are populating three PO interface tables from our custom developed application. PO_HEADERS_INTERFACE, PO_LINES_INTERFACE and PO_DISTRIBUTIONS_INTERFACE. We are using 11.5.10.2 version of Oracle Apps. Initially we did not manage to populate

  • AE Comps in Premiere

    I've been cutting a project in Premiere with the intention of color-grading the final version in AE. While I go along I'll do the occasional effects shot using "Replace With After Effects Composition" then go back to Premiere and continue cutting. Th

  • When are return values' memory released?

    I have been trying to optimize a particular query and have run out of ideas. In this query I have user defined functions which returns about 1600 results per document. I have tried running it with live values and lazy results from both my Java app an

  • IBook (on iMac) to iBook (on iPad2)

    I just updated my iMac to Mavericks, and my iPad to IOS7.  The iMac no longer has books in iTunes, it has the separate iBooks app.  But I have some  books that I didn't get from the App Store, especially PDF's.  How can I move selected books to the i

  • Mac Mini PPC and Usb wifi dongle?

    So I have a ppc mac mini and I purchased a wifi dongle for it. (not the Belkin one) I have drivers for it that appear to be correct, everything installs fine. However when I go to network to configure the device there is no option to choose usb as a