2012 Jun 27 5:53 AM
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!
2012 Jun 27 8:56 AM
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 *
2012 Jun 27 6:08 AM
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.
2012 Jun 27 9:48 AM
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]
2012 Jun 27 6:37 AM
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
2012 Jun 27 8:56 AM
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 *
2012 Jun 27 10:22 AM