cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to call include text nodes

Former Member
0 Kudos

HI everyone

I'm using a text node set as an "INCLUDE TEXT" I have the TEXT OBJECT set to TEXT, and the ID set to ST.

there is a condition set for the node as well.

I have 1 of 5 nodes that are supposed to print for certain items.

They are set in a loop with no WHERE CONDITIONS set in the data tab.

Problem is that they are not getting called to print and I'm not sure why and I've looked everywhere I can think of but I'm really new to smartforms and sap anyone have an idea where to look to see?

Should these all be set up into a table instead of just a loop?

please help

thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

1 . Can u pls tell me where are you calling that text node? in the Main area of internal table or as a last node of that table node??

If i am understanding correctly, u wud like print a text coming via Include text, for each line item, in each row ...????

Pls check following for same,

1. What is the condition you are passing in the Condition tab of this text node? Pls check that.

2. It might be possible that ur cell size is not large enough to contain the text. try to increase that.

Let me know the results.

Happy to help you.

Former Member
0 Kudos

The statements are under a loop node. The loop has no conditions set in it Each statement has a condition set for it (wa_statement-statement = 1, 2, 3, 4, or 5)

Here is how as the whole system is set up

Loop internal Table IT_STATEMENT INTO WA_STATEMENT (data tab nothing else is set)

Program line VAR1 = wastatement-var1.

L_VAR2 = wa_statement-var2.

L_VAR3 = wa_statement-var3.

L_VAR4 = wa_statement-var4.

L_VAR5 = wa_statement-var5.

input parameters WA_STATEMENT output parameters L_VAR1, L_VAR2, L_VAR3, L_VAR4, LVAR5

no CONDITIONS SET

Text Node general tab text type TEXT ELEMENT

&WA_STATEMENT-ITEM&

Then the 5 text nodes that are supposed to print each set up as follows

Gen tab type INCLUDE TEXT

text name STATEMENT(1 through 5)

text object TEXT

text id ST

Condition tab WA_STATEMENT-STATEMENT = (1 through 5 )

This is all inside the MAIN window of the first page

right above the loop is a Command statement that set to next page

Answers (0)