CRM and CX Blogs by Members
Find insights on SAP customer relationship management and customer experience products in blog posts from community members. Post your own perspective today!
cancel
Showing results for 
Search instead for 
Did you mean: 
lovekush_singh
Active Participant

One of the most frequently asked question in any CRM implementaion project is “Is there any table where we can see the mapping of standard fields between CRM and ECC”. This document has been created to help SAP consultants and others to answer the mapping question and to have easy reference for field mapping between CRM sales order and ECC sales order.

Comments are highly appreciated and if you like the article please marked it as “like”

1.0 Introduction

Scenario : You create, change and save sales orders in CRM database. Sales orders, complaints replicate to ECC for  fullfilment.

As soon as a CRM Sales Order is saved without any error, the transaction is transferred to SAP ERP. Sales order exists in both the systems. The subsequent logistics processes, for example delivery of the sales order, take place in ECC.

2.0 CRM Middleware

Date transfer between CRM and ECC take place through CRM middleware. Once CRM sales order data is saved the sales order data is written to an mBDoc message and then to CSA queue. Date replication service decides the destination of the data and R/3 adaptor convert the mBDoc data into BAPI structure. In the next step data is written to R3A outbound queue to be processed in ECC.

3.0 Field Mapping

The standard mapping module in CRM is CRM_SALESDOC_MAP_MBDOC2BAPI. One can find the CRM to ECC sales order fields mapping using structures BAPISDHD1 and BAPISDITM. There are many more structure for partners, schedule linne and others.

Sales Order Header Fields

