Goods reciept through MB31 against production order using serial number
Dear ALL,
We are using MB31 for goods receipt against production order using serial number.
First we do confrmation by tcode co11 and then recieve the material by mb31 against the order.
I want that sysstem should not allow good reciept by mb31 more than the confirmation done in co11.
Please suggest.
regards,
Pradeep
Hi,
There are two ways to control this problem; 1) User Exit 2) BADI
1) User-Exit
Enhancement: MBCF0002
Function module: EXIT_SAPMM07M_001
Code for your copy pasting in the source code of ZXMBCU02.
Remember to activate the program. In SMOD enter the enhancement, press F8 and then click on activate button.
*& Include ZXMBCU02
data it_afvv like afvv occurs 0 with header line.
tables: afvv, afko, afpo.
data tot_gr like mseg-menge.
If i_mseg-bwart = '101' and i_mseg-aufnr is not initial.
select single * from afko where aufnr = i_mseg-aufnr.
select * from afvv into table it_afvv where aufpl = afko-aufnr.
sort it_afvv by aplzl descending.
read table it_afvv index 1.
select single lmnga from afvv into afvv-lmnga where aufpl = afko-aufnr and aplzl = it_afvv-aplzl.
select single * from afpo where aufnr = i_mseg-aufnr.
tot_gr = afpo-wemng + i_mseg-menge.
if tot_gr > afvv-lmnga.
MESSAGE 'GR Qty greater than Confirmation Qty of the last operation' TYPE 'E'.
Endif.
endif.
2) BADI
Implement the BADI for WORKORDER_GOODSMVT in this there is method
MANUAL_GOODS_RECEIPT under that
write you code here
if_ex_workorder_goodsmvt~manual_goods_receipt.
endmethod.
Technical Logic
Check the confirmation qty in AFVV table with production order get the last operation confirmation qty and subtract the Delivered qty. If this is Greater than or equal to the GR Qty entered in the screen allow the posting or through Error.
Tables: S022, AFPO, AFKO, AFRU, AFVV
Regards,
Sankaran
Similar Messages
-
Batch classification during GR against production order using txn MIGO
Hello All
I am usng batch classification during for movement type 101, when am doing the GR against production order using txn MB31 the system automatically navigates to classification screen wherein i need to enter the characterstic value & it all goes well, I can also view the stock with batch no and the classifcation value when the GR is being done with txn MB1.
But when am dong the same thing i.e. GR against production order using txn MIGO system doesnt navigates to classification screen for characterstic value entry and am able to do the posting. I want that system must navigate to classification screen automatically if i do the GR using MIGO also as it doen in the case of txn MB31.
Please suggest what settings are to be done for the same, I am unable to figure out why the system is behaving in this manner. Kindly provide your inputs to sort out this issue. Waiting for your valuable inputs.
Regards,
J K TharwaniDear,
did u refer SAP Note 519303 ?
After keeping Batch Classification as 4 in OMCV, in MIGO, it will start showing the Batch Classification button under "Batch" Tab, it will not show the Batch Classification Pop-up automatically as it shows in case of MB31.
If you wan users to enter the characteristics values mandatorily in the Batch Classification then in CT04 for these characteristics activate Entry required indicator in "Basic Data" Tab
SAP Note 519303
Please refer this also,
[MIGO|Re: How can I get the MRP history?]
Regards,
R.Brahmankar -
Good issue by MB1A against Production Order
Hi Dear PP profesionals,
Could you advise me about the follow scenario.
I am using MB1A to do re-stcok (262) and consume (261) against Production Order only for one o two component(ROH Materials).
Just I created Production order by 100 EA, after I confirmed it but I need to do some ajusment in some components.
For one them I need to do re-stock from production order to storage location in this case I am using MB1A against production order with movement type 262 the quantity to back storage location is by 5 EA.
For the other component I need to consume 5 EA more then I am using MB1A against production order with movement type 261.
After excute MB1A for both cases I go to the production Order but I can not see reflected this changes
For first one I expect to see 5 less if when I confirmed production order were issue 100 EA after ajusment with MB1A I expect see 95 with movement type 262.
For second one I expect see 5 EA more if initialy I consumed 100 EA after ajusment with MB1A I am expectin see 105 EA.
Could you advise me about iit, f I am expecting is correct or MB1A only make ajusment without any reflected in Production Order?
Best Regards,
Julio PPHi PP_HKV,
I did as you told me about use MB1A/261 against production order and you rigth, This not up date any quantity in production order for component only I can see this movoment in option GOTO --> Documented goods movements, but not in component overview in field Qty withdrawn, It is the same case when I use MB1A/262 transation allow me to do the movment but the quantity in production order for component is not up date only it is show in GOTO --> Documented goods movements
I see in standard process it is not work as I expect. Is there some way for to do that any bapi o customization?
Thanks in advance,
Julio Werekeitzen -
Error when doing GR for production order with serial number
I'm not familiar with serial number and equipment management but I'm trying to help my user resolve this issue.
This product is returned from customer site.
I saw that this material is being reset in IQ02 from status in warehouse to become Available when the material is consumed in the production order via 261 movement type. So now the status is available. Then the user went to change a new serial number. Later, GR for production order is done in MB31. Errors are encountered when prompted to enter the new serial number.
Configurations XX01 and XX02 are different
Message no. CX126
Configuration of serial number SN02 incompatible with document item
Message no. IO226Hi..
Can you please explain in detail, I facing same problem, while assigning unrestricted stock to sales order.
Regards,
Sumit Pukale -
CO15 Production Order Confirmation - Serial Number
Hi Friends,
Kindly advise the Exits/Enhancements to enable the following entries while posting order confirmation through CO15 -
a) Propose the default confirmation quantity (say,... always default to '1')
b) Enter/include Serial numbers for the Finished product
c) Enter/include Serial numbers for the Components being backflushed
Best Regards,
Senthila) Propose the default confirmation quantity (say,... always default to '1')
Specify the requirement
b) Enter/include Serial numbers for the Finished product
If the proper profile for serial number has been selected, then it is automatically proposed
c) Enter/include Serial numbers for the Components being backflushed
Not backsflush is allowed for component having serial number -
Scrap against production order
Hi,
My scenario is : I have a production order of 100 pieces out of which 80 are ok and 20 are scrap. I do a Goods Receipt of 100 and then scrap 20 pieces from stock.
What steps should I follow after I scarp 20 pieces from stock from Materials Management perspective like : Do I need to pay excise duty, entry in RG1 and Rg2 registers...
Regards
AshishHi,
My scenario is : I have a production order of 100 pieces out of which 80 are ok and 20 are scrap. I do a Goods Receipt of 100 and then scrap 20 pieces from stock.
What steps should I follow after I scarp 20 pieces from stock from Materials Management perspective like: Do I need to pay excise duty, entry in RG1 and Rg2 registers?
You can do goods receipt against production order using MIGO /MB31 for 80
And then scrap the 20 in production area using MB1A and use Movt type 551 place it in to scrap location from there you can do scarp sale.
And for 20 Pieces you can reverse the in put excise duty go to J1IH select Mat write u2013off tab or select (F5) enter the input parameter as material document generated out of scrapping the material (551) and select the Register which is relevant for the material. Then enter the duty values like BED, Ecess & She cess manually.
Rgs -
Excess Issue of Material against Production Order
Hi
For Goods Issue of Material against Production order , i want the system to control excess issue of material against Production order. How can it be controlled.
Regards
Madhesh KumarHi Madhesh,
there are many loop holes to issue excess stock against production order
so better you use user exit so that when ever any material issued against production order and it is in excess then throw error
Thanks
Bala -
Excess goods issue against Production order
HI PP Gurus,
My requirement is to block excess goods issue of raw material against a production order.
Ex. Production order qty = 10 , For producing 10 Finish goods i require 10 raw material. When i do confirmation via CO11N the system automatically shows GR & GI Values in Goods Movement tab. there i change GI value of RM from 10 to 20 the system takes the value and does the GR & GI.
My requirement is that the system should not do GR & GI if the GI value is more than that is calculated at the time of creation of Prod. Order.
Thanks in Advance,
DevenHi,
Rstriction of excess goods issue against production order is not possible in standard setting.
For achiving this you have to go for User exit.
The logic should be
In MIGO check mvt. type 261
Pass the order through table RESB and select all the components with quantity.
Capture the header material of order and use this as input along with the order creation date, plant and BOM application to explode function module CS_BOM_EXPLOSION.
THis will give you the BOM components which were valid at the time of order creation.
Now compare these BOM components with the components from RESB with quantity.
Here conditions will come in picture
If quantity is exactly matching then GI will be possible
or if you want to keep tolerance limit say for 10% then accordingly you can map the condition.
Regards
Amit Parkhi -
Auto goods receipt against production order
is it possible to do auto goods receipt against production order of (material with serial number)
if not please suggest me solution
please also tell me possibility of enchancement
for goods receipt against production order
sunilHi
If you check mark the auto goods receipt in the control key used in the work center used in the routing then you can have auto goods receipts posted for the production order against a confirmation.
Rathnakar -
GR quantity check against Production Order in MB31
Hi Experts,
How to check GR quantity against Production Order (101) can not be greater than Confirmation quantity for the Production Order in MB31.
Regards,
Praful MankarHi Praful,
Use user exit MBCF0002, here put condation that check AFEU table (confirmation table) and allow
that quantity only to do GR
and it will triger at the time of MB31
Regards
Girish -
How to restrict reversal of Goods issue against production order.
Dear All,
How to restrict reversal of Goods issue against production order if production order status is CNF or DLV.
i want that user can not reverse the goods issued against production order, if they want to do so, then user has to reverse the GRN and reverse the GI then only.
Please suggest the solution.
Regards,
Sandeep DhruveHy Sandeep,
You have to use User Exit for this.
The following enhancement is available for production orders:
o CCOWB001 User exit for modifying menu entries
You can use this function module to deactivate menu entries or
functions. The locked functions can then no longer be executed by the
user.
The enhancement CCOWB001 contains the following components:
Function exit
o EXIT_SAPLCOWB_001 Good movement: Deaktivate functions
Display documentation
Regards,
Dhaval
Edited by: Dhaval Choksi on Aug 22, 2008 3:01 PM -
How to stop excess goods issue against production order from MB1A
Hi Gurus,
In our organization goods issue against production order is done by using MB1A T.Code manually.Due to this reason sometimes excess quantity of RM issue against production order.Now I want to stop the excess goods issue against production order by using MB1A but I want to mainatain a certain tolerence.
Please advice what to do?
Regards
NirmalHi ,
Use user exit MBCF0002
This is called when u do goods movement for production order.
Regards,
Vishal -
Fetching open component qty against production order
Hi
The requirement is to fetch component 'open quantity' for a production order. [ Open quantity = requirement - withdrawn qty of the component ]
Can we get it through /SAPAPO/OM_ORDER_GET_DATA ? I could see the requirement quantity but not the quantity required.
Thanks in advance...
YogeshHi PP_HKV,
I did as you told me about use MB1A/261 against production order and you rigth, This not up date any quantity in production order for component only I can see this movoment in option GOTO --> Documented goods movements, but not in component overview in field Qty withdrawn, It is the same case when I use MB1A/262 transation allow me to do the movment but the quantity in production order for component is not up date only it is show in GOTO --> Documented goods movements
I see in standard process it is not work as I expect. Is there some way for to do that any bapi o customization?
Thanks in advance,
Julio Werekeitzen -
Partial GR against Production Order
while doing partial GR against Production Order system is not considering the overdelivery tolerance. It is allowing for GR quantity when we do in one stroke including overdelivery tolerance. When we want to do GR partially in two, first time the order header quantity and second time the overdelivery tolerance quantity, system is giving message that Document does not contain any selectable items. I have tried by removing the tick in delivery complete in CO02 transaction, but still same message is coming.
Please suggest sol.
Thanks
KrishnamurthyDSSKrishnamurthy,
Please let us know how you are performing GR, is it through Confirmation? or MB31 or MIGO?
If it is in MIGO it should be possible, once you remove the Delivery Completed Indicator in the Goods Recipet Tab of the Order header.
If your GR is through confirmation, first system checks the defination of overdelivery for confirmation of yield based on the confirmation parameters set for the plant / order type combination.(OPK4). Here you define the "Warning message for Overdelivery".
Hope this helps...
Regards,
Prasobh -
Tolerance limit for GI against production order
HI
Is there any standard functionality of having tolerance limits at Goods issue level - against the production order?
Just like GR.
or can we make this functionality using any Exits?
-ashokDear,
Rstriction of excess goods issue against production order is not possible in standard setting.
For achiving this you have to go for User exit.
The logic should be
In MIGO check mvt. type 261
Pass the order through table RESB and select all the components with quantity.
Capture the header material of order and use this as input along with the order creation date, plant and BOM application to explode function module CS_BOM_EXPLOSION.
This will give you the BOM components which were valid at the time of order creation.
Now compare these BOM components with the components from RESB with quantity.
Here conditions will come in picture
If quantity is exactly matching then GI will be possible
or if you want to keep tolerance limit say for 10% then accordingly you can map the condition.
Regards,
R.Brahmankar
Maybe you are looking for
-
How do i transfer music from iTunes on my computer to my iPhone 4S?
how do i transfer music from iTunes on my computer to my iPhone 4S?
-
Changing smart object file format
I've got a great problem with the smart objects in my project: I imported some Images (no background) which had the file format 'png'. I just dragged and dropped the files into my current photoshop window. They got imported and then automtically conv
-
Hi All, I have a query which is executed in Explorer. There is a material Selection variable ready for input. When we press value help for this variable, It is populating all the materials present master data table. Now the requirement is to restrict
-
Hello, Can anyone elaborate on the definition of third party export sale....... It is where an exporter exports on behalf of another third party exporter........here who is the seller and who is the vendor...???how to go about with this s
-
Dragging tabs from tab bar issue in Safari 4.0.3- PLEASE HELP!
Whenever I drag a tab out of the tab bar to make it open in a new window, it shows the window thumbnail and will not open in a new window (hangs up). Yes, I am letting go of the trackpad and it still does not work. I have tried removing the Safari pl