Skip to Content
0
Former Member
Jun 05, 2009 at 12:20 PM

Issue related to ADDRESS ... ENDADDRESS in SAP Script

47 Views

Hi All,

I have a issue using ADDRESS .... ENDADDRESS in SAP Script.

ADDRESS PARAGRAPH AS

TITLE &WA_LFA1-ANRED&

NAME &WA_LFA1-NAME1&, &WA_LFA1-NAME2&

STREET &WA_LFA1-STRAS& HOUSE &WA_ADRC2-STR_SUPPL3&

POBOX &WA_LFA1-PFACH& CODE &WA_LFA1-PSTL2&

CITY &WA_LFA1-ORT01&, &WA_LFA1-ORT02&

POSTCODE &WA_LFA1-PSTLZ&

COUNTRY &WA_LFA1-LAND1&

REGION &WA_LFA1-REGIO&

FROMCOUNTRY &WA_T001-LAND1&

ENDADDRESS

I am using above code for printing vendor address.

Though Name3 & Name4 are not declared but their values are getting displayed if value is available.

Though Street2, Street3 are not declared but their values are getting displayed if value is available.

Even title should not be displayed if available also.

I want only below fields to be displayed:

Name 1

Name 2

Street/House Number

Street 4

Postal Code/City

Country Name (This one declared below ADDRESS ... ENDADDRESS)

I don't want to dislay other fields if they have value also.

How it is possible!

Thanks in advance.

Thanks,

Deep.