2014 Jan 28 8:14 AM
Hello Experts,
How to omit 'Title' of a address using 'ADDRESS' 'ENDADDRESS' in SAP Script.
While I am using following code. Format of the address changed for few of the countries.
/: ADDRESS PARAGRAPH ZT
/* TITLE &VBDKA-ANRED&
/: NAME &VBDKA-NAME1& ,&VBDKA-NAME2&
...
...
...
/: ENDADDRESS
I have tried USER EXIT 'ZXVVFU01' under FM 'EXIT_SAPLV60B_001'. But its not called.
Thanks in advance
2014 Jan 28 8:36 AM
If you want to omit title make use of priority field.
/: ADDRESS PARAGRAPH ZT PRIORITY A
2014 Jan 28 9:07 AM
Thanks Nabheet,
It only works while you have defined fixed 'LINES'. But address can be any number of lines. While address can't be printed in defined area it omits lines using 'PRIORITY'.
2014 Jan 28 9:16 AM
PRIORITY is omitted if their are few lines then specified. Why are you using lines..?
Quoting SAP help
" If there are too few lines available to allow all the address data to be formatted, then the data specified in the PRIORITY parameter are omitted"
Nabheet
2014 Jan 28 9:36 AM
Nabheet,
I am trying to say same thing. It'll omit 'TITLE' only if too few lines available.
Example using 'ADDRESS PARAGRAPH ZT PRIORITY A'
Line1 Mr.
Line2 Amit Shah
Line3 New Delhi
Line4 India
Line5 481001
Example using 'ADDRESS PARAGRAPH ZT PRIORITY A LINES 4'
Line1 Amit Shah
Line2 New Delhi
Line3 India
Line4 481001
We don't have any space issue, we just don't want to print 'TITLE' at all. Don't want to change master data either.
Thanks..