cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP API

Former Member
0 Kudos

Hi All,

I am using ABAP API to connect to the repository.

I created a repository say REPO, and using the below code , it is working fine.

  lv_log_object_name = 'SEARCH'.

  ls_language-language = 'eng'.
  ls_language-country  = 'US'.
  ls_language-region   = 'USA'.

CREATE OBJECT lr_api
        EXPORTING
          iv_log_object_name = lv_log_object_name.

lr_api->mo_accessor->connect( ls_language ).

while the same code use for standard repository, it is giving dump on the line

lr_api->mo_accessor->connect( ls_language ).

Please help me.

Regards,

Nikhil

Accepted Solutions (1)

Accepted Solutions (1)

michael_theis
Active Contributor
0 Kudos

Hi Nikhil,

what do you mean with:

> while the same code use for standard repository, it is giving dump on the line

Which error message is displayed in the dump?

In addition: are you sure that your repository configuration in MDMAPIC is correct? Did you change the settings according to the standard repository?

It's hard to be more concrete without knowning anything about the dump you're receiving.

BR Michael

Answers (0)