Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Enterprise Services Client

Former Member
0 Likes
626

Hi, I'm writing this post to see if anyone had this problem,

I have a Web Service this way:

http://myhost/sap/bc/soap/wsdl?services=Z_FUNCTION&sap-client=210

Even if i have he 210 client it's working in 200, i know this because i wrote in my function module Z_FUNCTION this code:

data ls_tal type YFV13_LOG_WS.

ls_tal-date = sy-datum.

ls_tal-uzeit = sy-uzeit.

ls_tal-value1 = sy-mandt.

ls_tal-value2 = iv_kunnr.

insert YFV13_LOG_WS from ls_tal.

And it records 200 as Mandant(sy-mandt), is there something i missed when i created the web service? Is there something i need to check at Basis Level?

Thank you,

Gabriel

Hi, I'm writing this post to see if anyone had this problem,

I have a Web Service this way:

http://myhost/sap/bc/soap/wsdl?services=Z_FUNCTION&sap-client=210

Even if i have he 210 client it's working in 200, i know this because i wrote in my function module Z_FUNCTION this code:

data ls_tal type YFV13_LOG_WS.

ls_tal-date = sy-datum.

ls_tal-uzeit = sy-uzeit.

ls_tal-value1 = sy-mandt.

ls_tal-value2 = iv_kunnr.

insert YFV13_LOG_WS from ls_tal.

And it records 200 as Mandant(sy-mandt), is there something i missed when i created the web service? Is there something i need to check at Basis Level?

Thank you,

Gabriel

4 REPLIES 4
Read only

matt
Active Contributor
0 Likes
602

Have you checked the settings for the user that the function module runs under?

matt

Read only

Former Member
0 Likes
602

Hi Matt, thanks for the reply, can you explain what should i look for? I mean, this user must have the mandt by default to 210? what will happen when i'm in 400 (PROD)?

I tought the value of clientid in the url of the WS is what it will redirect to the right server, that's why i'm confussed with this.

Read only

Former Member
0 Likes
602

Checking your suggestion Matt, we tried this:

Basis changed the default client to sign in in SapGui, from 200 to 210, it worked, now the WS are connecting to 210, of course, this can´t be the best solution.

We also changed the user/passw combination because we had the same password for both clients(200/210), if i open the WSDL via browser with the client-id parameter in 200 and 210 it asks for the right user/passw combination, didn´t see this before because we had the same password and i don't know if that could be the problem.

We are scheduling to return the default clientid value to 200 and check if this user/passw combination was the problem, i´ll write later.

Read only

matt
Active Contributor
0 Likes
602

Check also the SICF entry for the webservice.