Appending values to dynamically created fieldsymbol

Hi ,
I have a requirement to append values to dynamically created fieldsymbols
from internal table   .
I am using the following code but it dosnt work
<F4> declared as line of <dyn_table>.
loop at it_tab into wa_tab .( this contain the data to be appended to dyn fieldsymbol)
loop at it_fieldcat into wa_fieldcat. ( this contains the fieldnames )
case wa_final_fieldcat-FIELDNAME.
when 'AAA'.
v_field_name = 'AAA.
when 'BBB'.
v_field_name = 'BBB'.
endcase.
ASSIGN COMPONENT v_field_name of STRUCTURE wa_tab to <F4>.
endloop.
append <f4> to <dyn_table>
********************************************8
But only get one value i.e field BBB  value appended to
<dyn_table>.
is there any way i can do the append to field symbol looping through internal
table ?
thanks
raj

i done it in alv so take the part you need .
1) to create dynamic table  :  CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
also create dynamic fieldcatalog .
2) you can pull data just one time from the DB to dynamic table
so i take the data in regulare it table and in the and i put it
in the dynamic table
hope i help  , if you didnt understand some part  , say so  .
  DATA  : LT_FCAT   TYPE LVC_T_FCAT  ,
         lo_struct TYPE REF TO data,
           LV_STRUC_NAME TYPE TABNAME VALUE 'YMM_ST_TNUOT_MLY'.
REFRESH ls_fcat.
  CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
    EXPORTING
      I_STRUCTURE_NAME       = LV_STRUC_NAME
      I_BYPASSING_BUFFER     = 'X'
    CHANGING
      CT_FIELDCAT            = IT_COLUM_HEADER
    EXCEPTIONS
      INCONSISTENT_INTERFACE = 1
      PROGRAM_ERROR          = 2
      OTHERS                 = 3.
  IF SY-SUBRC <> 0.
   MESSAGE e402(mo) WITH lv_struc_name.
    EXIT.
  ENDIF.
  DATA INDX(3) .
  IF G_COUNETR_NUMBER_OF_KOSTL > 0 .
    DO G_COUNETR_NUMBER_OF_KOSTL TIMES.
      INDX = SY-INDEX.
      SHIFT INDX LEFT DELETING LEADING SPACE.
      CONCATENATE 'KOSTL' INDX INTO LS_FCAT-FIELDNAME.
      LS_FCAT-INTTYPE    = 'I'.
      LS_FCAT-COL_POS =  27 +  SY-INDEX .
      CONCATENATE TEXT-028    INDX INTO LS_FCAT-COLTEXT.
      LS_FCAT-OUTPUTLEN = 10.
      APPEND LS_FCAT TO IT_COLUM_HEADER.
    ENDDO.
  ENDIF.
  CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
    EXPORTING
      IT_FIELDCATALOG           = IT_COLUM_HEADER
    IMPORTING
      EP_TABLE                  = GT_TABLE
    EXCEPTIONS
      GENERATE_SUBPOOL_DIR_FULL = 1
      OTHERS                    = 2.
  ASSIGN GT_TABLE->* TO <DYN_TABLE>.
*--> Arbeitsbereich dynamisch erzeugen
  CREATE DATA LO_STRUCT LIKE LINE OF <DYN_TABLE>.
  ASSIGN LO_STRUCT->* TO <WA>.
  LOOP AT IT_COLUM_HEADER INTO LS_FCAT.
    IF LS_FCAT-FIELDNAME NE 'MANDT'.
      ADD 1 TO LS_FCAT-COL_POS.
      PERFORM TRANSLATE_HEADER.
      MODIFY IT_COLUM_HEADER FROM LS_FCAT.
    ENDIF.
  ENDLOOP.
