cancel
Showing results for 
Search instead for 
Did you mean: 

Error While Posting Data to Target S4 Webservice using CPI DS

0 Kudos

Hello Experts,

i am trying to post the data from CPI DS to S4 Webservice. and getting the below error while executing the interface.:-

2019-04-17 08:32:59 (E)(9132:3228) RUN-248005 |Data flow RT_T_IBP_TO_S4HANA_KF_PIR_RT_DF_KF_PIR|Transform Target_Web_Service_Call-Function5 There is no response for the web service <Zf2p1205Ibps4pirCreate>. Ensure that the network, web server, and service are running properly. Also ensure that the service client call time out is set properly. 2019-04-17 08:33:09 (E)(13240:10292) RUN-248005 |Data flow XXXXXXXXXXXXXXXX|Transform Target_Web_Service_Call-Function5 There is no response for the web service <Zf2p1205Ibps4pirCreate>. Ensure that the network, web server, and service are running properly. Also ensure that the service client call time out is set properly.

But when we do a connectivity test to the webservice datastore(Webservice URL as provided by the S4 Team is configured in the datastore) in CPI DS then the connection is successful.

Any help is much appreciated.

Thanks,

Regards,
Shubham


Accepted Solutions (0)

Answers (3)

Answers (3)

spalc
Participant
0 Kudos

Hi,

Did U try to set a large timeout value?

Note 2827896 says that if you don't do so, default timeout is 1mn... it can generate this error.

Try 300000 for 5mn as suggested by this note...

cheers, J

0 Kudos

Hi Jeff,

Thanks for the reply.

A weird issue is occurring now. if i post 50 records (single material with different plants then records gets posted to web service successfully and the response is received.

But when the interface is executed without any filters(Multiple materials with Different plants) the CPI DS dataflow fails with the below error:-

Transform Target_Web_Service_Call-Function4 HTTP error:<<soap-env:Fault><faultcode>soap-env:Server</faultcode><faultstring xml:lang="en">Web service processing error; more details in the web service error log on provider side (UTC timestamp 20190422101157; Transaction ID 504A1955B34400C0E005CB898ACF673C)</faultstring><detail/></soap-env:Fault>>


On further analyzing the looking i to the transaction SRT_UTIL in S$ and checking the error Logs, it gives the error as "System Expected the end of the element Item".

If we download the payload from the same transaction, it looks like some of the xml tags are not forming properly due to which the same is failing to be processed by webservice.

Incorrect xml tag(R_Q_QTY_C)has been highlighted in the example below:-

<item>

<MATERIAL>111111111</MATERIAL>

<PLANT>XXXX</PLANT>

<VERSION>00</VERSION>

<VERS_ACTIV>X</VERS_ACTIV>

<DATE_TYPE>2</DATE_TYPE>

<REQ_DATE_C>2019.06.03</REQ_DATE_C>

<R_Q_QTY_C>200.000000</REQ_QTY_C>

<UNIT_C/> <TYPE/>

<MESSAGE/>

</item>

2nd example:-

(Incorrect xml tag as below)

<item>

<MATERIAL>XXXXXXX</MATERIAL>

<PLANT>XXXX</PLANT>

<VERSION>00</VERSION>

<VERS_ACTIV>X</VERS_ACTIV>

<DATE_TYP_>2</DATE_TYPE>

<REQ_DATE_C>2019.06.03</REQ_DATE_C>

<REQ_QTY_C>200.000000</REQ_QTY_C>

<UNIT_C/> <TYPE/>

<MESSAGE/>

</item>

Kindly suggest.

Thanks,

Shubham

jeffrey_kresse
Employee
Employee
0 Kudos

If this is the payload received by ECC it is bound to fail, could be some bug in CPI-DS if some of the tags are formed wrong. Have never seen a problem like that before.

I would recommend to submit a support incident on LOD-HCI-DS. Include web service payload, axis2 log from the ds agent, and the job logs from CPI-DS.

jeffrey_kresse
Employee
Employee
0 Kudos

Connection test for SOAP datastores only validates that the WSDL can be found, it doesn't check for configuration of the web service provider or authorization etc. Lots of opportunity for a working connection test but failed loads. The most useful diagnostic for this will be axis2 logging from the DS Agent. Follow this KBA then run your job again and look through the axis2 log for errors related to connection, authentication and validate the web service is going to the system you are expecting.