Update ITOB-BAUJJ and ITOB-BAUMM
I want to update the field ITOB-BAUJJ and ITOB-BAUMM while creating the equipment master from serial number.
here serial no. and equipment no. are same and created automatically in the production order
i.e manually we assign the serial no. in production order and while saving the production order the serial no. and equipment no created in the background.
While creating the serial number I need to update the "X"(from serial number) into ITOB-BAUJJ and "Z"(from serial number) into ITOB-BAUMMds
How to update the same.
We used zprogram to update equi-baumm and equi-baujj for the respective serial number based on material and serial number combination.
Initially getting all the materials from mara table relevant to specific division
then pass those materials to equi table with matnr where equi-baumm and equi-baujj is blank.
then select those serials numbers which are blank and update the 8th and 9th digits in equi-baumm and equi-baujj.