Extension point in the creation of records (/EDGE/TB_ESPOT_CREA)
This extension point contains 2 BAdIs:
BADI /EDGE/BADI_TB_CREA-> Contains the /EDGE/IF_BADI_TB_CREA interface which has these methods:
Only the methods CHANGE_CREATION and CHANGE_ANULATIONS_RECTIFIES have default implementations.
These implementations are located in the /EDGE/CL_BADI_TB_CREA reservation class.
DETERMINE: Modifies creation conditions, for example changing the standard annotation configuration to retrieve data from a Z table.
DETERMINE_AUTO: Modifies the creation conditions of the self invoice flows. It will be necessary when you want to create an auto-invoice for a flow that has not been defined in the standard.
DETERMINE_CLI_PRO: It modifies the conditions for the creation of self-invoice flows replacing the transactions /EDGE/TC_TB_TB_HA_P and /EDGE/TC_TB_TB_HA_C.
DETERMINE_PRIORIDAD: It is necessary to implement it when you want to change the order of priorities established by the standard detailed in : https://techedgespain.atlassian.net/wiki/spaces/BTE/pages/2643984442 .
CHANGE_CREACION: It is used to add additional conditions that determine whether the flow is generated or not. Its default implementation means that if the document arrives with an empty BSET table, the b+ TicketBAI flow is not generated.
CHANGE_ELECTRONIC_INVOICE: It is used when you want to change the conditions of the electronic invoice in the channel class /EDGE/CL_TB_CHANNEL_GEN.
CHANGE_ANNOUNCEMENTS_RECTIFICA: Modifies if the rectifications/cancellations go through the b+ TicketBAI flow. Its default implementation means that rectifications and cancellations prior to 2022 do not enter the flow.
2. BADI /EDGE/BADI_TB_CREA_BAJAS-> Contains the interface /EDGE/IF_BADI_TB_CREA_BAJAS which has this method with default implementation that retrieves the voided document.
It would be necessary to implement this BAdI when obtaining the document overridden by other than standard logic (see logic in the /EDGE/IF_BADI_TB_CREA_BAJAS ~ GET_DOC_CANCELLED method of the /EDGE/CL_BADI_TB_CREA_BAJAS reservation class).
Related content
Avvale 2024