Skip to Content
avatar image
Former Member

loop in SAP script

Hi Experts,

I have to call a perform from the script which returns variable internal table as per the driver program , so please suggest how to call this perform so that whole the variable loop is transferred in script.

I have to print line items for a accounting document number.

Thank You,

Regards,

Anuj Saraswat

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Aug 26, 2008 at 05:00 AM

    Hi

    In how many internal tables u r fetching data in program.

    Based on loop condition u fetch data from ur interbnal table.

    Regards:

    Parbu

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 26, 2008 at 05:40 AM

    Hi Anuj Saraswat,

    You can do one think to print line items for a accounting document number.

    Loop the internal table which contains the item details and inside loop endloop. write the function module WRITE_FORM.

    For every line item, write_form is executed and the line item is displayed in the script.

    Best rergards,

    raam

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 26, 2008 at 05:50 AM

    Hi All,

    Is there any thing that tells the driver program of a perticular form, actually i am editing the old one so dont know about the driver program for my form.

    Thank You,

    Regards,

    Anuj Saraswat

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi All,

      Can we use loop in form printer in script or how to deal with variable parameters requiremnts in perform call.

      Thank You,

      Regards,

      Anuj Saraswat