Retrieve and update dynamic data

Dear
Please advise if ECM provides the ability to retrieve and update dynamic data on demand to ensure the user’s content is current
Thanks
M.E.
Edited by: user803214 on Jan 31, 2011 5:34 AM

The Question is quite vague. Very hard to answer a question when you do not know what they are asking.
As to automatic indexing and updates of data to files and the impact of indexing:
A file checked into UCM server is indexed based upon the system setting. A server could be set to DATABASE.METADATA indexing or some kind of full text indexing. Either way if a file is checked into the Content Server the file gets indexed. If any metadata is changed by a later update the index is indeed updated automatically. If the file in a full text indexed system has a set of text edited or a totally different file is checked in the index is updated automatically also.

Similar Messages

  • REST API to get and update Task Data

    On CPSC 9.4.1 R2, I am unable to find any REST API operation to get and update task data details (all the service form and dictionary fields).
    Task operations only return limited task meta-data not the details of the task/requisition data submitted, fields, etc.
    Does anyone know if such thing exist?
    Thanks.

    Hi Rakesh,
    To enable anonymous Search REST queries, we need to create queryparametertemplate.xml and upload it to the correct library in SharePoint.
    From your description I can know that you have created the file, then I recommend to check the things below:
    Please use “QueryTemplatePropertiesUrl” instead of “queryparametertemplate” in the Search REST API query as following: &QueryTemplatePropertiesUrl='spfile://webroot/queryparametertemplate.xml'.
    Make sure that the Query Properties you need have been added to the QueryProperties element in the queryparametertemplate.xml file.
    Make sure that the query parameters you need have been added to the WhiteList element in the
    queryparametertemplate.xml file. For example, if you want to use Refiners in the REST API, then the Refiners should be added to the
    WhiteList element in the queryparametertemplate.xml file as following:
    <a:string>Refiners</a:string>.
    You can also debug setting properties in anonymous Search Rest queries following the link below:
    http://www.mavention.com/blog/debugging-setting-properties-anonymous-search-rest-queries
    More references about anonymous Search REST:
    http://blog.mastykarz.nl/configuring-sharepoint-2013-search-rest-api-anonymous-users/
    http://msdn.microsoft.com/en-us/library/office/jj163876%28v=office.15%29.aspx#bk_AnonymousREST
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • How to read XML file and update the data in MS CRM 2011?

    Hi Folks,
    Can anyone please help me finding some references to read XML files and push the data to MS CRM 2011 preferably by using a console application.
    Please let me know if any ways of handling it in simple ways.
    Thanks,
    Sri

    HI,
    How to read XML file:
    https://social.msdn.microsoft.com/Forums/en-US/5dd7261b-86c4-4ca8-ba87-95196ef3ba50/need-to-display-xml-file-in-textboxes-edit-the-data-and-save-the-new-xml-file?forum=csharpgeneral
    How to work with CRM:
    ClientCredentials credentials = new ClientCredentials();
    credentials.Windows.ClientCredential = new System.Net.NetworkCredential("USER", "Password", "Domain");
    Uri uri = new Uri("http://server/Organization/XRMServices/2011/Organization.svc");
    OrganizationServiceProxy proxy = new OrganizationServiceProxy(uri, null, credentials, null);
    proxy.ServiceConfiguration.CurrentServiceEndpoint.Behaviors.Add(new ProxyTypesBehavior());
    IOrganizationService service = (IOrganizationService)proxy;
    //using "service" you can create, update and retrieve entities.
    More information here about service functions:
    https://msdn.microsoft.com/en-us/library/gg328198.aspx

  • Problem in Updating L.S. Configurator (CMS)i.e. Save and Update Domain Data

    Hi All,
    As i m having Sneak-Preview 2004s SR1 with SP9 and my NWDS is also having the same service pack i.e. SP9 on my local machine. And i m trying to implement the NWDI and JDI on my machine and i have done all the post installation issues as per the documents in market place. but my problem is as follows.........
    As according the tutorial in SDN, i have created the new SC and when i m trying to save and update the domain data in the Landscape Configurator i m getting the following error...
    [[><b>Unexpected error; inform your system administrator: <Localization failed: ResourceBundle='com.sap.cms.util.exception.CMSExceptionMessages', ID='SLD name-server configuration error', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key SLD name-server configuration error</b> <]]
    I think some where i have forget the some configuration can but i m not able to catch that point .....if any body knows abt this ...plz help me ..........
    Thanks
    Dheerendra Shukla

    Thanks Johan for ur reply but can u explain more abt what u want to say....???
    also one more thing as given in the post-installation guide, in the "<b>Template installer</b>" under the "Deploy and Change" section, when i try to run the DI-Post installer Template wizard i m getting the following error ....what does the mean of this error ...can any body help me out from this error ....
    ==========================================================
    <b>Element 'SAPConfigLib.J2E.Unclassified.configureCms':!BrokerImport.import_of_element_failed!!BrokerImport.Fehler!com.sap.tc.lm.ctc.cul.cpi.exceptions.CPIBaseException: <Localization failed: ResourceBundle='com.sap.tc.lm.ctc.cul.cpi.CPIResourceBundle', ID='com.sap.tc.lm.ctc.cul.cpi.BaseException_BASE_EXCEPTION', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key com.sap.tc.lm.ctc.cul.cpi.BaseException_BASE_EXCEPTION:com.sap.tc.lm.ctc.provider.javaServiceProvider.JavaServiceWriter.writeElement!BrokerImport.LINE!157-:com.sap.tc.lm.ctc.cul.broker.BrokerImport.importElement.86
    -:com.sap.tc.lm.ctc.cul.broker.BrokerImport.importElement.128
    -:com.sap.tc.lm.ctc.cul.broker.BrokerImport.importElement.128
    -:com.sap.tc.lm.ctc.cul.serviceimpl.importservice.CULConfigurationImport.importConfiguration.96
    -:com.sap.tc.lm.ctc.ccl.templateinstaller.StepExecuter.run.41
    Element 'SAPConfigLib.J2E.Unclassified.configureCms':Error during executing Java Reflection:Unable to open connection to host "pwdf3102:50100". The IP address of the host could not be resolved. Maybe the URL is misspelled or the host does no longer exist..</b>
    ==========================================================
    Thanks
    Dheerendra

  • Add zfield to va01 and updating the data base

    Hi friends,
    I have requirement to add Zfields to vbak and updating the Zfield value to VBAK.
    But my problem is when am trying to save or changing the Zfield into data base it is not saving the zfield value and it is not detecting the change value of Zfield in VA02.
    Can any provide the solution if possible.
    Thanks in advance.
    sasi.

    Hi friend ,
    my requirement to update the Zfield information in vbap table. Even if am try using the user exit move_field_to_vbap it is not getting triggered if we chage the zfield value.it is only getting triggered during the change of standard field.
    when am trying to save the Zfield value we are getting the message No data changed. in that case data is not getting updated to data base table vbap
    thanks  in advance,
    sasi.

  • Using eclipse Web services to retrieve and update data to Oracle DB

    Hi,
    Can I have a sample about to use eclipse to retrieve/update data from Oracle DB by using axis web services?
    thank you

    Hi,
    If you have a sheet in Excel with data from a SharePoint Online list you can switch to the PowerPivot ribbon and ask to add it to the model. This will allow you to reference this table when you create a PowerView report.
    This workbook, with the Odata feed can then be refreshed via the scheduled refresh feature of Power BI Site.
    Insert the data using the Odata feed
    The Odata URL will be something like:
    https://MyCompany.sharepoint.com/MySite/MySubSite/_vti_bin/listdata.svc/MyList
    If you are not sure what is the list name, you can drop just browse to
    https://MyCompany.sharepoint.com/MySite/MySubSite/_vti_bin/listdata.svc and this will provide a list of all the lists in that site/sub-site.
    Once you have those in the model and you setup scheduled refresh, it will refresh the lists directly from SPO (using the owner identity)
    Hope this helps.
    Guy
    GALROY

  • Retrieve and update using 2 webservices in ADF

    Hello,
    We are trying to build an application using ADF and struts with jDeveloper 10.1.2.20. We use webservices to go between the model and view layers.
    We have for instance a webservice to retrieve data using 1 parameter, and another different webservice to update a tablerow.
    We can get a JSP page to show us the data using the first webservice. (Build a Datapage, called from a DataAction to fill the parameter).
    And we can build another JSP page to update a row using the second webservice. (Build a Datapage, create a new DataControl to select the appropriate fields and send them to a DataAction by using an event with ${bindings.MyDataControl_Iter.currentRow.dataProvider})
    Both pages are built by implementing tutorials and examples from the Oracle page and forum.
    The problem is, that we cannot get our application to do both. Get the data from the first webservice and show it, then alter some of the values and submit it to the second webservice to update the table.
    Does anybody know anything about this problem and have a solution? Maybe in the form of an example.
    Kind regards,

    Hello Shay,
    unfortunately changing the NDValue (of one NamedData in myDataWrite MethodAction) is not working for me, although I tried it with a lot of values: constants, values from the binding of the reader service and values from a (session-scope) backing bean. However, the input field always remains empty :(
    Here is my pagedef:
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
    version="10.1.3.41.57" id="myDataPageDef"
    Package="viewcontroller.pageDefs">
    <parameters/>
    <executables>
    <variableIterator id="variables">
    <variable Type="java.lang.String" Name="myDataWrite_myData_ParameterOne"
    IsQueriable="false"/>
    <variable Type="java.lang.String" Name="myDataWrite_myData_ParameterTwo"
    IsQueriable="false"/>
    </variableIterator>
    <methodIterator id="myDataIter" Binds="myData.result" DataControl="myDC"
    RangeSize="10" BeanClass="myDC.myData"/>
    <accessorIterator id="resultIterator" RangeSize="10" Binds="result"
    DataControl="myDC" BeanClass="myDC.myData.result"
    MasterBinding="myDataIter"/>
    </executables>
    <bindings>
    <methodAction id="myData" InstanceName="myDC" DataControl="myDC"
    MethodName="myData" RequiresUpdateModel="true" Action="999"
    IsViewObjectMethod="false"
    ReturnName="myDC.methodResults.myDC_myData_result">
    <NamedData NDName="dataId"
    NDValue="${backing_session.currentDataId}"
    NDType="java.lang.String"/>
    </methodAction>
    <attributeValues id="ParameterOne" IterBinding="resultIterator">
    <AttrNames>
    <Item Value="ParameterOne"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="ParameterTwo" IterBinding="resultIterator">
    <AttrNames>
    <Item Value="ParameterTwo"/>
    </AttrNames>
    <methodAction id="myDataWrite" MethodName="myDataWrite" RequiresUpdateModel="true"
    Action="999" IsViewObjectMethod="false" DataControl="myDC"
    InstanceName="myDC"
    ReturnName="myDC.methodResults.myDC_myDataWrite_result">
    <NamedData NDName="myData_ParameterOne" NDType="java.lang.String"
    NDValue="${bindings.myDataWrite_myData_ParameterOne"/>
    <NamedData NDName="myData_ParameterTwo" NDType="java.lang.String"
    NDValue="${bindings.myDataWrite_myData_ParameterTwo"/>
    </methodAction>
    <attributeValues id="myData_ParameterOne" IterBinding="variables">
    <AttrNames>
    <Item Value="myDataWrite_myData_ParameterOne"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="myData_ParameterTwo" IterBinding="variables">
    <AttrNames>
    <Item Value="myDataWrite_myData_ParameterTwo"/>
    </AttrNames>
    </attributeValues>
    </bindings>
    </pageDefinition>
    (BTW, I'm not sure what is the correct EL expression to reference myData method's ParameterOne and ParameterTwo output.)
    Can you explain me how to make this work?
    It would be great to avoid unnecessary and complex coding in the backing beans.
    Thanks,
    Patrik

  • How to store ,retrieve and display the data in the structured format?

    Hi All,
    We have a requirement in which we need to store a information of type some thing like as below:
    "The PCM_OP_SEARCH opcode fails for the below search used in invoicing module:
    0 PIN_FLD_POID           POID [0] 0.0.0.1 /search -1 0
    0 PIN_FLD_FLAGS           INT [0] 728
    0 PIN_FLD_TEMPLATE        STR [0] " select sum( 1.F8 ), 1.F9 from /event 1, /item 2 where (2.F1 = V1 and  2.F5 >= V5 and 2.F6 < V6 and 2.F2 = V2) and 2.F3 = 1.F4 and  1.F7 like V7 group by 1.F9 "
    0 PIN_FLD_ARGS          ARRAY [1] allocated 20, used 1
    1     PIN_FLD_AR_BILLINFO_OBJ   POID [0] 0.0.0.1 /billinfo 10773245 3
    0 PIN_FLD_ARGS          ARRAY [2] allocated 20, used 1
    1     PIN_FLD_BILL_OBJ       POID [0] 0.0.0.0  0 0
    0 PIN_FLD_ARGS          ARRAY [3] allocated 20, used 1"
    I understand that we can store this as a Blob or Bfile format.But I need to retrieve the data and display it on the GUI in the same format.
    Can anyone please suggest me how can I achieve the same in APEX?
    Thank you for your time !!
    Regards,
    Shan

    And what would be wrong with putting this into a plain old table with columns, on which you could then create a form+report?

  • Updated as new installation 613 to 616 iphone 3GS, the 613 backup is nolonger listed, and all data gone. Anyway to restore 613 with data and update keeping data?

    I chose new installation instead of update from 613 to 616. The new installation is missing all the data, and app data, notes, etc. The previous backup is nolonger listed, only new one for 616, anyway to restore 613 with data?

    A backup was listed for earlier today, I did a backup before new installation. Once new installation, it did an auto backup of new installation, and only this one is listed.
    This matches documentation, it says cannot restore to earlier version from itunes. Do I have to do a restore factory settings to see previous version backup, and restore this earlier version?

  • Updating dynamic data

    Hello there,
    I'm following a tutorial that shows how to create an
    update/edit form to edit selected records within the database.
    However, it is not working. I don't know what I'm missing.
    This is the form containing the records I want to update.
    Everything is set right, artistid and even the hidden field
    is placed correctly. but when I'm on the masterdetails page and
    click on EDIT, it takes me to the edit page but it's all empty.
    What am I missing?

    Editing fields in a database requires that you tell the
    database what row
    (record) and field you want to change.
    Create a master data page that shows all of the rows in a
    table, each row
    (record) is identified by a unique id (number), you must pass
    the ID of the
    record you wish to edit to the edit record page. The edit
    button hyperlink
    includes that data The edit record page recordset filters the
    table data by
    the ID (filter record by URL parameter = ID) selecting the
    correct record to
    be edited.
    Jeff
    "Slevink" <[email protected]> wrote in
    message
    news:g2ggm1$t95$[email protected]..
    > Hello there,
    >
    > I'm following a tutorial that shows how to create an
    update/edit form to
    > edit
    > selected records within the database. However, it is not
    working. I don't
    > know
    > what I'm missing.
    >
    > This is the form containing the records I want to
    update.
    > Everything is set right, artistid and even the hidden
    field is placed
    > correctly. but when I'm on the masterdetails page and
    click on EDIT, it
    > takes
    > me to the edit page but it's all empty.
    >
    > What am I missing?
    >
    >
    > <form id="form1" name="form1" method="POST">
    > <table width="400" border="0">
    > <tr>
    > <td>Firstname</td>
    > <td><label>
    > <input name="firstname" type="text" id="firstname"
    > value="<?php echo $row_rsArtist['FIRSTNAME']; ?>"
    />
    > </label></td>
    > </tr>
    > <tr>
    > <td>Lastname</td>
    > <td><label>
    > <input name="lastname" type="text" id="lastname"
    > value="<?php echo $row_rsArtist['LASTNAME']; ?>"
    />
    > </label></td>
    > </tr>
    > <tr>
    > <td>Email</td>
    > <td><label>
    > <input name="email" type="text" id="email"
    > value="<?php
    > echo $row_rsArtist['EMAIL']; ?>" />
    > </label></td>
    > </tr>
    > <tr>
    > <td><input name="artistid" type="hidden"
    id="artistid"
    > value="<?php echo $row_rsArtist['ARTISTID']; ?>"
    /></td>
    > <td><label>
    > <input type="submit" name="SUBMIT" id="SUBMIT"
    > value="Submit" />
    > </label></td>
    > </tr>
    > </table>
    > </form>
    >

  • Retrieve and update multiple records in servlet?

    Hi,
    I am trying to retrieve all the records from a dept table and then display the fields in multiple record format. I have stored the fields in a vector and display them in html format by using out.println in servlet. The problem how to let user update those fields or insert new record?
    Please help.
    Vector l_dept = new Vector();
    Vector l_deptitem = new Vector();
    while ( rsc1.next() )
         l_dept.addElement(String.valueOf(rsc1.getInt(1)));
         Object row[] = new Object[3];
         row[1] = rsc1.getString(2);
         row[2] = rsc1.getString(3);
         row[0] = new Boolean(!rsc1.wasNull());
         l_deptitem.addElement(row);
    rsc1.close();
    //Preparing the HTML page to display the list of dept.
    // Uses the servlet output stream object to send HTML page to client browser.
    out.println("<HTML>");
    out.println("<HEAD><TITLE> DEPT </TITLE> </HEAD> ");
    out.println(" <BODY> ");
    out.println(" <FONT SIZE=6 COLOR=teal> <CENTER> DEPT </CENTER> </FONT> ");
    out.println(" <FORM METHOD=POST>" );
    out.println("<TABLE>");
    for ( int i=0; i < l_deptitem.size(); i++)
    Object[] row = (Object[]) l_deptitem.elementAt(i);
    Object k = row[0];
    Object k2 = row[2];
    Object k1 = row[1];
         l_deptitem.setElementAt( row , i );
         out.println ("<TR><TD>" l_dept.elementAt(i) "</TD><TD>" k1 "</TD><TD>"+k2+"</TD></TR>");
    out.println("</TABLE></FORM");
    thanks
    andrew

    do you have a sample code? thanks
    Hi
    There are several options. One of them could be
    1) use <input name=rc[j] value="..."> instead of
    display a raw text
    2) parse parameters in doPost method of your servlet
    to update appropriate values.
    3) Make a empty row enable inserts
    Regards
    Jan

  • Open Excel and update the data in the Excelsheet

    Dear Experts,
    i load an Excel from the BDS to my Desktop and opan it
    Then should i update fields in the Excelsheet update with new values.
    Have somebody a sample
    Thank you
    Frank

    This is may Code !
    ATA: lt_file TYPE filetable.
    DATA: ls_file LIKE LINE OF lt_file.
    START-OF-SELECTION.
    cl_gui_frontend_services=>file_open_dialog(
      CHANGING
        file_table              =  lt_file  " Table Holding Selected Files
        rc                      =  lv_rc  ). " Return Code, Number of Files or -1 If Error Occurred
    READ TABLE lt_file INTO ls_file INDEX 1.
    IF sy-subrc = 0.
      lv_filename = ls_file-filename.
    ENDIF.
    CALL FUNCTION 'BDS_DOCUMENT_GET_TABLE'
      EXPORTING
      CLIENT                = SY-MANDT
        DOC_ID                = 'BDS_LOC2  AB359E8A6553AE4586BE29E15A1F6D3F'
      BINARY_FLAG           = 'X'
      TABLES
        SIGNATURE             = lt_SIGNATURE
        COMPONENTS            = lt_COMPONENTS
       CONTENT               = lt_CONTENT
       ASCII_CONTENT         = lt_ASCII_CONTENT
    EXCEPTIONS
       NOTHING_FOUND         = 1
       PARAMETER_ERROR       = 2
       NOT_ALLOWED           = 3
       ERROR_KPRO            = 4
       INTERNAL_ERROR        = 5
       NOT_AUTHORIZED        = 6
       OTHERS                = 7.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    loop at lt_CONTENT.
      CONCATENATE content lt_content-LINE into content in byte mode.
    endloop.
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
      EXPORTING
        buffer     = CONTENT
      TABLES
        binary_tab = pdf_data_tab.
    filename =  lv_filename.
    cl_gui_frontend_services=>gui_download(
      EXPORTING
        filename = filename
        filetype = 'BIN'
      CHANGING
        data_tab = pdf_data_tab ).
    cl_gui_frontend_services=>execute(
      EXPORTING
        document = filename ).
    filex = filename .
    data: e_sheet type ole2_object.
    data: e_appl  type ole2_object.
    data: e_work  type ole2_object.
    data: e_cell  type ole2_object.
    data: field_value(30) type c.
    Start the application
      create object e_appl 'EXCEL.APPLICATION'.
      set property of e_appl 'VISIBLE' = 1.
    Open the file
      call method of e_appl 'WORKBOOKS' = e_work.
      call method of e_work 'OPEN'
              exporting
                   #1 = filex.
    on this Point i wandt manupulate the Values in the Excelfile

  • In making a monthly budget how do you repeat for next month and update the dates to the next month?

    i want to make my budget speadsheet update the month and date as it goes to the next month automatically, from sheet to sheet.  is there any way to make this happen?

    You could have a cell where you enter the month and year...
    Or you could pull the month and year from the first entry in the date column.  Like Barry I would want more information regarding your  set up before proposing any other, more specific, ideas.

  • Insert and update a data block which is based on view--urgent help required

    Hi experts,
    I created a view(A_VIEW) which is based on a union select. I have created a data block A_VIW_BLOCK which is based on this view. I need to insert/update one of the base tablesfor A_VIEW through this data block. I also need to be able to make a query through all the fields in the view.
    The questions are:
    1.Can it be done at all?
    2. What properties need to be set?
    3. If can't be done, what the best approach to achieve this?
    Thanks in advance!!
    Michael

    hi
    try something like this.
    CREATE TABLE demo_tab (
    person_id NUMBER(3),
    first_name VARCHAR2(20),
    last_name VARCHAR2(20));
    CREATE OR REPLACE VIEW upd_view AS
    SELECT * FROM demo_tab;
    INSERT INTO demo_tab
    (person_id, first_name, last_name)
    VALUES
    (1, 'Daniel', 'Morgan');
    INSERT INTO demo_tab
    (person_id, first_name, last_name)
    VALUES
    (2, 'Helen', 'Lofstrom');
    COMMIT;
    SELECT * FROM upd_view;
    UPDATE upd_view
    SET person_id = person_id * 10;
    SELECT * FROM upd_view;
    desc user_updatable_columns
    SELECT table_name, column_name, updatable, insertable, deletable
    FROM user_updatable_columns
    WHERE table_name IN (
       SELECT view_name
       FROM user_views);
    SQL> create table dummy (f1 number);
    Table created.
    SQL> create view dummy_v 
    2  as 
    3  select f1 from dummy 
    4  union all  
    5  select f1 from dummy;
    View created.
    SQL> create trigger dummy_v_it 
    2  instead of insert 
    3  on dummy_v 
    4  for each row 
    5  begin 
    6    insert into dummy values (:NEW.f1); 
    7  end; 
    8  /
    Trigger created.
    SQL> insert into dummy_v values (1);
    1 row created.
    SQL> select * from dummy_v;       
    F1
    1        
    1
    SQL> select *
      2  from user_updatable_columns
      3  where table_name = 'DUMMY_V';
    OWNER    TABLE_NAME   COLUMN_NAME  UPD INS DEL
    FORBESC  DUMMY_V      F1            NO  NO  NOforms settings.
    Enforce Primary Key - No
    Query Allowed - Yes
    Query datasource Name - V_TSFDETAIL
    Insert Allowed - Yes
    Update Allowed - Yes
    Delete Allowed - Yes
    Locking Mode - Automatic
    Key Mode - Automatic
    do not forget to create synonyms.
    hope this helps.
    sarah

  • Table with bith dynamic and non dynamic data

    Hi all,
    We have a report already developed. Now we need  add some fields from some table which is dynamic in feature to the final report which is already there.
    I need to know how come we can include the dynamic fields into the final internal table.
    I tried declaring fieldsymbols inside the data stmt of the final internal table but it shows some syntax error.
    Please help me.
    Thanks

    Check this sample code..
    REPORT  ztest_dynamic_code.
    DATA: BEGIN OF it_tab OCCURS 0,
           abc(3),
           xyz(3),
           pqr(3),
           item,
         END OF it_tab.
    DATA: it_fieldcatalog  TYPE lvc_t_fcat,
    wa_fieldcat TYPE lvc_s_fcat.
    DATA:  i_dyntab  TYPE REF TO data. " To create dyn.Itab
    DATA:
           w_dref TYPE REF TO data,
           ind(2) TYPE n,
           w_data TYPE REF TO data,
           w_text(5),
           w_grid TYPE REF TO cl_gui_alv_grid.
    DATA: grid TYPE REF TO cl_gui_alv_grid,
          cont TYPE REF TO cl_gui_custom_container.
    FIELD-SYMBOLS: <t_itab> TYPE STANDARD TABLE,
                   <fs_wa> TYPE ANY,<fs> TYPE ANY.
    DATA: in TYPE i.
    *Data population
    it_tab-abc = 'ABC'.
    it_tab-xyz = 'XYZ'.
    it_tab-pqr = 'PQR'.
    DO 9 TIMES.
      in = in + 1.
      it_tab-item = in.
      APPEND it_tab.
    ENDDO.
    *Field cat population.
    wa_fieldcat-fieldname = 'ABC'.
    wa_fieldcat-outputlen = 3.
    wa_fieldcat-coltext = 'abc'.
    APPEND wa_fieldcat TO it_fieldcatalog.
    wa_fieldcat-fieldname = 'XYZ'.
    wa_fieldcat-outputlen = 3.
    wa_fieldcat-coltext = 'XYZ'.
    APPEND wa_fieldcat TO it_fieldcatalog.
    wa_fieldcat-fieldname = 'PQR'.
    wa_fieldcat-outputlen = 3.
    wa_fieldcat-coltext = 'pqr'.
    APPEND wa_fieldcat TO it_fieldcatalog.
    wa_fieldcat-fieldname = 'COLOR'.
    wa_fieldcat-outputlen = 4.
    wa_fieldcat-coltext = 'col'.
    APPEND wa_fieldcat TO it_fieldcatalog.
    ind = 1.
    DO 9 TIMES.
      CONCATENATE 'ITEM' ind INTO wa_fieldcat-fieldname.
      CONCATENATE 'ITEM' ind INTO wa_fieldcat-coltext.
      wa_fieldcat-outputlen = 1.
      APPEND wa_fieldcat TO it_fieldcatalog.
      CLEAR wa_fieldcat .
      ind  = ind + 1.
    ENDDO.
    *-Dynamic Table creation
    CALL METHOD cl_alv_table_create=>create_dynamic_table
      EXPORTING
        it_fieldcatalog = it_fieldcatalog
      IMPORTING
        ep_table        = i_dyntab.
    ASSIGN i_dyntab->* TO <t_itab>.
    CREATE DATA w_data LIKE LINE OF <t_itab>.
    ASSIGN w_data->* TO <fs_wa>.
    SORT it_tab BY abc xyz pqr.
    CLEAR ind.
    ind = 4.
    *-Final Internal table as per Requirement
    do 10 times.
    LOOP AT it_tab.
      ASSIGN COMPONENT 1 OF STRUCTURE <fs_wa> TO <fs>.
      <fs> = it_tab-abc.
      ASSIGN COMPONENT 2 OF STRUCTURE <fs_wa> TO <fs>.
      <fs> = it_tab-xyz.
      UNASSIGN <fs>.
      ASSIGN COMPONENT 3 OF STRUCTURE <fs_wa> TO <fs>.
      <fs> = it_tab-pqr.
      UNASSIGN <fs>.
      ASSIGN COMPONENT 4 OF STRUCTURE <fs_wa> TO <fs>.
    *-You can assign the color conditionally also..
      if sy-index = 4.
      <fs> = 'C400'.
      else.
        <fs> = 'C600'.
      endif.
      UNASSIGN <fs>.
      ASSIGN COMPONENT ind OF STRUCTURE <fs_wa> TO <fs>.
      <fs> = it_tab-item.
      UNASSIGN <fs>.
      ind = ind + 1.
      AT END OF pqr.
        APPEND <fs_wa> TO <t_itab>.
    *    <fs_wa>-color = 'C600'.
        ind = 4.
        CLEAR <fs_wa>.
      ENDAT.
    ENDLOOP.
    enddo.
    *-Display
    CALL SCREEN 100.
    *&      Module  STATUS_0100  OUTPUT
    *       text
    MODULE status_0100 OUTPUT.
      DATA: layout TYPE lvc_s_layo.
      CREATE OBJECT cont
         EXPORTING
           container_name              = 'CONT'
         EXCEPTIONS
           cntl_error                  = 1
           cntl_system_error           = 2
           create_error                = 3
           lifetime_error              = 4
           lifetime_dynpro_dynpro_link = 5
           OTHERS                      = 6
      IF sy-subrc NE 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      CREATE OBJECT grid
        EXPORTING
          i_parent          = cont
        EXCEPTIONS
          error_cntl_create = 1
          error_cntl_init   = 2
          error_cntl_link   = 3
          error_dp_create   = 4
          OTHERS            = 5
      IF sy-subrc NE 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      layout-INFO_FNAME = 'COLOR'.
      grid->set_table_for_first_display(
         EXPORTING
           is_layout                      =  layout
         CHANGING
           it_outtab                     = <t_itab>
           it_fieldcatalog               = it_fieldcatalog
       EXCEPTIONS
         invalid_parameter_combination = 1
         program_error                 = 2
         too_many_lines                = 3
      IF sy-subrc  NE 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDMODULE.                 " STATUS_0100  OUTPUT

Maybe you are looking for