Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

sap script address not appearing for one customer

0 Kudos

Hi ,

The SAP script address is not appearing for one customer for HK country while it is being displayed  for other customers for same country.The values for this customer are correctly populated in customer master ,also I can see the values in debugging.Pls advise the possible reason .The coding is as below

/W  ADDRESS

/:  ADDRESS PARAGRAPH AS

/:    TITLE       &DKADR-ANRED&

/:    NAME        &DKADR-NAME1&, &DKADR-NAME2&, &DKADR-NAME3&, &DKADR-NAME4&

/:    STREET      &DKADR-STRAS&

/:    POBOX       &DKADR-PFACH& CODE &DKADR-PSTL2&

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

/:    POSTCODE    &DKADR-PSTLZ&

/:    COUNTRY     &DKADR-LAND1&

/:    REGION      &DKADR-REGIO&

/:    FROMCOUNTRY &DKADR-INLND&

/:  ADDRESSNUMBER &DKADR-ADRNR(K)&

/:  ENDADDRESS

6 REPLIES 6

Former Member
0 Kudos

Hi,

Your query is pretty weird but still a some possible sanity checks -

1) Check SCC1 has been done.

2) The element and window are properly called in driver program.

3) Cross verify the multiple addresses in step by step sap script debugger.

BR.

0 Kudos

This is an existing sap script which is working fine all this time and this is a issue reported by the client that the script is not displaying the address for one particular customer even though the address details are correctly maintained .The script is being called from tcode F.64 .Pls advise what could be the reason .

0 Kudos

Hi,

Apart from debugging i cannot think of any other solution. In case you are using any third party printing solution then please confirm the address values are shown in the Spool.

Sorry can't help more on this.

BR.

0 Kudos

Hi

Can you please try by modifying the address in test system and reducing the number of lines to be printed. It looks like SPACE issue. Do you have separate window for the same

Nabheet

0 Kudos

I have observed the recepient country is 'HK' and sender country is 'CN' ,will it make any difference to the address display for sap script .what is the relevance of these fields .

0 Kudos

Yes it will effect the formatiing of the text. Please read documentation of function module ADDRESS_INTO_PRINTFORM for more details

Nabheet