cancel
Showing results for 
Search instead for 
Did you mean: 

Need to ouput street and street4 in Vendor Address

Former Member
0 Kudos

Hi,

Anyone Please tell me how to output Street and Stree4.

Presently Iam getting all values in debugging. But Street and Street4 not getting printed.

I have using ADDRESS DELIVERY and ENDADDRESS.

ADDRESS DELIVERY PARAGRAPH ZD

TITLE &LV_TITLE&

NAME &LV_NAME1& , &LV_NAME2& , &LV_NAME3& , &LV_NAME4&

STREET &LV_STREET& , &LV_STREET4&

POBOX &LV_PO_BOX& CODE &REGUH-ZPST2&

POSTCODE &LV_POST_CODE1&

REGION &LV_REGION&

CITY &LV_CITY1& , &LV_CITY2&

COUNTRY &LV_COUNTRY&

FROMCOUNTRY &T001-LAND1&

ENDADDRESS

Country and From country are same 'GB'. and window is having sufficient space to populate data.

Regards,

Krishna

Edited by: Krishnama Raju Samunuri on Aug 19, 2009 7:15 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

valter_oliveira
Active Contributor
0 Kudos

Hi.

If you are sure that everything is ok check tcode OY01.

Select the country code and verify if the adress key is the standard one? If not, is there a project with ampliation SZAD0001? Check it.

Regards,

Valter Oliveira.

Former Member
0 Kudos

Hi,

thanks for the reply. Address layout key is standard ono only used.

Between Address and endaddress, following should be used.

STREET street name HOUSE house number

Instead the above one I have used

STREET <street name> <,street4>

Is above statement is wrong?

Regards,

Krishna

valter_oliveira
Active Contributor
0 Kudos

Hi again.

Ok, so it's a problem with the statement. The "street 4" is a field called STR_SUPPL3 (not HOUSE_NUM) from ADRC. I think you should use just as this example:

/: ADDRESS PARAGRAPH AD

/: ADDRESSNUMBER &EKKO-ADRNR(K)&

/: FROMCOUNTRY &T001-LAND1&

/: ENDADDRESS

Regards,

Valter Oliveira.

Former Member
0 Kudos

Hi,

Your response is very helpful. I have awarded points.

Is it possible print street and stee4 with own values. Becasue I have used perform statement got values of

lv_street and lv_stree4.

Any other alternative using my variable values.

Regards,

Krishna

valter_oliveira
Active Contributor
0 Kudos

For overall knowledge of ADDRESS command check this link:

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/d1/80318f454211d189710000e8322d00/frameset.htm

An alternative you have, is to NOT use address command and use the variables you have like:

&lv_name&

&lv_street&

&lv_street4&

&lv_city&

&lv_country&

Regards,

Valter Oliveira.

Former Member
0 Kudos

Hi,

I have to use address and endaddress command as I have to follow the Standard functionality.

regards,

Krishna