on 11-15-2007 8:02 AM
Hi All,
I am using ABAP API to connect to the standard Material repository. But while giving a language
<b>lr_api->mo_accessor->connect( ls_language ).</b>
it is giving a dump. I think some proble with French language.
But I am passing English as language.
Please help....
Regards,
Nikhil
Hi !
What languages have you set in the Console?
If you set ENGLISH[US] you should write the following code:
ls_language-language = 'eng'.
ls_language-country = 'US'.
ls_language-region = 'USA'.
If you have the French language, you should inquire how to represent the French language internally. You can put a breakpoint in the method CONNECT of the interface IF_MDM_CONNECTOR and see the values of the table "lt_regdef"
* Put the breakpoint in this method (Line 125)
CALL METHOD mo_meta_client->getrepositoryregions
EXPORTING
reptag = <rep_tag>-reptag
IMPORTING
regionsdefined = lt_regdef
rc = lv_rc.
For example, we set our language to Spanish[ES] and the values that we are setting in order to connect are:
ls_language-language = 'spa'.
ls_language-country = 'ES'.
ls_language-region = '__A'.
I hope it helps,
Greetings,
Mariano.-
Please reward helpful answers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.