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.
cancel
Showing results for 
Search instead for 
Did you mean: 

problem in text printing

Former Member
0 Kudos

Hi friends,

I am developing for MM module which is integrated with a .net interface. In simple words, .net is providing the user interface and the actual documents are created in SAP using the data from the interface. Now when a RO is created in .net the item text appears as below.

Job Contents

=============

You have to to clean Cinder pots thoro ughly from the following item.

A) Left over flue dust at the bottom of the pot.

B) Sludge remained at the bottom of the pot.

C) Any other material stuck at the bottom

D) Party has to remove all the cleaned material & put it in the allocated bins.

E) You have to ensure the cleanliness of the shop floor after cleaning the cinder p ots.

" The Cleaning should be done during Gl Shift (between 7 AM to 5 PM).

" The Cinder pot will be available in Rolling Stock building in tilted condition for the approach at the bottom of the pot for Cl eaning job.

" You have to arrange for your own tools & tackles for cl eaning job.

" You have to adhere to all safety norms of the Company.

Contact Person: KS Pandey/V Raghavan

Iron Control Center

Hot Metal Logistics

But when the document is created in SAP it appears as below

Job Contents## =============## You have to to clean Cinder pots thoro ughly from the following item.##A) Left over flue dust at the bottom of the pot.##B) Sludge remained at the bottom of the pot.# #C) Any other material stuck at the bottom##D) Party has to remove all the cleaned material & put it in the allocated bins.##E) You have to ensure the cleanliness of the shop floor after cleaning the cinder p ots.####" The Cleaning should be done during Gl Shift (between 7 AM to 5 PM)##" The Cinder pot will be available in Rolling Stock building in tilted condition for the approach at the bottom of the pot for Cl eaning job.##" You have to arrange for your own tools & tackles for cl eaning job.##" You have to adhere to all safety norms of the Company. #### Contact Person: KS Pandey/V Raghavan## Iron Control Center## Hot Metal Logistics

PLz help.

1 ACCEPTED SOLUTION

Clemenss
Active Contributor
0 Kudos

Hi Ushak

SAP uses # for non-printable (control) characters.

As it looks, ## will be CR+LF.

I don't know the process and I don't know the text ID of the text displayed, but I'm convinced there is some kind of BADI or exit where you can search for CL_ABAP_CHAR_UTILITIES=>CR_LF "Carriage Return and Line Feed" Character Pair and split here into lines of standard text table.

The it should display it as entered.

Regards,

Clemens

5 REPLIES 5

Former Member
0 Kudos

create a standard text in SO10

0 Kudos

I have to use the same text from .net as that is the actual text which user has entered.

Edited by: UshaKT on Oct 3, 2009 8:02 AM

0 Kudos

you want to move text from .net to SAP?

0 Kudos

yes exactly thets what i ahev t do.

Clemenss
Active Contributor
0 Kudos

Hi Ushak

SAP uses # for non-printable (control) characters.

As it looks, ## will be CR+LF.

I don't know the process and I don't know the text ID of the text displayed, but I'm convinced there is some kind of BADI or exit where you can search for CL_ABAP_CHAR_UTILITIES=>CR_LF "Carriage Return and Line Feed" Character Pair and split here into lines of standard text table.

The it should display it as entered.

Regards,

Clemens