MAINTAIN_BAPI SAP Method Manage Vendor Master Data Using BAPI









Below is documentation, parameters and attributes of ABAP Method MAINTAIN_BAPI within SAP class VMD_EI_API. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name VMD_EI_API into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Static

This is a Static Method so you can call it directly

The following technical details of method MAINTAIN_BAPI can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method MAINTAIN_BAPI

.

NameTypeData TypeDescriptionDefault Value
IS_MASTER_DATAImportingTYPE
VMDS_EI_MAIN
Vendor Total Data
IV_COLLECT_MESSAGESImportingTYPE
XFELD
Checkbox Collect Messages ('X' = Yes)
IV_TEST_RUNImportingTYPE
XFELD
Checkbox Test Run ('X' = Yes)
ES_MASTER_DATA_CORRECTExportingTYPE
VMDS_EI_MAIN
Vendor Total Data Without Errors
ES_MASTER_DATA_DEFECTIVEExportingTYPE
VMDS_EI_MAIN
Vendor Total Data with Errors
ES_MESSAGE_CORRECTExportingTYPE
CVIS_MESSAGE
Error Indicator and System Messages for Data Without Errors
ES_MESSAGE_DEFECTIVEExportingTYPE
CVIS_MESSAGE
Error Indicator and System Messages for Incorrect Data



Exceptions of Method MAINTAIN_BAPI

This method does not have any exceptions

Example ABAP coding


DATA: lv_ES_MASTER_DATA_CORRECT TYPE VMDS_EI_MAIN,
lv_ES_MASTER_DATA_DEFECTIVE TYPE VMDS_EI_MAIN,
lv_ES_MESSAGE_CORRECT TYPE CVIS_MESSAGE,
lv_ES_MESSAGE_DEFECTIVE TYPE CVIS_MESSAGE,
lv_IS_MASTER_DATA TYPE VMDS_EI_MAIN,
lv_IV_COLLECT_MESSAGES TYPE XFELD,
lv_IV_TEST_RUN TYPE XFELD,
lv_other TYPE c.

CALL METHOD VMD_EI_API=>MAINTAIN_BAPI(
EXPORTING
IS_MASTER_DATA = lv_IS_MASTER_DATA
IV_COLLECT_MESSAGES = lv_IV_COLLECT_MESSAGES
IV_TEST_RUN = lv_IV_TEST_RUN
IMPORTING
ES_MASTER_DATA_CORRECT = lv_ES_MASTER_DATA_CORRECT
ES_MASTER_DATA_DEFECTIVE = lv_ES_MASTER_DATA_DEFECTIVE
ES_MESSAGE_CORRECT = lv_ES_MESSAGE_CORRECT
ES_MESSAGE_DEFECTIVE = lv_ES_MESSAGE_DEFECTIVE ).

Links to Related Class(s)

VMD_EI_A...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!