=============   assigning to dynamic table
DATA  : FIELD(10)   ,
           INDX1(3) .
  DATA: WA_DREF TYPE REF TO DATA.
  DATA :  FS_SUM_GL LIKE LINE OF IT_YMM_ST_TNUOT_MLY.
  CREATE DATA LP_DATA LIKE LINE OF <DYN_TABLE>.
  ASSIGN LP_DATA->* TO <LS_LINE>.
  LOOP AT IT_YMM_ST_TNUOT_MLY.
    MOVE-CORRESPONDING IT_YMM_ST_TNUOT_MLY TO <LS_LINE>.
    INSERT <LS_LINE> INTO TABLE <DYN_TABLE>.
  ENDLOOP  .
  DATA L_COUNTER_ROLL TYPE I .
  LOOP AT <DYN_TABLE> INTO <LS_LINE> .
    MOVE-CORRESPONDING <LS_LINE> TO FS_SUM_GL.
    CLEAR : FIELD , INDX1 , L_COUNTER_ROLL .
    L_COUNTER_ROLL = 1 .
    LOOP AT IT_EKKN  WHERE EBELN = FS_SUM_GL-EBELN.
                    AND   EBELP = FS_SUM_GL-EBELP.
     IF SY-SUBRC  = 0  .
      INDX1 = L_COUNTER_ROLL.
      SHIFT INDX1 LEFT DELETING LEADING SPACE.
      CONCATENATE 'KOSTL'  INDX1 INTO FIELD .
      ASSIGN COMPONENT FIELD  OF STRUCTURE <LS_LINE> TO <FS1>.
      <FS1> = IT_EKKN-KOSTL .
      MODIFY <DYN_TABLE> INDEX SY-TABIX FROM  <LS_LINE> .
      L_COUNTER_ROLL = L_COUNTER_ROLL + 1 .
     ENDIF.
    ENDLOOP .
  ENDLOOP .

