2013 May 15 9:30 AM
Hi,
I need to unlock material after creating recipe in creating cost estimation in CK11N..
i tried with all the possibilities available by following SDN and Google Posts..
Please help me by providing helpful hints ..
Rgds,
Lokesh .
2013 May 20 7:12 AM
2013 May 15 10:23 AM
Hi
it's with the classical BAPI : BAPI_MATERIAL_SAVEDATA
you have to set the value space in the CLIENT_DATA-MATERIAL_FIXED
(don't forget the CLIENT_DATAX)
regads
Fred
2013 May 16 1:52 PM
Hi Fred,
Thanks for ur reply ,
But m not able to unlock material, please help me
what i need to enter details in clientdatax : im passing MATNR/Plant ..
Is it ok or i need to enter somemore details..,
Rgds,
Lokesh
2013 May 16 1:59 PM
Why force unlocking, why not wait till SAP releases the lock?
This may be risky but have you tried the function module "DEQUEUE_EMMARAE"?
CALL FUNCTION 'DEQUEUE_EMMARAE'
EXPORTING
MODE_MARA = 'E'
MANDT = SY-MANDT
MATNR = IN_TB_COSTING-matnr.
Cheers!
Abhinab.
2013 May 16 2:07 PM
Hi Abhinab Mishra,
Thanks for ur valuable reply,
Here SAP wont release Cost Estimation Lock after cost estimation done with CK11N,
I need to release Lock in MM02(there is a field Plant-spec MAT Status , here i need to unlock material).
Rgds,
Lokesh.
2013 May 16 2:12 PM
2013 May 16 3:31 PM
Hi,
Then why don't you do a BDC to simulate your steps to unlock it via the transaction MM02.
Cheers,
Arindam
2013 May 20 7:12 AM