Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3530

Re: Create a Work Order when Receiving a Material at Goods Receipt

$
0
0

Darrin,

 

You can use the Construction Type field to link to a material - but this is usually used for linking a general BOM. IT does not create an order, but does link an equipment/material together. You could use other options like classification, or a customer defined field (via user-exit ITOB0001).

 

There are several examples on the web of using BAPI_ALM_ORDER_MAINTAIN, here is one of them:

 

BAPI_ALM_ORDER_MAINTAIN create sap work order - SAP Function Module - ABAP

 

There is no standard way to create a work order off the back of a goods receipt - so you will need to develop a solution (which I think you already know..). The options are:

  1. Use the goods receipt document to trigger the work order creation via user-exit/BADI.
  2. Create a batch program which runs periodically (say overnight) to search for GR created in a given time frame, and then create the work orders.

 

Option 1 will create work orders real-time, but if there are issues the work order cannot be re-created via the GR (without cancelling the GR).

Option 2 means that the work orders are created at a later date/time. However, if the process fails, you can manually run the batch program to create the work order. This option is also easier to debug and does not extend the time for the GRs to be created (unlike option 1).

 

PeteA


Viewing all articles
Browse latest Browse all 3530

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>