Ir al final de los metadatos
Ir al inicio de los metadatos

Estás viendo una versión antigua de esta página. Ve a la versión actual.

Comparar con el actual View Version History

« Anterior Versión 8 Siguiente »

These BAdIs are located in the Enhancement Spot /EDGE/EI_IT_ENH_SPOT_POSTING:

General fields

The BAdI for general fields, common for FI and MM invoices is /EDGE/BADI_EI_IT_GEN_FIELDS:


This BAdI has a default class to implement the mappings.

The BAdI has the following methods:

  • GET_COMPANY_CODE
  • GET_DOCUMENT_DATE
  • GET_CURRENCY
  • GET_REFERENCE
  • GET_POSTING_DATE
  • GET_TAX_REPORTING_DATE
  • GET_DOCUMENT_TYPE
  • GET_HEADER_TEXT
  • GET_TAXCODE
  • GET_TAX_AMOUNT
  • SET_SEQIN: This method set the value for the attribute mv_sequin to know what position in the xml needs to be checked in the body tag.
  • GET_CALL_TRANSACTION
  • GET_GROSS_AMOUNT
  • GET_TAX_BASE_AMOUNT

Those methods set the mapping for the general fields settled at the top of the screen:

FI fields

For FI fields there are two BAdIs.

BAdI /EDGE/BADI_EI_IT_FI_FIELDS

This BAdI has a default class and its methods are implemented. The methods are the following:

  • GET_ITEMS_FI: Set the alv valuies for the document positions.
  • GET_POSTING_DATE
  • GET_PERIOD
  • GET_VENDOR
  • GET_TOTAL_AMOUNT
  • GET_TAX_FI: Set the alv values for the document tax positions.
  • SET_SEQIN:  This method set the value for the attribute mv_sequin to know what position in the xml needs to be checked in the body tag.
  • GET_PAYMENT_DATA
  • GET_POSTKEY_DESC

BAdI /EDGE/BADI_EI_IT_FI_FIELDS_CLI

This BAdI is not implemented so it does not have logic for the methods that compose this BAdI. The methods are:

  • GET_POSTING_KEY
  • GET_DOCUMENT_TYPE

All the methods in this BAdI have the import parameter iv_seqin where the index of the invoice in the XML is informed.

This BAdIs for FI fields set the values for the fields in the FI tab in the posting screen:


NOTE: In both tables (Document Items and Tax positions), if a value is changed, the button Intro needs to be pressed to be able to save the new values in the table.

MM fields

For FI fields there are two BAdIs.

BAdI /EDGE/BADI_EI_IT_MM_FIELDS

This BAdI has a default class and its methods are implemented. The methods are the following:

  • GET_VENDOR
  • GET_POSITIONS: This method set the values for the different fields in the ALV for MM positions.
  • SET_SEQIN: This method set the value for the attribute mv_sequin to know what position in the xml needs to be checked in the body tag.
  • GET_TOTAL_AMOUNT
  • GET_POSTING_DATE
  • GET_MATERIAL_DESC: Set the material description when material is changed in the ALV.
  • GET_PO_NUMBER
  • GET_PO_ITEMS
  • GET_PAYMENT_DATA

BAdI /EDGE/BADI_EI_IT_MM_FIELDS_CLI

This BAdI is not implemented so it does not have logic for the methods that compose this BAdI. The methods are:

  • GET_PURCH_ORG
  • GET_PURCH_GROUP
  • GET_TAX_CODE
  • GET_DOC_TYPE
  • GET_BAS_DATE
  • GET_PAYMENT_DATA

All the methods in this BAdI have the import parameter iv_seqin where the index of the invoice in the XML is informed.

This two BAdIs for MM fields set the values for the fields in the MM tab in the posting screen:

NOTE: In the table "Logistic positions", if a value is changed, the button Intro needs to be pressed to be able to save the new values in the table.

  • Sin etiquetas