Hi,
SAP delivered 2 standard BADis you can use to do this:
- Use BADi UDM_BP_PROFILE_C, and in method DETERMIN_PROFILE, you define the rules of how collection profile should be decided. This could be any attribute in the BP master. Since you know only the date created, then you run transaction UDM_BP_PROF and specify this date. This means profile will be determined for all BPs created on that date based on the rule in your BADi.
- For Collection group and specialist specification, use BADi UDM_CHNG_SGMT_DATA_C, method DETERMINE_SEGMENT_DATA and specify the rule and in step 1.Once the BADi is active, run transaction UDM_BP_GRP and enter the BP creation date.
If you are new to BAdIs, sit with your developer and give a functional description of what you want the 2 BAdiS above to do, and he will take it up from there.