on 06-02-2016 9:19 PM
Hi,
I have to print address on adobeforms based on some conditions.
For condition 1, I have to get address data from SAP tables using ADRNR
for condition 2, I have to use pre-defined address(hard-coded) to print.
What is the best way to print address in this scenario? I thought of using Text module/standard text to print address(for the case of pre-defined address)
but, this won't suitable for my above condition 1.
If i create internal table, formatting is not coming correctly (address lines have more gap between lines) - How to reduce gap between lines?
Can you please help me .
Thank you in advance...
Regards,
Kumar
Condition 1: You can make use of ADDRESS type context node.
Condition 2: If it's hard coded, do it hard coded.
Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i believe that you know how to use Address Node, that will solve your first condition.
for second one try below java script,
It means, if you did't set address, display this hard coded address.
Hope this helps.
Hi Prajesh,
Thank you for your reply.
I understood your point. But in my case, I have 10 to 15 hard coded company code address for each company code.
Is it okay to use Java script in this case OR
I am planing to use internal table, so that it can be filled in ABAP Program(Address from SAP tables & also for hard coded address)
I just want to make sure to use best method(Performance point of view).
Thank you so much.
Regards,
Kumar
Hi,
I have adjusted the margins in layout and it reduced the gaps between lines.
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Since you anyways need data in internal table for condition 1, so it's better to keep the conditional logic restricted to ABAP only.
One of the ways of doing this is using standard text. You can have dynamic content in standard texts. These links below should help you
Using of Standard Text (SO10) in Adobe Form - ABAP Development - SCN Wiki
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.