Dynamically create document type Item Attribute using WF_ENGINE.AddItem API

Hi
Is WF_ENGINE.AddItem API , supported to create document type Item attributes dynamically ? If yes how do we set the display name of the attribute. If no then is there is any other method to dynamically create document tyoe item attribute?
Thanks

Hi,
If the document is stored on a file system, then I would replace the message body with a PL/SQL document which includes links to the files as straightforward URLs. There would be no need to include them in the Workflow in any way. For example, I recently worked with a client where all the (file) attachments made within eBusiness Suite were then migrated into Oracle Universal Content Management and the attachment was replaced with a URL to the new document. Any notifications now just reference the URL link to the document within the document management system in an HTML notification. While the processing is going on, the user is given the list of files that exist as attachments, but no links because the document is being processed by the management system.
If the attachments are going to be stored in Workflow as documents, you won't be able to change the display name though - display name is set for the attribute on the message, not for each specific notification. Changing the value of the display name for the message would impact all notifications that use that message, which isn't what you want.
What you need is to dynamically build the notification (either using PL/SQL or OA Framework) and include a list of attachments in the notification. This may be a direct link to the document (either in a document management system or on a file system somewhere) that you can render as a URL, or a link to code that can retrieve the document from the database and serve that to the user. This is not a straightforward piece of work.
If this is purely internal, you might be better off having a custom form / screen which displays the different documents, and link to that from the notification. Or you could link to a standard form for the transaction and have the users pick up the attachments directly from the transaction.
HTH,
Matt
WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
Have you read the blog at http://www.workflowfaq.com/blog ?
WorkflowFAQ support forum: http://forum.workflowfaq.com

