cancel
Showing results for 
Search instead for 
Did you mean: 

Material to Material transfer in background after 262 movement

Former Member
0 Kudos


Dear Guru's

I have requirement that GR is posted against the production order for the rejected quantity of the material in movement type 262 for Material ex : XYZ01. In background process after posting 262 document , material to material transfer to be happened in movement type 309 to material code ex :XYZ21    ( Here XYZ common in both the materials ) .

This is may quite different requirement from others but this is customer requirement . he wants to differentiate good material with material code suffix by "01" and defective material by " 21" .   Is it possible to write programme to transfer stock from XYZ01 to XYZ21 in background after 262 movement of XYZ01 .  Thanks in advance . Regards Mohan

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member214736
Participant
0 Kudos

Hi Mohan,

You can use Rework order with XYZ01 as one component and XYZ21 as by-product. and the normal order will have other, XYZ01 (good one) issued for production.

You can also link original production order for cost tracking.

BR

Suraj

kiran_kumar179
Active Contributor
0 Kudos

Mohan,

Are you sure your posting GR with 262 movement type for defective material or you mean to say when you are doing confirmation in goods movement tab you are manually posting 262 movement type for defective material?

If you are manually posting 262 movement type in goods movement tab during order confirmation then best approach would be use defective material (in your case 21 series material) as suggested by Dibyendu.

If you are not willing to adopt for any other reason then explore the MB1B event program with any enhancement.

BR
KK

Former Member
0 Kudos

Hi Kiran/Dibyendu ,

Client is following material code like , if same material is good one, material code will be "XYZ01" and defective one material code will be "XYZ21" , he dont want to change that material codes . 

Good Material ( XYZ01 ) is issued ( or consumed ) against Production order in movement 261 . When material is regected in shopfloor , same (XYZ01) can be taken in to rejected location in movement type 262 .  As i said above client wants to monitor defective stock with material code " XYZ21 " only , so client is doing material ( XYZ01 ) to material (XYZ21) transfer in 309 movement .

I need this material ( XYZ01 ) to material (XYZ21) transfer in 309 should happened in back ground after immediate completion of 262 movement . How to develope this programme.

Thanks Mohan

kiran_kumar179
Active Contributor
0 Kudos

Mohan,

If you want to trigger a background job then you need to develop a event programe with development with any enhancement.

Check below enhancements with your technical team which may be helpful to you.

User exit CONFPP06  PP Order Confirmations: Actual Data Transfer this would helpful to you for automatic material transfer during order confirmation.

Below MB1B BADIs may be useful if you want automatic material transfer through MB1B.

MB_BAPI_GOODSMVT_CREATE    Enhancement BAPI_GOODSMVT_CREATE

MB_TRANSFER                              Checks for Stock Transfers

BR
KK

former_member183424
Active Contributor
0 Kudos

If you already know about the rejected quantity at the time of GR (262 movement type), Then why you are not using the defective material for the rejected quantity, so that you do not need to do the 309 movement type.

What is the problem with that ?