I have to put a validation on the Auto Generation of SSCC number. The scenario is as follow:
1. Go Transaction Code VL02N.
2. Put the delivery number and click on the PACKING icon.
3. Now in that i click on a Handling Unit.
Now this is the part where i want to set the validation.
We have maintained SHIP-TO-PARTY codes for Packaging Materials in the Transaction code VV03.
The normal procedure for SSCC number generation is click on a Handling Unit. Then go to EXTRAS -> SSCC number Assignment. Then the system generates an SSCC number.
The Validation i want to set is: When i click on the SSCC number Assignment the system should take the SHIP-TO-PARTY code of the Delivery Number and check for SHIP-TO-PARTY and PACKAGING MATERIALS code in the Condition Records maintained via TCODE VV63. If the SHIP-TO-PARTY and PACKAGING MATERIAL is there in the condition record then the system should generate an SSCC number otherwise system should give a message "No Condition Records Maintained, SSCC number cannot be generated".
My problem i have tried to find the exact User Exit or for the ABAP Code/Program which triggers this Auto Generation feature.
So if any can help me out..... it will be great.