Similar Messages

  • How to create document type ?

    Hi experts
    We need assign document type to mateiral in material master. So we need create new document type background. How to create it ? Does it just copy one doc type from spro-> cross application componets-> document management-> define document type?  It seems it will also copy the following screen setup .... but dont' know anything else need be setup ?
    Thanks
    Alice

    Hi Alice,
    You have create document type from
    spro-> cross application componets-> document management-> define document type
    There are already standard document types available. You ca use that or copy and create new types and assign it on the material master.
    Thanks and regards
    Murugesan

  • Create document number range 22 using internal number assignment

    Hi friends,
    now i am working upgradation project from 4.7 to 6.0. sandbox i created one Asset, After that i posed amount to that asset by using f-90.now i run depreceation in ABAF T code the bellow issue is comming
    Create document number range 22 using internal number assignment
         Message no. AA776
    Diagnosis
         Processing terminated because the document number range 22 for year 2011
         was set up with external number assignment.
    System Response
         For periodic posting of depreciation, you have to create a document
         number range with internal number assignment, since the document numbers
         are assigned from Financial Accounting.
    Procedure
         Change the number assignment for the number range 22 from external to
         internal in Customizing for Asset Accounting. See SAP Note 890976 for
         more information.
    But no ranges for that particular year having, if any changing that one it s not come edit or deleating
    ple any one help me
    Regards
    Gangadhar reddy

    Hi Gangadhar,
    after 4.6C the Internal Number Range was changed into external Number Range due to technical requirements.                                                                               
    As the error messages due to posting manual into the affected  number ranges could not be hindered in this case with ERP2005 the desicion was made to rechange to internal number range. Note 890976 describe what to do here.                             
    regards Bernhard

  • Create document number range 03 using internal number assignment in AFAB

    Hi Experts,
    Where i have to create number range to Depreciation Posting ? Please mentain Transaction code .
    I had check T Code:AS08 (No Tick is assign)  & FBN1 (Intrenal Tick is assign)
    I am doing T Code AFAB
    Folowing error coming
    Create document number range 03 using internal number assignment
    Message no. AA776
    Diagnosis
    Processing terminated because the document number range 03 for year 2011 was set up with external number assignment.
    System Response
    For periodic posting of depreciation, you have to create a document number range with internal number assignment, since the document numbers are assigned from Financial Accounting.
    Procedure
    Change the number assignment for the number range 03 from external to internal in Customizing for Asset Accounting. See SAP Note 890976 for more information.
    Waiting for reply
    Regards,
    Girish

    locked.  please read the error message and search the IMG (very easy).

  • How to dynamically create a treeview in sharepoint using javascript or jquery

    How to dynamically create a treeview in sharepoint using javascript that displays spsites ,spweb,splist

    Hi,
    In SharePoint 2010, we can customize web service and use Server Object Model to get all the SharePoint sites, webs and lists, then call the web service using jQuery and using the jQuery Treeview plugin to display the data.
    The following articles for your reference:
    Walkthrough: Creating a Custom ASP.NET Web Service
    https://msdn.microsoft.com/en-us/library/office/ms464040%28v=office.14%29.aspx?f=255&MSPPError=-2147217396
    Using Jquery to call an ASMX service in sharepoint 2010
    http://stackoverflow.com/questions/9035539/using-jquery-to-call-an-asmx-service-in-sharepoint-2010
    jQuery-ui Treeview
    https://plugins.jquery.com/btechcotree/
    Best Regards,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to print a document in reverse order using Java Print API ?

    I need to print a document in reverse order using Java Print API (*Reverse Order Printing*)
    Does Java Print API supports reverse order printing ?
    Thnks.,

    deepak_c3 wrote:
    Thanks for the info.,
    where should the page number n-1-i be returned ?
    Which method implementation of Pageable interface should return the page number ?w.r.t. your first question: don't return that number but return page n-1-i when page i is requested; your document will be printed in reverse order. Your class should implement the entire interface and wrap the original Pageable. (for that number n your class can consult the wrapped interface; read the API for the Pageable interface).
    kind regards,
    Jos

  • How to add a table (dynamic created) into a model attribute

    i have dynamically created an internal table. Generally i use model-binding in a stateful MVC-Application.
    Is there a possibiltity to transfer the dynamic table to a model. As far as i know generic attributes are not allowed in the modell class.
    Every hint welcome
    thx in advance

    By some miracle I do have this finally working.  I will warn you up front that the code is not the cleanest (I have stuff copied in from all over the place.  I probably have lots of unused variable references - but I am running out of time to clean it up further).  Also I don't have all the logic to support all your different possible dynamic structure types.  I always use SFLIGHT as my dyanmic structure.  Therefore you will have to adapt the coding to lookup the actual structure type in use.
    So I have a model that has an structure ITAB type ref to data.  In my Model initialization I go ahead and dynamically redfine this to my specific type:
    METHOD init.
      SELECT SINGLE * FROM sflight INTO CORRESPONDING FIELDS OF isflight.
      DATA: struct_type TYPE REF TO cl_abap_structdescr,
        tabletype TYPE REF TO cl_abap_tabledescr.
      struct_type ?= cl_abap_structdescr=>describe_by_name( 'SFLIGHT' ).
      CREATE DATA me->itab TYPE HANDLE struct_type.
    ENDMETHOD.
    Then in my View I have the following:
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <%@extension name="phtmlb" prefix="phtmlb" %>
    <%@extension name="bsp" prefix="bsp" %>
    <htmlb:content design="design2003" >
      <htmlb:page title=" " >
        <htmlb:form>
          <phtmlb:matrix width="100%" >
            <%
      field-symbols: <wa> type any.
      assign model->itab->* to <wa>.
    *  append initial line to <wa_itab> assigning <Wa>.
      data: descriptor type ref to CL_ABAP_STRUCTDESCR.
      descriptor ?= CL_ABAP_STRUCTDESCR=>describe_by_data( <wa> ).
      data: flddescr type DDFIELDS.
      flddescr = descriptor->GET_DDIC_FIELD_LIST( ).
      field-symbols: <wa_field> like line of flddescr.
      data: label type ref to cl_htmlb_label.
      data: input type ref to CL_HTMLB_INPUTFIELD.
      data: binding_string type string.
      "Loop through each field in the structure Definition
      loop at flddescr assigning <Wa_field>.
      clear label.
      clear input.
      concatenate '//model/itab.'
      <wa_field>-FIELDNAME
      into binding_string.
      label ?= cl_htmlb_label=>factory( _for = binding_string ).
      input ?= cl_htmlb_inputfield=>factory( _value = binding_string ).
            %>
            <phtmlb:matrixCell row    = "+1"
                               vAlign = "TOP" />
            <bsp:bee bee="<%= label %>" />
            <phtmlb:matrixCell col    = "+1"
                               vAlign = "TOP" />
            <bsp:bee bee="<%= input %>" />
            <%
      endloop.
            %>
          </phtmlb:matrix>
         <htmlb:button  id="Test" onClick="Test" text="Submit"/>
        </htmlb:form>
      </htmlb:page>
    The key to making this work are custom getter/setters.  In your model class, you can copy from the template methods (Like GETM_S_XYZ for the metadata structure method).  Copy them and remove the _ on the front of the name.  Then change XYZ to the name of the attribute you are binding for.  The following are my custom methods. 
    method get_m_s_itab .
    * uses ****************************************************************
    * data ****************************************************************
    * code ****************************************************************
    * method is supposed to return either info about a specific component
    * of a structure (component is not initial -> return ref to
    * if_bsp_metadata_simple) or the complete structure
    * (component is initial -> return ref to if_bsp_metadata_struct)
      data: l_attribute_ref type ref to data,
               l_attr_ref  type ref to data,
               l_exception     type ref to cx_root,
               l_ex            type ref to cx_sy_conversion_error,
               l_ex_bsp        type ref to cx_bsp_conversion_exception,
               l_ex2           type ref to cx_bsp_t100_exception,
               l_type          type i,
               l_index         type i,
               l_name          type string,
               l_component     type string,
               l_getter        type string.
      data: l_field_ref     type ref to data,
            l_dfies_wa      type dfies,
            rtti            type ref to cl_abap_elemdescr.
      data: crap type string,
              rest type string,
              t_index(10) type c.
      split attribute_path at '[' into crap rest.
      split rest           at ']' into t_index crap.
    ****Dummy Object to avoid dumps
      create object metadata type cl_bsp_metadata_simple
        exporting info = l_dfies_wa.
      call method if_bsp_model_util~disassemble_path
        exporting
          path      = attribute_path
        importing
          name      = l_name
          index     = l_index
          component = l_component
          type      = l_type.
      data: l_dataref type string.
    ****Dynamically determine your actual structure - for this demo
    ****I just hardcode SFLIGHT
      concatenate 'SFLIGHT-' l_component into l_dataref.
      data: field type ref to data.
    ****Create a data object of the specified type
      try.
          create data field type (l_dataref).
        catch cx_sy_create_data_error.
          exit.
      endtry.
      rtti ?= cl_abap_typedescr=>describe_by_data_ref( field ).
      l_dfies_wa = rtti->get_ddic_field( ).
      clear metadata.
      create object metadata type cl_bsp_metadata_simple
        exporting info = l_dfies_wa.
    endmethod.
    method get_s_itab .
    * uses ****************************************************************
    * data ****************************************************************
    * code ****************************************************************
    * get the given value of the component of the struct, e.g.
    *  field-symbols: <l_comp> type any.
    *  assign component component of structure XYZ to <l_comp>.
    *  value = <l_comp>.
      data: l_attr_ref  type ref to data,
              l_field_ref type ref to data.
      data: l_attribute_ref type ref to data,
            l_exception     type ref to cx_root,
            l_ex            type ref to cx_sy_conversion_error,
            l_ex2           type ref to cx_bsp_t100_exception,
            l_type          type i,
            l_index         type i,
            l_name          type string,
            l_component     type string,
            l_getter        type string,
            rtti            type ref to cl_abap_elemdescr.
      field-symbols: <o_data> type any,
                     <n_data> type any.
    *Test
    call method if_bsp_model_util~disassemble_path
        exporting
          path      = attribute_path
        importing
          name      = l_name
          index     = l_index
          component = l_component
          type      = l_type.
    * get a field reference for the assignment
      field-symbols: <wa> type any,
                     <l_comp> type any.
      assign me->itab->* to <wa>.
      assign component l_component of structure <wa> to <l_comp>.
      get reference of <l_comp> into l_field_ref.
    ****Dynamically determine your actual structure - for this demo
    ****I just hardcode SFLIGHT
      data: l_dataref type string.
      concatenate 'SFLIGHT-' l_component into l_dataref.
      data: field type ref to data.
    ****Create a data object of the specified type
      try.
          create data field type (l_dataref).
        catch cx_sy_create_data_error.
          exit.
      endtry.
      assign l_field_ref->* to <o_data>.
      assign field->*       to <n_data>.
      move <o_data> to <n_data>.
    * call conversion routine
      try.
          value = if_bsp_model_util~convert_to_string(
            data_ref           = field
            attribute_path     = attribute_path
            no_conversion_exit = 0 ).
        catch cx_sy_conversion_error into l_ex.
          me->errors->add_message_from_exception(
              condition = attribute_path
              exception = l_ex
              dummy     = value ).
        catch cx_bsp_t100_exception into l_ex2.
          me->errors->add_message_from_t100(
            condition = attribute_path
            msgid     = l_ex2->msgid
            msgno     = l_ex2->msgno
            msgty     = l_ex2->msgty
            p1        = l_ex2->msgv1
            p2        = l_ex2->msgv2
            p3        = l_ex2->msgv3
            p4        = l_ex2->msgv4
            dummy     = value ).
      endtry.
    endmethod.
    method set_s_itab .
    * uses ****************************************************************
    * data ****************************************************************
    * code ****************************************************************
    * assign the given value to the component of the struct, e.g.
    *  field-symbols: <l_comp> type any.
    *  assign component component of structure XYZ to <l_comp>.
    *  <l_comp> = value.
      data: l_attr_ref  type ref to data,
               l_field_ref type ref to data.
      data: l_attribute_ref type ref to data,
            l_exception     type ref to cx_root,
            l_ex            type ref to cx_sy_conversion_error,
            l_ex_bsp        type ref to cx_bsp_conversion_exception,
            l_ex2           type ref to cx_bsp_t100_exception,
            l_type          type i,
            l_index         type i,
            l_name          type string,
            l_component     type string,
            l_getter        type string,
            rtti            type ref to cl_abap_elemdescr.
      field-symbols: <o_data> type any,
                     <n_data> type any.
    *Test
      call method if_bsp_model_util~disassemble_path
        exporting
          path      = attribute_path
        importing
          name      = l_name
          index     = l_index
          component = l_component
          type      = l_type.
    * get a field reference for the assignment
      field-symbols: <wa> type any,
                     <l_comp> type any.
      assign me->itab->* to <wa>.
      assign component l_component of structure <wa> to <l_comp>.
      get reference of <l_comp> into l_field_ref.
    ****Dynamically determine your actual structure - for this demo
    ****I just hardcode SFLIGHT
      data: l_dataref type string.
      concatenate 'SFLIGHT-' l_component into l_dataref.
      data: field type ref to data.
    ****Create a data object of the specified type
      try.
          create data field type (l_dataref).
        catch cx_sy_create_data_error.
          exit.
      endtry.
      assign field->*       to <n_data>.
      move <l_comp> to <n_data>.
    * call conversion routine
      try.
          if_bsp_model_util~convert_from_string(
                               data_ref           = field
                               value              = value
                               attribute_path     = attribute_path
                               use_bsp_exceptions = abap_true
                               no_conversion_exit = 0 ).
        catch cx_sy_conversion_error into l_ex.
          me->errors->add_message_from_exception(
              condition = attribute_path
              exception = l_ex
              dummy     = value ).
        catch cx_bsp_conversion_exception into l_ex_bsp.
          me->errors->add_message_from_exception(
              condition = attribute_path
              exception = l_ex_bsp
              dummy     = value ).
        catch cx_bsp_t100_exception into l_ex2.
          me->errors->add_message_from_t100(
            condition = attribute_path
            msgid     = l_ex2->msgid
            msgno     = l_ex2->msgno
            msgty     = l_ex2->msgty
            p1        = l_ex2->msgv1
            p2        = l_ex2->msgv2
            p3        = l_ex2->msgv3
            p4        = l_ex2->msgv4
            dummy     = value ).
      endtry.
      if <n_data> is initial.
        clear <l_comp>.
      else.
        move <n_data> to <l_comp>.
      endif.
    endmethod.
    I know that is a LOT of nasty code without too much explanation.  I'm afriad there isn't time right now to expand on how it works too much.  Between my day job and trying to finish the BSP book, there just isn't much time left.  Like I said before there is a very large section in the book on this topic that hopefully explains it.  The book will be out in December or early January - but perhaps I will get some time before then to write up something on SDN about this.

  • Re: Creating document types

    Hello,
    Can you post a snipet from the code that you are using?
    Regards,
    Shane
    In article <R_ZIc.1560$[email protected]>,
    [email protected] says...
    > I've got a GW 5.x postoffice in a lab enviroment for testing. One thing I
    > have to do is create some GW documents using the 5.x client. The client
    > refuses, saying "invalid entry" for the document type (which is set to
    > "Document", and says I have to pick a type from the list. But there is
    > nothing in the list. How do I go about putting some entries in the list?
    > Or is this some other problem?
    >
    >
    >

    Hi...
    I've written down my suggestions here because the support can't help me farther.
    The B1 Support told me that here are members of the Solution Management team in the Forum (View SAP Support Number 1028874 - Missing Functionality / Product Development Collaboration). But - none of my "wishes" have been answered.
    Whats wrong here?
    A simple thing like "Will come in the next Patch" or "Is not manageable" will be enough for me.
    It's essential for our customers to get these functions or know when it will be implemented!
    Thanks!

  • Dynamically create a type

    Hi,
    is it possible to create dynamically a type ? I take a look on class CL_ABAP_TYPEDESCR but i can't create a new type, so is there a solution ?
    Cheers

    With all due respect to all, I think he means to create dynamic data types by means of RTTS.
    @ ToraTora
    Like this
    "example table
    DATA: BEGIN OF it OCCURS 3,
            pernr TYPE persno,
            kostl TYPE kostl,
            endda TYPE endda,
          END OF it.
    "data references
    DATA: r_type_struct TYPE REF TO cl_abap_structdescr,
          r_type_table  TYPE REF TO cl_abap_tabledescr,
          r_data_tab    TYPE REF TO data,
          r_data_str    TYPE REF TO data.
    " 1. ------------- filling example table IT
    it-pernr = '12345678'.
    it-kostl = '0112345678'.
    it-endda = sy-datum.
    APPEND it.
    it-pernr = '45678909'.
    it-kostl = '3452345678'.
    it-endda = sy-datum - 1.
    APPEND it.
    " 2. ------------ components structure type
    gs_comp-name = 'PERNR'.
    gs_comp-type ?= cl_abap_elemdescr=>describe_by_name( 'PERSNO' ).
    APPEND gs_comp TO gt_comp.
    gs_comp-name = 'KOSTL'.
    gs_comp-type ?= cl_abap_elemdescr=>describe_by_name( 'KOSTL' ).
    APPEND gs_comp TO gt_comp.
    gs_comp-name = 'BEGDA'.
    gs_comp-type ?= cl_abap_elemdescr=>describe_by_name( 'BEGDA' ).
    APPEND gs_comp TO gt_comp.
    " 3. ------------- create structure type
    TRY.
        r_type_struct = cl_abap_structdescr=>create(
                                  p_components = gt_comp ).
      CATCH cx_sy_struct_creation .
    ENDTRY.
    " 4. ------------- create table type
    TRY.
        r_type_table = cl_abap_tabledescr=>create( r_type_struct ).
      CATCH cx_sy_table_creation .
    ENDTRY.
    " 5. -------------- create table based on RTTS types
    CREATE DATA: r_data_tab TYPE HANDLE r_type_table,
                 r_data_str TYPE HANDLE r_type_struct.
    FIELD-SYMBOLS: <fs_table> TYPE INDEX TABLE,
                   <fs_wa>    TYPE ANY.
    ASSIGN: r_data_tab->* TO <fs_table>,
            r_data_str->* TO <fs_wa>.
    You can also create any component you want without knowledge about data element it is refering to (without using methods describe_by_name or describe_by_data ).
    So the 2nd step could be replaced with
    gs_comp-name = 'PERNR'.
    gs_comp-type ?= cl_abap_datadescr=>get_n( 8 ).   "PERNR if of type N(8)
    APPEND gs_comp TO gt_comp.
    gs_comp-name = 'KOSTL'.
    gs_comp-type ?= cl_abap_elemdescr=>get_c( 10 ).  "C(10)
    APPEND gs_comp TO gt_comp.
    gs_comp-name = 'BEGDA'.
    gs_comp-type ?= cl_abap_elemdescr=>get_d( ).   "D
    APPEND gs_comp TO gt_comp.
    Regards
    Marcin

  • CA11 Create Document type PRT for Operation

    Hello,
    We're in an ECC 5.0 system, needing to load Reference Operation sets.  One of the requirements is to select an operation from the operation overview screen, select the PRT button and select Document from the popup.  My problem is that a recording doesn't allow me to select a line from the table control (OK_CODE POSI is not recognized), and selecting the PRT button requires that one of the rows be selected. I looked at the direct input program RCPTRA02 briefly, but didn't see how a document type PRT would be created.
    Thanks in advance for your help,
    Ted

    Found it in RCPTRA02, record type 11 by dumping an existing object.

  • To create document type related number range

    Dear Experts,
    I want to maintain number range document typewise say ABC, XYZ, LMN.
    For these document type i want to maintain internal numcer range.
    Please suggest.
    Thanks

    Dear all,
    Go to SAP customizing implementation guide--> cross application component->  Document management--> control data--
    .> Define ducument type.
    Select document type for which internal number range has to be assigned and click on Details
    nuber range assignment should be  '1'
    Then select the Internal number range for which your are going to assign  say 04/05/06/08  etc
    Then come back
    Go to SAP customizing implementation guide--> cross application component->  Document management--> control data--> Define number range for document number
    here for assinged number maintain required number range.
    Thanks

  • How to create relationship between two records using MDM Java APIs

    Hi,
    I am trying to create relationship between two records using Java Apis. Please guide me in doing this.
    Regards,
    Niraj

    Hi Niraj,
    There is ModifyRelationshipsCommand:
    http://help.sap.com/javadocs/MDM/SP06/com/sap/mdm/data/commands/ModifyRelationshipsCommand.html
    Retrieve Relationship command:
    http://help.sap.com/javadocs/MDM/current/com/sap/mdm/schema/commands/GetRelationshipListCommand.html
    Also, please refer similar thread, MDM Java API and relationships.
    Hope it helps..
    Regards,
    Mandeep Saini

  • Merging any type of documents into existing PDF using Adobe Java APIs

    We know that latest Adobe Acrobat tool can convert any type
    of documents into PDF. We need the same functionality to be built
    in into our java code by using Adobe's Java APIs. I am sure that
    Adobe has some readily available Java APIs to handle such
    requirements.
    FYI: We don't want Adobe's tool to handle this and we want
    Adobe's available Java API to handle this merging functionality
    programatically. We are ready to pay for it.
    Thanks,
    Ashok Hottin

    I'm not 100 percent sure but I'm afraid the way you want to use this Web-service is far from what SAP/Adobe thought it should be used. Take a look at SAP Library [here |http://help.sap.com/saphelp_nw70/helpdata/EN/f2/21021b911f4c0cae11459a4ce0bc62/frameset.htm] and [here|http://help.sap.com/saphelp_nw70/helpdata/EN/8d/1cbf69fff9454ca9c5de84182e4bfb/frameset.htm]. This solutions relies on previously created PDF Form Template - that means, e.g. tables are not rendered as if being printed with any number of columns and rows, but components of data tables coming from SAP are injected in rows/columns of the form where they were planned to be during template design.
    Additionally I think your idea of such usage of Adobe Document Services is not covered with software license you have as SAP customer/partner. Once again, I'm not 100% sure about it.
    Still, my opinion is that you won't succeed in it anyway due to the logic of the solution.
    Special PDF manipulation components will do the job better and easier, and nearly of them have demo/trial versions. So, if you ask me, don't waste your time and check special components.

  • Create document with Compound Attributes

    Hi, does anyone can solve my problem
    I have created a customer parser to parse my customised document say "XXX.PO". I followed the instruction in the developer guide (create customised parser). Everything is fine except the compound attributes, i don't know how to handle the compound attributes in java code. the following is my document definition.
    //po detail
    <?xml version = '1.0' standalone = 'yes'?>
    <ClassObject>
    <Name>PoDetail</Name>
    <Description>Po attribute definition</Description>
    <Superclass Reftype = "name">ApplicationObject</Superclass>
    <Attributes>
    <Attribute>
    <Name>TagName</Name>
    <DataType>String</DataType>
    <DataLength>80</DataLength>
    </Attribute>
    <Attribute>
    <Name>TagValue</Name>
    <DataType>String</DataType>
    <DataLength>4000</DataLength>
    </Attribute>
    </Attributes>
    </ClassObject>
    //class domain
    <?xml version="1.0" standalone="yes"?>
    <ClassDomain>
    <Name>DocumentDetailDomain</Name>
    <DomainType>1</DomainType>
    <Classes>
    <ArrayElement reftype="name">PoDetail</ArrayElement>
    </Classes>
    </ClassDomain>
    //Document definitaion
    <?xml version= '1.0' standalone = 'yes' ?>
    <ClassObject>
    <Name>PoDocument</Name>
    <Description>PoDocument </Description>
    <Superclass Reftype = "name">Document</Superclass>
    <Attributes>
    <Attribute>
    <Name>PoNumber</Name>
    <DataType>String</DataType>
    <DataLength>50</DataLength>
    </Attribute>
    <Attribute>
    <Name>ItemDetail</Name>
    <DataType>PublicObject</DataType>
    <ClassDomain RefType="name">DocumentDetailDomain</ClassDomain>
    </Attribute>
    </Attributes>
    </ClassObject>
    Does anyone can show me how to handle compound attributes
    Many thanks
    Ernest
    null

    Dear Dmitry Rassakhatsky
    Can you please elaborate what you are trying to achive using BAPI_DOCUMENT_CREATE02  and SAP XI.
    We would be in better position to suggest solution.
    Also most of us will not be able to understand Technical ABAP so request you to provide detail scenario.
    With Warm Regards
    Mangesh Pande

  • Creating object type no attributes... how???

    Hi I need to creating any object type has no attribute, its possibily?
    I need that only send to java class.
    example:
    create type t1 as object();
    Oracle exception!!!! please help me, thanks

    No attributes and no methods? You're talking about "incomplete types" in that case (at least in 10g).
    A quote:
    "An incomplete type is a type created by a forward type definition. It is called "incomplete" because it has a name but no attributes or methods. It can be referenced by other types, and so can be used to define types that refer to each other. However, you must fully specify the type before you can use it to create a table or an object column or a column of a nested table type."
    If it fits your requirement, look here:
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_8001.htm#SQLRF01506
    Boa sorte.
    PS: It talks there about "SQLJ object type" but I never used them so I cannot comment. Check that out too.

Maybe you are looking for