Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
Showing results for 
Search instead for 
Did you mean: 

SD Order confirmation. PRinting sales order texts.

Former Member
0 Kudos


I am Developing a smartform for sd order confirmation.

I have a requirement to print the sales order header texts(header text and ship/fwd inst).I have included them as an include text but i also need to print the phrase 'header info' before header text like,

header text:



is there any way i could do it, if anyone knows please help me....




Former Member
0 Kudos

Create a text node to print the phrase 'header info'.

and below create another text node to for printing the include text details.

0 Kudos

Hi Sid,

I have done this but the text node 'header info' is hard coded and i want it to print only if it has a header text)(xxxxxxx),since the header text is called from an include text i do know how to write the if condition for the text node containing infromation.

Message was edited by: xavier xavier

0 Kudos

one way is:

Create a global v_flg variable of character with length 1.

Create a program node, and call <b>READ_TEXT</b> function module by passing the text name, text id etc. This will return the text in the table it_lines.

check for entries in it_lines.

if it_lines[] is initial.

v_flag = 'X'.


For the text node printing the label, on the condition tab check for v_flag <> 'X'.

The label will print only if there is any text.