cancel
Showing results for 
Search instead for 
Did you mean: 

CRM Internet Sales User - address format

Ash_ok
Contributor
0 Kudos

Hi !

In the CRM 4.0 Internet Sales application, when 'register.jsp' is triggered to register a new internet user, the default address format always seems to pick the US addressFormular (Zipcode field instead of Postalcode). Would anyone have an idea what change has to be made to pick the correct addressFormular to get the correct address format ?

Regards,

Ashok.

Accepted Solutions (0)

Answers (2)

Answers (2)

Ash_ok
Contributor
0 Kudos

Hi !

The solution is part config part 'shopadmin' setting. The config part is assigning an address format - either European or US address format - to the base country. The 'shopadmin' part is calling the config setting for users of the webshop.

Ashok.

Former Member
0 Kudos

Hello Ashok,

I am working on B2C website, US address format. On the user registration page, the country field is blank. So after filling all the fields, it gives error that,

"Make an entry in all fields where required ".

Can you please suggest the solution?

Thanks,

Harsha

Ash_ok
Contributor
0 Kudos

Harsha,

You need to set-up some configuration for the address to be pulled through. Like in my earlier reply, some of it is in the IMG and the follow-up steps in the 'Shopadmin'. Together, you would then get the address to be populated with the correct entries.

Hope this helps.

Cheers,

Ashok.

Former Member
0 Kudos

Hello Ashok,

Thanks for your reply. But in your case does country field shows "UK", or is it empty? How would I know what setup do I need to do? Is there any documentation for it? I am new in this field & need to solve this issue ASAP.

Can you help me with this problem?

Thanks,

Harsha

Ash_ok
Contributor
0 Kudos

Harsha,

The documentation is the standard 'Help' documentation.

Depending on the config settings, one would get the address format based on either the European standard format or the US format and the therefore the country.

Cheers,

Ashok.

Ash_ok
Contributor
0 Kudos

Harsha,

You could gleem more information from the best practises - http://help.sap.com/content/bestpractices/crossindustry/bestp_crossindustry_crm.htm.

Cheers,

Ashok.

Former Member
0 Kudos

Thanks, Ashok. I will try to get login info.

I just noticed that in inputaddressformat_us.inc, the following portion of the code inside the iterate tag is not getting executed.

<isa:iterate id="country" name="<%= B2cConstants.POSSIBLE_COUNTRIES %>" type= "com.sapmarkets.isa.core.util.table.ResultData" resetCursor="true">

<% // Should the current country be marked as selected?

String selected="";

if (country.getString("ID").equals(defaultCountryId)) {

selected="SELECTED";

} %>

<OPTION VALUE="<%= country.getString("ID") %>" <%= selected %>>

<%= country.getString("DESCRIPTION") %>

</OPTION>

</isa:iterate>

I think that is the reason. But why it is not executing that code?

Do you have an idea about it?

Thanks,

Harsha

Former Member
0 Kudos

Hello Ashok,

I just noticed from DisplayRegisterAction that

ResultData listOfCountries = shop.getCountryList();

listOfCountries doesn't have any rows. I think that it is a field in shop. From my shop, I see that I have set Country = "US" & Country group = "US",

But I don't know which field is required so that listOfCountries will not be null.

Do you know it?

Thanks,

Harsha

Former Member
0 Kudos

I solved it. The countryGroup value should be 0002.

Thanks for your help.

Former Member
0 Kudos

Ashok

You have to modify the Register.jsp to suit our requirement !

Thanks

Jack

<b>Allot points if my post helps !</b>

Ash_ok
Contributor
0 Kudos

Hi Jack,

There is a setting in the CRM IMG wherein an internet user's address format can be adjusted - to either the European standard format or the US format - based on the address layout key (country). However, when 'register.jsp' is being triggered, there is no way of identifying the country of the user, to determine whether the address format is either the European standard format or the US format. Or is there a way / setting ??

Some users are irritated that address shows 'Zipcode' instead of 'Postal Code' by pulling in the US address format instead of the default address format.

Regards,

Ashok.