‎2008 Jan 18 7:19 AM
Hi All
I have two fields in SAP-SCRIPT "&KOMVD-VTEXT& &KOMVD-KBETR&".And in the output am gettin lot of space between them.I used &KOMVD-VTEXT(C)& and &KOMVD-VTEXT(16)& but still the space is coming.Please help.
Vijay
‎2008 Jan 18 7:55 AM
hi vijay,
why dont u try in this way.
&KOMVD-VTEXT&SPACE&KOMVD-KBETR&
reward if helpful.
shashikanth naram
‎2008 Jan 18 7:55 AM
hi vijay,
why dont u try in this way.
&KOMVD-VTEXT&SPACE&KOMVD-KBETR&
reward if helpful.
shashikanth naram
‎2008 Jan 18 10:23 AM
Hi
&KOMVD-VTEXT(C)& u have declared like this.
U Try to remove this C FROM the bracket and try to define some numeric values like &KOMVD-VTEXT(15)&
Try this.
Thanks in advance
Arun.J
‎2008 Jan 18 6:51 PM
Hi. You could try using ,, (two commas) in between your fields to create a tab in the output. Then define the tab positions in your paragraph format for that section of the sapscript. So your line would look like this:
"&KOMVD-VTEXT&,,&KOMVD-KBETR&". Another option, as others have said, is to define a set number of characters from each field to display. If the extra space that you're seeing between your data is actually from what is contained in the first field, then this is the way to go. If the extra space is just being inserted between the fields themselves, then I would use the tab positioning. Your first field KOMVD-VTEXT is a very long field, 40 characters. So I'm guessing that that is where most of the extra space is coming from. Try changing your line to something like this:
"&KOMVD-VTEXT(10)& &KOMVD-KBETR&".
I hope this helps.
- April King