SAP CRM Business Transaction: The main SAP CRM Tables and BAPI

SAP CRM Business: In SAP CRM, Business Transaction in CRM is defined by Object Type which defines the kind of the Business Transaction.  In this post, you will find the most used SAP CRM transaction Codes  and the related SAP CRM tables also more details about the usefull BAPI for Business Transaction BAPI. 

SAP CRM Business Transaction

SAP CRM Business Transaction is the key to identify the type of SAP CRM Transaction .
The main SAP CRM transaction Codes  are:

SAP CRM Transaction Codes Description
SAP CRM Sales BUS200115
SAP CRM Activity BUS2000126
SAP CRM Service Contract BUS2000112
SAP CRM Lead BUS2000108
SAP CRM Opportunity BUS2000111
SAP CRM Task BUS2000125
SAP CRM Utility Contract Item BUS2000147

Sample for SAP CRM Transaction Codes Relationship for Order

Check also   SAP CRM Middleware Important Tcodes/Transactions

credit: https://help.sap.com

For more detail about SAP CRM, check these posts.

SAP CRM Transaction Main Tables

The main Tables for SAP CRM Business Transaction are CRMD_ORDERADM_H ( for header data).
All related Tables start with CRMD_*.
You will find following the main tables for SAP CRM Business Transaction:

SAP CRM Tables Description
CRMD_ORDER_INDEXAll the transactions in CRM. Link BP & CRM Transaction
CRMD_CUSTOMER_H Contract Details
CRMD_CUSTOMER_IAdditional Site Details
CRMD_ORDERADM_HHeader Details
CRMD_ORDERADM_IItem Details

SAP CRM Business Transaction Main BAPI

When Dealing with SAP CRM Business Transaction in ABAP, there is some BAPIs to know.
The main BAPI is CRM_ORDER_READ and it will be detailed later in this post.
First let’s introduce the main BAPIs :

BAPIDescription
GUID_CREATE Create GUID for a Business Transaction
BAPI_BUSPROCESSND_SAVE BAPI to save trhe service Contracts
CRM_ORDERADM_H_READ_OW Read Header Details for a Business Transaction
CRM_ORDERADM_I_READ_OW Read Items Details for a Business Transaction
CRM_ORDER_READ Get all Order/Service/Activity/Lead/Quotation/Opportunity … details.
CRM_ORDER_GETSTATUS Read Status of Business Transaction
BAPI_BUSPROCESSND_CHANGEMULTI Change Service Contratcs with ABAP
CRM_ORDER_SAVE Save Transaction Change
CRM_APPT_MAINTAIN_SINGLE_OW Maintain Sate for service Contract. Call CRM_ORDER_SAVE after
CRM_STATUS_MAINTAIN_OW Maintain User Status for CRM Transaction
Check also   SAP Process Order Idoc Outound - SAP IDOC LOIPRO (Sample ABAP)

Check also SAP CRM Resources: Books and Courses

CRM_ORDER_READ

CRM_ORDER_READ cannot be called directly. Instead call the program with the same name CRM_ORDER_READ to read all the data.
The SAP CRM Transaction Codes pilot the type of the SAP CRM Action ( Order, Opportunity … )

Performance Tips CRM_ORDER_READ

Always pass the IT_REQUESTED_OBJECTS structure to CRM_ORDER_READ to fech only required details.

Important Structures

The related SAP CRM Tables for CRM Transaction will be retrieved into the following tables:

Input/OutputDescription
ET_ORDERADM_H Header Details of a Business Transaction: OBJECT_ID / PROCESS_TYPE
ET_ORDERADM_I Items Details of a Business Transaction: PRODUCT/ PRODUCT_KIND/ HEADER
ET_ACTIVITY_H Header of Activitiy Detail: PRIORITY/OBJECTIVE/Address
ET_ACTIVITY_I Items details for an activity
ET_PARTNER Partner Dtails at Header & Items Level
ET_STATUS Status for Header & Items
ET_BILLING Billing related details.
ET_DOC_FLOW Documents flow of the Business Transaction
Check also   SAP SRM Tcodes - Main Used Transactions in SRM

 

Sab125

Hi. I have been working as SAP Technical and functional for a decade. Through this blog, I am trying to share with you my experience. Hopefull, it makes your ways easier path ...Sab