Skip to Content
author's profile photo Former Member
Former Member

Short dump

hi Friends,

I am new to ABAP OOPS. i am gettign dump in the following code. Please help me out.

WHEN '&PRNT1'.

*

DATA: get_rows TYPE REF TO CL_GUI_ALV_GRID,

lt_rows TYPE LVC_T_ROW,

l_lines TYPE i.

CALL METHOD GET_ROWS->GET_SELECTED_ROWS

IMPORTING

ET_INDEX_ROWS = lt_rows

  • ET_ROW_NO =

.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 19, 2007 at 10:54 AM

    I am sorry i forgot to add dump description. the dump is as below.

    Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED

    Except. CX_SY_REF_IS_INITIAL

    Date and Time 19.11.2007 11:43:52

    Short text

    Access via 'NULL' object reference not possible.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 19, 2007 at 11:54 AM

    hi vijay,

    You did not create object for cl gui alv grid.

    before using

    CALL METHOD GET_ROWS->GET_SELECTED_ROWS

    IMPORTING

    ET_INDEX_ROWS = lt_rows

    • ET_ROW_NO =

    do this :

    create object get_rows

    exporting i_parent = 'reference for your container'.

    YOU CAN REFER TO BCALV_EDIT_01 ,02,03...

    PROGRAMS FOR THIS.

    Message was edited by:

    Kamini Rawat

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.