Copy link to clipboard
Copied
Hi Gurus,
In an Adobe Form I want to output an internal table as a string, not separated lines.
So, current output is as follows:
item1
item2
item3
etc.But the desired output is:
item1, item2, item3, etc.Who can help me out here?
Many thanks,
Ron.
Copy link to clipboard
Copied
What do you mean by "internal table", exactly? How are you currently outputting it? Post your code.
Copy link to clipboard
Copied
In the code I have an internal table with two columns:
Order Item
123 0010
123 0020
123 0030
etc.I want to concatenate the item numbers in the same line on my pdf form: 0010, 0020, 0030 and so on.
At this point the items are below eachother, which might take (too much) space.
Hope this makes it clear?
regards,
Ron.
Copy link to clipboard
Copied
Not really. You just reiterated your question. There's no such thing as "an internal table" in JS or really in PDF files in general. Is this the value of a text field? Is this a 2D array in your code? A data model? Something else? Be more specific, and share your code.
Copy link to clipboard
Copied
The form on which I a working is a SAP form for a production order. It represents operations and the materials used to create the end product. The internal table is generated in ABAP code in the interface. This is done in the code initialisation of the interface where a perform (get_item_data) is located. In the code section there's a simple select to retrieve order data (and some other data).
Through the interface the standard data like HEADER, OPERATIONS as well as my newly added internal table are forwarded to the form so they can be printed on the form.
For the operations, and materials it is fine to print the tables line for line. But the item list need to be printed in as less as possible space, hence the printing on 1 (or multiple) line(s).
I was hopoing I could solve this, either by java or formcalc.
In the past I have developed many forms in smartforms where such an issue could be easily solved. But I'm stuck with this Adobe form.
Software used: SAP S4/Hana, in combination with the Adobe Live cycle designer.
Copy link to clipboard
Copied
Oh, and at the moment I can't make screenshots as I am working remote, but the system is down for maintenance:
Copy link to clipboard
Copied
> Software used: SAP S4/Hana, in combination with the Adobe Live cycle designer.
Finally, some useful information... Questions about Adobe AEM/LiveCycle should be asked here: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/ct-p/adobe-experience-mana...
Copy link to clipboard
Copied
Sorry for going tight around the corner there! Thanks for pointing out the right spot for my question!
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more