on 06-04-2012 8:50 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.