Q
Problem solve Get help with specific problems with your technologies, process and projects.

Avoid printing out blank address lines in SAP Smart Forms

I am providing a vendor address number from LFA1-ADRNR. There are one or two fields in the vendor master that are not filled in, so my Smart Form prints out a blank line. The users do not want this blank line printed out in the form. Is there any way in Smart Forms that I can prevent printing out blank address lines?

I am providing a vendor address number from LFA1-ADRNR. There are one or two fields in the vendor master that are...

not filled in, so my Smart Form prints out a blank line. The users do not want this blank line printed out in the form. Is there any way in Smart Forms that I can prevent printing out blank address lines?

It seems like you are using an address node, and not a free-form text node with explicit address fields, which was the way things used to be done in SAPscript. This is good. The key strength in address nodes is the standardized way they rely upon address numbers and a few other key pieces of information to format addresses properly and consistently. However, a minor negative is that we lose some of the fine-tuned control available to us with explicit address formatting from SAPscript (e.g. deliberately suppressing certain lines).

Here is a simple test to simulate how a vendor address will look on output:

  • Go to vendor display (transaction FK03)
  • Select a vendor
  • Click on the address option under 'General data' and press enter
  • On the next screen, click the 'print preview' icon

The address which appears should resemble the one you see on your Smart Form output. From here you can click on the 'change parameters' icon to tweak the settings. One of these settings, maximum number of lines, is something which you have control over in your Smart Form's address node. Perhaps reducing this number will squeeze out the blank lines you currently see. Once you determine the proper value, update it within your form's address node. If the address appears fine in vendor display, but not on your form, double-check the address node to see if something else might be wrong with it (e.g. sending country).

Incidentally, the 'print preview' and 'change parameters' icons are available for other address types in SAP as well. They provide a quick diagnostic to determine if addresses are printing correctly on a form.

This was last published in March 2008

Dig Deeper on SAPscript and Smart Forms

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close