cancel
Showing results for 
Search instead for 
Did you mean: 

Error while creating Sales Order From HTTP Client

Former Member
0 Kudos

Hi,

I have a scenario, wherein I need to create SO from HTTP client (an HTML page). I paste my xml source data in the payload area and send the message. I get back this response:

Result:

<?xml version="1.0" encoding="UTF-8"?>

<ns1:Deep_RFCResponse_MT xmlns:ns1="http://mindtree.com/xi/m1004968"><SALESDOCUMENT><SALESORDERNO></SALESORDERNO></SALESDOCUMENT><RETURN><item><TYPE>E</TYPE><ID>V1</ID><MESSAGE>Sales document type OR is not defined</MESSAGE></item></RETURN></ns1:Deep_RFCResponse_MT>

I am supposed to get a SO no. here, but I get this message.

Whereas if I give same data at back end (in SAP system) the SO no is created successfully!

Can anybody tell me where am I going wrong, if I am?

Thank you,

Cheers,

Deepak.

Accepted Solutions (1)

Accepted Solutions (1)

prateek
Active Contributor
0 Kudos

Make sure u r providing proper data with all mandatory fields

It is most likely a data mismatch problem and ur XI scenario is working fine.

Regards,

Prateek

Former Member
0 Kudos

Hi Prateek.

You were right.....

The problem was with the data that I was passing. I was passing OR as the document type, which internally was being converted to TA.

It was creating the SO successfully because I was using the transaction se37 and this is where OR was converted to TA.

But if we use va01 to create the SO, we get this error.

Thank you....

Points!! definitely

Cheers,

Deepak.

Edited by: Deepak MS on Mar 13, 2008 5:20 AM

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Deepak,

Why can't you test your Configuration Scenario in ID

Goto -


> Tools -


> Test Configuration..

Put your actual payload in the payload column and test it....

Thanks,

vasanth.

Former Member
0 Kudos

Any answers for this pls!

Cheers,

Deepak.