SAP ABAP IMG Activity BADI_MXPREV_SOCIAL (Update values for annual declaration reports)
Hierarchy
SAP_HRCMX (Software Component) Sub component SAP_HRCMX of SAP_HR
   PY-MX (Application Component) Mexico
     P32C (Package) Customizing HR Mexico
IMG Activity
ID BADI_MXPREV_SOCIAL Update values for annual declaration reports  
Transaction Code S_L7D_24000543   (empty) 
Created on 20061220    
Customizing Attributes BADI_MXPREV_SOCIAL   Update values for annual declaration reports 
Customizing Activity BADI_MXPREV_SOCIAL   Update values for annual declaration reports 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name BADI_MXPREV_SOCIAL    

Use

Use this Add-In only for statement of payments and deductions reports for income tax (ISR) (HMXCRET0) and Multiple Electronic Documents (HMXCDEM0) purposes.

You can use this Add-in to:

  • Change the order of application of the social insurance total exemption to paid items. For further information, see the method documentation PREV_SOCIAL.
  • Change the wage types and savings fund amounts for annual declaration. For further information, see the method documentation FONDO_AHORRO_ASIGN.
  • Change the amounts that will be read from the wage types configured with evaluation class 12. For further information, see the method documentation CHANGE_EC12.

Recommendation

SAP recommends implementing this Business Add-In only if:

  • The standard SAP procedure does not meet your company needs.
  • You have extensive programming knowledge with ABAP.
  • You only use this Business Add-In for the above mentioned objectives. Other usage may lead to there being incorrect results in the system.

If you have decided to implement this Business Add-In.

  • Do NOT change the default code.
  • It is recommended that you create an implementation, copy the default code into the said implementation and make the necessary changes in this copy only.

Requirements

Standard settings

Activities

After implementing the Business Add-In and copying the default code, make the changes to this copy in the section of the code corresponding to the calculation.

Tras llamar la actividad IMG accederá primero a una ventana de diálogo en la que deberá indicar un nombre para la implementación.

Si ya se indicaron implementaciones para este add-in empresarial, accederá a una ventana de diálogo en la que se muestran las implementaciones existentes. En esta ventana de diálogo seleccione Crear y continúe de la siguiente manera:

  1. Indique un nombre para la implementación del add-in empresarial en la ventana de diálogo en el campo Implementación y después seleccione Crear.

    Accederá a una imagen inicial para crear las implementaciones del add-in empresarial.

  2. Indique un texto breve para la implementación en la imagen inicial en el campo Texto breve para la implementación.
  3. Seleccione Interfase en la lengüeta.

    En la etiqueta, el campo Nombre de la clase implementada se completa de manera automática, ya que en función del nombre de la implementación se asigna un nombre de clase.

  4. Grabe las entradas y efectúe la asignación a una clase de desarrollo.
  5. Posicione el cursor sobre el método y acceda mediante un doble clic al tratamiento de métodos.
  6. Indique el coding que desea para la implementación entre las instrucciones Método <Nombre-interfase>~ <Nombre del método>- y endmethod.
  7. Grabe y active su coding. Vuelva a la imagen Modificar implementación.
  8. Grabe en la pantalla Modificar implementación.

    Nota: También puede crear una implementación para un add-in empresarial y activarlo más adelante. En este caso, finalice el tratamiento en este momento.

  9. Seleccione Activar.

    Al ejecutar el programa de aplicación se procesa el coding almacenado en el método.

Requirements

Standard settings

Activities

Example

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency I   Valid for countries specified 
Customizing Attributes Country Key Country Name
BADI_MXPREV_SOCIAL MX Mexico
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG BADI_MXPREV_SOCIAL 0 AHR0000125 Reporting 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20070212 
SAP Release Created in