Dynamic table of object references possible?

How can I create a dynamically typed table of object references, based on the
name of the reference type (which could be an interface)?
The following will not work, because cl_abap_tabledescr=>create() only accepts a
cl_abap_datadescr as the line type, not a cl_abap_objectdescr:
lo_line_type = cl_abap_typedescr=>describe_by_name( 'Z_MY_INTF' ).
lo_table_type = cl_abap_tabledescr=>create(
                      p_line_type  = lo_line_type
                      p_table_kind = cl_abap_tabledescr=>tablekind_std
                      p_unique     = abap_false ).
Can I somehow create a reference type description from the object description and
use that as the line type? Or what?
-- Sebastian

Hello Sebastian
I have improved my sample report according to your requirement:
*& Report  ZUS_SDN_OO_INSTANCE_ITERATOR
*& Thread: Dynamic table of object references possible?
*& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1381471"></a>
REPORT  zus_sdn_oo_instance_iterator.
TYPE-POOLS: abap.
DATA:
  gd_instanceof   TYPE abap_bool,
  go_objdescr     TYPE REF TO cl_abap_objectdescr,
  gd_clsname      TYPE string,
  gt_objects      TYPE swf_utl_object_tab,
  go_object       TYPE REF TO object,
  go_msglist      TYPE REF TO if_reca_message_list,
  go_iterator     TYPE REF TO cl_swf_utl_iterator.
START-OF-SELECTION.
* Create instances and collect into generic instance itab
  DO 3 TIMES.
    CLEAR: go_msglist.
    go_msglist = cf_reca_message_list=>create( ).
"   NOTE: This class method cannot determine interface instances
    CALL METHOD cl_lcr_util=>instanceof
      EXPORTING
        object = go_msglist
        class  = 'CL_RECA_MESSAGE_LIST'
      RECEIVING
        r_     = gd_instanceof.
    clear: gd_instanceof.
"   NOTE: This class method works both with classes and interfaces
    CALL METHOD cl_wdy_wb_reflection_helper=>is_instance_of
      EXPORTING
        object      = go_msglist
        type_name   = 'IF_RECA_MESSAGE_LIST'
      receiving
        is_instance = gd_instanceof.
    IF ( gd_instanceof = abap_true ).
      APPEND go_msglist TO gt_objects.
    ENDIF.
  ENDDO.
* Create iterator with collected instances
  CREATE OBJECT go_iterator
    EXPORTING
      im_object_list = gt_objects.
* Iteration through collected instances
  WHILE ( go_iterator->get_current( ) IS BOUND ).
    go_object   = go_iterator->get_current( ).
    go_objdescr ?= cl_abap_objectdescr=>describe_by_object_ref( go_object ).
    gd_clsname = go_objdescr->get_relative_name( ).
    WRITE: / syst-index, gd_clsname.
    go_msglist ?= go_iterator->get_current( ).
    go_iterator->get_next( ).
  ENDWHILE.
END-OF-SELECTION.
Regards
  Uwe

