cancel
Showing results for 
Search instead for 
Did you mean: 

Transfer QI stk to blocked stk with BAPI_GOODSMVT_CREATE (Error msg QA495)

Former Member
0 Kudos

Hy,

I would like to create an mass udpate stock program which transfer the QI stock to blocked (because shelf expiration date is passed).

So, i use the BAPI_GOODSMVT_CREATE with movement type 350.

But the following error message appears : "Change the inspection stock of material XXXXXXX to QM only"

Does anyone can suggest me an another solution ?

Thanks in advance

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi

Better to post the stock in QI (restricted first) through QA07 ,then run the BDC or background job to post material to block stock.

This could be simple way.

You can differentiate lots by inspection type & expiration date.

I hope this will add some value

Regards

Sujit

Former Member
0 Kudos

Dear Gajesh,

Thank for your reply.

But, there is no function module to make this transfert ?

Former Member
0 Kudos

Try to do UD for pending inspection lots as you cannot move from Quality to Un-Restricted for pending inspection lots using the BAPI or function modules. You can have BDC program run for Usage Decision Transaction.

Best Regards,

K. Raghavendra Nayak

former_member186399
Active Contributor
0 Kudos

Dear LudovicBento

You cannot run this FM as QM stock can be moved only by QA11 tcode. You may try to create a BDC to post the material

from Quality

Regards

Gajesh

Former Member
0 Kudos

You try to execute Automatic Usage Decision for all pending inspection lots.

Best Regards,

K. Raghavendra Nayak