If UDF data is found for a given object during transfer processing, the related UDF groups will be retrieved for each found UDF:
· based on assignment in transaction /PACG/ECM_UDFG_CONF - UDF Group Configuration
· for active UDFs and UDF groups
The solution is implemented in method GET_UDF_GROUP of class /PACG/ECM_CL_X_UTIL. It is called before BADI for UDF groups in the following methods:
· Class /PACG/ECM_CL_S_IDOC_O_ACTI_E, method /PACG/ECM_IF_S_IDOC_OUTPUT~IDOC_OUTPUT
· Class /PACG/ECM_CL_S_IDOC_O_BATCH, method /PACG/ECM_IF_S_IDOC_OUTPUT~IDOC_OUTPUT
· Class /PACG/ECM_CL_S_IDOC_O_BQTY, method /PACG/ECM_IF_S_IDOC_OUTPUT~IDOC_OUTPUT
· Class /PACG/ECM_CL_S_IDOC_O_CUSTSING, method /PACG/ECM_IF_S_IDOC_OUTPUT~IDOC_OUTPUT
· Class /PACG/ECM_CL_S_IDOC_O_EQUI, method /PACG/ECM_IF_S_IDOC_OUTPUT~IDOC_OUTPUT
· Class /PACG/ECM_CL_S_IDOC_O_ITEM, method /PACG/ECM_IF_S_IDOC_OUTPUT~IDOC_OUTPUT
· Class /PACG/ECM_CL_S_IDOC_O_PERRESRV, method /PACG/ECM_IF_S_IDOC_OUTPUT~IDOC_OUTPUT
LO_BADI_UDFGROUP BAdI implementation should be used only in justified cases.
The retrieved UDF groups will be included in the /PACG/ECM_IS_UDFGROUP_OUT idoc segment.