Skip to Content

Requirement is to display ‘n’ number of Include texts continuosly one after the other in Adobe forms.

Objective is to avoid usage of ‘READ_TEXT’ function module in Print Program/Driver Program and performing some loop endloop on the text recieved and collecting into a final internal table as this will lead to Formatting issues in the layout.

Have a table type with line type created as below.

2.JPG

1.JPG

In the Print Program, we have to collect the Include text details like TDOBJECT, TDNAME, TDID and TDSPRAS into the internal table which needs to be displayed in the layout. (i.e. this table type has to be included in the interface of the Adobe forms and dragged into the Context of Adobe form).

3.JPG

Now, to display a Include text in the layout we have create a ‘TEXT’ in the Context tab.

Step1: Right click on ‘DATA’ and create ‘TEXT’ from the context menu.

4.JPG

We will find a new ‘TEXT’ under ‘DATA’ node. Double click the ‘TEXT’ node and change the ‘Text Type’ from ‘Text Module’ to ‘Include Text’ and press ‘Enter’ on keyboard.

(Note: if we collect all the Text modules, then the table type and line type has to be of the type of the Text module type i.e. TDTXTNAME)

now, drag and drop the corresponding fields in the ‘DATA’ structure to ‘TEXT’ fields.

5.JPG

After all the fields are dragged, finally

6.JPG

Select the check box for ‘No error if the text not available’ if required and also mention the style details based on the requirement.

Now, on the layout tab, drag and drop the table IT_TEXT from ‘DATA VIEW’ from ‘Palette’ menu.

7.JPG

Once we drag the table onto the layout, we recieve a popup mentioning of the insufficient space. click on OK and continue.

As we have to display only the include text, Move to ‘Hierarchy’ tab from Palette menu and remove the OverflowLeader by selecting the row and hit ‘Delete’ button from keyboard.

8.JPG

Now, drag the field ‘TEXT’ which is at bottom in the ‘DATA’ of HIERARCHY tab to top position as below.

11.JPG10.JPG

Now, select all the cells in the DATA structure and select ‘Merge’ from context menu.

12.JPG

All the cells will be merged in the name of ‘TEXT’. based on the requirement, adjust the width of the include text which needs to be filled.

13.JPG

Save, Activate and Test.

To report this post you need to login first.

1 Comment

You must be Logged on to comment or reply to a post.

  1. J├╝rgen Mortier

    Any idea on how to substitute variables within SO10 text ?

    It can be done through definition of a global variable (with the same name) in the interface, but this doesn’t do the trick when the same text is needed several times with different values for the variable, like in a loop.

    (0) 

Leave a Reply