Ansicht
Dokumentation

CRM_CND_BADI - BAdI: Convert Field Contents

CRM_CND_BADI - BAdI: Convert Field Contents

Vendor Master (General Section)   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Addin is used for exchanging condition table contents (master data) from R/3 into a CRM System and vice-versa. You can use the Business Addin to convert field contents from customer-specific fields when copying into the target system.

If the content of a field is converted with the Business Addin, an implementation (method) must be created. The name of the source field here is the filter value.

The following fields and tables or structures are available for information:

  • FLT_VAL,,,,,,Name of the source field
  • IV_SOURCE_VALUE,,Field contents to be converted
  • IV_TARGET_FIELD,,Name of target field
  • IV_CONVERSION_TYPE ,,Conversion type from table CND_MAPM_CNV_FLM
  • IV_CONVERSION_FUNCTION ,,Conversion function (generally not completed)
  • IV_MAP_ASSIGNMENT ,,Specifies whether it is a download (direction CRM, value 'A'), or upload (direction external system, value 'B').
  • IV_VAKEY,,,,,,Contents of VAKEY in R/3 format as character string
  • IV_VADAT,,,,,,Contents of VADAT in R/3 format as character string
  • IS_CRM_PR,,,,,,Price Record (CRM format, completed when sending from CRM)
  • IV_R3_TABLE_NO,,,,Number of condition table in R/3 System
  • IV_R3_USAGE ,,,,Usage to which condition record belongs
  • I_SYSDH2,,,,,,System information such as source system/client
  • IT_COND_K,,,,,,Structure of VAKEY line (R/3 format, completed during download from R/3)
  • IT_COND_D,,,,,,Structure of VADAT line (R/3 format, completed during download from R/3)
  • IT_CRM_K,,,,,,Structure of VAKEY line (CRM format, completed when sent from CRM)
  • IT_CRM_D,,,,,,Structure of VADAT line (CRM format, completed when sent from CRM)

Return value must be in field

  • EV_TARGET_VALUE

Business Addin is only called when conversion rule (CONVERSION_TYPE) 'B' is defined for conversion table CND_MAPM_CNV_FLM for a corresponding field.

Note the format of the fields with the source and target information (IV_SOURCE_VALUE, EV_TARGET_VALUE ). Use fields with identical formats.






Addresses (Business Address Services)   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 2714 Date: 20240523 Time: 165820     sap01-206 ( 34 ms )