cancel
Showing results for 
Search instead for 
Did you mean: 

API for App 'Post unplanned Goods Issue' in S4Hana Cloud

rahulb87
Explorer
0 Kudos
996

Hello,

Is there an API for App 'Post unplanned Goods Issue' in S4Hana Cloud EWM? I have searched the api.sap.com hub and I cannot find any API for goods Issue only for Goods receipt confirmation.

Regards

Rahul Bhardwaj

Accepted Solutions (1)

Accepted Solutions (1)

GeovanaLettnin
Product and Topic Expert
Product and Topic Expert

Hi Rahul,

Sorry for the delay in my reply. I normally use the API Warehouse Outbound Delivery Order - Read, Update (A2X) for some different Good issues situations. However, after your further explanation, I understand what you really wanted, as I never found an API about it and any customer asked me about it specifically, I checked your situation with some developer's colleagues. After talking with them, we find an option that we think can help you with your specific scenario in the near future.

With the upcoming cloud release we will enhance the existing Overview | Warehouse Physical Stock by Product - Read (A2X) | SAP API Business Hub API. This API will get actions for Consume and Scrap Stock. The new actions consume or scrap stock could fit your use case.

Please wait for the update in this API in the next release to check this new improvement that could help you guys with the concern regarding the posting unplanned good issue.

Best regards,

Geovana

Fahrettin
Explorer
0 Kudos

Hi Geovana,

We have the same problem and business case for Public Cloud implementation project. 

Our client is requesting to make stock correction should happen from Storage bin level the trigger point is from EWM not from MM so that want post 711 and 712 movement type with warehouse task .

But given below API is not supported stock correction with 711 and 712 movement that only supports the unplanned goods issue for consumption and scrapping.

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

Could you provide some useful solution or workaround to solve this issue? Your helps will be aprecated

PS: For Warehouse Physical Stock by Product - Read, Update (A2X) APİ is there any plan to develop stock correction in the near future?

Kind Regards,

Fahrettin

 

 

Fahrettin
Explorer
0 Kudos

Hi again,

We have found a solution that Material Document API’s are working with given below payload parameters. 

Stock Correction with 711 from E-WM

 

  • 711: GI InvDiff.:whouse

 

{

    "PostingDate": "2024-07-01T10:00:00",

    "GoodsMovementCode": "03",

    "CtrlPostgForExtWhseMgmtSyst":"3",

    "ReferenceDocument":"SRCNFKB",

    "to_MaterialDocumentItem": [{

        "Plant": "1210",

        "StorageLocation": "125W",

        "Batch": "",

        "EWMWarehouse": "1250",

        "EWMStorageBin": "S001-01-01",

        "Material": "TG11",

        "GoodsMovementType": "711",

        "QuantityInEntryUnit": "3",

        "GoodsMovementReasonCode":"0001"

    }

  ]

}

 

Material Document: 4900000757 (Starter Tenant)

 

Stock Correction with 712 from E-WM

 

  • 712: GR InvDiff.:whouse

{

    "PostingDate": "2024-07-01T10:00:00",

    "GoodsMovementCode": "03",

    "CtrlPostgForExtWhseMgmtSyst":"3",

    "ReferenceDocument":"SRCNFKB",

    "to_MaterialDocumentItem": [{

        "Plant": "1210",

        "StorageLocation": "125W",

        "Batch": "",

        "EWMWarehouse": "1250",

        "EWMStorageBin": "S001-01-01",

        "Material": "TG11",

        "GoodsMovementType": "712",

        "QuantityInEntryUnit": "1",

        "GoodsMovementReasonCode":"0001"

    }

  ]

}

 

Material Document: 4900000758 (Starter Tenant)

 

Fahrettin

 

 

 

Answers (1)

Answers (1)

GeovanaLettnin
Product and Topic Expert
Product and Topic Expert

Hi Rahul,

There is an API for outbound delivery that you can post goods issue, you can reverse goods issue, can print a loading list for a delivery, you can retrieve header information for warehouse outbound delivery orders, you can adjust the delivery quantity down to 0 if picking hasn't started, or down to the partial quantity that has already been picked...

Everything related to Outbound Delivery Order to use in a API call, you can check it through the Business Hub API at the specific link below:

Warehouse Outbound Delivery Order - Read, Update (A2X)

Best regards,

Geovana

rahulb87
Explorer
0 Kudos

Hello Geovana,

I get that we have an API for outbound delivery but let me explain my business case:

A part of the business works in a Lab that doesn't have SAP or any computer screens, on daily basis they need to cosume products for testing at various cost centers. Right now they manually write it on a piece of paper and go to someone daily or once two days to someone with a desktop outside the Lab and they issue the product against the cost center via " Post unplanned Goods Issue" in S4Hana Cloud. Now the business wants lab to do it via scanner hence we need an API that works similarly to this App.

Regards,

Rahul