cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform - Vendor doesn't display street when 3 names are used (f110 check)

Former Member
0 Kudos

Hi,

Via F110, we print checks built via a custom smartform.

In that smartform, the vendor address is output using the vendor address number.

However, if the Vendor has 3 names in XK03, then the street name is not shown (only the 3 names and the city/state, etc).

If the vendor has 2 names in XK03, then the street is shown.

What can be done to have the street shown when 3 names are used by the Vendor?

Thanks,

John

Accepted Solutions (0)

Answers (4)

Answers (4)

venkateswaran_k
Active Contributor
0 Kudos

John,

Did you try this option..

John

there is a opton called priorit of lines  and No oflines in the General Attributes tab of Address node

Use that combination to get your output..

If you do not want name3 to be printed, then use A2 in the Priority of lines field of address  node ( last field )   Or increase the number of lines field..... 

For Priority of lines - reference - refer to the fllowing text

---------------------------------------------------------------------------------------------

The priority string you specify in the smartform defines which address lines SAP chucks out if the number of lines in the address exceeds the "Number of Lines to be Used" specified. Each address line is assigned a character as follows:

•A   Title                (A nrede)

•P   Mandatory blank line (P flichtleerzeile)

•F   Functional title

•4   Name 4

•3   Name 3

•H   Home City

•R   Region

•T   District                                 ( 006 and 015 only)

•7   Street - supplementary line 2

•I   Location

•8   Street - supplementary line 3

•6   Street - supplementary line 1

•L   Country name         (L andesbezeichnung)

•C   Postal Code

•2   Name 2

•B   P.O. Box

•S   Street

•5   c/o-Name

•N   Name(+title) of the natural person

•D   Department

•O   City                 (O rtszeile)


e.g. if you put A2 in the priority string SAP will remove the title line and then name2 to try to make the address fit into number of lines specified. You'll notice that there's no character for name1 (internally it's 1, but if you try to specify name1 to be removed it gets filtered out at the top of function ADDRESS_INTO_PRINTFORM).

Regards,

Venkat

raymond_giuseppi
Active Contributor
0 Kudos

You could perform some test with FM  ADDRESS_INTO_PRINTFORM (internally called by Smart Forms) - you could also read online documentation at General Formatting Rules in Print Formatting for Addresses.

Regards,

Raymond

former_member213851
Active Contributor
0 Kudos

Hi John,

It might be the case that inside your address window, the  vendor details are overlapping with Address details and hence for different combinations , you are getting different outputs . To overcome this issue, you need to first Extend address window size in Smartform Layout and then inside General attribute tab of Addrres window, specify Number of Lines to be Used  as 10 or greater than current no. of lines.

Also ensure that correct Address type is selected i.e Oraganization add/personal add.

Best Regards,

Sachin

venkateswaran_k
Active Contributor
0 Kudos

Please update me the variable names you used to print in the Cheque..

Probably, the values might be overlapping each other.....

Or , concatinate all the fields  name1, name2, name3, address... into a single field and print that field.....

Please verify that

regards,

Venkat

Former Member
0 Kudos

We're just using the standard address function for printing. Passing in the adrnr of the vendor.

venkateswaran_k
Active Contributor
0 Kudos

In the address field,

General Attributes,  there is a Type -  Choose Determine Dynamically

                               there is a If PO Box exists -  Choose Determine Dynamically

Regards,

Venkat

Former Member
0 Kudos

I don't think that's the reason. PO box doesn't exist for the vendors we're testing with, so street would be shown.

venkateswaran_k
Active Contributor
0 Kudos

Dear John

There is a work around of setting priority lines in the smart form..  Please google that and find out..  I remember, that would solve your problem

Keyword : smartform address node priority of lines

Regards,

Venkat

venkateswaran_k
Active Contributor
0 Kudos

John

there is a opton called priorit of lines  and No oflines in the General Attributes tab of Address node

Use that combination to get your output..

If you do not want name3 to be printed, then use A2 in the Priority of lines field of address  node ( last field )   Or increase the number of lines field..... 

For Priority of lines - reference - refer to the fllowing text

---------------------------------------------------------------------------------------------

The priority string you specify in the smartform defines which address lines SAP chucks out if the number of lines in the address exceeds the "Number of Lines to be Used" specified. Each address line is assigned a character as follows:

•A   Title                (A nrede)

•P   Mandatory blank line (P flichtleerzeile)

•F   Functional title

•4   Name 4

•3   Name 3

•H   Home City

•R   Region

•T   District                                 ( 006 and 015 only)

•7   Street - supplementary line 2

•I   Location

•8   Street - supplementary line 3

•6   Street - supplementary line 1

•L   Country name         (L andesbezeichnung)

•C   Postal Code

•2   Name 2

•B   P.O. Box

•S   Street

•5   c/o-Name

•N   Name(+title) of the natural person

•D   Department

•O   City                 (O rtszeile)


e.g. if you put A2 in the priority string SAP will remove the title line and then name2 to try to make the address fit into number of lines specified. You'll notice that there's no character for name1 (internally it's 1, but if you try to specify name1 to be removed it gets filtered out at the top of function ADDRESS_INTO_PRINTFORM).

 

--------------------------------

regards,

Venkat