cancel
Showing results for 
Search instead for 
Did you mean: 

FM: ADDRESS_INTO_PRINTFORM not returning Country

Former Member
0 Kudos

Hi,

I am using the FM: ADDRESS_INTO_PRINTFORM to get the vendor address in my PO Smart form.

I am passing the below fields into the FM.

address_type = '1'

address_number = sf_po-vendor-addr_no " addree number of vendor in PO

number_of_lines = '6'

For some of the vendors (US base vendors), it is returning the address with country in export parameter ADDRESS_PRINTFORM_TABLE.

But for other vendors (German base vendors) it is returning the address without country.

In ADRC table, both the address numbers are having country.

What could be the issue with this? What else should I need to pass to get the country for all the vendors? Plz help.

Thanks,

Arun

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi ..

On debugging this FM, I found that all European countries are defined with address layout key 001 and "Print country name" flag is not set in customizing (table: T005).

Any idea, what is the "Sender country" refers to? Is it the country of PO sender OR goods sender?

Is it possible to add the country name to the output parameter ADDRESS_PRINTFORM_TABLE without changing the customizing settings?

I saw one badi ADDR_PRINTFORM_SHORT related to this. But this is not changing the above mentioned export parameter.

Thanks.

Arun