Basically this is Mass utility Z program to create Production version for given Material,Plant,BOM, and Routing information.
A production version determines which alternative BOM is used together with which task list/master recipe to produce a material or create a master production schedule.
For one material, you can have several production versions for various validity periods and lot-size ranges.
Production versions are used both in discrete manufacturing and process manufacturing.
Production versions are used in Sales and Operations Planning (SOP), material requirements planning (MRP), process order creation, and product costing to select the most suitable task list or recipe and the corresponding material list.
You can also select a recipe and BOM without a production version. Note, however, that if you do so, material quantity calculation data is not copied.
Purpose of this program is to create production version from available alternate BOM and Routing combination. This program will be used for both Initial upload and further ongoing activities of production version. The Production version will be created for all FERT, HALB and ROH material. Program will use BDC methodology to create production version. Both BDC methods i.e. Session and Call Transaction options are available.
BOM and Routings should be available in the system for the given Material & Plant combination.
Selection Parameter :
Depending upon the selection criteria , program will create production versions. In program a Simulation mode and Update mode is provided.
User can check first in simulation mode the entries of production version which will be created and the update it through Update mode.
Also user have option to check for the Valid Production versions and Invalid production version to be created in Simulation Mode.
Criteria to decide for Valid or Invalid production version is that, program is checking for the available routings and Material to BOM Link in Table MAPL and MAST respectively.
Output of Valid Production Version :
Output of Invalid Production Version :
Output of actual Production Version created :
List of the production version which are created in the system are shown in the ALV output with its Task list no, task list type ,Alternative BOM , Group counter etc.
Please find attached code of this program with this document.