2007 Feb 13 3:35 PM
Hello all,
I am tasked with implementing an IDOC solution that will post goods receipts against "Stock Transfer Orders" (plant-to-plant PO). The high level document flow is this:
- STO created to transfer goods from one SAP plant to a 3PL hub (also an SAP plant)
- An outbound delivery is generated to ship the goods
- Upon physical receipt of the goods at the 3PL, an EDI message (861) is returned
- Objective: use the 861 data to perform the GR against the STO.
On the surface this is a simple task using:
- IDOC WMMBXY
- Movement type 101
- TCode MB01
- PO & Line#
BUT... the issue is this. PO/Line# will never be available in the inbound data. The 3PL will reference only the outbound delivery #. Manually speaking you can perform a GR against a PO using only the delivery # via tcode MB0A.
Does anyone have any experience posting a GR against a PO through WMMBXY but using only the Delivery # as reference?
Thanks very much for any input.
Cheers,
Dennis.
2007 Feb 13 7:39 PM
Hello Dennis,
Your Idoc ( type WMMBID02, msg WMMBXY) will be attached to a process code ( WMMB?). This has a function module which should do the job for you. ( IDOC_INPUT_WMMBXY?)
Only the delivery # is required.
Test using WE19.
2007 Feb 13 8:42 PM
Hi Sandeep,
Yes I have been using process code WMMB with its associated function module IDOC_INPUT_WMMBXY. I have been testing using WE19, and when posting a movement type of 101, more than just the delivery # seem to be required.
Thank you for your attempt, but unfortunately it does not address the issue I am experiencing.
Regards,
Dennis.
2007 Feb 13 9:26 PM
Try populating more fields in the detail segments too, you have not mentjoned that.
in segment E1MBXYI you will find EBELN and EBELP PO # and line #.
ALso you should have plant , batch, MATNR etc. use all that data and try again.
Another thing , this does not matter, but for an STO I have usually seen everyone using a EDI 944, is there a particular reason you are using the EDI 861?
2007 Feb 13 11:55 PM
Hi Sandeep,
I know that I can use WMMBXY IDOC to post a 101 movement type GR. I have achieved this by populating the available fields you mention. That is not the issue here.
The issue is (if you refer to my originating thread) that the inbound EDI document will NOT contain the PO, and PO Line #'s. Therefore, I need to be able to process the GR solely based on the Delivery # reference. This can be done manually via tcode MB0A. I am trying to duplicate this processing via the WMMBXY IDOC.
The 861 is a 'Receipt Advice' signifying receipt of a delivery or shipment of goods. I too have seen the 944 used. Not sure why the choice, perhaps it was the EDI team's preference.
Thanks again for you efforts to help me with my issue, they are greatly appreciated.
Dennis.