Similar Messages

  • Delete Duplicates from internal table with object references

    Hi
    How can I delete duplicates from an internal table in ABAP OO based on the value of one of the attributes?
    I have created a method, with the following code:
      LOOP AT me->business_document_lines INTO l_add_line.
        CREATE OBJECT ot_line_owner
          EXPORTING
            i_user      = l_add_line->add_line_data-line_owner
            i_busdoc = me->business_document_id.
          APPEND ot_line_owner TO e_line_owners.
      ENDLOOP.
    e_line_owners are defined as a table containing only object references.
    One of the attribute of the object in the table is called USER. And I would like to do a "delete ADJACENT DUPLICATES FROM e_line_owners", based on that attribute.
    How can do this?
    Regards,
    Morten Nielsen

    Hello Morten
    Assuming that the instance attribute is <b>public </b>you could try to use the following coding:
      SORT e_line_owners BY table_line->user.
      DELETE ADJACENT DUPLICATES FROM e_line_owners
        COMPARING table_line->user.
    However, I am not really sure (cannot test myself) whether <b>TABLE_LINE</b> can be used together with SORT and DELETE.
    Alternative solution:
      DATA:
         ld_idx    TYPE sy-tabix.
      LOOP AT e_line_owners INTO ls_line.
        ld_idx = syst-tabix + 1.
        LOOP AT e_line_owners TRANSPORTING NO FIELDS FROM ld_idx
                       WHERE ( table_line->user = ls_line->user ).
          DELETE e_line_owners INDEX syst-tabix.
        ENDLOOP.
      ENDLOOP.
    Regards
      Uwe

  • Using string to create object reference?

    How do I use a string to dynamically set an object reference?
    For example, I have a pop up window with a function to set
    the text of a text object in the main application:
    Application.application.t1.text = completeString;
    The "t1" is the object, of course. There are several such
    objects, t2, t3, etc. I'd like to make this a variable item in the
    popup, and pass the reference to WHICH text object (eg, "t1' or
    "t2") from the popup's parent.
    So, if the variable was something like "whichBox" (not sure
    what to type it as), then I'm looking for something like:
    Application.application.
    whichBox.text = completeString;
    Which I cannot get to work... what am I missing here?

    perhaps you can try this...
    Application.application[myParam].text
    where myParam is a String var with the value of 'whichBox' or
    whatever name you wanted.

  • The following error text was processed in the system IDS : Access via 'NULL' object reference not possible.

    Hi all ,
    Im getting the below error , actually recently i created my own custom table zstudent, later i wrote select query to fetch data from the same and dump at internal table and then bind this to the table node.
    But im getting below error, even i removed the select query still same error is occuring.
    Error when processing your request
      What has happened?
    The URL http://********00.*****b.com:8000/sap/bc/webdynpro/sap/zdemo_student/ was not called due to an error.
    Note
    The following error text was processed in the system IDS : Access via 'NULL' object reference not possible.
    The error occurred on the application server axsids00_IDS_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: WDDOINIT of program /1BCWDY/YUSM2Q74A826Y0JY1I4V==CP
    Method: IF_WDR_COMPONENT_DELEGATE~WD_DO_INIT of program /1BCWDY/YUSM2Q74A826Y0JY1I4V==CP
    Method: DO_INIT of program CL_WDR_DELEGATING_COMPONENT===CP
    Method: INIT_CONTROLLER of program CL_WDR_CONTROLLER=============CP
    Method: INIT_CONTROLLER of program CL_WDR_COMPONENT==============CP
    Method: INIT of program CL_WDR_CONTROLLER=============CP
    Method: INIT of program CL_WDR_CLIENT_COMPONENT=======CP
    Method: INIT of program CL_WDR_CLIENT_APPLICATION=====CP
    Method: IF_WDR_RUNTIME~CREATE of program CL_WDR_MAIN_TASK==============CP
    Method: HANDLE_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP

    Thanks Rama,
    Acutally i accidentally commented the lo_nd_student = wd_context ....etc
    this line was commented .
    i have one small requirement to fetch data from local customised table and fill the same to internal table and bind that to table node.
    my table node is student having attributes as name , city and number , all are of type strings.
    now i created one custom table zstudent having ID - char of length 10,
    name of type string
    city of type string
    num of type string
    i have inserted records
    but when i use select query to fill data from this zstudent to my internal table of type lt_student type wd_this->elements_student ,
    im getting same above error.

  • Dump - Access using NULL object reference is not possible!!!

    Hi,
    I'm using the BCS class for sending HTM format email so i use the below code for that its working,
    DATA: gr_document      TYPE REF TO cl_document_bcs,
    gr_document = cl_document_bcs=>create_document(
                          i_type    = 'HTM'
                           i_text    = t_html
                           i_importance = '5'
                           i_subject = gc_subject ).
    Next task is to send the image so i'm creating an another object to the same class, below code
    *Image from MIME
    DATA: o_mr_api         TYPE REF TO if_mr_api.
    DATA is_folder TYPE boole_d.
    DATA l_img1 TYPE xstring.
    DATA l_img2 TYPE xstring.
    DATA l_loio TYPE skwf_io.
    DATA: lo_document   TYPE REF TO cl_document_bcs.
    IF o_mr_api IS INITIAL.
       o_mr_api = cl_mime_repository_api=>if_mr_api~get_api( ).
    ENDIF.
    CALL METHOD o_mr_api->get
       EXPORTING
         i_url              = '/SAP/PUBLIC/ZDEMO/tick.png'
       IMPORTING
         e_is_folder        = is_folder
         e_content          = l_img1
         e_loio             = l_loio
       EXCEPTIONS
         parameter_missing  = 1
         error_occured      = 2
         not_found          = 3
         permission_failure = 4
         OTHERS             = 5.
    CALL METHOD o_mr_api->get
       EXPORTING
         i_url              = '/SAP/PUBLIC/ZDEMO/Delete.png'
       IMPORTING
         e_is_folder        = is_folder
         e_content          = l_img2
         e_loio             = l_loio
       EXCEPTIONS
         parameter_missing  = 1
         error_occured      = 2
         not_found          = 3
         permission_failure = 4
         OTHERS             = 5.
    *Convert XSTRING to ITAB
    DATA :lt_hex1 TYPE solix_tab,
           lt_hex2 TYPE solix_tab,
           ls_hex LIKE LINE OF lt_hex1,
           lv_img1_size TYPE sood-objlen,
           lv_img2_size TYPE sood-objlen.
    CLEAR : lt_hex1, lt_hex2, ls_hex, lv_img1_size, lv_img2_size.
    WHILE l_img1 IS NOT INITIAL.
       ls_hex-line = l_img1.
       APPEND ls_hex TO lt_hex1.
       SHIFT l_img1 LEFT BY 255 PLACES IN BYTE MODE.
    ENDWHILE.
    WHILE l_img2 IS NOT INITIAL.
       ls_hex-line = l_img2.
       APPEND ls_hex TO lt_hex2.
       SHIFT l_img2 LEFT BY 255 PLACES IN BYTE MODE.
    ENDWHILE.
    *Findthe Size of the image
    DESCRIBE TABLE lt_hex1 LINES lv_img1_size.
    DESCRIBE TABLE lt_hex2 LINES lv_img2_size.
    lv_img1_size = lv_img1_size * 255.
    lv_img2_size = lv_img2_size * 255.
    *Attach Images
    clear: lo_document.
    lo_document->add_attachment(
       EXPORTING
         i_attachment_type     =  'png'                  " Document Class for Attachment
         i_attachment_subject  =  'img1'                " Attachment Title
         i_attachment_size     =  lv_img1_size           " Size of Document Content
         i_att_content_hex     =  lt_hex1  " Content (Binary)
    lo_document->add_attachment(
       EXPORTING
         i_attachment_type     =  'png'                  " Document Class for Attachment
         i_attachment_subject  =  'img2'                " Attachment Title
         i_attachment_size     =  lv_img2_size           " Size of Document Content
         i_att_content_hex     =  lt_hex2  " Content (Binary)
    but it throws the dump " Access using NULL object reference is not possible"  when i tries to access for method add_attachment...
    Thanks,
    Siva

    Yes there is commit work after that, Below code
          gr_document = cl_document_bcs=>create_document(
                           i_type    = 'HTM'
                            i_text    = t_html
                            i_importance = '5'
                            i_subject = gc_subject ).
    *Image from MIME
    DATA: o_mr_api         TYPE REF TO if_mr_api.
    DATA is_folder TYPE boole_d.
    DATA l_img1 TYPE xstring.
    DATA l_img2 TYPE xstring.
    DATA l_loio TYPE skwf_io.
    DATA: lo_document   TYPE REF TO cl_document_bcs.
    IF o_mr_api IS INITIAL.
       o_mr_api = cl_mime_repository_api=>if_mr_api~get_api( ).
    ENDIF.
    CALL METHOD o_mr_api->get
       EXPORTING
         i_url              = '/SAP/PUBLIC/ZDEMO/tick.png'
       IMPORTING
         e_is_folder        = is_folder
         e_content          = l_img1
         e_loio             = l_loio
       EXCEPTIONS
         parameter_missing  = 1
         error_occured      = 2
         not_found          = 3
         permission_failure = 4
         OTHERS             = 5.
    CALL METHOD o_mr_api->get
       EXPORTING
         i_url              = '/SAP/PUBLIC/ZDEMO/Delete.png'
       IMPORTING
         e_is_folder        = is_folder
         e_content          = l_img2
         e_loio             = l_loio
       EXCEPTIONS
         parameter_missing  = 1
         error_occured      = 2
         not_found          = 3
         permission_failure = 4
         OTHERS             = 5.
    *Convert XSTRING to ITAB
    DATA :lt_hex1 TYPE solix_tab,
           lt_hex2 TYPE solix_tab,
           ls_hex LIKE LINE OF lt_hex1,
           lv_img1_size TYPE sood-objlen,
           lv_img2_size TYPE sood-objlen.
    CLEAR : lt_hex1, lt_hex2, ls_hex, lv_img1_size, lv_img2_size.
    WHILE l_img1 IS NOT INITIAL.
       ls_hex-line = l_img1.
       APPEND ls_hex TO lt_hex1.
       SHIFT l_img1 LEFT BY 255 PLACES IN BYTE MODE.
    ENDWHILE.
    WHILE l_img2 IS NOT INITIAL.
       ls_hex-line = l_img2.
       APPEND ls_hex TO lt_hex2.
       SHIFT l_img2 LEFT BY 255 PLACES IN BYTE MODE.
    ENDWHILE.
    *Findthe Size of the image
    DESCRIBE TABLE lt_hex1 LINES lv_img1_size.
    DESCRIBE TABLE lt_hex2 LINES lv_img2_size.
    lv_img1_size = lv_img1_size * 255.
    lv_img2_size = lv_img2_size * 255.
    *Attach Images
    create object lo_document type cl_document_bcs.
    lo_document->add_attachment(
       EXPORTING
         i_attachment_type     =  'png'                  " Document Class for Attachment
         i_attachment_subject  =  'img1'                " Attachment Title
         i_attachment_size     =  lv_img1_size           " Size of Document Content
         i_att_content_hex     =  lt_hex1  " Content (Binary)
    lo_document->add_attachment(
       EXPORTING
         i_attachment_type     =  'png'                  " Document Class for Attachment
         i_attachment_subject  =  'img2'                " Attachment Title
         i_attachment_size     =  lv_img2_size           " Size of Document Content
         i_att_content_hex     =  lt_hex2  " Content (Binary)
           "Add document to send request
           CALL METHOD gr_send_request->set_document( gr_document ).
           TRY.
             CALL METHOD gr_send_request->SET_SEND_IMMEDIATELY
               EXPORTING
                 I_SEND_IMMEDIATELY = 'X'.
    *    CATCH CX_SEND_REQ_BCS INTO BCS_EXCEPTION .
    **Catch exception here
           ENDTRY.
           DATA: LO_SENDER TYPE REF TO IF_SENDER_BCS VALUE IS INITIAL.
           TRY.
             LO_SENDER = CL_SAPUSER_BCS=>CREATE( SY-UNAME ). "sender is the logged in user
    * Set sender to send request
             gr_send_request->SET_SENDER(
             EXPORTING
             I_SENDER = LO_SENDER ).
    *    CATCH CX_ADDRESS_BCS.
    ****Catch exception here
           ENDTRY.
           "Send email
           CALL METHOD gr_send_request->send(
             EXPORTING
               i_with_error_screen = 'X'
             RECEIVING
               result              = gv_sent_to_all ).
           IF gv_sent_to_all = 'X'.
             WRITE 'Email sent!'.
           ENDIF.
           "Commit to send email
           COMMIT WORK.
           "Exception handling
         CATCH cx_bcs INTO gr_bcs_exception.
           WRITE:
             'Error!',
             'Error type:',
             gr_bcs_exception->error_type.
       ENDTRY.

  • Access via 'NULL' object reference not possible   - GET_RANGE_TABLE_OF_SEL_

    Hi Guru's,
       i am new for WebDynpro programming.I am trying to use select-options tutorial.
    System showing select options and table binding on screen when i test the application.
    I have using search button to get the value which user will i/p.for that onaction method created, i have writen the code to get the values which user will input.
    Method  given below is of componentcontroler
    method wddoinit .
      data: lt_range_table type ref to data,
            rt_range_table type ref to data,
            read_only type abap_bool,
            lt_range_table1 type ref to data.
      data: lr_componentcontroller type ref to ig_componentcontroller,
            l_ref_cmp_usage type ref to if_wd_component_usage.
    create the used component
      l_ref_cmp_usage = wd_this->wd_cpuse_select_options( ).
      if l_ref_cmp_usage->has_active_component( ) is initial.
        l_ref_cmp_usage->create_component( ).
      endif.
      wd_this->m_wd_select_options = wd_this->wd_cpifc_select_options( ).
      wd_this->m_handler = wd_this->m_wd_select_options->init_selection_screen( ).
      wd_this->m_handler->set_global_options(
                              i_display_btn_cancel  = abap_false
                              i_display_btn_check   = abap_false
                              i_display_btn_reset   = abap_false
                              i_display_btn_execute = abap_false ).
      lt_range_table = wd_this->m_handler->create_range_table( i_typename = 'S_CARR_ID' ).
      wd_this->m_handler->add_selection_field( i_id = 'CARRID'
      it_result = lt_range_table i_read_only = read_only ).
      call method wd_this->m_handler->add_horizontal_divider
        exporting
          i_id = 'LINE'.
    endmethod.
    Method  given below is of VIEW.
    method ONACTIONSEARCH .
      DATA: NODE_FLIGHTS TYPE REF TO IF_WD_CONTEXT_NODE.
      DATA: RT_CARRID TYPE REF TO DATA.
      DATA: ISFLIGHT TYPE TABLE OF SFLIGHT.
      DATA: WSFLIGHT TYPE SFLIGHT.
      FIELD-SYMBOLS: <FS_CARRID> TYPE TABLE.
    Retrieve the data from the select option
      RT_CARRID = WD_THIS->M_HANDLER->GET_RANGE_TABLE_OF_SEL_FIELD( I_ID = 'S_CARR_ID' ).
    Assign it to a field symbol
      ASSIGN RT_CARRID->* TO <FS_CARRID>.
      CLEAR ISFLIGHT. REFRESH ISFLIGHT.
      SELECT * INTO CORRESPONDING FIELDS OF TABLE ISFLIGHT FROM SFLIGHT
                           WHERE CARRID IN <FS_CARRID>.
      NODE_FLIGHTS = WD_CONTEXT->GET_CHILD_NODE( NAME = `FLIGHTS` ).
      NODE_FLIGHTS->BIND_ELEMENTS( ISFLIGHT ).
    endmethod.
    while executing appln. error is trigger on line given below
    RT_CARRID = WD_THIS->M_HANDLER->GET_RANGE_TABLE_OF_SEL_FIELD( I_ID = 'S_CARR_ID' ).
    Err: The following error text was processed in the system BCD : Access via 'NULL' object reference not possible.
    please help me out on this issue.
    Thanks and Regards
    Vinayak Sapkal

    hi ,
    The attribute M_HANDLER is an attirbute of component controller (as told by your post) and so you cannot access it as you have done it.
    You will have to access it as .
    WD_COMP_CONTROLLER->M_HANDLER->GET_RANGE_TABLE_OF_SEL_FIELD(I_ID = 'S_CARR_ID' ).
    Try doing it.
    Or else , if you have created a similar attribute in your view itself , then it is "INITIAL" and hence you are getting the dump.
    You will have to assign the view attribute "M_HANDLER" with the value of your component controller attribute "M_HANDLER" ,because all the initializations are done in WDDOINIT of comp controller and on component controller atribute "M_HANDLER".
    Thanks,
    aditya.

  • Runtime error in WebDynpro - Access via 'NULL' object reference not possibl

    Hi,
        Structure of the CONTEXT in the VIEW::
         WDSCREEN1
              --> IMPORTING
                         --> S_KUNNR   <- its a select option
              --> EXPORTING
                        --> T_REPORT  <- Which is table to hold the output data (with 4 fields)
       In the context area i have root node (WDSCREEN1) and Sub nodes are IMPORTING and EXPORTING and child nodes as shown above. When i am referring them everything is fine except T_REPORT.
    * Declaration
      DATA:  node                  TYPE REF TO if_wd_context_node,
                  node_exporting TYPE REF TO if_wd_context_node,
                  node_importing  TYPE REF TO if_wd_context_node,
                  node_report       TYPE REF TO if_wd_context_node,
      node           = wd_context->get_child_node( wd_this->wdctx_wdscreeb1 ).
      node_exporting = node->get_child_node( wd_this->wdctx_exporting ).
      node_importing = node->get_child_node( wd_this->wdctx_importing ).
    * Bind the data to the context
      node_report = node_exporting->get_child_node( name = 'T_REPORT` ).
      node_report->bind_elements( lt_report ).
    Its giving run time error 'Access via 'NULL' object reference not possible. ' when it comes to ' node_report->bind_elements( lt_report ).' I checked the content while debugging and found that it was initial. Not sure why Node_report is initial. all others have data.
    node ->
    node_exporting ->
    node_importing ->
    node_report ->

    http://wiki.sdn.sap.com/wiki/display/EP/PointersforTroubleshootingPortalRuntime+Errors
    Hope this helps.
    -Veer

  • Object Reference Column in a SqlCe Data Table

    This may be a strange question...
    I've defined a table in a SqlCe database (using VS C#2010 Express) that will never have any data persisted in it.  I did this so I can instantiate versions of it using the designer generated strongly typed table definition without ever directly using
    the one that's in the database.  (That may be obtuse, but it seems to work quite well, I don't need to worry about the database overhead, and I get all the documentation and code creation the designer provides).
    I've now run into a situation where I'd like one of the columns in the instantiated tables to contain references to C# objects (always requiring casting of course to use them).  Can I do that and, if so, what SqlCe datatype would I use to get a column
    that can contain an object reference?
    Thx.  Steve

    Erik -
    I'll admit to trying to cut some corners, which I'd like to do if there's a way that doesn't cross some .Net, Visual Studio  or C# line.
    As you noted, I do want to store a reference to the object ONLY during runtime.  I can certainly use a List or a DataTable created for that purpose, which is really what I want to do.  I'd like to use a DataTable that I already have setup
    to store other variables, so that as I traverse it (e.g. using foreach DataRow), I can reference the object as well as the other variables using the foreach DataRow reference. 
    The trick I want to use is to define the DataTable using the VS database designer rather than manually creating the code that defines it.  The designer is visual, easy to use, self-documenting, and of special note makes the code that uses
    the DataTable easy to read because the resulting DataTable is strongly-typed.  I should have more clearly exhibited in the sample code how I use the strong-typing in the line that sets myDataRow.  It should read: "MyDatabaseDataSet.MyTableDataRow
    myDataRow = myDataTable.Rows[I];", where "MyDatabaseDataSet.MyTableDataRow" uses to the VS generated strongly-typed DataRow definition.  Note that the code does not store data in the database's
    DataTable itself.  It merely uses the database's DataTable DEFINITIONS to instantiate other tables.
    I have used this approach when the all data in the DataTable is of one or more native C# types (int, decimal, etc) for which there are corresponding SqlCe types.  However, I'd like to use it with a custom type (MyObject), if that's possible, and am
    looking for what SqlCe type might work for that purpose, if any.
    I admit that this may be an unusual way to create a DataTable definition.  I'm not sure where I can up with the idea.  I may have read it somewhere or just cooked it up myself.  But I really like what the strong-typing provides (without having
    to manually create it myself).
    Is there any way to include custom types using this idea?

  • Access via NULL reference object not possible

    Hi friends,
      I have created an wda application which uses the table popin to display data.
      So that i have created a view with two of the  fields as link to action UI element.
      In the Events/Actions of the link to action element i implemented the following logic.
      data wd_table_cell_editor type ref to cl_Wd_view_element.
      data wd_table_column      type ref to cl_wd_table_column.
      data wd_popin             type ref to cl_wd_table_popin.
      data id type string.
    <b> wd_table_cell_editor ?= wd_this->m_view->get_element( id ).</b>
      wd_table_column ?= wd_table_cell_editor->get__parent( ).
      wd_popin = wd_table_column->get_popin( ).
      context_element->set_attribute( name = 'SELECTED_POPIN' value =
    wd_popin->id ).
    So when i click on the link to action in the table column of the field am getting the following error
    <b>Access via NULL reference object not possible.</b>
    While debugging i have noticed that this error was coming at the below step of the code.
    <b>wd_table_cell_editor ?= wd_this->m_view->get_element( id )</b>
    in the m_view->get_element( id ) does not contan any value , its showing as table , as null value cannnot be assigned may be its throwing the above error.
    But i didnt understand why the view is not getting UI element id ....
    Can one please suggest me where might be the wrong....
    Regards
    Sireesha.

    Hi nithya,
      Could you please calrify the doubts for the following q's.
    1. As u said in the above post, i have changed the code to the below.
         data: lr_table type ref to cl_wd_table,
    lr_table_col type ref to cl_wd_table_column.
    lr_table ?= wd_this->m_view->get_element( 'TABLE' ).
    lr_table_col = lr_table->get_column( ID = 'TABLE_CONNECTID' ).
      <b>wd_popin = lr_table_col->get_popin( ).</b>
    (At the above step which is in bold , eventhough there is value in lr_table_col->get_popin , its not assigning a value to the wd_popin, throwing same error NULL etc.,)
      context_element->set_attribute( name = 'SELECTED_POPIN' value =
    wd_popin->id ).
    2. Before changing the code suggested by u, the follwoing was the code from standard example.Its working fine in the application wdr_test_table.I have debugged the code.The value is getting assigned into wd_table_cell_editor.
    The same thing i have done but its failing to assign the value. thats y its throwing null reference error. Here i have a confusion how its assigning a value and y not in the z application.am giving the code below which is in standard and my application.Please clarify these.
    data wd_table_cell_editor type ref to cl_Wd_view_element.
      data wd_table_column      type ref to cl_wd_table_column.
      data wd_popin             type ref to cl_wd_table_popin.
      <b>wd_table_cell_editor ?= wd_this->m_view->get_element( id ).</b>
    ( Note :  wd_this->m_view->get_element contains value but not assigning it to the wd_table_cell_editor and same code in the standard behaving correctly like assigning the view value to the cell editor. Y this behavior, please advice me)
      wd_table_column ?= wd_table_cell_editor->get__parent( ).
      wd_popin = wd_table_column->get_popin( ).
      context_element->set_attribute( name = 'SELECTED_POPIN' value = wd_popin->id )
    Regards
    Sireesha.

  • Web-UI error message "Access via 'NULL' object reference not possible"

    I need some help, I'm not a Basis person but I need to get this connection problem resolve.
    This problem is in our DEV ICWeb system.  After logging in to Web-UI, I got a error message "Access via 'NULL' object reference not possible".  We have 3 clients (100, 220, & 310) in DEV and all 3 clients are giving me the same error message.
    From the help.sap.com, I found this topic http://help.sap.com/saphelp_nwes70/helpdata/en/84/43f0d786304e19a652a8f80909a8ec/content.htm
    but in the document it asked to go to SM59 to check the ESH_APPL_WS_TEMPLATEENGINE destination.  But we don't have that destination setup in all our systems.
    Here is the complete error message:
    Error when processing your request
    What has happened?
    The URL http://crm-dev.staff.copa:8000/sap/bc/bsp/sap/crm_ui_frame/BSPWDApplication.do was not called due to an error.
    Note
    ■The following error text was processed in the system CD1 : Access via 'NULL' object reference not possible.
    ■The error occurred on the application server CRM-DEV_CD1_00 and in the work process 0 .
    ■The termination type was: RABAX_STATE
    ■The ABAP call stack was:
    Method: GET_DATA_LOSS_HANDLER of program CL_CRM_UI_CORE_APPL_CONTROLLERCP
    Method: GET_DATA_LOSS_HANDLER of program CL_CRM_UI_CORE_APPL_CONTROLLERCP
    Method: EH_TRIGGER_NAVIGATION of program CL_CRM_UI_CORE_APPL_CONTROLLERCP
    Method: SET_WORKAREA_CONTENT of program CL_CRM_UI_CORE_APPL_CONTROLLERCP
    Method: PROCESS_NAV_QUEUE of program CL_BSP_WD_VIEW_MANAGER========CP
    Method: DO_INIT of program CL_CRM_UI_FRAME_APP_CONTROLLERCP
    Method: DO_INIT of program CL_BSP_CTRL_ADAPTER===========CP
    Method: GET_PAGE_CONTEXT_CURRENT of program CL_BSP_CONTEXT================CP
    Method: ON_REQUEST_ENTER of program CL_BSP_RUNTIME================CP
    Method: ON_REQUEST of program CL_BSP_RUNTIME================CP
    What can I do?
    ■If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system CD1 in transaction ST22.
    ■If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server CRM-DEV_CD1_00 in transaction SM21.

    Hi Michael,
    Refer to the link below and check the procedure.
    http://help.sap.com/saphelp_nwes70/helpdata/en/84/43f0d786304e19a652a8f80909a8ec/content.htm
    Regards,
    Arjun

  • How to create dynamic View Object and Dynamic Table

    Dear ll
    I want to create a dynamic view object and display the output in a dynamic table on the page.
    I am using Jdeveloper 12c "Studio Edition Version 12.1.2.0.0"
    This what I did:
    1- I created a read only view object with this query "Select sysdate from dual"
    2- I added this View object to the application module
    3- I created a new method that change the query of this View object at runtime
        public void changeVoQuery(String dbViewName) {
            String sqlstm = "Select * From " + dbViewName;
            ViewObject dynamicVo = this.findViewObject("DynamicVo");
            if (dynamicVo != null) {
                dynamicVo.remove();
            dynamicVo = this.createViewObjectFromQueryStmt("DynamicVo", sqlstm);
            dynamicVo.executeQuery();
    4- I run the application module for testing the method and I passed "Scott.Emp" as a parameter and the result was Success
    5- Now I want to show the result of the view on the page, so I draged and dropped the method from the data control as a parameter form
    6- I dragged and dropped the view Object "DynamicVo" as a table and I choose "generate Column Dynamically at runtime". This is the page source
    <af:panelHeader text="#{viewcontrollerBundle.SELECT_DOCUMTN_TYPE}" id="ph1">
            <af:panelFormLayout id="pfl1">
                <af:inputText value="#{bindings.dbViewName.inputValue}" label="#{bindings.dbViewName.hints.label}"
                              required="#{bindings.dbViewName.hints.mandatory}"
                              columns="#{bindings.dbViewName.hints.displayWidth}"
                              maximumLength="#{bindings.dbViewName.hints.precision}"
                              shortDesc="#{bindings.dbViewName.hints.tooltip}" id="it1">
                    <f:validator binding="#{bindings.dbViewName.validator}"/>
                </af:inputText>
                <af:button actionListener="#{bindings.changeVoQuery.execute}" text="changeVoQuery"
                           disabled="#{!bindings.changeVoQuery.enabled}" id="b1"/>
            </af:panelFormLayout>
        </af:panelHeader>
        <af:table value="#{bindings.DynamicVo.collectionModel}" var="row" rows="#{bindings.DynamicVo.rangeSize}"
                  emptyText="#{bindings.DynamicVo.viewable ? 'No data to display.' : 'Access Denied.'}"
                  rowBandingInterval="0" selectedRowKeys="#{bindings.DynamicVo.collectionModel.selectedRow}"
                  selectionListener="#{bindings.DynamicVo.collectionModel.makeCurrent}" rowSelection="single"
                  fetchSize="#{bindings.DynamicVo.rangeSize}" filterModel="#{bindings.DynamicVoQuery.queryDescriptor}"
                  queryListener="#{bindings.DynamicVoQuery.processQuery}" filterVisible="true" varStatus="vs" id="t1"
                  partialTriggers="::b1">
            <af:iterator id="i1" value="#{bindings.DynamicVo.attributesModel.attributes}" var="column">
                <af:column headerText="#{column.label}" sortProperty="#{column.name}" sortable="true" filterable="true"
                           id="c1">
                    <af:dynamicComponent id="d1" attributeModel="#{column}"
                                         value="#{row.bindings[column.name].inputValue}"/>
                </af:column>
            </af:iterator>
        </af:table>
    when I run the page this error is occured
    <Nov 13, 2013 2:51:58 PM AST> <Error> <oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter> <BEA-000000> <ADF_FACES-60096:Server Exception during PPR, #1
    javax.el.ELException: java.lang.NullPointerException
    Caused By: java.lang.NullPointerException
    Can any body help me please
    thanks

    Have you seen Shay's video https://blogs.oracle.com/shay/entry/adf_faces_dynamic_tags_-_for_a
    All you have to do is to use the dynamic table to get your result.
    Timo

  • SSAS Tabular - Adding Column to a table gives error "Object reference not set to instance of object"

    If I make changes to a table in SSAS Tabular Visual Studio, the newly added column gives error as "Object
    reference not set to instance of object"

    Hi VikasJain13,
    According to your description, you get the "Object reference not set to instance of object" error when adding columns in Tabular. Right?
    Generally, it throws this error when the internal code is accessing the property of an empty object. As you mentioned it happens when you make changes on a table, mostly it means that table is already a empty object. Please re-process your tabular to see
    if this table is still existing. 
    If you have any question, please feel free to ask.
    Simon Hou
    TechNet Community Support

  • Access via 'NULL' object reference not possible.

    hi all,
                       i am getting the following error in my application(getting data from 2 data base table and kept in internal table and binding that 2 internal table to two context)
    in st22 i have this.
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
         caught in
        procedure "PARSE_XML_DATA" "(METHOD)", nor was it propagated by a RAISING
         clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        You attempted to use a 'NULL' object reference (points to 'nothing')
        access a component.
        An object reference must point to an object (an instance of a class)
        before it can be used to access components.
        Either the reference was never set or it was set to 'NULL' using the
        CLEAR statement.
    gettong error at line 52.
      24       data: parseerror type ref to if_ixml_parse_error,
      25             str        type string,                         "#EC NEEDED
      26             i          type i,                              "#EC NEEDED
      27             count      type i,
      28             index      type i.
      29       count = parser->num_errors( ).
      30 *      write: count, ' parse errors have occured:'.
      31       index = 0.
      32       while index < count.
      33         parseerror = parser->get_error( index = index ).
      34         i = parseerror->get_line( ).
      35 *        write: 'line: ', i.
      36         i = parseerror->get_column( ).
      37 *        write: 'column: ', i.
      38         str = parseerror->get_reason( ).
      39 *        write: str.
      40         index = index + 1.
      41       endwhile.
      42     endif.
      43   endif.
      44
      45   data l_ref_ixml_elem type ref to if_ixml_element.
      46   l_ref_ixml_elem = l_ref_doc->get_root_element( ).
      47
      48   data l_ref_node_list type ref to if_ixml_node_list.
      49   data l_ref_child type ref to if_ixml_node.
      50   data nodes_index type i value 0.
      51   data l_count type i.
    >>>>   l_ref_node_list = l_ref_ixml_elem->get_children( ).
      53   while nodes_index < l_ref_node_list->get_length( ).
      54     l_ref_child = l_ref_node_list->get_item( nodes_index ).
      55     nodes_index = nodes_index + 1.
      56     l_count = l_ref_child->num_children( ).
      57     if l_count > 0.
      58       me->parse_xml_subnode( subnode                 = l_ref_child index = 0
      59                              with_initial_attributes = with_initial_attributes ).
      60     elseif with_initial_attributes = abap_true.
      61       me->parse_xml_subnode( subnode                 = l_ref_child index = 0
      62                              with_initial_attributes = with_initial_attributes ).
    pls help me
    regards,
    vinoth.

    hi thomas,
                        thanks for ur reply.
    this is my scenario:
    my context:
                        >contract(root node with cardinality 1:1)
                              >mandt_ekko( 1:1)
                                    ebeln
                              >disp_ekko(o:n)
                                   bstyp
                                   lifnr
                             >disp_ekpo(o:n)
                                  ebelp
                                  txz01
    based on ebeln fetched at run time. i have to display ekko and ekpo table details in form.i have fetched values based on that ebeln and put it in 2 internal table from ekko and ekpo table and binded that to context.but  getting error.
    my code:
    method ONACTIONSUBMIT .
      DATA lo_nd_contract TYPE REF TO if_wd_context_node.
      DATA lo_nd_mandt_ekko TYPE REF TO if_wd_context_node.
      DATA lo_el_mandt_ekko TYPE REF TO if_wd_context_element.
      DATA ls_mandt_ekko TYPE wd_this->element_mandt_ekko.
    * navigate from <CONTEXT> to <CONTRACT> via lead selection
      lo_nd_contract = wd_context->get_child_node( name = wd_this->wdctx_contract ).
    * navigate from <CONTRACT> to <MANDT_EKKO> via lead selection
      lo_nd_mandt_ekko = lo_nd_contract->get_child_node( name = wd_this->wdctx_mandt_ekko ).
    * get element via lead selection
      lo_el_mandt_ekko = lo_nd_mandt_ekko->get_element(  ).
    * get all declared attributes
      lo_el_mandt_ekko->get_static_attributes(
        IMPORTING
          static_attributes = ls_mandt_ekko ).
      DATA lo_nd_disp_ekko TYPE REF TO if_wd_context_node.
      DATA lo_el_disp_ekko TYPE REF TO if_wd_context_element.
      DATA ls_disp_ekko TYPE wd_this->element_disp_ekko.
    * navigate from <CONTEXT> to <CONTRACT> via lead selection
      lo_nd_contract = wd_context->get_child_node( name = wd_this->wdctx_contract ).
    * navigate from <CONTRACT> to <DISP_EKKO> via lead selection
      lo_nd_disp_ekko = lo_nd_contract->get_child_node( name = wd_this->wdctx_disp_ekko ).
    * @TODO handle not set lead selection
      IF lo_nd_disp_ekko IS INITIAL.
      ENDIF.
    * get element via lead selection
      lo_el_disp_ekko = lo_nd_disp_ekko->get_element(  ).
    * @TODO handle not set lead selection
      IF lo_el_disp_ekko IS INITIAL.
       lo_el_disp_ekko = lo_nd_disp_ekko->create_element( ).
      ENDIF.
    data: IT_EKKO TYPE standard table of  EKKO,
          lo_nd_snode_1 TYPE REF TO if_wd_context_node.
    select * from EKKO into table it_EKKO WHERE EBELN = ls_mandt_ekko-EBELN.
       if sy-subrc eq 0.
        lo_nd_snode_1 = wd_context->path_get_node( 'CONTRACT.DISP_EKKO' ).
        lo_nd_snode_1->bind_table( it_EKKO ).
    endif.
      DATA lo_nd_disp_ekpo TYPE REF TO if_wd_context_node.
      DATA lo_el_disp_ekpo TYPE REF TO if_wd_context_element.
      DATA ls_disp_ekpo TYPE wd_this->element_disp_ekpo.
    * navigate from <CONTEXT> to <CONTRACT> via lead selection
      lo_nd_contract = wd_context->get_child_node( name = wd_this->wdctx_contract ).
    * navigate from <CONTRACT> to <DISP_EKPO> via lead selection
      lo_nd_disp_ekpo = lo_nd_contract->get_child_node( name = wd_this->wdctx_disp_ekpo ).
    * @TODO handle not set lead selection
      IF lo_nd_disp_ekpo IS INITIAL.
      ENDIF.
    * get element via lead selection
      lo_el_disp_ekpo = lo_nd_disp_ekpo->get_element(  ).
    * @TODO handle not set lead selection
      IF lo_el_disp_ekpo IS INITIAL.
        lo_el_disp_ekpo = lo_nd_disp_ekpo->create_element( ).
      ENDIF.
    data: lo_nd_snode_2 TYPE REF TO if_wd_context_node,
          IT_EKPO TYPE standard table of  EKPO.
    select * from EKPO into table it_EKPO WHERE EBELN = ls_mandt_ekko-EBELN.
       if sy-subrc eq 0.
        lo_nd_snode_2 = wd_context->path_get_node( 'CONTRACT.DISP_EKPO' ).
        lo_nd_snode_2->bind_table( it_EKPO ).
      ENDIF.
    endmethod.
    when i execute got that error.any help highly appreciated.
    regards,
    vinoth.
    Edited by: Thomas Jung on Aug 10, 2009 8:10 AM

  • Access via 'NULL' object reference not possible Error in WD application execution

    Experts,
    I am getting following error for web dynpro application intermittently, please find following error log:
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "CL_SALV_WD_C_TABLE_V_TABLE====CP" had to be
         terminated because it has
        come across a statement that unfortunately cannot be executed.
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
         caught in
        procedure "IF_SALV_WD_COMP_TABLE_DATA_MAP~MAP_TO_RESULT_CHANGES" "(METHOD)",
         nor was it propagated by a RAISING clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        You attempted to use a 'NULL' object reference (points to 'nothing')
        access a component.
        An object reference must point to an object (an instance of a class)
        before it can be used to access components.
        Either the reference was never set or it was set to 'NULL' using the
        CLEAR statement.
    Information on where terminated
        Termination occurred in the ABAP program "CL_SALV_WD_C_TABLE_V_TABLE====CP" -
         in "IF_SALV_WD_COMP_TABLE_DATA_MAP~MAP_TO_RESULT_CHANGES".
        The main program was "SAPMHTTP ".
        In the source code you have the termination point in line 168
        of the (Include) program "CL_SALV_WD_C_TABLE_V_TABLE====CM080".
        The termination is caused because exception "CX_SY_REF_IS_INITIAL" occurred in
        procedure "IF_SALV_WD_COMP_TABLE_DATA_MAP~MAP_TO_RESULT_CHANGES" "(METHOD)",
         but it was neither handled locally nor declared
        in the RAISING clause of its signature.
        The procedure is in program "CL_SALV_WD_C_TABLE_V_TABLE====CP "; its source
         code begins in line
        1 of the (Include program "CL_SALV_WD_C_TABLE_V_TABLE====CM080 ".
    Line  SourceCde
      138
      139         "Set new value to result data
      140         if ls_changelist-r_old_value is not bound.
      141           "insert new table line
      142           lr_component->r_result_data->if_salv_bs_r_data_table_edit~insert_table_line(
      143             index = l_result_data_index ).
      144         else.
      145           "Modify existing table line
      146           lr_component->r_result_data->if_salv_bs_r_data_table_edit~set_table_line(
      147             index     = l_result_data_index
      148             data_line = <ls_table> ).
      149         endif.
      150       else.
      151         "A single attribute value has to be updated
      152
      153         "Get context element from output data node
      154         data lr_element type ref to if_wd_context_element.
      155
      156         "Retrieve the element to update from the data output node
      157         if l_mass_edit_row_inserted = abap_true.
      158           "The Element only exists virtually due to the mass edit mode.
      159           lr_element = lr_node->get_element( l_mass_edit_virtual_index ).
      160           l_mass_edit_row_inserted = abap_false.
      161         else.
      162           "The element already exists in the data output node.
      163           lr_element = lr_node->get_element( ls_changelist-index ).
      164         endif.
      165
      166         "Determine if the cell to be updated is set to null (Nullable)
      167         data l_is_null type abap_bool.
    >>>>>         l_is_null = lr_element->is_attribute_null( ls_changelist-attribute ).
      169
      170         "Update result data with change
      171         if <l_value> is assigned.
      172           "update ResultData with cell value
      173           lr_component->r_result_data->if_salv_bs_r_data_table_edit~set_table_cell(
      174             index     = l_result_data_index
      175             attribute = ls_changelist-attribute
      176             data_cell = <l_value>
      177             is_null   = l_is_null ).
      178         else.
      179           "Update result data without any updated cell value
      180           lr_component->r_result_data->if_salv_bs_r_data_table_edit~set_table_cell(
      181             index     = l_result_data_index
      182             attribute = ls_changelist-attribute
      183             is_null   = l_is_null ).
      184         endif.
    Please help us on what could be the reason behind this?
    Thanks,
    Madan

    Hi Madan,
    It seems that, there are user settings saved and the attribute in the layout settings is not available with current changes.
    try to delete the user settings if any.
    Please find my answer in the below link
    Reset user settings in WDA
    Hope this helps you.
    Regards,
    Rama

  • A dynamic table based on run-time created view object -- please help!

    Hello!
    I'm trying to create a dynamic table based on an run-time created view object. All go ok, but table binding component take the first view/iterator state and don't reflect changes they have. Please, take a look:
    1. At run-time the view is being replaced by new red-only one based on query in application module:
    getQueryView().remove();
    createViewObjectFromQueryStmt("QueryView", statement);
    2. Page definition file contains an iterator (using iterator or methodIterator - doesn't matter) binding and table, which binds to the iterator, like:
    <methodIterator id="distributeQuery1Iter" Binds="distributeQuery1.result"
    DataControl="QueryServiceDataControl" RangeSize="10"/>
    <table id="distributeQuery11" IterBinding="distributeQuery1Iter"/>
    3. The page code uses <af:table>. But, if I use table binding (it's right) like this:
    <af:table var="row" value="#{bindings.distributeQuery11.collectionModel}">
    <af:forEach items="#{bindings.distributeQuery11.attributeDefs}" var="def">
    the table will never changed (i.e. still show the first view instance).
    When I tried to use iterator binding directly (it's bad and cannot provide all needed features unlike CollectionModel from table binding) I saw that table works!
    (Code is somehing like:
    <af:table var="row" value="#{bindings.myIterator.allRowsInRange}">
    <af:forEach items="#{bindings.myIterator.attributeDefs}" var="def">
    Why the table binding do not reflect changes in iterator? Or should I use different approach?
    Thanks in advance!
    Ilya.

    I got it to work! I used a hybrid approach comprised of some of your code and some of Steve Muench's AcceessAppModuleInBackingBean example.
    In the setBindings method, I execute an app module method that redefines the query, then I used your code to delete and recreate bindings and iterator:
    public void setBindingContainer(DCBindingContainer bc) {
    this.bindingContainer = bc;
    rebuildVO();
    The rebuildVO() method looks like the code you provided in your example:
    private void rebuildVO() {
    DCDataControl dc;
    DispatchAppModule dApp;
    DCBindingContainer bc;
    DCIteratorBinding it;
    OperationBinding operationBinding;
    ViewObject vo;
    DCControlBinding cb;
    try {
    bc = getBindingContainer();
    dc = bc.findDataControl(DATACONTROL);
    dApp = (DispatchAppModule)dc.getDataProvider();
    // Execute App Module Method to rebuild VO based upon new SQL Statement.
    dApp.setDispatchViewSQL();
    vo = dApp.findViewObject(DYNAMIC_VIEW_NAME);
    it = bc.findIteratorBinding(DYNAMIC_VO_ITER_NAME);
    it.bindRowSetIterator(vo, true);
    // logger.info("Remove value binding...");
    cb = bc.findCtrlBinding(DYNAMIC_VIEW_NAME);
    cb.getDCIteratorBinding().removeValueBinding(cb);
    bc.removeControlBinding(cb);
    // logger.info("Creating new value binding...");
    FacesCtrlRangeBinding dynamicRangeBinding =
    new FacesCtrlRangeBinding(null,
    bc.findIteratorBinding(DYNAMIC_VO_ITER_NAME), null);
    // logger.info("Add control binding...");
    bc.addControlBinding(DYNAMIC_VIEW_NAME, dynamicRangeBinding);
    } catch (Exception e) {
    e.printStackTrace();
    And my App Module method that redefines the view object looks like this:
    public void setDispatchViewSQL() {
    String SQL =
    "begin ? := PK_BUsiNESS.F_GETDISPATCHVIEWSQL();end;";
    CallableStatement st = null;
    String ViewSQL = null;
    try {
    st = getDBTransaction().createCallableStatement(SQL,
    DBTransaction.DEFAULT);
    * Register the first bind parameter as our return value of type LONGVARCHAR
    st.registerOutParameter(1, OracleTypes.LONGVARCHAR);
    st.execute();
    ViewSQL = ((OracleCallableStatement) st).getString(1);
    findViewObject(DYNAMIC_VO_NAME).remove();
    ViewObject vo = createViewObjectFromQueryStmt(DYNAMIC_VO_NAME, ViewSQL);
    vo.executeQuery();
    } catch (SQLException s) {
    throw new JboException(s);
    } finally {
    try {
    st.close();
    } catch (SQLException s) {
    s.printStackTrace();
    When I run it I get my desired results. One thing I don't quite understand is why when the page is first rendered it shows the last set of records rather than the first. Now I have to figure out how to put navigation URLS in each of the table cells.
    Thanks for your help; I would not have gotten this far without it,
    Jeff

Maybe you are looking for

  • NOT INSTR not working

    Hi All, I have a form page which is having multi select list. I am passing the multiselect list value from page 1 to page 2. In page 2 i want to use that value in my code to exclude it from report. But my not instr is not working. Please check my cod

  • "Invoice and Delivery No Look  UP "In B2C webshop

    Hi All, We have the Following scenario. 1.A registered User creates the order in B2C web shop 2.The order gets replicated to ECC 3.The Delivery and invoice gets created at ECC. 4.The document flow containing the delivery number and Invoice should get

  • I cannot get Home Sharing to work, Windows 7, 3rd Gen iPad

    Sorry for the cross-post -- I originallly put this in the iPad discussion group, but this is clearly the group where it belongs... Anyway, I've followed the instructions to the letter, enabling Home Sharing on my Windows 7 PC running iTunes 10.7.0.21

  • Problems with special characters uploading data into oracle database

    Greetings I have a problem uploading data into oracle tables from sybase datasource. The data that I want to upload is in Spanish, for example when I have a varchar field with the data 'Consultoría', in oracle table the data upload with interrogation

  • Controlling captivate movie with JavaScript

    Hi, I am trying to use Flash methods to control a captivate movie using procedures documented in the support center article: http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithflash_03. html I am using the following code