Data Grid Display child Class data

Hi,
   I have  2 Action Script class binded to remote java class
Class 1
package hmil.setup.model
import hmil.com.general.model.Employee;
[Bindable]
[RemoteClass(alias="hmil.setup.model.Area")]
public class Area
public function Area()
public var ARMST_AREA_ID:int;
public var ARMST_CMPN_NO:String;
public var ARMST_CORP_NO:String;
public var ARMST_SCTN_TYPE:String;
public var ARMST_CRTE_USR_NO:String;
public var ARMST_CRTE_TIME:Date;
public var ARMST_UPDT_USR_NO:String
public var ARMST_UPDT_TIME:Date;
public var ARMST_DLR_LIST:ArrayCollection;
public var ARMST_EMP:Employee;
Class 2
package hmil.com.general.model
[Bindable]
[RemoteClass(alias="hmil.com.general.model.Employee")]
public class Employee
public function Employee()
public var EPMST_ID:Number;
public var EPMST_CMPN_NO:String;
public var EPMST_CORP_NO:String;
public var EPMST_EMP_NO:String;
public var EPMST_DLR_NO:String;
public var EPMST_EMP_NAME:String;
When the remote java method returns  a list of Area object through Blaze DS  this list can be assiged as data to the Data Grid
The DataGridColumn   dataField can be mapped to the column name and it displays properly
<mx:DataGridColumn  dataField="ARMST_AREA_ID" headerText="Id"/>
But lets say I wanted to display the child value  (ARMST_EMP.EPMST_ID )   in the Data Grid 
Since the sever returns the Parent Java Object  which contains the related Employee as inner Object.
The Objetcs are deserialized to AS class objects.
But how to display the  child columns in data grid.
If i give the data field as ARMST_EMP  it is displayed as Object. but if i mention the datafield as ARMST_EMP.EPMST_ID, it does not display anything.
please  let me know how to display the child object in datagrid
Thanks

Hi Mugunda, did you ever find out how to do this?

