cancel
Showing results for 
Search instead for 
Did you mean: 

Counrty in Address and Endaddess not printing

Former Member
0 Kudos

Hi Experts,

Country in Address and Endaddress is not printing.

I have debugged the Script and saw country (TI) in VBDKR-LAND1 but the value is not coming in the print/preview.

Here is my code......

L  <BC> BILL-TO:</>                                                          
/: ADDRESS PARAGRAPH AS                                                      
/:   TITLE    &VBDKR-ANRED&                                                  
/:   NAME     &VBDKR-NAME1&, &VBDKR-NAME2&, &VBDKR-NAME3&, &VBDKR-NAME4&     
/:   STREET   &VBDKR-STRAS&                                                  
/:   POBOX    &VBDKR-PFACH&  CODE &VBDKR-PSTL2&                              
/:   CITY     &VBDKR-ORT01&, &VBDKR-ORT02&                                   
/:   POSTCODE &VBDKR-PSTLZ&                                                  
/:   COUNTRY  &VBDKR-LAND1&                                                  
/:   REGION   &VBDKR-REGIO&                                                  
/:   FROMCOUNTRY 'USA'                                                       
/: ENDADDRESS

Just to solve the problem we did this.

/: DEFINE &COUNTRY& = &VBDKR-LAND1&                                          
AS &COUNTRY&

I am not sure wats wrong in Address and Endaddress.

Please suggest.

Regards,

Sharat.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

For countries with Formatting routine key for printing addresses '001' (European standard address format), '002' (Italy), '011' (Switzerland) and '014' (Austria) will not print Country in the last line. This is SAP standard.

Note:001, 002, 011, 014 are Formatting routine key for printing addresses in table T005 field name ADDRS.

Please check for your client specific data before coding.

You can check this in SPRO->SAP Netweaver->General Setting->Set Countries-> Define Countries.

Thanks & All the Best.

Sharat Chandra.

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

This has been covered many times.

ADDRESS..ENDADDRESS follows postal regulations. Most countries do not print the country if the from and to countries are the same.

Use


/: &FROMCOUNTRY& '   '

to always print the country

Former Member
0 Kudos

Hello Mr. Michael Evershed

First of all i have checked the forum that if its cover or not(Never found any thing)and then i have include my question.

/: &FROMCOUNTRY& '   '

DID NOT WORK

Thanks for your reply,

Kind Regards,

Sharat Chandra

naimesh_patel
Active Contributor
0 Kudos

Try by not passing the FROMCOUNTRY.

Regards,

Naimesh Patel