Application Development and Automation 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: 
Read only

Omit 'TITLE' while printing the address using SAP Script?

Former Member
0 Likes
1,176

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

4 REPLIES 4
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
915

If you want to omit title make use of priority field.

/:                            ADDRESS PARAGRAPH ZT PRIORITY A

Read only

0 Likes
915

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'.

Read only

0 Likes
915

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

Read only

0 Likes
915

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..