Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.

...

  • 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
  • SET_PERIOD_VALUE

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

...

  • 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
  • GET_WITHHOLDING_TAX

BAdI /EDGE/BADI_EI_IT_FI_FIELDS_CLI

...

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

Image RemovedImage Added

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 MM fields there are two BAdIs.

BAdI /EDGE/BADI_EI_IT_MM_FIELDS

Image RemovedImage Added

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
  • SET_VALUES_RBKP_STRUC
  • GET_EXCHANGE_RATE
  • GET_GL_ACCOUNT
  • SET_BLART_BY_PO
  • SET_FILTER_ON_PO_ITEM

BAdI /EDGE/BADI_EI_IT_MM_FIELDS_CLI

Image RemovedImage Added

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

  • SET_SEQIN
  • GET_PURCH_ORG
  • GET_PURCH_GROUP
  • GET_TAX_CODE
  • GET_DOC_TYPE
  • GET_BAS_DATE
  • GET_PAYMENT_DATA
  • GET_WITHHOLDING_TAXES
  • GET_CMPN_CODE_VENDOR
  • SET_ENHCMNT_WITHHLD_DATA
  • GET_CONDITION_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 two BAdIs for MM fields set the values for the fields in the MM tab in the posting screen:

Image RemovedImage Added

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