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

how to print the address of a smart form in different line?

hi ,

I have a smartform for payment advice. It's working properly but problem is in address window. i am using sap's given address window . City district and pincode is showing in same line i want to display it different line. initially i didnot use address window I pass all the address field to the smartform but then problem is if any field is empty it showing the blanline in output of smartform then i use address window. how can i show city district and pincode in different line ? i need your suggestion.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Feb 05, 2012 at 05:24 PM

    Check the below link see if you can play with number of lines or priority

    [http://help.sap.com/saphelp_nw04/helpdata/en/d2/69a151cd8b11d3b563006094192fe3/content.htm]

    Else put a condition in smartform edit if not initial

    Nabheet

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 06, 2012 at 05:52 AM

    Hi friend,

    Yes the link will provide you the information required. But it too has few disadvantages because in some cases it may also fail.

    Else just do like this create an internal table of line type string. Add all the address details into it as you required.(Here you have provision to add the format ie you can decide which line should contain which data). Then do delete blank lines.

    Then loop the internal table and print the address this will solve your problem. In my project i solved the issue like this.

    If you still have queries please revert back to me i will help you.

    Thanks,

    Sri Hari.

    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.