Skip to Content
0
Former Member
Dec 13, 2013 at 11:35 AM

Change Batch Status in Receving Plant

123 Views

Hello Experts

We are setting up process to Change the Batch Status in Recieving plant through Posting Usage Decision for Inspection Lot.

System is giving error as

" Error 3 in posting for Status Change "

Diagnosis : When posting the status change, an error occured, Return Code 3.

For description of Return Code Please see the documentation of the function module " MB_Create_Goods_movement"

Function Module "BAPI_BATCH_SAVE_REPLICA' is used in background with below input parameters, to change the status the plant.

material = wa_shadow-matnr

batch = wa_shadow-charg

plant = wa_shadow-werks

batchattributes = wa_bapibatchatt "req. but blank ... This is blank

batchattributesx = wa_bapibatchattx "req. but blank ... This is also blank

batchstatus = lv_zustd_source ... being passed as Blank to change the batch status to Unrestricted.

batchstatusx = 'X'

Can you please tell me what could be cause of the error ?

Same function module works fine, for Intra-company process, but for Inter-Company it is not working.

Thanks in advance.

Regards