Skip to Content
avatar image
Former Member

Format in SAP Script

Hi guys,

In my SAP Script im having certain fields in the main window.For certain line items there are no values in some fields.In such cases the complte formatting is getting affatected.Please let me know how i can correct this.I have created a paragraph format with TAB spaces.Inspite of this its occuring.Please suggest...

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 22, 2010 at 07:17 AM

    Hi,

    when ever you are printing the values use the concept Pre-text/post-text..

    For better understanding please go through the below link.

    http://help.sap.com/saphelp_40b/helpdata/en/d1/8034ee454211d189710000e8322d00/content.htm

    hope this will help you.

    Regards,

    Kiran

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 22, 2010 at 07:19 AM

    Hi,

    paragraph format should do still if it is not then could you please tell me the code that you have written?

    thanks and regards

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 22, 2010 at 09:43 AM

    Hi,

    For the fields where the formatting is affected, do you specify the length of the symbol in form? e.g. &text(12C)&

    If not the tab can happen at a different place.

    Regards,

    Aidan

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 23, 2010 at 06:53 AM

    The initial tab space was not given hence the problm occured.

    eg: ,,&itab-matnr&,,&itab-ebeln&...

    Rectified

    Add comment
    10|10000 characters needed characters exceeded