2012 Aug 07 8:04 AM
Dear All,
We are having Material No & Batch No and now want to change the status of the batch from Unrestricted to Restricted. We are trying to use BAPI_BATCH_CHANGE but are not able to change batch status.
Please let me know how can we change the batch status.
Reg,
NJ
Look at BAPI BAPI_BATCH_RESTRICT and BAPI_BATCH_UNRESTRICT once they are released by SAP (*), so try BAPI_BATCH_SAVE_REPLICA which has a RESTRICTED field in parameter BATCHSTATUS. Else you could try BDC on MSC2(n).
Regards,
Raymond
(*) Already waiting for some years now...
2012 Aug 07 8:23 AM
2013 Mar 14 1:45 PM
BAPI BAPI_BATCH_SAVE_REPLICA works.
Pass Material and Batch and
batchstatus = 'X'
batchstatusx = 'X'.
No need to call transaction commit bapi.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |