cancel
Showing results for 
Search instead for 
Did you mean: 

script

Former Member
0 Kudos

Hi All !

In layout ther is unwanted space in Delivery address window

Delivery Address:

Name

street/houseno

pincode city

country

1) There is space between street and Pincode which is not expected ?

2) unwantedly it is getting Pincode and city in single line?

- According to em it is printing the addressin same format as in me42.

Even i keep just 3 lines in address window in layout i.e

Name

Street/houseno

Pincode city

Country

even though it is giving space between two lines

Code in Layout :

/E HEADER_DELADDRESS

AZ Delivery Address:

/: ADDRESS PARAGRAPH AZ

/: TITLE &SADR-ANRED&

/: NAME &SADR-NAME1&

/: STREET &SADR-STRAS&

/: POBOX &SADR-PFACH&, CODE &SADR-PSTL2&

/: POSTCODE &SADR-PSTLZ&

/: REGION &SADR-REGIO&

/: CITY &SADR-ORT01&, &SADR-ORT02&

/: COUNTRY &SADR-LAND1&

/: FROMCOUNTRY &T001-LAND1&

/: ENDADDRESS

Thanks & regards

babu

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Even though it is giving gap between STREET AND POST_CODE

PERFORM WINDEL IN PROGRAM ZRFQFM06P

USING &ADRNR&

CHANGING &NAME1&

CHANGING &CITY1&

CHANGING &POST_CODE1&

CHANGING &STREET&

CHANGING &COUNTRY&

CHANGING &HOUSENO&

ENDPERFORM

<B>Delivery Address:</>

ADDRESS PARAGRAPH AZ

NAME &NAME1&

STREET &STREET&

POSTCODE &POST_CODE1&

ENDADDRESS

Former Member
0 Kudos

Hi !

Please check the field houseno which is not common Delivery

but prestnt in ADRC.

Regards

Venkat

Answers (1)

Answers (1)

former_member188005
Contributor
0 Kudos

Rambabu,

You are using the Address Template in Script which displays the given fields in the template provided by SAP.

If you want to have a specify address to be printed then Use the ADRNR from the script and by using the subroutine get the address requried from KNA1 or ADRC table and then print in scipt.

Regards,