cancel
Showing results for 
Search instead for 
Did you mean: 

How to consume SOAP read API "Manufacturing order - Send V2" in SAP? CO_PPINT_MFGORD_EXE_REQ_OUT_V2

sdig89
Explorer
0 Kudos
310

Hello, 

I am working on a SAP S/4 HANA Cloud public edition implementation project (version 2402)

Anyone can help me test and consume this API "Manufacturing order - Send V2" CO_PPINT_MFGORD_EXE_REQ_OUT_V2, from POSTMAN?

https://api.sap.com/api/CO_PPINT_MFGORD_EXE_REQ_OUT_V2/overview

As per my understanding, this is an outbound API that allows to read production order data upon release, but we are not able to execute it yet. 

The request in Postman should be something like: https://host:port/ManufacturingOrderExecuteRequest_Out_V2? or just https://host:port/ as mentioned in API reference website?

In both cases, what should be added in the request body please to be able to retrieve data for one given Production Order? 

We tried first using the OData "Production Order V2" API https://api.sap.com/api/API_PRODUCTION_ORDER_2_SRV/overview, but it was not sufficient for our requirement (for instance, this API does not retrieve the inspection lot information for a production order) 

View Entire Topic
Enda
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello @sdig89 

 

I checked and it's not possible to call the service CO_PPINT_MFGORD_EXE_REQ_OUT_V2, from POSTMAN

 

As mentioned in the Documentation Manufacturing Order – Send (Version 2)

The manufacturing order is sent to the external systems when the following conditions are met:

  • you release the order

  • the order meets the filter criteria for distribution defined in the communication arrangement

    Note that the system evaluates the filter criteria using the following logic:
    • If several filter criteria are applied to the same attribute (for example, material), the system applies the filter if any filter criterion is true. For example, material is Test1 OR material is Test2.

    • If several filter criteria are applied to different attributes (for example, material and order type), the system applies the filter if all filter criteria are true. For example, material is Test1 AND order type is YBM1.

    • Empty fields are not considered and thus do not have an impact on the result.If several filter criteria are applied to the same attribute (for example, material), the system applies the filter if any filter criterion is true. For example, material is Test1 OR material is Test2.

    Best Regards

    Enda

 

sdig89
Explorer
0 Kudos
Hello Enda, thank you for the response. Before starting any development on BTP or any iFlow, we wanted to know if it would be possible to test the CO_PPINT_MFGORD_EXE_REQ_OUT_V2 API. I can understand that this is not possible from POSTMAN, but is it possible from SOAP UI? Or how to test the API somehow in an independent manner?