‎2006 Jun 12 2:33 PM
HELLO ,
Requirment is , when a user will select one or more lines in the ALV GRID report where the allocated quantity is greater than zero.if we click on the de-allocate button created on alv grid , the de-allocation occurs and the user is taken back to the report, then the allocation quantity should become zero.
When you de-allocate stock, it will take the stock from MSKA (sales order stock table) and put it back into unrestricted stock (table MCHB).
When the user clicks on the De-allocate Coil button, the program should call the goods movement BAPI and perform a 411E movement for each of the selected sales order / batch combinations that were selected for the quantity that is still allocated. An information message should be displayed on the screen while the program is busy doing the goods movements.
thanks,
‎2006 Jun 12 4:01 PM
Hi,
This demo program has the functionality you are looking for.
This program shows: how to add a custom button to ALV.
Hope this helps.
Regards,
Sumant.