RE: Goods issue posting through Migo for Production Order
I have released the production order, when I want to post the goods issue through migo to the concerned order I am getting error saying that material "No components exist but there was stock in the storage location for unresticted use.
I have checked through MMbe transaction.
Are there components in the Production Order? If yes, is the reservation created and movement allowed for the reservation?
Lakshman
Similar Messages
-
Goods Issue Control & confirmation control for Production Order.
Dear ALL,
Please let me know how to control,
1) Unauthorised consumption of component quantities in excess of quantity defined in BOM?
2) Posting of Confirmation (At operation Level) against production order for which no components have been issue?
3) Posting of goods receipt against production order for which no components have been issued or no confirmations have been posted?
4) Posting of goods reversal quantity in excess to issued quantity.
Regards,Prashant,
Not all the requirements you mentioned can be controlled in Standard SAP system. For some of the requirements you could configure User status (Tcode :BS02).
exmaple :
Posting of Confirmation (At operation Level) against production order for which no components have been issue?
SET user status XX on Business transaction : Release that forbids CONF.
SET another user status YY on Business transaction : Goods movement that allows confirmation.
With this kind of tricky user status you can control/prevent some transactions in production order till certain transactions are done.
I know this is not the ideal solution but I have used it for various purposes to meet certain business needs.
Hope this helps you.
Thanks,
Ram -
Goods Issue To Each Operation Of Production Order?
As we know, in SAP ,when we create and realse the production order,we could posts good issue to the production order ,using MB1A. And in SAP , the components can be assigned to the operations of the finished product.
But in our company, the production order will take long time,and during production,different materials will be used in different phase of the production order,that means different components will be used for different operations.
And for some reason,we don't want our material to be backflushed during production.
So I want to ask can we post goods issue to each operation of the production order,not to the whole production order? Can SAP support Post Goods Issue To Each Operation Of Production Order?
What shall we do if we want do this?By ABAP development ? Or there is third party software
can do this with SAP?
Thanks for any reply!
Edited by: Fei Liu on Mar 14, 2009 4:56 PMHi Fei,
As explained above, i think the concept of releasing the individual operations instead of releasing the order at header level would work fine for your requirement.
Steps:
1. Go to operation page in co02.
2. Select the first operation, at the bottom of the screen you would find a Green Flag, click on the same.
3. You will now find that the status of the first operation has changed to REL, while the others are still not.
4. At header level you will find a status PREL, indicating partial release.
5. After completion of the first operation, confirm the same & select the second operation & click release, & the process follows in this manner
6. Please do not click the green flag at the header level as this will release the entire order.
Pre-requisite:
1. You have assigned components to the respective operations.
You might also want to consider the usage of trigger points. This you can assign to each operation, where-in if the status changes to CNF, you trigger the release of the following operation. But before opting for this flow, first do it manually to ensure it meets your need.
Also if the components assigned to the same operation, needs to be issued at different date, then you can use the lead time offset in BOM. In cs02, go to item details, here you can specify the same. Eg: If your operation stats on 15th March & you want this component to be issue only on 17th March, then specify the offset as 2. But if you want the components to be issued 2 days in advance of 15th march, then specify as 2-.
Hope the above helps.
Regards,
Vivek -
Goods receipt by using Vl31N for production order.
Hi
we can do Goods receipt by using inbound delivery VL31N, with confirmation control key in PO, for purchase orders.
I want to do Goods receipt using Inbound delivery( VL31N), this is my requirement.
how to do it.Hi
I dont think you will be able to do Goods receipt against prodcution order using inbound delivery VL31N. Inbound deliveries are normally created for Purchase orders and then GR can be posted wrt to the inbound delivery.
Prod order is normally within warehouse only so you can use MB31 and post GR directly against Prod order.
If you can explain more about your scenario hope we may help
Please let us know
thanks -
Issue/Bug in reservation for production order
Hello,
We have a bug with the reservations for a production order, which in turn is causing a problem with clearing a cogi error. I have a COGI error for material 123 in plant A.they are trying to remove 14,312 lbs that was confirmed to production order 1000123. According to the error message the production order only has 6,400 lbs that can be removed. in CO14 my material 123 show two quantities in different batch 14,312 and 6,400. In Reservations shows only 6,400 as being consumed. this amount should be 20,712 (14,312 + 6,400). The reservation did not get updated correctly. Why this happen? How could we correct this RESERVATION to add up 14,312 in my material 123)?
Please give me feedback ASAP, need help.
Thanks and Regards,
JJHello,
thanks for the answer you have given me..
as to make sure, does it is safe to delete the error? even that it tells that RE qty moved exceeded by 7.912 lb? it so weird how come was the reservation was complete since when they raised it it just 6,400 it shows? how could i make sure that document goods movement for my production order as mr. pradeep told me to do? what should i do?
thus when deleting the error in COGI, it will change the my material in CO14 COMPLETED and have QTY WIDTHDRAWN and will be encluded in the same RESERVATION NUMBER?
Anyone please revert back to me.
Thanks
JJ
Edited by: John Jay Palisoc on Jul 22, 2008 7:08 AM
Edited by: John Jay Palisoc on Jul 22, 2008 8:02 AM -
Issue in committing material for production order
Hi, we are facing an error situation that when we try to release production order there came an issue that few component committed quantity is less than required quantity. When we check the stock of the components they were having enough stock to consider for this production order.
What could be the other reasons or cause for this situation. Can any one suggest for the correction action.
would reservation cause this problem when i check the component availability overview it has ATP 0. will it cause this.
When i look in to the system there were several Orders that were in CRT state that were using same components as used in the current order under discussion.
Edited by: kkr_chandran66 on Jan 6, 2011 3:16 AMHi All
Even MD04 also seems to be showing as if the material is available. Pl. see the data against 13/12 hereunder.
06.01.2011 Stock 6,370/ 6,370
08.12.2010 Ord.DS 4604767106/00100 80-/ 6,290
09.12.2010 OrdRes 420252 2,740-/ 3,550
13.12.2010 OrdRes 420268 3,420-/ 130
availability overview CO09 shows as follows for the component:
13.12.2010 OrdRes Totals record 3,420-(receipt/req) 0(confirmed)
13.12.2010 OrdRes 420268 3,420-(receipt/req) 0(confirmed) 0(ATP quantity)
scope of check:
to include
purchase order
include dependent requirements
sales requirements
deliveries
include shipment notifications
all reservations
check releases for transport orders only
take all productions orders into account.
With this scenario what can i do get it working.
Edited by: kkr_chandran66 on Jan 6, 2011 6:46 AM
Edited by: kkr_chandran66 on Jan 6, 2011 6:59 AM
Edited by: kkr_chandran66 on Jan 6, 2011 7:00 AM -
MIGO for Production Order - BADI
Hi,
I have implemented from ABAPER a BADI in MIGO which assigns batch number automatically to the receiving material. In the lower area in BATCH tab CLASSIFICATION button is available but by clicking on this button it does not open the characteristics screen for input. While i have created a class and its characteristics and assigned this class to the material also. Now where is the problem?
Kindly reply its urgent.
Regards,
HammadHi,
Batch search strategy
COB1-Batch search stg for finding a batch suitable for the raw material in a production order, during creation/release/confirmation.
VCH1 - Batch search stg. for the product in a sales order delivery processing.
MBC1 - Batch search stg. for finding a batch during inv transaction for a given movement type.
On the initial screen of your application choose Logistics>central function>batch management>Batch determination>For process order -->Batch search strategy --> Create.
Procedure
On the initial screen of your application choose Batch search strategy -->Create.
Choose the strategy type, say choose co02 or ME01
If you want to see a list of the strategy records available, choose Strategy info.
Choose the key combination-
Enter the required date-->say plant ,production order type, product, valid from and component for which you want to have this
Choose Selection criteria push button
If no values have been entered, enter the selection class and the characteristic values.
Go back to the screen on which you create a batch search strategy.
Choose Sort if required(it should be defined earlier(in CO70- here you are giving the characteristic name on which you want to sort)
Choose a sort sequence.
save.
Check also in COR4, for the combination of plant and order type...you have selected search procedure-Co0001
This is linked to stg what you have enter above.
Please come back if you need more help.
Regards
R.Brahmankar
Reward if useful. -
PP-MM issue in material reservation for production order.
Dear Friend,
I am in confusion that this is PP issue or MM issue.
If any issue if any one knows please provide me solution.
I run report -MO24- missing part info system.
System givening me material and requirement date and requirement quantity.
If stock is availble then it is comming in commited quantity. Thats is agreed.
But My problem is that that committed quantity is repeated daily though stock is not available in system. Why this is happening???
Regards,
Mahesh.First, there no such transaction as MO24!
And secod, please try to clarify your question; what do you mean that committed quantity is there every day without stock? -
Restricting Goods Issue only against reservation and Production Oder
HI all,
Is it possible to restrict goods issue only against Reservation, and Production Order.
I dont want the user to issue goods without refering to any reservation or Production Order.
Thanks and RegadsHi,
To restrict the same in MIGO, go to following path;
SPRO > MM > Inventory Management and Physical Inventory > Settings for Enjoy Transactions > Settings for Goods Movements (MIGO) > Settings for Transactions and Reference Documents and Here Select Transaction "MIGO" and double click on "Transaction/event", here select "A07 Goods Issue" and double click on "Reference document" and remove only keep Active "Order" and "Reservation" and remove remaining. And then check in MIGO. -
Error while doing Good Issue for Production Order using BAPI
Hi All,
I am facing an error like 'u2018Content of order 1011907: MDT218AJ10 transferred to interface (IMSEG): T-86410-71".
I have written the code as below. Please let me know what is missing when using the BAPI 'BAPI_GOODSMVT_CREATE'. What is the cause of this error ?
*Action in Transaction (GM_CODE)
*GM Code for Goods Issue for Production Order is 03
gs_gmcode-gm_code = '03'.
*Header Data
*Posting date
gs_header-pstng_date = sy-datum.
*Document date
gs_header-doc_date = sy-datum.
*Item Data
*Material
gs_item-material = zptp_s_rf_migo_261-matnr1.
*Movement Type
gs_item-move_type = '261'.
*Movement Indicator
gs_item-mvt_ind = 'F'.
*Stock Type
gs_item-stck_type = 'F'.
*Plant
gs_item-plant = gv_plant.
*Storage Location
gs_item-stge_loc = gv_str_loc.
*Quantity
gs_item-entry_qnt = zptp_s_rf_migo_261-menge2.
*Unit
gs_item-entry_uom = gv_uom.
*ISO code for unit of measurement
gs_item-entry_uom_iso = gv_uom.
*Order Number
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = zptp_s_rf_migo_261-aufnr
IMPORTING
output = gs_item-orderid.
*Reservation Number
gs_item-reserv_no = gv_resv_num.
*Reservation Item
gs_item-res_item = gv_resv_itm.
*Reservation Type
gs_item-res_type = gv_resv_type.
APPEND gs_item TO gt_item.
Calling BAPI_GOODSMVT_CREATE to create the Material Document Number
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = gs_header
goodsmvt_code = gs_gmcode
IMPORTING
goodsmvt_headret = gs_headret
TABLES
goodsmvt_item = gt_item
goodsmvt_serialnumber = gt_serial
return = gt_return.
Thanks in Advance.hi,
did you look at message ?
System says, there are differences between the interface data and the order data. It can be anything. I think you should check
data in the interface .
this is the long explanation of your message :
Diagnosis
When calling the function module MB_CREATE_GOODS_MOVEMENT or the BAPI GoodsMovement.CreateFromData (BAPI_GOODSMVT_CREATE) to post a goods receipt for a production order, there are differences between the interface data and the order data.
Example: The order was created for plant 0001, but plant 0002 is passed on in the interface.
The system checks this for the material and the order item.
System response
Due to this difference, the system cannot post the goods receipt.
Procedure
Check the data in the interface (IMSEG-WERKS, IMSEG-AUFNR). If necessary, correct the plant or the order number in the interface.
<< Moderator message - Point begging removed >>
Edited by: Rob Burbank on Feb 6, 2012 11:24 AM -
Goods Issue (MB1A) for production order - no stock reduce happening in WM
Hi,
I try to do a Goods Issue with transaction MB1A for a production order, but no stock reduces happens within WM (HUM).
I did the following.
Created a Production order - CO01
Created a TR - LB01 - (assigned production order to the TR)
Created a HU for the materials. (HU02)
Created a Transfer order to storage type 914 with L_TO_CREATE_MOVE_SU.
At the end I want to do an goods Issue with MB1A. This seems not to work correctly. When I fill out the ordernumber and process the transaction a Delivery is created.The materials are already on 914, so it can be issued directly.
What can I do to solve this.
Thanks in advance.
Regards,
AlexanderPlease find out is there any accoun t assignment is there for the component in question.
pl got production order disply screen and goto --> material list
check is there any value on the filed account assignment. If that is the case then you need to have special stcok for that account.
If it is empty then check
are you entereing the correct storage location and plant.
if that is also fine then check whether the component is already issued, i.e. goto the component detailed screen and check wthere final issue tick is there for the component...or the componentb is deleted...
come back after these checks. -
How to restrict the GR for Production Order when Goods Issue is not done
Hi Gurus
How to restrict the GR for Production Order when all the required components for production order are not issued with all required quantity. Even for partial issue system should not allow GR with 101. The user status with RMWA, RMWF & CGFB is not working.
Pls suggest best solution.
Abhijit.Hi,
You can club together the GI nad GR at the time of confirmation..
I.e Backflush for the components and auto GR for the Product.
So that you can stream line the Process.
The best Option would be to use the User Exit:
Enhancement - MBCF0002
Functional Module - EXIT_SAPMM07M_001
Include - ZXMBCU02
Refer below link for further details..
How to stop the goods receipt before issueing the goods for production orde
Regards,
Siva -
Goods Receipt is allowed through MIGO for PO's though they hav the confirm
Goods Receipt is allowed through MIGO for PO's though they hav the confirmation control key. where as its should allow based on ASN(inbound Delivery).
Not sure if any system changes has to be made or anything else. please suggest.
ThanksHi Dear <
You can also recived the goods with reference to inbound Delevery,
1 Select In Confirmation Tab Con con key while in Creating PO
2 Create a Inbound delevry from T.code: VL31n
3 Once you create the Inbound delevery wth reference to PO, The inbound delevery no will be propulated in Confirmation Tab of PO
4 you can Do the mIGO with reference to that Inbound delevery -
Need Code For PO-GR through MiGO for multiple documents through BAPI
Hi All
Im using BAPI_GOODSMVT_CREATE to post goods for PO-GR.
When im posting multiple documents its giving error.
When im posting individually, it's working fine.
Please send me the code for PO-GR through BAPI.
Urgently required.
Regards,
SImha.Is this not working???
BAPI_GOODSMVT_CREATE to post Goods Movement
The following is an abap program making used of the BAPI function BAPI_GOODSMVT_CREATE to do Goods Receipts for Purchase Order after importing the data from an external system.
BAPI TO Upload Inventory Data
GMCODE Table T158G - 01 - MB01 - Goods Receipts for Purchase Order
02 - MB31 - Goods Receipts for Prod Order
03 - MB1A - Goods Issue
04 - MB1B - Transfer Posting
05 - MB1C - Enter Other Goods Receipt
06 - MB11
Domain: KZBEW - Movement Indicator
Goods movement w/o reference
B - Goods movement for purchase order
F - Goods movement for production order
L - Goods movement for delivery note
K - Goods movement for kanban requirement (WM - internal only)
O - Subsequent adjustment of "material-provided" consumption
W - Subsequent adjustment of proportion/product unit material
report zbapi_goodsmovement.
parameters: p-file like rlgrap-filename default
'c:\sapdata\TEST.txt'.
parameters: e-file like rlgrap-filename default
'c:\sapdata\gdsmvterror.txt'.
parameters: xpost like sy-datum default sy-datum.
data: begin of gmhead.
include structure bapi2017_gm_head_01.
data: end of gmhead.
data: begin of gmcode.
include structure bapi2017_gm_code.
data: end of gmcode.
data: begin of mthead.
include structure bapi2017_gm_head_ret.
data: end of mthead.
data: begin of itab occurs 100.
include structure bapi2017_gm_item_create.
data: end of itab.
data: begin of errmsg occurs 10.
include structure bapiret2.
data: end of errmsg.
data: wmenge like iseg-menge,
errflag.
data: begin of pcitab occurs 100,
ext_doc(10), "External Document Number
mvt_type(3), "Movement Type
doc_date(8), "Document Date
post_date(8), "Posting Date
plant(4), "Plant
material(18), "Material Number
qty(13), "Quantity
recv_loc(4), "Receiving Location
issue_loc(4), "Issuing Location
pur_doc(10), "Purchase Document No
po_item(3), "Purchase Document Item No
del_no(10), "Delivery Purchase Order Number
del_item(3), "Delivery Item
prod_doc(10), "Production Document No
scrap_reason(10), "Scrap Reason
upd_sta(1), "Update Status
end of pcitab.
call function 'WS_UPLOAD'
exporting
filename = p-file
filetype = 'DAT'
IMPORTING
FILELENGTH =
tables
data_tab = pcitab
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
OTHERS = 6
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
exit.
endif.
gmhead-pstng_date = sy-datum.
gmhead-doc_date = sy-datum.
gmhead-pr_uname = sy-uname.
gmcode-gm_code = '01'. "01 - MB01 - Goods Receipts for Purchase Order
loop at pcitab.
itab-move_type = pcitab-mvt_type.
itab-mvt_ind = 'B'.
itab-plant = pcitab-plant.
itab-material = pcitab-material.
itab-entry_qnt = pcitab-qty.
itab-move_stloc = pcitab-recv_loc.
itab-stge_loc = pcitab-issue_loc.
itab-po_number = pcitab-pur_doc.
itab-po_item = pcitab-po_item.
concatenate pcitab-del_no pcitab-del_item into itab-item_text.
itab-move_reas = pcitab-scrap_reason.
append itab.
endloop.
loop at itab.
write:/ itab-material, itab-plant, itab-stge_loc,
itab-move_type, itab-entry_qnt, itab-entry_uom,
itab-entry_uom_iso, itab-po_number, itab-po_item,
pcitab-ext_doc.
endloop.
call function 'BAPI_GOODSMVT_CREATE'
exporting
goodsmvt_header = gmhead
goodsmvt_code = gmcode
TESTRUN = ' '
IMPORTING
goodsmvt_headret = mthead
MATERIALDOCUMENT =
MATDOCUMENTYEAR =
tables
goodsmvt_item = itab
GOODSMVT_SERIALNUMBER =
return = errmsg
clear errflag.
loop at errmsg.
if errmsg-type eq 'E'.
write:/'Error in function', errmsg-message.
errflag = 'X'.
else.
write:/ errmsg-message.
endif.
endloop.
if errflag is initial.
commit work and wait.
if sy-subrc ne 0.
write:/ 'Error in updating'.
exit.
else.
write:/ mthead-mat_doc, mthead-doc_year.
perform upd_sta.
endif.
endif.
FORM UPD_STA *
form upd_sta.
loop at pcitab.
pcitab-upd_sta = 'X'.
modify pcitab.
endloop.
call function 'WS_DOWNLOAD'
exporting
filename = p-file
filetype = 'DAT'
IMPORTING
FILELENGTH =
tables
data_tab = pcitab
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
OTHERS = 6
endform.
*--- End of Program
REgards,
Ravi -
Error during Goods Receipt for Production Order
Hi All,
When using MIGO to post Goods Receipt for a Production Order, I got a customize message saying that the posting is only available between 2010.08.25 to 2010.08.27. I have checked in Business Add-in using SE19 but there are no implementation present. I know that in Logistic Verification MIRO there is a transaction OMRM to set messages. I would like to ask is there anything similar for MIGO.
Or is there any other place in Configuration which allows me to add these Customize message.
Thanks.
Edited by: jamison2004 jordan2004 on Jul 9, 2010 9:09 AMHello Jiaul,
Sorry I may have mislead you. The actual error message is "Goods Receipt for Production Order XXXX can only be made on 2010.08.25 to 2010.08.27". These two dates are the Start Date and FInish Date for the Production Order in CO03,
The Basic Start Date for the current Production Order is 2010.08.25
The Basic Finish Date for the current Production Order is 2010.08.27
I think what it means is that you can only Post Goods Receipt for the Production Order only after the Basic Start Date of the Production Order. Do you know where I can find the configuration for this message?
Thanks
Maybe you are looking for
-
Color Issues with Mini - DVI to DVI connection
Hello, I just bought Samsung 2232BW. I thought it would be perfect for my both desktop pc and macbook (early 2006 version). In windows i could find the colors ok. But when i connect my mac to monitor with the dvi cable the colors are terrible. The co
-
Layout not working in Firebox or Safari
I hope someone can offer some advice. I have created a website using the table layout in dreamweaver. The website preview perfectly in IE, but the layout is messed up in any other browser. I realise that there are better ways to run the site, but sho
-
External HD's won't mount (& more) after update to 10.3.9
I updated from OS 10.3.2 to 10.3.9 using the Apple updater utility. After the update, external hard drives won't mount unless they are on when I boot up the computer. Also music cd's won't mount, but data cd's do. The only way I can eject the music c
-
Start Up in Safe Mode - Empty Trash Afterwards?
Hi! Did a Retrospect clone backup. Started up in Safe Mode to stop indexing before backup. Per an article I found throgh Dr. Smoke: "Starting up in safe Mode moves to the Trash all font caches normally stored in /Library/Caches/com.apple.ATS/(uid)/ ,
-
10.5.3 Shutdown issue
Since installing the 10.5.3 update I have been having random moments where my macbook won't shutdown and will just stay there on the wallpaper and a few spinning lines I waited about 15 or more minutes but it won't shutdown making the only option is