cancel
Showing results for 
Search instead for 
Did you mean: 

API SOAP Billing Document - Create

lmonteroquero
Explorer
0 Kudos

Hi experts, 

has anybody have an working file example about Soap post method for BillingDocumentRequest_In ?

Thanks a lot for helping

Communication Scenario:   Billing Integration (SAP_COM_0120)Supported Operations:   SAP_COM_0120 - BD_REQUEST_IN

Accepted Solutions (1)

Accepted Solutions (1)

MartyMcCormick
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Luis

I'd recommend importing the WSDL into SoapUI and generating a test case on import. There you can find example payload with the fields marked as optional or mandatory.

Having said that, below is a sample file with generic data that will get you going.

Thanks,

Marty

11123344

2019-04-10T00:00:00.1234567Z

TestRefSys

document123

10

EOX1

EDX1

Item_Text

CIX1

1010

10

00

2019-05-01

10000000

10000000

10000000

USD

US

0001

TG0012

8

1010

PPR0

USD

13

lmonteroquero
Explorer
0 Kudos

Hi Marty, once again, thanks for your help, very useful example .. I get error message response ( error 500 ) .. I don´t know what´s the issue. How can I get some clue or check info about , because SOAP doesn´t give me any functional info for looking into ? thanks for your help.

Best regards, Luis

soap-env:Server

Error en el tratamiento de servicio web; Más detalles en log de error de servicio web en la página de proveedor (Cronomarcador UTC 20190503101445; ID de transacción F97AA2948EBB0270E005CC41E909E623) El proveedor de servicio puede acceder al log de error desde SAP backend.

Former Member
0 Kudos

Dear Luis , we also have this problem , have you solved it?

Answers (3)

Answers (3)

MartyMcCormick
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Luca

I assume you are referring to the Outbound Service "Creation Confirmation" which is on the Comm Arrangement correct? If so, here you would put the endpoint where you want the XML to be sent. For example, you could create a simple iFlow on CPI with an HTTPS sender and an endpoint of /billingdoc with a simple script step to log the payload. Then when you deploy the iFlow you will see a runtime URL. You can maintain the comm system with this hostname and the endpoint would be /cxf/billingdoc. This outbound service is where you want the confirmation sent--so your integration software to handle the call back or the target system itself that receives the confirmation.

Thanks,

Marty

LucaBia
Participant
0 Kudos

Hi Marty,

as per the documentation, we should invoke BillingDocumentConfirmation_Out in order to give back to the external calling system the number of the created billing document.

Unfortunately we don't know how to manage the wsdl dowloaded from "Communication Arrangements", since it does not include any endpoint.

Were you able to test it?

Thanks for your help.

-Luca-

MartyMcCormick
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Luis

Unfortunately in this case you need to open a message with SAP and ask them to provide the error message from the backend. I know error handling is an area of focus for the product in future releases in providing developers more capabilities for us to troubleshoot on our own.

Most likely one of your data fields is not correct.

Thanks,

Marty