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

Include text issue in Smartforms

Former Member
0 Likes
1,760

In the SAP tcode IW32, there is an Operation tab which has the provision to add long text. In our case a 220 lines long text is added

To fetch the data into a print output through smart forms, we have used include text where we input the header details like “TEXT NAME, TEXT OBJECT, TEXT ID, LANGUAGE”.

When we check in debugging the data seems to be correct, but when the data is coming out in print preview the alignment of the words is getting lost.

The detailed description is provided in the attachment.

Please help me to correct this issue.

Thanks in advance!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,316

Hi, Use standard SAP STYLE 'SYSTEM' for this include text. It will work.

Check the below. I have tested it with SAP SCRIPT and it working.

/: STYLE SYSTEM DOMINANT

/: INCLUDE 84027IL0000 OBJECT AUFK ID KOPF

/: STYLE *

5 REPLIES 5
Read only

Former Member
0 Likes
1,316

Did you download the XML file from smartform menu? I could not upload the form in my system.

And yes, the alignment would be lost depending on your font. Try to make sure that you have used same smartstyle and default paragraph formats for the include text.

Read only

0 Likes
1,316

Hi Chinmay,

The XML given is not the smartform it has the screenshots.

and I tried to use the smartstyle but I'm unable to identify the smart style used for the standard text in IW32 [operations tab]

Read only

former_member209818
Active Contributor
0 Likes
1,316

In the Include text, you actually use default paragraph '*'. But when it gets imported in the Smartform, it inherits the paragraph details based on the smartform node setting. So please make sure that your text is inline with the smartform paragraph

Read only

Former Member
0 Likes
1,317

Hi, Use standard SAP STYLE 'SYSTEM' for this include text. It will work.

Check the below. I have tested it with SAP SCRIPT and it working.

/: STYLE SYSTEM DOMINANT

/: INCLUDE 84027IL0000 OBJECT AUFK ID KOPF

/: STYLE *

Read only

0 Likes
1,316

HI Vijay.

Thanks for the reply.

It has worked.