2011 Mar 22 1:47 PM
Hi,
I am after a standard web service that accepts a material code and returns a plant/location/s and availability/quantity.
ex:
input: code:CMA0001
output: plant: E100 QTY 3
plant: E200 QTY 1
Any help much appreciated
Darren
2011 Mar 22 2:14 PM
You can wrap the standard availability check BAPI in a web service easily...
Hi,
I am after a standard web service that accepts a material code and returns a plant/location/s and availability/quantity.
ex:
input: code:CMA0001
output: plant: E100 QTY 3
plant: E200 QTY 1
Any help much appreciated
Darren
2011 Mar 22 2:14 PM
You can wrap the standard availability check BAPI in a web service easily...
2011 Mar 22 2:26 PM
Hi Brad,
Thanks for your fast reply.
Unfortunately I am new to SAP and web services. I have used some webservices to create Purchase requisitions, get material list and detail, etc succefully, so I am into a bit of a learning curve
Can you ellaborate a bit more. If you know at least which BAPI service I need to use will be of great help.
Kind regards,
Darren
2011 Mar 22 2:43 PM
BAPI_MATERIAL_AVAILABILITY but plant is a required value so you would need to wrap the call and loop at the plants defined for the material and return the results in your function as a table in your export parameter definition. There are other ATP functions that may return multi-plant/storage location availability but I would stick with the BAPI for ease of use. You can create a web service with a wizard using the custom function group.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |