Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

alternate logic or statement for read report??

former_member219850
Participant
0 Likes
466

I am using read report for below a logic.

But I am getting dump error, if the line-length of report i.e.( ITAB_INCL-INCLUDE) exceeds 72 lines..

How can I i avoid this??

Please help me..

LOOP AT ITAB_INCL.

       REFRESH:PLINE,DLINE.

       CLEAR:PLINE,DLINE,TOTLINE.

       READ REPORT ITAB_INCL-INCLUDE INTO PLINE.

***delete all commented lines ie beginning with *

       DELETE PLINE WHERE TEXT(1) = '*'.

       CLEAR PLINE.

       DESCRIBE TABLE PLINE LINES TOTLINE.

       DLINE[] = PLINE[].

*** for BDC_INSERT check

       IF BDC_INS_FLAG = 'Y'.

         BDCFLAG = 'Y'.

         PERFORM SCAN_FOR_BDC_INSERT

             TABLES PLINE

                    DLINE

                    IBDCTRAN

             USING BDCTCODE .

       ELSEIF CALL_LEAVE_FLAG = 'Y'

       AND ( BDCDATA_FLAG = 'Y' OR ITADIR-GENFLAG = SPACE ).

         PERFORM SCAN_FOR_CALL_TRANSACTION

             TABLES PLINE

                    DLINE

                    IBDCTRAN

             USING  CALL_TRAN_FLAG

                    BDCTCODE .

         IF CALL_TRAN_FLAG = 'Y'.

           BDCFLAG = 'Y'.

         ENDIF.

       ENDIF.

       IF BDCTCODE NE SPACE.

         EXIT.

       ENDIF.

     ENDLOOP.


Thanks,

Darshan.

2 REPLIES 2
Read only

VenkatRamesh_V
Active Contributor
0 Likes
430

Hi Darshan,

If the probelm is with BDC means pass the below syntax for scrolling

PERFORM fill_data_details USING 'BDC_OKCODE'    '=P+'.

Hope it helpful,

Regards,

Venkat

Read only

0 Likes
430

How can I replace read report statement???...

I am writing a report for system utility..

Thanks.