cancel
Showing results for 
Search instead for 
Did you mean: 

SmartForm: Require Space between the various text mentioned in the invoice

Former Member
0 Kudos

Hi Experts,

The issue is that the user expects a space between the various text mentioned in the invoice so that it is easier to read the data.

Current text:

"LubeAnalyst#Nr.:1234212/AMOTDate:25.11.09Component:GasMotor"

Users request of how he wants the text to look like with spaces:

"LubeAnalyst# :1234212/AMOT Date:25.11.09 Component:GasMotor"

Our suggestion to the user:

1) Go to the sales order in change mode using transaction VA02

2) Double click on the line item (material)

3) Go to the texts tab and then to additional billing text

4) You will find the text in the adjacent window

5) You can edit the text so as to enter a space at the beginning of each line and the same will be reflected in the invoice document after you reprocess the output

6) Save the changes by clicking on the save button

Users Response:

The order will be generated automatically.

The order will be generated as a after event order and after this the invoice will be send directly from our cmpany to the customer, so we have no possibility to make any change in the system.

The order and invoice are processed completely automatically, so we are unable to do any manual job!

It's an auitomatic process, so the first solution, which is described down, isn't helpfull for me.

Help Regarding:

Dear Sdners, please guide me towards a fix for this issue.

Regards,

SuryaD.

Edited by: SuryaD on Nov 27, 2009 12:57 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello!

It seems, that the text is everytime containing same tags as "LubeAnalyst", "Date" and "Component". I would add a coding node before the text-node that uses the command "find" searching the string for these tags and then split the string by given positions of "find" using the command "split" or by using the string offset.

Kind regards,

Klaus

Answers (2)

Answers (2)

Former Member
0 Kudos

HI,

Did you try using the sap symbol for the space "<032>" between the data where ever you want.

Eg:

LubeAnalyst#Nr.:1234212/AMOT<032>Date:25.11.09<032>Component:GasMotor"

Regards,

Aditya

Former Member
0 Kudos

Hi Surya ,

As your user said that it is a automated process ,so are they using any Z programe or user exit to create SO .

If this is the case then in programe there will be FM to create text , in which you can pass the space .

Regards

Rahul