Similar Messages

  • Passing values to dynamically created internal table

    Hi,
    I have the flat file data as
    f1,f2,f3........so on
    where f1 f2 and f3 are field names.
    I have a variable var which contains the data
    V1,0001,0002.........so on
    data: var type string.
    The value of field f1 is v1
    The value of field f2 is 0001
    The value of field f3 is 0002.......so on
    FIELD-SYMBOLS:     <fs_1> TYPE STANDARD TABLE
    I have dynamically created an internal table for fields f1  f2 f3 ...... using 
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog           = lt_fieldcatalog
        IMPORTING
          ep_table                  = <fs_data>
        EXCEPTIONS
          generate_subpool_dir_full = 1
          OTHERS                    = 2.
      IF sy-subrc <> 0.
      ENDIF.
    ASSIGN <fs_data>->* TO <fs_1>.
    Now for <fs_1> I have to pass the corresponding values of the fields f1 f2 f3 .
    How can i solve this.
    Thanks and regards ,
    Parvatha Reddy

    Hi,
    There is no data in <fs_1>.
    I need to pass the data form the string var to the fields of <fs_1>..
    I understand that you want to populate the internal table <fs_1>.
    for that you fist need work area.. use below statement to create work area..
    DATA: new_line TYPE REF TO data.
    CREATE DATA new_line LIKE LINE OF <fs_1>.
    ASSIGN new_line->*  TO <fs_2>.
    <fs_2> is not your work aread...
    to assign value to each field of you work aread <fs_2>. use statement
    ASSIGN COMPONENT 1 OF STRUCTURE <fs_2> TO <fs_3>.
    <fs_3> = f1 .
    now <fs_3> will point to the first field of work area <fs_2>, f1 is value from your string .. repeat above for each field in workarea, by increasing the component number. Once your work area is filled
    append it to table.
    append <fs_2> to <fs_1>
    apologies if I am not getting the requiremnt correctly..

  • How to set/get value in dynamically created components?

    I need to create dynamically form based on definition written in database.
    I created an empty panelGreed in my jsf page
    <h:panelGrid columns="2" id="parseg"
    binding="#{ParsegBean.uiKatparam}">
    </h:panelGrid>I can�t use dataTable, because my form contains various component types (SelectOneMenu, OutputText, and InputText).
    In my bean I create components dynamically:
    Private UIPanel uiKatparam = null;
    Iterator componentIt = myComponentList.iterator()
    while(componentIt.hasNext()){
         MyComponent myComponent = (MyComponent)  componentIt.next();
         HtmlOutputText prompt = new HtmlOutputText();
         prompt.setValue(myComponent.getPrompt());
         prompt.setId(myComponent.getPromptId());
         uiKatparam.getChildren().add(prompt);     
         switch (myComponent.type) {
         case 1: //InputText
              HtmlInputText iText = new HtmlInputText();
              iText.setId(myComponent.getId());
              iText.setValue(myComponent.getDefaultValue());
              uiKatparam.getChildren().add(iText);
              break;
         case 2: //SelectOneMenu
              HtmlSelectOneMenu selectOneMenu = new HtmlSelectOneMenu();
    // �
              uiKatparam.getChildren().add(select);
              break;
         default:
              break;
    }When I try to get values in my Action:
    Iterator it = myBean.getUiKatparam().getChildren().iterator();
    while (it.hasNext()) {
    Object ob = it.next();
    if (ob.getClass().getName().matches(".*HtlmInputText")) {
    HtmlInputText t = (HtmlIputText) ob;
         String id = t.getId();
         String value = (String) t.getValue();
    //�
    //�
    }and value is still equal initial value
    How can I get velue entered to my InputText created dynamically?
    Michal

    I solved my problem creating UIData with dynamically added and dynamically rendered components (in each row is rendered another component).

  • Bind checked value of dynamically created checkboxes to node attruibutes

    This is the scenario:
    I need to Create n checkboxes(dynamically) based on the n elements present in a node. The values in the node are populated at runtime. i need to bind a boolean attribute in this node to the check boxes that are created.
    Any help would be highly appreciated.
    Regards,
    Immanuel

    Hi,
    Try the following:
    1. Create a node with 0..n cardinality with the following structure
    NodeElement
    Column1
    Column2
    Column3
    CheckBoxattribute(boolean)
    2. In the view, right-click on the root container>Apply Template>Table
    3. Select the NodeElement and set the CheckBoxAttribute UI as Checkbox
    In this way u can create a Table with checkbox that are loaded as many elements in the Node at run-time
    The checkbox value can be set / get using:
    wdContext().nodeNodeElement().getNodeElementAt(<selectedRow>).get/setCheckBoxattribute(true/false);
    Hope this helps you.
    Regards,
    Poojith MV

  • How to access a dynamic created attribute in a context node?

    <i>Hello,</i>
    <i>who could help? I can't set a value for a dynamically created attribute which is bind to a table.</i>
    <i>My context of the view looks as follow (is defined in NetWeaver):</i>
      - Context
         - Availability (Node)
             - vctxService (Attribute)
             - vctxServiceDesc (Attribute)
             - ... (further predefined attributes)
             - ... (some have to be set dynamically as follows)
    <i>Then I have added attributes dynamically in the wdDoModifyView(...) - method, as follows:</i>
    for (int i = 0; i < max; i++) {
       // some code to dynamically create table columns
       // adding attributes dynamically
       IWDAttributeInfo attrInfo =       wdContext.nodeAvailability().getNodeInfo().      addAttribute("vctxAvailability_" + i, "ddic:com.sap.dictionary.string");
       tv.bindText(attrInfo); // bind to TextView in table
    <i>In the method onPlugFrom... I tried to set the values for the attributes "vctxAvailability_ + i" as follows:</i>
    for (int i = 0; i < max; i++) {
       IAvailabilityElement newAvailNodeElement =     wdContext.createAvailabilityElement();
       // some values will be set for the
       // predefined attributes of AvailabilityNode
       // newAvailNodeElement.set...( value );
       // newAvailNodeElement.setVctxService( xy.getServ() );
       // now the values of dynamically created and added
       // attributes in AvailabilityNode will be added
       // THIS DOESN'T WORK
       newAvailNodeElement.setAttributeValue    ("vctxAvailability_" + i, "value" + i);
    <i>It would be great if someone could help me.
    Thanks in advance.
    Kind regards,
    Carsten</i>

    Carsten,
    Here is a sample code that creates context attributes dynamically and also sets values:
    //Creates a node
    IWDNodeInfo nodeInfo = wdContext.wdGetAPI().getRootNodeInfo().addChild("TestNode", null, true, true, false, true, false, true, null, null, null);
    //If you want to bind the node to a model node then the
    //second argument to the above method should be the
    //model class.
    //Creates an attribute under the node just created.
    IWDAttributeInfo testAttrib = wdContext.wdGetAPI().getRootNodeInfo().getChild("TestNode").addAttribute("testAttrib", "ddic:com.sap.dictionary.string");
    IWDNodeElement testNode = wdContext.getChildNode("TestNode", IWDNode.LEAD_SELECTION).getCurrentElement();
    IWDNode testNode2 = wdContext.getChildNode("TestNode", IWDNode.LEAD_SELECTION);
    //Now you can bind testNode with the Model Node
    //You can also set a value to the newly created attribute
    testNode.setAttributeValue("testAttrib", new String("Value"));
    Hope this helps.
    Shakeel

  • Assigning a 'dynamically created sequence' value to a variable

    in my procedure i am creating a sequence on the fly, i am preparing the name with some passed parameters like below
    v_seq_name := 'seq_'||loadid||v_table_name;
    execute immediate 'CREATE SEQUENCE '||v_seq_name||' MINVALUE 1 MAXVALUE 999999999999999999999999999 START WITH 1 increment by 1 cache 20';
    and now after doing some operations i need to assign the current value of sequence to a number variable i tried following but not working
    1) v_curr_value : = v_seq_name.currval ;
    2) select v_seq_name||'.nextval' into v_curr_value from dual;
    can you please suggest me how i can get the value in plsql block.

    DIVI wrote:
    in my procedure i am creating a sequence on the fly, i am preparing the name with some passed parameters like below
    v_seq_name := 'seq_'||loadid||v_table_name;
    execute immediate 'CREATE SEQUENCE '||v_seq_name||' MINVALUE 1 MAXVALUE 999999999999999999999999999 START WITH 1 increment by 1 cache 20';
    and now after doing some operations i need to assign the current value of sequence to a number variable i tried following but not working
    1) v_curr_value : = v_seq_name.currval ;
    2) select v_seq_name||'.nextval' into v_curr_value from dual;
    can you please suggest me how i can get the value in plsql block.Well, you haven't given the error you are getting but I guess the procedure isn't compiling? You need to execute immediate any reference to the sequence.
    Having said that, your architecture is probably wrong if you are dynamically creating things in a procedure.
    Why do you need to create them dynamically?

  • How to set a value to a dynamically created node/attribute?

    Hi,
    I dynamically created attributes using the following method,
    IWDNodeInfo cbOptions = wdContext.getNodeInfo().addChild("cbOpt"+count, null, true, true, false, false, false, true, null, null, null);
    cbOptions.addAttribute("opt"+critEle.getQuest_Critid(), "ddic:com.sap.dictionary.string");
    How do i assign a  value to it now, since the node/attribute cannot be accessed via wdcontext?
    On a side note, it seems really troublesome if i need to use a checkbox grp(s) dynamically. I actually need to dynamically create a seperate node + attribute for each checkbox grp i have. Is there any better way to do this?
    Thanx in advance

    Hi
    Steps:
    1) Create the  action click is done statically (you cannot create action dyanmically)
    2) binding the  action click to checkbox dynamically 
    code
    public static void wdDoModifyView(IPrivateDynamicProgrammingView wdThis, IPrivateDynamicProgrammingView.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
        //@@begin wdDoModifyView
         if(firstTime){
                      IWDTransparentContainer con=(IWDTransparentContainer)view.getElement("RootUIElementContainer");
              IWDCheckBox checkBox=(IWDCheckBox)view.createElement(IWDCheckBox.class,"ck");
              IWDAction act=wdThis.wdCreateAction(IPrivateDynamicProgrammingView.WDActionEventHandler.CLICK,"");
              checkBox.setOnToggle(act);
              con.addChild(checkBox);
        //@@end
    Thanks and Regards,
    Arun

  • Formatting value in the dynamically created table

    Hi,
    I have created table dynamically.
    In that, if the columns going to be number datatype,
    <af:convertNumber pattern="##########"/> , i want to apply this pattern,
    if the column going to be date,
    <af:convertDateTime pattern="DD/mm/yyyy" /> , i want to apply this pattern.
    Code Snippet for dynamically created UI table,
    <af:table rows="#{bindings.DynamicVO.rangeSize}"
    fetchSize="#{bindings.DynamicVO.rangeSize}"
    emptyText="#{bindings.DynamicVO.viewable ? 'No data to display.' : 'Access Denied.'}"
    var="row" rowBandingInterval="0"
    value="#{bindings.DynamicVO.collectionModel}"
    selectedRowKeys="#{bindings.DynamicVO.collectionModel.selectedRow}"
    selectionListener="#{bindings.DynamicVO.collectionModel.makeCurrent}"
    rowSelection="single" id="t1">
    <af:forEach items="#{bindings.DynamicVOIterator.attributeDefs}" var="def">
    <af:column headerText="#{def.name}" sortable="true" rendered="#{def.hints.displayHint!='Hide'}"
    sortProperty="#{def.name}" id="hisc1">
    <af:outputText value="#{row[def.name]}" id="othis1">
    </af:outputText>
    </af:column>
    </af:forEach>
    </af:table>
    How to apply the pattern for the ouput text dynammically depending on the data type.
    My Jdeveloper version is 11.1.1.3.0
    Reg,
    vini

    Any help on the above scenario?

  • How to synch values of fields (cbo & text) in Master Pages section in dynamically created pages?

    HI folks,
    I have a requirement for a form that has a common master page with a checkbox and text field in it.   The document is basically a table that dynamically adds rows as the user adds entries.   When the first page is full, a second page is dynamically created and the Master page format (including the checkbox & text field) applied to it. 
    When the user sets the checkbox on one page and/or adds text, all of the checkboxes on all of the dynamically created pages (in the master section) and all of the text boxes need to change to show the same values.   
    However, I can't figure out how to address the fields on the other pages.   The number of pages changes from user to user, so I can't address them with a static reference.
    Does anyone know how to keep these fields in synch?
    Thanks in advance!

    It woudl be easier to show than to explain it ...can you share the file? You can send it to [email protected] Include a description of the issue with your email please.
    Paul

  • How get context value form a dynamic created node

    Hi all,
    I have build my own dynamic view. In this view I use also a dynamic created Node. When I have more rows in my Node I see every row with context of the last row of the dynamic Node.
    this is the source I use.
    for (int x = 0; x < dynTabNode.size(); x++)
      dynTabNode.setLeadSelection(x);
      IWDGroup group = (IWDGroup)view.getElement("Group_name");
      IWDAttributeInfo aiName = wdContext.getChildNode("DayNode", IWDNode.LEAD_SELECTION).getNodeInfo().getAttribute("Name");
      IWDCaption name = (IWDCaption) view.createElement(IWDCaption.class, null);
      name.bindText(aiName);
      group.addChild(name);
      for (int i = 8; i < 18; i++)
        int teller = i * 100;
        IWDGroup group1 = (IWDGroup)view.getElement("hour" + teller);
        for (int z = 0; z < 12; z++)
          IWDImage image = (IWDImage) view.createElement(IWDImage.class, "Image" + teller + "_" + x);
          image.setWidth("10");
          image.setHeight("24px");
          image.setBorder(0);
          IWDAttributeInfo att = dynTabNode.getNodeInfo().getAttribute("hour" + teller);
          image.bindSource(att);
          group1.addChild(image);
          teller = teller + 5;
    How can I read my Node row for row?
    Richard
    Edited by: Armin Reichert on Jul 28, 2008 5:03 PM

    The reason is that all these Caption UI elements are bound against the same context attribute. At runtime this will be resolved to the attribute value of the lead-selected node element. In this example you can fix this by not binding the "text" property but setting it to the attribute value of the iterated node element:
    for (int x = 0; x < dynTabNode.size(); x++)
      dynTabNode.setLeadSelection(x);
      IWDGroup group = (IWDGroup)view.getElement("Group_name");
      IWDCaption name = (IWDCaption) view.createElement(IWDCaption.class, null);
      IWDNode dayNode = wdContext.getChildNode("DayNode", IWDNode.LEAD_SELECTION);
      String text = (String) dayNode.getElementAt(x).getAttributeValue("Name");
      name.setText(text);
      IWDAttributeInfo aiName = dayNode.getNodeInfo().getAttribute("Name");
      name.bindText(aiName);
      group.addChild(name);
    (I assume here that the node "DayNode" has the same size as dynTabNode. No idea if this assumption is correct)
    But this would not help for editable elements where you need to bind the edited property.
    Armin

  • Appending column to an dynamically created internal table

    Hi folks,
    i have an dynamically created internal table <dyn_tab> which is based on a parameter p_table (  containing the table name ). now i want to add one more column to this <dyn_tab> table where i can store further information in. how can i do that ?
    i appreciate your help!

    Hi,
    Please check this sample program.
    type-pools : abap.
    field-symbols: <dyn_table> type standard table,
                   <dyn_wa>,
                   <dyn_field>.
    data: dy_table type ref to data,
          dy_line  type ref to data,
          xfc type lvc_s_fcat,
          ifc type lvc_t_fcat.
    selection-screen begin of block b1 with frame.
    parameters: p_table(30) type c default 'T001'.
    selection-screen end of block b1.
    start-of-selection.
      perform get_structure.
      perform create_dynamic_itab.     
    form get_structure.
      data : idetails type abap_compdescr_tab,
           xdetails type abap_compdescr.
      data : ref_table_des type ref to cl_abap_structdescr.
      * Get the structure of the table.
      ref_table_des ?= 
          cl_abap_typedescr=>describe_by_name( p_table ).
      idetails[] = ref_table_des->components[].
        loop at idetails into xdetails.
        clear xfc.
        xfc-fieldname = xdetails-name .
        xfc-datatype = xdetails-type_kind.
        xfc-inttype = xdetails-type_kind.
        xfc-intlen = xdetails-length.
        xfc-decimals = xdetails-decimals.
        append xfc to ifc.
      endloop.
    *Add your new field(s) into table ifc here.
    endform.
    form create_dynamic_itab.
    * Create dynamic internal table and assign to FS
      call method cl_alv_table_create=>create_dynamic_table
                   exporting
                      it_fieldcatalog = ifc
                   importing
                      ep_table        = dy_table.
        assign dy_table->* to <dyn_table>.
      * Create dynamic work area and assign to FS
      create data dy_line like line of <dyn_table>.
      assign dy_line->* to <dyn_wa>.
    endform.
    Regards,
    Ferry Lianto

  • How do I receive notification of a change in the value of a dynamically created user interface object?

    I need to know when the user has changed the value of a slider or a Boolean control that was dynamically created (not part of a dialog). Is there any way to do that without polling? I would have expected these controls to post a WM_NOTIFY message to the parent window in response to user events, but that does not seem to happen. Am I missing something?

    Win32 controls do typically post WM_NOTIFY messages to the parent window for user events. The Measurement Studio UI controls are actually ActiveX controls, though, and events are handled differently for ActiveX controls.
    If you have a resource ID for you control, the easiest way would be to create your control in the OnInitDialog method and handle the event the same way you would if you had added the control to the dialog at design-time:
    Add a declaration for the event handler in the AFX_MSG block in the dialog header file.
    Make sure the AFX_MSG block in the header file includes DECLARE_EVENTSINK_MAP()
    Include an ON_EVENT entry for the event in the dialog source's BEGIN_EVENT_SINK_MAP block.
    Include a DDX_Control entry
    in the dialog source's AFX_DATA_MAP block.
    Otherwise, you'll have to dynamically sink the event at runtime after you've created the control. Microsoft's Knowledge Base has a couple of good articles that demonstrate how to do this:
    SAMPLE: AtlEvnt.exe Creates ATL Sinks Using IDispEventImpl (Q194179)
    AtlSink Uses ATL to Create a Dispinterface Sink (Q181277)
    - Elton

  • Dynamically append values to http url in BPEL http bindings

    hi ,
    I have a requirement where I have to post an xml over the http url 'http://todm2344:67033/access/auth'.
    I have created a wsdl file with http bindings and the schema that this url expects and invoked that wsdl from my bpel process.
    But now the requirement is that I need to send a value of an id appended to the above url.
    Each time when i post an xml i should send it as say ''http://todm2344:67033/access/auth/34372''.
    That appended value is some value that comes in the request of the my BPEL.
    Please let me know on how this can be done.
    Thanks in advance!!!

    See thread Re: Noob Q - Override a WSDL location attribute
    Several good answers. I wrote:
    If you want to set the WS address at run time, e.g. from a property in your BPEL process that knows whether you in in DEV versus PROD, you just do a copy/assign from a variable with an XML fragment straight to the partnerlink. Looks weird, but it works (at least in 10.1.3):
    +<assign name="asn_set_endpoint">+
    +<copy>+
    +<from variable="var_endPointAddress" query='/ns1:EndpointAddress"/>+
    +<to partnerLink="myPartnerLinkName"/>+
    +</copy>+
    +</assign>+
    +There's a good walkthrough at:+
    +http://www.oracle.com/technology/pub/articles/bpel_cookbook/carey.html+
    +They define a variable called partnerReference, and then show screen shots of how to assign it to the partnerlink (step 8).+
    Good luck, Andy

  • Can I create "Dimension value range" dynamically  from data?

    Hi,
    Can I create "Dimension value range" dynamically  from data?
    Regards

    You need to have a Database Link between two servers. Then you could do execute that statement without any problem. Try to create a database link with the help of
    CREATE DATABASE LINK command. Refer Document for further details

  • How to pass values in dynamic structure and then dynamic table

    Hi,
    we have a Z structure in se11 holding 10 fields. But at run time i need to create a dynamic table with more than 10 records.
    I am able to create the structure and corresponding internal table. Now the issue is i have to populate this dynamic structure with some values and then append it to dynamic internal table. Since the dynamic  table type is any its not allowing an index operation like modify etc etc.
    Could anyone help me in passing the values . I have searched in SDN . everyone created a dynamic table and then populated it values from some standard or custom tables.Then assigning the component of structure  and displaying the output. but in my situation i have no such values stored in any tables. i populate values based on certain calculation.

    Hi Friends,
    This is the piece of code.After creating dynamic work area and dynamic table what i should do?
    TYPES: BEGIN OF STR,
    ID TYPE I,
    NAME(30) TYPE C,
    END OF STR.
    data: v_lines type i.
    STR_TYPE ?= CL_ABAP_TYPEDESCR=>DESCRIBE_BY_NAME( 'STR' ).
    STR_COMP = STR_TYPE->GET_COMPONENTS( ).
    APPEND LINES OF STR_COMP TO COMP_TAB.
    COMP-NAME = 'NAME1'.
    COMP-TYPE = CL_ABAP_ELEMDESCR=>GET_STRING(  ).
    APPEND COMP TO COMP_TAB.
    COMP-NAME = 'VALUE1'.
    COMP-TYPE = CL_ABAP_ELEMDESCR=>GET_STRING( ).
    APPEND COMP TO COMP_TAB.
    COMP-NAME = 'NAME2'.
    COMP-TYPE = CL_ABAP_ELEMDESCR=>GET_STRING( ).
    APPEND COMP TO COMP_TAB.
    COMP-NAME = 'VALUE2'.
    COMP-TYPE = CL_ABAP_ELEMDESCR=>GET_STRING( ).
    APPEND COMP TO COMP_TAB.
    COMP-NAME = 'NAME3'.
    COMP-TYPE = CL_ABAP_ELEMDESCR=>GET_STRING( ).
    APPEND COMP TO COMP_TAB.
    COMP-NAME = 'VALUE3'.
    COMP-TYPE = CL_ABAP_ELEMDESCR=>GET_STRING( ).
    APPEND COMP TO COMP_TAB.
    NEW_STR = CL_ABAP_STRUCTDESCR=>CREATE( COMP_TAB ).
    NEW_TAB = CL_ABAP_TABLEDESCR=>CREATE(
    P_LINE_TYPE = NEW_STR
    P_TABLE_KIND = CL_ABAP_TABLEDESCR=>TABLEKIND_STD
    P_UNIQUE = ABAP_FALSE ).
    CREATE DATA DREF TYPE HANDLE NEW_TAB.
    CREATE DATA DREF1 TYPE HANDLE NEW_str.

Maybe you are looking for

  • PC FORMATTED iPod read by MAC & PC?  MAC formatted iPod read only by MAC?

    Is this how the formatting issue works? I'm looking to buy an iPod for a friend who (I think) has PC..... Since I'm a mac person, I want to buy the gift, load some music on, and ship it off to the lucky recipient....but if they have a PC , will it be

  • GP and VC problem with input parameters

    Hi I have a problem with my GP dynamic approvals.. I am trying to pass the parameters from one level to another level in GP using Visual COmposer screen with input and output parameters. When I see in NWA, I can see the ouput parameters of Screen1 is

  • How to launch a DOS command with process

    When I tried to create a process which launch a DOS command, I have a big exception with CreateProcess error=2. I just would like to make a "cd directory" Please help!!!

  • T42 video problem

    i just configured a t42 for my use at home.  xp sp2.  all applicable msoft and lenovo patches.  it works and then the screen goes black and there are thin white vertical lines across the screen. reboot clears it till the next time. i ran pc doctor 5,

  • Grouping with report queries

    hi all, is it possible to have a report query with more than 1 rowset tag? for example: <HEAD> <ROW> <ROWSET> <DEPTNO>10</DEPTNO> <DNAME>Administration</DNAME> <EMP> <EMP_ID>1</EMP_ID> <ENAME>ALLEN</ENAME> </EMP> </ROWSET> </ROW> </HEAD>when i went t