Similar Messages

  • Parent class private data accessable in Child class?

    Hi!
    I thought that this would be obvious, but my search foo fails me.  Hopefully someone would be kind enough to answer my newbie LVOOP question.
    I have a a parrent class.  This parrent class contains a cluster of class private data.  I setup all the accessor methods to this data.  I create a child class that has functions that need to access data stored in its parrent class.  Its inheritence is set, but when I try to unbundle the class data all I can seem to get to is what is setup in the child class' data cluster.
    I've watched a video and it looked like the data cluster magically appeared and was accessable through the children methods.  What am I missing?
    Thanks for input!
    -nic
    Solved!
    Go to Solution.

    Nickerbocker wrote:
    Well, that makes sense.
    One other quick question.  Is the procedure, New->"VI for Override..." from the context menu of my child class the only way to create a method that overrides the parents method?  Where is the property that defines this newly created VI as overriding my parent's VI?  Can I simply create a VI that is named the same and it have the same effect?
    That is the only method I use but I believe if you get all of your icon patterns and terminal marking as dynamic and all of the other rules, you should be able to do the same thing by hand (I base this guess on the fact I messed with those things and broke my ever-rides).
    The only thing I think has to be done from the project (scripting aside) is to set-up the inheritance.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Data Grid Display Bug CS3

    I'm having problem with Data Grid Component leaving a color
    outline on the screen when I move out to another frame that does
    not contain the Grid component.
    This Only happens if I load a swf containing the Grid into
    another movie.
    Download
    Example
    Run Movie1 and select an item from the grid. This will jump
    you to frame 5. This works fine.
    Run Movie2 and click the button. This will load Movie1 into a
    mc. Now select and item, and when jump to frame 5 you'll see the
    green box appear...
    Changing the theme halo blue/orange will leave blue/orange
    boxes.
    If anyone out there has a fix. PLEASE let me know.
    Thanks,

    Hi Mugunda, did you ever find out how to do this?

  • Error in field catalog in ALV grid display using classes at do_sum = "X'.

    Hi,
    I'm using classes in ALV Grid display.
    the code for the field catalog is going to dump because of the statement in the field catalog for field 'netwr',do_sum = 'X'.
    that do_sum = 'X' is not working and going to dump when executed.with out that do_sum it is working fine. the error in dump analysys is showing sap standard incude LSLVCF01.
        assign component
               <ls_fieldcat>-fieldname of structure rt_data to <g_field>.
        if sy-subrc ne 0.
          message x000(0k).
        endif.
    sy-subrc is 4 when the program is being executed.
    CODE:
    FORM prepare_field_catalog CHANGING pt_fieldcat TYPE lvc_t_fcat.
      DATA ls_fcat TYPE lvc_s_fcat.
      ls_fcat-fieldname = 'VBELN1'.
      ls_fcat-ref_field = 'VBELN'.
      ls_fcat-ref_table = 'VBRK'.
      ls_fcat-coltext = 'Invoice No'.
      ls_fcat-seltext = 'Invoice No'.
      APPEND ls_fcat TO pt_fieldcat.
      CLEAR ls_fcat.
      ls_fcat-fieldname = 'BUDAT'.
      ls_fcat-ref_table = 'BKPF'.
      ls_fcat-coltext = 'Invoice Date'.
      ls_fcat-seltext = 'Invoice Date'.
      APPEND ls_fcat TO pt_fieldcat.
      CLEAR ls_fcat.
    ls_fcat-fieldname = 'NETWR'.
      ls_fcat-ref_field = 'NETWR'.
      ls_fcat-ref_table = 'VBRK'.
      ls_fcat-coltext = 'Value of Invoice'.
      ls_fcat-seltext = 'Value of Invoice'.
      ls_fcat-datatype = 'CURR'.
      ls_fcat-do_sum = 'X'.
      APPEND ls_fcat TO pt_fieldcat.
      CLEAR ls_fcat.
    ENDFORM.
    can u please look in the code and rectify the error,
    would appeciate ur response.
    regards,
    veera.

    Hi,
    try this..
    ls_fcat-fieldname = 'NETWR'.
    ls_fcat-ref_field = 'NETWR'.
    ls_fcat-ref_table = 'VBRK'.
    ls_fcat-coltext = 'Value of Invoice'.
    ls_fcat-seltext = 'Value of Invoice'.
    ls_fcat-datatype = 'CURR'.
    ls_fcat-do_sum = 'X'.
    <b>ls_fcat-cfieldname = 'WAERS'.</b>
    APPEND ls_fcat TO pt_fieldcat.
    CLEAR ls_fcat.
    Regards
    vijay

  • Data Grid display in flex

    Hello All - I am new to flex and just had a quick question. My XML file structure is like this
    I would like to create a table like this. Id and resourceId are lined but I have to display in single table
    fullname      location  Type
    ======     ======   ===
    <?xml version="1.0" encoding="UTF-8"?>
    <person>
    <model>
        <person fullname="Person 1" id="6513181" location="Islandia, NY"  manager="Manager 1" genre="male"/>
        <person fullname="person 2" id="2694791" location="Islandia, NY" manager="manager2" genre="male"/>
        <absence resourceId="6513181" color="0x65844d" type="sickness" reason="sickness" status="approved" note="Sick out" requestTime="2009/12/29" startTime="2010/02/15" endTime="2010/02/18"/>
        <absence resourceId="6513181" color="0x65844d" type="vacation" reason="vacation" status="approved"  note="Trip To Nepal" requestTime="2009/12/29" startTime="2010/03/7" endTime="2010/3/18"/>
         <absence resourceId="2694791" color="0x65844d" type="sickness" reason="sickness" status="approved"  note="Sick out" requestTime="2009/12/29" startTime="2010/01/01" endTime="2010/01/04"/>
        <absence resourceId="2694791" color="0x65844d" type="vacation" reason="vacation" status="approved"  note="Home Country Trip" requestTime="2009/12/29" startTime="2010/02/1" endTime="2010/02/27"/>
    </model>
    how would this be possible? I believe we have to use Arraycollection after reading XML? Please let me know
    Thanks

    This is only in theory, haven't actually checked it but I think it could work
    If each one of those posts is done by an itemrender, your renderer can have 2 states stateone and statetwo for example.
    The reply state (statetwo) being bigger and containing space for the reply post.
    Store your replies in the database and have another boolean column ( Tinyint(1) or something) in your MySql db indicating that a particular post has a reply . When you pull your data from the database and put in in an arraycollection check this column for each post and use it to set the state of the itemrenderer.
    That way posts with no reply with be state one, and posts with replies will be state 2 and you can populate the reply field with data from the object in your arraycollection.
    I suppose it all does depend on how you get your data from MySQL and how you store it in Flex but I think states is a way you could accomplish things like this.

  • Advanced data grid memory leak issues

    Steps to reproduce:
    1. create an hierarchical xml as per the adobe live docs
    2. load this in to your flex app with http service (e4x)
    using hierarchical data as data provider eg
    mydata = new HierarchicalData(root.item);
    mydata.childrenField = "child" ;
    3. use a refresh button to reload the data
    Actual Results: system memory increases unlimited.
    Expected Results: system memory levels out as is with the
    normal datagrid
    I have made a test application that demonstrates the issue
    reported i hope it will help you resolve the issue.
    The proplem is particularly apparent with larger data sets
    and frequent data refreshes as with our application currently in
    production. The application should run in a webserver environment.
    For local file system use you might have to change the permissions.
    I did some further tests and the problem only occurs if the
    "displayItemsExpanded" property of the advanced datagrid is set to
    true.
    Regards,
    Michel Durieux
    this bug is filed under
    http://bugs.adobe.com/jira/browse/FLEXDMV-1750

    I have a data grid getting streaming quote data (for a trading
    application we are building in Flex). I get at least an update per
    symbol and the user can typically have anywhere from 20 symbols to 50
    symbols on the grid -
    so my test case, is i have 30 symbols in the data grid and each of
    them get an update / second (4 or 5 columns in the grid get updated)
    - so i find the index of the symbol who row needs to get updated and
    update those fields (also update the corresponding data source to
    handle other scenarios) ...
    let me know if you need any other info ?
    2009/5/10 Michael Borbor <[email protected]>:
    Hi there could you post your project test case? I assume you're ussing an ArrayCollection as the dataProvider, tests have been made and when dealing with very large amount of data the inner workings of the AC can perform up to 20 times worse than an Array due to binding mechanisms.
    >

  • Data Grid - Complete List with no Vertical Scroll

    Hi Guys,
    I have a datagrid. The height and width are set to 100%. The data grid is inside an Advanced datagrid which is also set to height and width of 100%.
    When each row of the advanced data grid is expanded, the data grid is displayed. It displays with a scroll bar. I want to display all the entries with no scroll. How is this achieved. Please post your comments.
    Regards,
    Mahee         

    html {overflow: scroll;}
    or
    .active-scroll-bars {overflow-y: hidden};
    are both viable says
    you can also
    body {
    overflow-y: hidden;
    however, you must understand that this might not show up the exact same in I.E. or FF...there's other work arounds with CSS, etc. but they might also cause a lapse issue.
    in order to fix your cause, I would just assume you give your datagrids absolute positioning, and, w/h ratio size...
    good luck

  • Bug in 1.5.1 Deleting number value in data grid

    Hello,
    it is not possible to set a number in a column to NULL by simply deleting the value
    DROP TABLE tab_test;
    CREATE TABLE tab_test(
    dat DATE
    ,num NUMBER
    ,var VARCHAR2(2)
    INSERT INTO tab_test (dat,num,var)
    VALUES (TO_DATE('01.01.2009','dd.mm.yyyy'),4,'ff');
    COMMIT;Open the table in SQL Developer and select data tab.
    Deleting the date value and commiting is ok
    UPDATE "RVS_FE"."TAB_TEST" SET DAT = TO_DATE('', 'DD.MM.YYYY') WHERE ROWID = 'AAA6Q0AAGAABHUlAAA' AND ORA_ROWSCN = '10443975276'
    Commit Successful
    Deleting the number value and commiting raises an error
    UPDATE "RVS_FE"."TAB_TEST" SET NUM =  WHERE ROWID = 'AAA6Q0AAGAABHUlAAA' AND ORA_ROWSCN = '10443975285'
    One error saving changes to table "RVS_FE"."TAB_TEST":
    Row 1: ORA-00932: inconsistent datatypes: expected NUMBER got DATE
    Rollback Successful
    Deleting the char value and commiting is ok
    UPDATE "RVS_FE"."TAB_TEST" SET VAR =  WHERE ROWID = 'AAA6Q0AAGAABHUlAAA' AND ORA_ROWSCN = '10443975285'
    Commit Successful
    Regards
    Marcus
    Edited by: Marwim on 26.11.2008 08:59

    Jim, I could reproduce and see the error, no change columns order.
    You can use the Marwim script's and, on the data grid, select the column DATE, delete value and commit.
    On the data grid, select the column var, delete value and commit.
    On the data grid, select the column num, delete value and commit -> get error.

  • How to put an image in a data grid in Flex Builder 2

    Hi All,
    I need to populate a data grid with some text data received
    from a web service and, in a particular column of the datagrid, I
    have to put an image depending of a specific data returned me by
    the web service.
    It seems that there is the possibility to add an image in
    data grid column with the cellRenderer properties, but this
    property is available only for ActionScript 3.
    I'm developing an application in Flex Builder 2 that run
    ActionScript 2 and cellRenderer properties is not available. Is it
    right?
    If no, I will can use this cellRenderer properties in my
    application. Please, can you show me an example?
    If yes, there is a way to insert an image in datagridcolumn
    with ActionScript 2?
    Thank you very much
    Regards

    Flex Builder 2 uses Actionscript 3.
    You will need to write a renderer for for this column.
    There are a lot of examples of datagrids with images in them.
    here is one from the livedocs
    http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Live Docs_Book_Parts&file=cellrenderer_072_28.html

  • Advanced data grid and grouping

    This is probably a basic questions, so hopefully someone will
    know the answer. I have an advanced data grid that works find a
    follows:
    <mx:AdvancedDataGrid id="adgReportList"
    horizontalCenter="0"
    y="28" width="485" height="500" dataProvider="{reports}">
    <mx:columns>
    <mx:AdvancedDataGridColumn headerText="Proposal Number"
    dataField="PROPOSAL_NUMBER"/>
    <mx:AdvancedDataGridColumn headerText="Report Title"
    dataField="REPORT_TITLE"/>
    <mx:AdvancedDataGridColumn headerText="Report Start Date"
    dataField="PERIOD_BEGINING"/>
    </mx:columns>
    </mx:AdvancedDataGrid>
    So the data coming back seems to be fine. But when I try to
    group the data as follows, nothing shows:
    <mx:AdvancedDataGrid id="adgReportList"
    horizontalCenter="0"
    y="28" width="485" height="500"
    initialize="gc.refresh();">
    <mx:dataProvider>
    <mx:GroupingCollection id="gc" source="{reports}">
    <mx:grouping>
    <mx:Grouping>
    <mx:GroupingField name="PROPOSAL_NUMBER" />
    </mx:Grouping>
    </mx:grouping>
    </mx:GroupingCollection>
    </mx:dataProvider>
    <mx:columns>
    <mx:AdvancedDataGridColumn headerText="Proposal Number"
    dataField="PROPOSAL_NUMBER"/>
    <mx:AdvancedDataGridColumn headerText="Report Title"
    dataField="REPORT_TITLE"/>
    <mx:AdvancedDataGridColumn headerText="Report Start Date"
    dataField="PERIOD_BEGINING"/>
    </mx:columns>
    </mx:AdvancedDataGrid>
    Thanks for any help.
    Jim

    "jim1234" <[email protected]> wrote in
    message
    news:g7eqkr$g6m$[email protected]..
    > Ok, I know what the problem is, I just don't know a good
    way to fix it.
    >
    > The problem is that the ArrayCollection that I use to
    populate the data
    > grid
    > does not have data until after the initialize event is
    fired. So I need
    > to
    > find out where/how to call the gc.refresh() method after
    the
    > ArrayCollection
    > has data.
    You're binding to it. Make sure it is bindable.

  • Advanced data grid and SummaryRow

    Hello,
    I've gotten the SummaryRow to work in AdvancedDataGrids in the past for performing certain functions like sum or average... but for this specific instance I want to do a summary row on non-numeric values (approved or rejected).
    For instance... lets say I have a GroupingCollection in the advanced data grid and I want to group by department (this is a 1 to many with dept having 1 or more employees). At that grouped level I want to show either "approved" or "rejected"... how can i show this next to the grouped department (not as another group below the department)? See my screenshot below of my output and how I could achieve this.

    "jim1234" <[email protected]> wrote in
    message
    news:g7eqkr$g6m$[email protected]..
    > Ok, I know what the problem is, I just don't know a good
    way to fix it.
    >
    > The problem is that the ArrayCollection that I use to
    populate the data
    > grid
    > does not have data until after the initialize event is
    fired. So I need
    > to
    > find out where/how to call the gc.refresh() method after
    the
    > ArrayCollection
    > has data.
    You're binding to it. Make sure it is bindable.

  • Data grid, remote xml, crossdomain.xml

    Hi...
    I have a problem with the security sandbox of the flash player.
    I need a data grid to get its data from a xml located in other domain. I have prepared a crossdomain.xml file with this structure:
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
    <allow-access-from domain="*"/>
    </cross-domain-policy>
    </cross-domain-policy>
    I have put this file in the public_html folder of my host, and also in the folder where the app is located but still not working....
    I guess I need to do something else....
    Thank you very much.

    Hi there,
    I am looking for a solution like yours, but it seems that
    flex does not like much the XML attributes nor xpath syntax.
    As a workaround, I would modify your source XML to be
    <row>
    <column>
    <dataGridHeader1>Test Data 1.1</dataGridHeader1>
    </column>
    <column>
    <dataGridHeader2>Test Data 1.2</dataGridHeader2>
    </column>
    </row>
    This way, you can take the appropriate value by describing
    <mx:DataGridColumn
    headerText="{dataXML.column.dataGridHeader1}"
    dataField="{column[0]}"/>
    <mx:DataGridColumn
    headerText="{dataXML.column.dataGridHeader2}"
    dataField="{column[1]}"/>
    Hope it helps. Let me know if you find the REAL solution to
    read attributes and Xpath,
    Best regards,
    Miguel

  • Data Grid vs Data Form

    Hi,
    I can't remeber the followings:
    When we should use a Data Grid instead of a Data Form?
    what are the different features?

    Data forms are meant for Data input. Though data can also be inputted in the Data grid. We use Data grid for running the consolidations. Further, in data forms the user has restricted POV while in case of Data Grid the user can select any members from the dimension heirarchy.
    These are some of the differences..
    Regards,
    Madhavi

  • Difference between Data Grid and Data Forms

    Hi all,
    What is the difference between data grid and data forms.

    Data entry forms are pre defined and are generally used to manually input data into reporting (financial statement) schedules.
    They can also be used for reviewing purposes and it gives users a presentable / and consistent format to view data in Hyperion.
    Data grids are the equivalent of pivot tables in excel. It should be used for ad hoc purposes to view / analyse data in whatever form you choose. The user has the flexibility to choose what they see in the rows, columns and page dimensions.
    One of the main differences between data entry forms and data grids is that you can’t export data grids to excel whereas you can with data entry forms. Other differences are:
    1. Run consolidation, translation, promotion from data grids but not in data entry forms.
    2. You can link other data entry forms to a data entry form
    3. Data entry forms offer greater formatting options than in data grids i.e. colours, fonts, bold, italics.
    At the end of the day, they are similar and there is no reason why you can’t have (use) both. It all depends on your local needs on how best you use both.
    I hope above information helps.

  • Button for grid display

    Hi friends.
    I have a requirement where in I need to give a button to each line in the alv. I have been able to achieve this feature. Now, I need to add an image on this button and a click on this button would perform a different operation.
    Can we achieve this using ALV with OOPS and using Reporting.
    Thanks
    chandra..

    Hello Chandra
    The sample report ZUS_SDN_ALV_EVT_BUTTON_CLICK shows how to fulfill you requirements.
    For the sake of simplicity I overwrote the company code in column BUKRS with the icon. Obviously it makes more sense to add a BUTTON column to the fieldcatalog.
    *& Report  ZUS_SDN_ALV_EVT_BUTTON_CLICK
    *& Thread: Button for grid display
    *& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="788773"></a>
    *  Flow logic of screen '0100' (contains no dynpro elements):
    *  PROCESS BEFORE OUTPUT.
    *    MODULE STATUS_0100.
    *  PROCESS AFTER INPUT.
    *    MODULE USER_COMMAND_0100.
    REPORT  zus_sdn_alv_evt_button_click.
    TYPE-POOLS: abap, icon.
    DATA:
      gd_okcode        TYPE ui_func,
      gs_layout        TYPE lvc_s_layo,
      gt_fcat          TYPE lvc_t_fcat,
      go_docking       TYPE REF TO cl_gui_docking_container,
      go_grid1         TYPE REF TO cl_gui_alv_grid.
    DATA:
      gt_knb1          TYPE STANDARD TABLE OF knb1.
    PARAMETERS:
      p_bukrs      TYPE bukrs  DEFAULT '2000'  OBLIGATORY.
    *       CLASS lcl_eventhandler DEFINITION
    CLASS lcl_eventhandler DEFINITION.
      PUBLIC SECTION.
        CLASS-METHODS:
          handle_button_click FOR EVENT button_click OF cl_gui_alv_grid
            IMPORTING
              es_col_id
              es_row_no
              sender.
    ENDCLASS.                    "lcl_eventhandler DEFINITION
    *       CLASS lcl_eventhandler IMPLEMENTATION
    CLASS lcl_eventhandler IMPLEMENTATION.
      METHOD handle_button_click.
    *   define local data
        DATA:
          ls_knb1     TYPE knb1,
          ls_col_id   TYPE lvc_s_col.
        READ TABLE gt_knb1 INTO ls_knb1 INDEX es_row_no-row_id.
        CHECK ( ls_knb1-kunnr IS NOT INITIAL ).
        SET PARAMETER ID 'KUN' FIELD ls_knb1-kunnr.
        SET PARAMETER ID 'BUK' FIELD p_bukrs.
        CALL TRANSACTION 'XD03' AND SKIP FIRST SCREEN.
    **   OR: show your popup
    *    call screen '0200' starting at 5   5
    *                       ending   at 10  20.
      ENDMETHOD.                    "handle_button_click
    ENDCLASS.                    "lcl_eventhandler IMPLEMENTATION
    START-OF-SELECTION.
      PERFORM select_and_modify_data.
    * Create docking container
      CREATE OBJECT go_docking
        EXPORTING
          parent = cl_gui_container=>screen0
          ratio  = 90
        EXCEPTIONS
          OTHERS = 6.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * Create ALV grid
      CREATE OBJECT go_grid1
        EXPORTING
          i_parent = go_docking
        EXCEPTIONS
          OTHERS   = 5.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * Set event handler
      SET HANDLER:
        lcl_eventhandler=>handle_button_click FOR go_grid1.
    * Build fieldcatalog and set button for field KUNNR
      PERFORM build_fieldcatalog_knb1.
    * Display data
      gs_layout-detailinit = 'X'.
      gs_layout-zebra      = 'X'.
      CALL METHOD go_grid1->set_table_for_first_display
        EXPORTING
          is_layout       = gs_layout
        CHANGING
          it_outtab       = gt_knb1
          it_fieldcatalog = gt_fcat
        EXCEPTIONS
          OTHERS          = 4.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * Link the docking container to the target dynpro
      CALL METHOD go_docking->link
        EXPORTING
          repid                       = syst-repid
          dynnr                       = '0100'
    *      CONTAINER                   =
        EXCEPTIONS
          OTHERS                      = 4.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * ok-code field = GD_OKCODE
      CALL SCREEN '0100'.
    END-OF-SELECTION.
    *&      Module  STATUS_0100  OUTPUT
    *       text
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'STATUS_0100'.
    *  SET TITLEBAR 'xxx'.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    *       text
    MODULE user_command_0100 INPUT.
      CASE gd_okcode.
        WHEN 'BACK' OR
             'END'  OR
             'CANC'.
          SET SCREEN 0. LEAVE SCREEN.
        WHEN OTHERS.
      ENDCASE.
      CLEAR: gd_okcode.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Form  BUILD_FIELDCATALOG_KNB1
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM build_fieldcatalog_knb1 .
    * define local data
      DATA:
        ls_fcat        TYPE lvc_s_fcat.
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
    *     I_BUFFER_ACTIVE              =
          i_structure_name             = 'KNB1'
    *     I_CLIENT_NEVER_DISPLAY       = 'X'
    *     I_BYPASSING_BUFFER           =
    *     I_INTERNAL_TABNAME           =
        CHANGING
          ct_fieldcat                  = gt_fcat
        EXCEPTIONS
          inconsistent_interface       = 1
          program_error                = 2
          OTHERS                       = 3.
      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 gt_fcat INTO ls_fcat
              WHERE ( fieldname = 'BUKRS' ).
        ls_fcat-style = cl_gui_alv_grid=>mc_style_button.
        ls_fcat-icon  = abap_true.
        MODIFY gt_fcat FROM ls_fcat.
      ENDLOOP.
    ENDFORM.                    " BUILD_FIELDCATALOG_KNB1
    *&      Form  SELECT_AND_MODIFY_DATA
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM select_and_modify_data .
    * define local data
      DATA: ls_knb1   TYPE knb1.
      SELECT        * FROM  knb1 INTO TABLE gt_knb1
             WHERE  bukrs  = p_bukrs.
      ls_knb1-bukrs = icon_customer.
      MODIFY gt_knb1 FROM ls_knb1
        TRANSPORTING bukrs
        WHERE ( bukrs NE ls_knb1-bukrs ).
    ENDFORM.                    " SELECT_AND_MODIFY_DATA
    Regards
      Uwe

Maybe you are looking for

  • ERROR : OpenDoc CR to PDF - File is too large for attachment.

    We are getting the following error in 3.1 using an OpenDoc call when we call a large Crystal Report to PDF format... Error : 52cf6f8f4bbb6d3.pdf File is too large for attachment. It runs OK from BOE when given parameters that returned 44 pages. (PDF

  • Saved PDF files in Illustrator not showing when opened in Reader

    I'm having a problem with files saved as PDFs in Illustrator, which, when opened in Reader reveal only a blank page. Any solutions?

  • Unable to access Webdynpro abap application externally

    Hello, We have created a WebDynpro ABAP application,it is a simple application talking to the ECC. We are able to run this application on our portal within the network,but when we try to access the application from an external network it says Interne

  • MSS  1.0 sp13 Keyfigure Monitor

    Hi , I have deployed the MSS 1.0 sp13 . when i execute the keyfigure monitor which is component developed in webdynpro for ABAP . When i am executing this application i am getting an error . Error Details The exception 'CX_FQDN' was raised, but it wa

  • [Nokia N8] Ovi Maps NOT using GPRS data

    I recently updated the my Nokia N8 software to PR1.1 I had used Ovi Maps before and it was working properly. The GPRS data was being utilized for positioning. But after updating the software, the counter at the bottom remains 0.0kb and shows "Not con