Skip to Content

ABAP ALV Report Issue

Hi Friends,

I have a report with 2 big queries, reading all Open POs and PRs, then looping to calculate the PO count, PR Count and other values.

Problem is after running the report I am getting Log Off popup.

I used the progress indicator in side the loop to keep the program running, still issue is coming.

Thanks,

Prasad.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    Oct 29, 2015 at 05:42 AM

    Hi Lakshmi,

    I think you are using the FM 'SAP_GUI_PROGRESS_INDICATOR' , as I remember this will also handles timeouts.

    My suggestion is process the logic of progress BAR for selected line of records.

    Example: executes process bar logic for every 20000 records once or even less in a loop(Do not execute for each record in a loop).

    And also use commit work statement after the FM this will remove your timeout/logoff error.

    Note: First try to optimize your code, if nested loop exists try to implement parallel cursor.

    Regards,

    Shadab.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 29, 2015 at 04:10 AM

    you need to work step by step.

    First remove progress indicator code then check..

    if still issue coming then look for another.

    also show your code. from where it occurs.

    -Avirat

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 29, 2015 at 05:56 AM

    hi prasad,

    could u post your code here

    so that your issue can be fixed

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 29, 2015 at 06:39 AM

    Hi Lakshmi,

    You may refer to below links for using Open, Fetch and Close CURSOR statements.

    It may help.

    http://scn.sap.com/thread/1760961

    https://help.sap.com/saphelp_470/helpdata/en/fc/eb3b23358411d1829f0000e829fbfe/content.htm

    Thanks and Regards,

    Vikram

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 18, 2015 at 04:00 PM

    Hi Lakshmi,

    Implement package size, ok?

    Select ... appending table it_...[] package size 1000 where ..."


    Regards

    Add comment
    10|10000 characters needed characters exceeded