CRM Field ECC Field Data Type Length Decimal Description
REFOBJTYPESWO_OBJTYPCHAR100Object Type
REFOBJKEYSWO_TYPEIDCHAR700Object key
REFDOCTYPEREFDOCTYPECHAR100                                                           
DOC_TYPEAUARTCHAR40Sales Document Type
COLLECT_NOSUBMI_SDCHAR100Collective number (SD)
SALES_ORGVKORGCHAR40Sales Organization
DISTR_CHANVTWEGCHAR20Distribution Channel
DIVISIONSPARTCHAR20Division
SALES_GRPVKGRPCHAR30Sales group
SALES_OFFVKBURCHAR40Sales office
REQ_DATE_HEDATU_VBAKDATS80Requested delivery date
DATE_TYPEPRGRS_VBAKCHARx`0Proposed Period for Date
PURCH_DATEBSTDKDATS80Customer purchase order date
PO_METHODBSARKCHAR40Customer Order Type
PO_SUPPLEMBSTZDCHAR40Customer purchase order number supplement
REF_1IHREZCHAR120Your Reference
NAMEBNAME_VCHAR350Name of orderer
TELEPHONETELF1_VPCHAR160Telephone Number
PRICE_GRPKONDACHAR20Price Group (Customer)
CUST_GROUPKDGRPCHAR20Customer group
SALES_DISTBZIRKCHAR60Sales district
PRICE_LISTPLTYPCHAR20Price list type
INCOTERMS1INCO1CHAR30Incoterms (Part 1)
INCOTERMS2INCO2CHAR280Incoterms (part 2)
PMNTTRMSDZTERMCHAR40Terms of payment key
DLV_BLOCKLIFSKCHAR20Delivery block (document header)
BILL_BLOCKFAKSKCHAR20Billing block in SD document
ORD_REASONAUGRUCHAR30Order reason (reason for the business transaction)
COMPL_DLVAUTLFCHAR10Complete delivery defined for each sales order?
PRICE_DATEPRSDTDATS80Date for pricing and exchange rate
QT_VALID_FANGDT_VDATS80Quotation/Inquiry is valid from
QT_VALID_TSMO3BNDDTDATS80Date until which bid/quotation is binding (valid-to date)
CT_VALID_FGUEBGDATS80Valid-from date (outline agreements, product proposals)
CT_VALID_TGUEENDATS80Valid-to date (outline agreements, product proposals)
CUST_GRP1KVGR1CHAR30Customer group 1
CUST_GRP2KVGR2CHAR30Customer group 2
CUST_GRP3KVGR3CHAR30Customer group 3
CUST_GRP4KVGR4CHAR30Customer group 4
CUST_GRP5KVGR5CHAR30Customer group 5
PURCH_NO_CBSTKDCHAR350Customer purchase order number
PURCH_NO_SBSTKD_ECHAR350Ship-to Party's Purchase Order Number
PO_DAT_SBSTDK_EDATS80Ship-to party's PO date
PO_METH_SBSARK_ECHAR40Ship-to party purchase order type
REF_1_SIHREZ_ECHAR120Ship-to party character
SD_DOC_CATVBTYPCHAR10SD document category
DOC_DATEAUDATDATS80Document date (date received/sent)
WAR_DATEGWLDTDATS80Guarantee date
SHIP_CONDVSBEDCHAR20Shipping conditions
PP_SEARCHKTEXT_VCHAR400Search term for product proposal
DUN_COUNTMAHZADEC30Number of reminder notices, reminders for delivery purchase
DUN_DATEMAHDTDATS80Last Delivery Reminder Notice
DLVSCHDUSEABRVWCHAR30Usage Indicator
PLDLVSTYPABDISCHAR10MRP for Release Types
REF_DOCVGBELCHAR100Document number of the reference document
COMP_CDE_BBUKRS_VFCHAR40Company code to be billed
ALTTAX_CLSTAXK1_AKCHAR10Alternative tax classification
TAX_CLASS2TAXK2CHAR10Tax classification 2 for customer
TAX_CLASS3TAXK3CHAR10Tax classification 3 for customer
TAX_CLASS4TAXK4CHAR10Tax classification 4 for customer
TAX_CLASS5TAXK5CHAR10Tax classification 5 for customer
TAX_CLASS6TAXK6CHAR10Tax classification 6 for customer
TAX_CLASS7TAXK7CHAR10Tax classification 7 for customer
TAX_CLASS8TAXK8CHAR10Tax classification 8 for customer
TAX_CLASS9TAXK9CHAR10Tax classification 9 for customer
REF_DOC_LXBLNR_VCHAR160Reference Document Number
***_NUMBERORDNR_VCHAR180Assignment Number
REFDOC_CATVBTYP_VCHAR10Document category of preceding SD document
ORDCOMB_INKZAZU_DCHAR10Order combination indicator
BILL_SCHEDPERFKCHAR20Invoice dates (calendar identification)
INVO_SCHEDPERRLCHAR20Invoice list schedule (calendar identification)
MN_INVOICEMRNKZCHAR10Manual invoice maintenance
EXRATE_FIKURRF_PDEC95Directly quoted exchange rate for FI postings
ADD_VAL_DYVALTGNUMC20Additional value days
FIX_VAL_DYVALDTDATS80Fixed value date
PYMT_METHDZLSCHCHAR10Payment method
ACCNT_ASGNKTGRDCHAR20Account assignment group for this customer
EXCHG_RATEKURSK_PDEC95Directly Quoted Exchange Rate for Pricing and Statistics
BILL_DATEFKDATDATS80Billing date for billing index and printout
SERV_DATEFBUDADATS80Date When Services Rendered
DUNN_KEYMSCHLCHAR10Dunning key
DUNN_BLOCKMANSPCHAR10Dunning block
PMTGAR_PROABSSCHE_CMCHAR60Payment Guarantee Procedure
DEPARTM_NOABTNRCHAR40Department number
REC_POINTEMPSTCHAR250                                                           
DOC_NUM_FILCNUMCHAR100                                                           
CSTCNDGRP1KDKG1CHAR20Customer condition group 1
CSTCNDGRP2KDKG2CHAR20Customer condition group 2
CSTCNDGRP3KDKG3CHAR20Customer condition group 3
CSTCNDGRP4KDKG4CHAR20Customer condition group 4
CSTCNDGRP5KDKG5CHAR20Customer condition group 5
DLV_TIMEDELCOCHAR30Agreed delivery time
CURRENCYWAERKCUKY50SD document currency
CURR_ISOWAERS_ISOCHAR30ISO code currency
CREATED_BYERNAMCHAR120Name of Person who Created the Object
TAXDEP_CTYLANDTXCHAR30Tax Departure Country
TAXDST_CTYLAND1TXCHAR30Tax Destination Country
EUTRI_DEALXEGDRCHAR10Indicator: Triangular deal within the EU ?
MAST_CONTRVBELN_GRPCHAR100Group Master Contract
REF_PROCSCHEME_GRPCHAR40Referencing requirement: Procedure
CHKPRTAUTHABRUF_PARTCHAR10Check partner authorizations
CMLQTY_DATDAT_FZAUDATS80Cml delivery order qty date
VERSIONVSNMR_VCHAR120Sales document version number
NOTIF_NOQMNUMCHAR120Message Number
WBS_ELEMPS_POSIDCHAR240Work Breakdown Structure Element (WBS Element)
EXCH_RATE_FI_VKURRF_VDEC95Indirectly quoted exchange rate for FI postings
EXCHG_RATE_VKURSK_VDEC95Indirectly Quoted Exchange Rate for Pricing and Statistics
FKK_CONACCTFKK_CONACCT_DUMMYCHAR120Dummy Contract Account FI-CA (not in standard)
CAMPAIGNSYSUUID_XRAW160UUID in X form (binary)
DOC_CLASSVBKLACHAR90unused (sales doocument class)
H_CURRWAERSCUKY50Currency Key
H_CURR_ISOISOCDCHAR30ISO currency code
SHIP_TYPEVSARTTRCHAR20Shipping type
S_PROC_INDSDABWCHAR40Special Processing Indicator
REF_DOC_L_LONGCHAR35CHAR350Data Element Type CHAR Length 35
LINE_TIMEEZEIT_VBAKTIMS60Proposed schedule line time (local with ref. to sales org.)
CALC_MOTIVEBEMOTCHAR20Accounting Indicator

Sales Order Item Fields

CRM Field ECC Field Data Type Length Decimal Description
ITM_NUMBERPOSNR_VANUMC60Sales Document Item
HG_LV_ITEMUEPOSNUMC60Higher-level item in bill of material structures
PO_ITM_NOPOSEXCHAR60Item Number of the Underlying Purchase Order
MATERIALMATNRCHAR180Material Number
ALT_TO_ITMGRPOSNUMC60Item for which this item is an alternative
CUST_MAT22MATNR_KU1CHAR220                                                           
BATCHCHARG_DCHAR100Batch Number
DLV_GROUPGRKORNUMC30Delivery group (items are delivered together)
PART_DLVKZTLFCHAR10Partial delivery at item level
REASON_REJABGRUCHAR20Reason for rejection of quotations and sales orders
BILL_BLOCKFAKSPCHAR20Lock
BILL_DATEFKDATDATS80Billing date for billing index and printout
PLANTWERKS_DCHAR40Plant
STORE_LOCLGORT_DCHAR40Storage location
TARGET_QTYDZMENGQUAN133Target quantity in sales units
TARGET_QUDZIEMEUNIT30Target quantity UoM
T_UNIT_ISOISO_ZIEMECHAR30Target quantity unit of measure in ISO code
ITEM_CATEGPSTYVCHAR40Sales document item category
SHORT_TEXTARKTXCHAR400Short text for sales order item
PRC_GROUP1MVGR1CHAR30Material group 1
PRC_GROUP2MVGR2CHAR30Material group 2
PRC_GROUP3MVGR3CHAR30Material group 3
PRC_GROUP4MVGR4CHAR30Material group 4
PRC_GROUP5MVGR5CHAR30Material group 5
PROD_HIERAPRODH_DCHAR180Product Hierarchy
MATL_GROUPMATKLCHAR90Material Group
PURCH_NO_CBSTKDCHAR350Customer purchase order number
PURCH_DATEBSTDKDATS80Customer purchase order date
PO_METHODBSARKCHAR40Customer Order Type
REF_1IHREZCHAR120Your Reference
PURCH_NO_SBSTKD_ECHAR350Ship-to Party's Purchase Order Number
PO_DAT_SBSTDK_EDATS80Ship-to party's PO date
PO_METH_SBSARK_ECHAR40Ship-to party purchase order type
REF_1_SIHREZ_ECHAR120Ship-to party character
POITM_NO_SPOSEX_ECHAR60Item Number of the Underlying Purchase Order
PRICE_GRPKONDACHAR20Price Group (Customer)
CUST_GROUPKDGRPCHAR20Customer group
SALES_DISTBZIRKCHAR60Sales district
PRICE_LISTPLTYPCHAR20Price list type
INCOTERMS1INCO1CHAR30Incoterms (Part 1)
INCOTERMS2INCO2CHAR280Incoterms (part 2)
ORDCOMP_INKZAZU_DCHAR10Order combination indicator
BILL_SCHEDPERFKCHAR20Invoice dates (calendar identification)
INVO_SCHEDPERRLCHAR20Invoice list schedule (calendar identification)
MN_INVOICEMRNKZCHAR10Manual invoice maintenance
EX_RATE_FIKURRF_PDEC95Directly quoted exchange rate for FI postings
ADD_VAL_DYVALTGNUMC20Additional value days
FIX_VAL_DYVALDTDATS80Fixed value date
PMNTTRMSDZTERMCHAR40Terms of payment key
PYMT_METHDZLSCHCHAR10Payment method
ACCNT_ASGNKTGRDCHAR20Account assignment group for this customer
EXCHG_RATEKURSK_PDEC95Directly Quoted Exchange Rate for Pricing and Statistics
PRICE_DATEPRSDTDATS80Date for pricing and exchange rate
SERV_DATEFBUDADATS80Date When Services Rendered
DUNN_KEYMSCHLCHAR10Dunning key
DUNN_BLOCKMANSPCHAR10Dunning block
PROMOTIONWAKTIONCHAR100Promotion
PMTGAR_PROABSSCHE_CMCHAR60Payment Guarantee Procedure
DOC_NUM_FILCNUMCHAR100                                                           
DEPARTM_NOABTNRCHAR40Department number
REC_POINTEMPSTCHAR250                                                           
CSTCNDGRP1KDKG1CHAR20Customer condition group 1
CSTCNDGRP2KDKG2CHAR20Customer condition group 2
CSTCNDGRP3KDKG3CHAR20Customer condition group 3
CSTCNDGRP4KDKG4CHAR20Customer condition group 4
CSTCNDGRP5KDKG5CHAR20Customer condition group 5
DLV_TIMEDELCOCHAR30Agreed delivery time
SALES_UNITVRKMEUNIT30Sales unit
S_UNIT_ISOISOCD_UNITCHAR30ISO code for unit of measurement
TRG_QTY_NOUMZIZDEC50Factor for converting sales units to base units (target qty)
TRGQTY_DENUMZINDEC50Factor for converting sales units to base units (target qty)
RNDDLV_QTYABLFZQUAN133Rounding quantity for delivery
MAXDEVAMNTABSFZQUAN133Allowed deviation in quantity (absolute)
MAXDEVPERKBVERDEC30Allowed deviation in quantity (in percent)
MAXDEV_DAYKEVERDEC30Days by which the quantity can be shifted
USAGE_INDVKAUSCHAR30Unused - Reserve Length 3
FIXED_QUANFMENGCHAR10Quantity is fixed
UNLMT_DLVUEBTKCHAR10Indicator: Unlimited Overdelivery Allowed
OVERDLVTOLCRMT_OVER_DLV_TOLDEC31Overdelivery Tolerance Limit
UNDDLV_TOLCRMT_UNDER_DLV_TOLDEC31Underdelivery Tolerance Limit
DIVISIONSPARTCHAR20Division
SALQTYNUMUMVKZDEC50Numerator (factor) for conversion of sales quantity into SKU
SALQTYDENUMVKNDEC50Denominator (divisor) for conversion of sales qty. into SKU
GROSS_WGHTBRGEW_APQUAN153Gross weight of item
NET_WEIGHTNTGEW_APQUAN153Net weight of item
UNTOF_WGHTGEWEIUNIT30Weight Unit
UNOF_WTISOGEWEI_ISOCHAR30Unit of weight in ISO code
VOLUMEVOLUM_APQUAN153Volume of the item
VOLUNITVOLEHUNIT30Volume unit
VOLUNITISOVOLEH_ISOCHAR30Volume unit in ISO code
DLV_PRIOLPRIONUMC20Delivery priority
SHIP_POINTVSTELCHAR40Shipping Point/Receiving Point
ROUTEROUTECHAR60Route
CREATED_BYERNAMCHAR120Name of Person who Created the Object
TAX_CLASS1TAXMTCHAR10Tax classification material
TAX_CLASS2TAXMTCHAR10Tax classification material
TAX_CLASS3TAXMTCHAR10Tax classification material
TAX_CLASS4TAXMTCHAR10Tax classification material
TAX_CLASS5TAXMTCHAR10Tax classification material
TAX_CLASS6TAXMTCHAR10Tax classification material
TAX_CLASS7TAXMTCHAR10Tax classification material
TAX_CLASS8TAXMTCHAR10Tax classification material
TAX_CLASS9TAXMTCHAR10Tax classification material
MAT_PR_GRPKONDMCHAR20Material Pricing Group
VAL_TYPEBWTAR_DCHAR100Valuation type
FIXDAT_QTYFIXMGCHAR10Delivery date and quantity fixed
BOMEXPL_NOSERNRCHAR80BOM explosion number
RESANALKEYABGR_SCHLCHAR60Results Analysis Key
REQMTS_TYPBEDAECHAR40                                                           
NO_GR_POSTNACHLCHAR10Customer has not posted goods receipt
BUS_TRANSTEXARTCHAR20                                                           
OVERHD_KEYAUFZSCHLCHAR60Overhead key
CSTG_SHEETAUFKALSMCHAR60Costing Sheet
MATFRGTGRPMFRGRCHAR80Material freight group
PLDLVSHDINPLAVOCHAR40Planning Release Regulation
SEQ_NOKANNRCHAR350KANBAN/sequence number
BIL_FORMFAKTFCHAR20Billing Form
DLI_PROFILAD01PROFNRCHAR80Dynamic Item Processor Profile
REV_TYPERR_RELTYPCHAR10Revenue recognition category
BEGDEM_PERRR_ACDATVCHAR10Proposed start date for accrual period
PR_REF_MATPMATNCHAR180Pricing Reference Material
REFOBJTYPESWO_OBJTYPCHAR100Object Type
REFOBJKEYSWO_TYPEIDCHAR700Object key
REFLOGSYSLOGSYSCHAR100Logical system
ORDER_PROBAWAHRNUMC30Order probability of the item
MAX_PL_DLVANTLFDEC10Maximum number of partial deliveries allowed per item
CFOP_CODEJ_1BCFOPCHAR50CFOP code and extension
TAXLAWICMSJ_1BTAXLW1CHAR30Tax law: ICMS
TAXLAWIPIJ_1BTAXLW2CHAR30Tax law: IPI
SD_TAXCODEJ_1BTXSDC_CHAR20SD tax code
ASSORT_MODW_SORTKCHAR180Assortment Module
COMP_QUANTKMPMGQUAN133Component Quantity
TARGET_VALBAPICUREXTDEC289Currency amount for BAPIS (with 9 decimal places)
CURRENCYWAERKCUKY50SD document currency
CURR_ISOWAERS_ISOCHAR30ISO code currency
PROFIT_CTRPRCTRCHAR100Profit Center
ORDERIDAUFNRCHAR120Order Number
WBS_ELEMPS_POSIDCHAR240Work Breakdown Structure Element (WBS Element)
DEPREC_PERAKPRZDEC52                                                           
REF_DOCVGBELCHAR100Document number of the reference document
REF_DOC_ITVGPOSNUMC60Item number of the reference item
REF_DOC_CAVBTYP_VCHAR10Document category of preceding SD document
CUST_MAT35KDMATCHAR350Material belonging to the customer
EXCH_RATE_FI_VKURRF_VDEC95Indirectly quoted exchange rate for FI postings
EXCHG_RATE_VKURSK_VDEC95Indirectly Quoted Exchange Rate for Pricing and Statistics
ITEMGUID_ATPPOSGUIDCHAR220ATP: Encryption of DELNR and DELPS
VAL_CONTRWKTNRCHAR100Value contract no.
VAL_CON_IWKTPSNUMC60Value contract item
CONFIG_IDCUXCFG_IDCHAR60                                                           
INST_IDCU_INST_IDCHAR80Instance Number in Configuration
MAT_EXTMGV_MATERIAL_EXTERNALCHAR400Long Material Number for MATERIAL Field
MAT_GUIDMGV_MATERIAL_GUIDCHAR320External GUID for MATERIAL Field
MAT_VERSMGV_MATERIAL_VERSIONCHAR100Version Number for MATERIAL Field
P_MAT_EXTMGV_PR_REF_MAT_EXTERNALCHAR400Long Material Number for PR_REF_MAT Field
P_MAT_GUIDMGV_PR_REF_MAT_GUIDCHAR320External GUID for PR_REF_MAT Field
P_MAT_VERSMGV_PR_REF_MAT_VERSIONCHAR100Version Number for PR_REF_MAT Field
FUNC_AREAFKBER_SHORTCHAR40Functional Area
ALTERN_BOMSTLALCHAR20Alternative BOM
FKK_CONACCTCHAR12CHAR120Character Field of Length 12
EAN_UPCEAN11CHAR180International Article Number (EAN/UPC)
PRODCATWMINRCHAR100Product catalog number
SHIP_TYPEVSARTTRCHAR20Shipping type
S_PROC_INDSDABWCHAR40Special Processing Indicator
FUNC_AREA_LONGCHAR16CHAR160Field of length 16
BILL_RELCRMT_BILLING_RELEVANTCHAR10Billing Relevance
VW_UEPOSUEPVWCHAR10ID for higher-level item usage
CAMPAIGNCGPL_GUID16_R3RAW160Generic project planning: GUID from external R/3 system
DLVSCHDUSEABRVWCHAR30Usage Indicator
CFOP_LONGCHAR10CHAR100Character Field Length = 10
SELECTIONCOMT_VBX_SEL_GUIDCHAR320Selection ID (Not Persistent)
MAT_ENTRDMATWACHAR180Material entered
LOG_SYSTEM_OWNLOGSYSCHAR100Logical system
ITM_TYPE_USAGEVWPOSCHAR40Item usage
TAXLAWISSJ_1BTAXLW3CHAR30Tax law: ISS
MAT_ENTRD_EXTERNALMGV_MAT_ENTRD_EXTERNALCHAR400Long Material Number for MAT_ENTRD Field
MAT_ENTRD_GUIDMGV_MAT_ENTRD_GUIDCHAR320External GUID for MAT_ENTRD Field
MAT_ENTRD_VERSIONMGV_MAT_ENTRD_VERSIONCHAR100Version Number for MAT_ENTRD Field
LOC_TAXCATLOC_TAXCATCHAR20Tax Category
LOC_ZEROVATLOC_ZEROVATCHAR10Reason for Zero-Rated VAT
LOC_ACTCODELOC_ACTCODECHAR20Activity Code for Gross Income Tax
LOC_DISTTYPELOC_DISTTYPECHAR20Distribution Type for Employment Tax
LOC_TXRELCLASLOC_TXRELCLASCHAR100Tax Relevance Classification
CALC_MOTIVEBEMOTCHAR20Accounting Indicator
COMPREASCHAR4CHAR40Not More Closely Defined Area, Possibly Used for Patchlevels
FUNDBP_GEBERCHAR100Fund
FUNDS_CTRFISTLCHAR160Funds Center
CMMT_ITEMFM_FIPEXCHAR240Commitment item
GRANT_NBRGM_GRANT_NBRCHAR200Grant
BUDGET_PERIODCHAR10CHAR100Character Field Length = 10
TAXLAWCOFINSCHAR3CHAR303-Byte field
TAXLAWPISCHAR3CHAR303-Byte field

4.0 Further Work

Consultants can further explore the CRM functional modules to better undestand the replication process between CRM and ECC.

5.0 References

  1. SAP Note 1053817 - Distributing customer-specific fields from CRM to R/3
  2. SAP CRM Middleware Optimization Guide by Juliane Bode, Stephan Golze, Thomas Schröder – SAP Press
2 Comments