Application Development and Automation 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: 
Read only

Address EndAddress in SAP Script

Former Member
0 Likes
506

Hi Abapers,

I am facing one problem in SAP Script regarding Address EndAddress.

My code for Address in SAP is like below

	ADDRESS TYPE &ADDR_KEY-ADDR_TYPE& PARAGRAPH AD
	ADDRESSNUMBER &ADDR_KEY-ADDRNUMBER&
	FROMCOUNTRY &ADDR1_VAL-COUNTRY&
	ENDADDRESS

Now this code is written inthe window for both language EN and ZF but it prints always in EN language.

Now Problem is when the SAP Script executes in language EN it is displaying the correct addres.. But When SAP Script is executing in language 'ZF' it is not displaying some parts of address.

Can anybody suggest me why it is happening in language ZF although the code is same in both the language 'EN' and 'ZF'

Hi Abapers,

I am facing one problem in SAP Script regarding Address EndAddress.

My code for Address in SAP is like below

	ADDRESS TYPE &ADDR_KEY-ADDR_TYPE& PARAGRAPH AD
	ADDRESSNUMBER &ADDR_KEY-ADDRNUMBER&
	FROMCOUNTRY &ADDR1_VAL-COUNTRY&
	ENDADDRESS

Now this code is written inthe window for both language EN and ZF but it prints always in EN language.

Now Problem is when the SAP Script executes in language EN it is displaying the correct addres.. But When SAP Script is executing in language 'ZF' it is not displaying some parts of address.

Can anybody suggest me why it is happening in language ZF although the code is same in both the language 'EN' and 'ZF'

3 REPLIES 3
Read only

Former Member
0 Likes
422

Any Suggestion on the above issue

Read only

naimesh_patel
Active Contributor
0 Likes
422

Try with passing language option also in the ADDRESS command

	ADDRESS TYPE &ADDR_KEY-ADDR_TYPE& PARAGRAPH AD
	ADDRESSNUMBER &ADDR_KEY-ADDRNUMBER&
	FROMCOUNTRY &ADDR1_VAL-COUNTRY&
                LANGUAGE &SYST-LANGU&
	ENDADDRESS

Regards,

Naimesh Patel

Read only

Former Member
0 Likes
422

Hi Chidanand,

I am giving some example below:

Eg.

ADDRESS DELIVERY PARAGRAPH AD LINES 7

ADDRESSNUMBER &PEKKO-ADRN2(K)& LINES EQ 7

FROMCOUNTRY &LFA1-LAND1&

ENDADDRESS

Try above code and check whether it is working or not. Change the fileds accordingly for ur code.