Quantcast
Channel: SCN : All Content - SAP CRM: Master Data & Middleware
Viewing all 1796 articles
Browse latest View live

Headaches with BP role consistency?

$
0
0

Usually companies need to apply some business rules, which roles a BP (business partner) can have at the same time.

For example, a BP cannot be a headquarter” and a “branch” at the same time, or an “employee” and a “third-party” at the same time.

 

It is crucial to ensure such role consistency in SAP CRM. Otherwise companies risk dealing with their business partners in a proper way.

Imagine addressing prospects incorrectly with marketing campaigns just because you cannot safely identify who is a brand new prospect for your company. Marketing messages cannot reach such incorrectly addressed people. This is not good for your brand, and it can cost quite a bit money already by addressing too many “irrelevant” people.

 

With applying SAP note 2104189 you can now ensure BP roles being consistent. You can define BP exclusion groups, and can now use them in CRM WebClient UI.

 

Please note that the already available life-cycle concept cannot be used in parallel.


opportunity idocs not automatically created

$
0
0

We have integrated CRM with Cloud for Sales.  Customers and opportunities were creating idocs which then get sent to Cloud.  For some reason the idocs for opportunities are no longer being created.  But for customers they are.  I cannot think of any changes that have been made.  Does anyone have any ideas where I might check to see what is missing?  In my dev system it works, in QA it is not.

Error regenerating in tcode GRNWB

$
0
0

When running tcode GRNWB, with selection RRREA:Realignment, for BUS_TRANS_MSG getting error "Function module /1CRMGC/CGBUS_TRANS_MSG_RCF does not exist".  For some reason in our production system, that function is not regenerating like it does in our test systems.  Does anyone have a clue as to what might cause that?  It should get deleted and then recreated, but in our prod system it is not.

Delete Logical System from CRM-->CRMMLSGUID

$
0
0

Hi

 

The transaction SMOHQUEUE send a error to start. The problem is in CRMMLSGUID table, this table show 4 logical system. I'm trying to run BDLS however the problem persists. This is a IDES CRM


Thankss in advance

Error CRM.jpg

Multiple ERP backend system for SAP CRM

$
0
0

Dear All,

 

 

We have a requirement, Client want there SAP R/3 upgrade to SAP ECC to happen in phases based on small regions.  Now we have to sync master data with both SAP R/3 and SAP ECC. The same objects like Customer, material , Vendor should replicate to different backend ERP system based on region.

 

Kindly provide your inputs, if this scenario is possible.

 

If yes, Kindly provide SAP note or blog.

 

We have referred the SAP Notes : 1763516 , 1084315 and related Notes, but it is not clear enough to confirm a solution for customer replication to 2 different system based on region.

 

 

 

Help will be appreciated.

 

 

Many Thanks,

 

Regards,

Shakeel

data cleanup for table SRRELROLES in SAP CRM

$
0
0

Hi Experts,

 

need your suggestion to clean up the data from table SRRELROLES in sap crm system. currently this table is holding 400 million records and growing rapidly. our aim is to clean up the old records but I am not very much sure as how to do this. I Have checked program RSRLDREL, RSRLDREL2 and RSRLDREL3 program but don't see much useful or may be i might not have used the program correctly.

please note that we are transmitting the ISU data from ECC to CRM system.

 

below are the break ups of total records in table:

 

Object Type          Count

BUS2000126          190, 961, 605

BCONTACT             10,515, 960

BUS1006130            4, 836, 420

CRMCICANCH         77,113,344

BUS2080                 7,665,3424

 

I think deleting the BUS2000126 data will reduce more than 50% of load. Could you please suggest if there is any way to clean up these records?

 

Thanks in advance..!!!

 

Thanks,

Rajesh K Sahu

Replicate MARC data (field PRENO) from R/3 to CRM

$
0
0

Hi All,

 

I'm trying to replicate the value of field PRENO of table MARC from R/3 to CRM.

I've done the BTE event CRM0_200 configuration in R/3 and assigned the custom created FM in table TPS34.

Now, when I'm trying to put a breakpoint in the FM and change the value for this field, the debugger won't stop and no BDoc is created.

 

When I check in the FM 'CRS_MATERIAL_COLLECT_DATA', any updates of MARC table are blocked.

MARC.PNG

The global variables gv_marc_inactive &  gv_marc_key_inactive are by default set as 'X'.

Hence, the above conditions are not met and the value 'UPD_MARC' is cleared which stops further updates for MARC table from getting posted.

 

Is this stopping the event CRM0_200 from triggering.

 

Any help anybody?

 

Thanks

Ashish

Middleware BDOC Error- Parameter I_IBASE is not set

$
0
0

Hi All,

 

In our system, when a CRM Sales Order transaction is replicated from CRM to ECC6 and completely processed in ECC 6.0

through Invoice, the CRM Middleware receives a BDoc that is in error with message Parameter I_IBASE is not set and the

result is the Document flow is not replicated to CRM transaction. I could not find any relevant OSS note or solution for this

problem. Could you let me know what is the solution for this problem. Please explain the steps to fix this error.

 

Thanks in advance.

 

--R D


Error while activation of report area in ORDYWB

$
0
0

Dear Sir, we followed the guide C41 Best practices for CRM Interactive Report. We don't have BW environment for the same

Now the current configuration as mentioned below

CRM client -- 310

BI /REP client -- 510

 

we have activated report area in ORDYWB we have check there are 8 errors.

1.System is set to not changeable; objects cannot be changed (which occurs 3 times)

2.Client is incorrect (which occurs 3 times.)

3.Activation finished (which occurs 2 times)

 

Please find below screenshot for the same

 

Error in ORDYWB .jpg

 

 

We have check client in SCC4 Client 310 has setting "Automatic recording of changes"

 

Client 310 in scc4.jpg

 

 

 

 

Best Regards,

Amitkumarr D K

Stop flow of a single sales document from ECC to CRM

$
0
0

Hi All,

 

I have a query wherein I would like to know what settings needs to be done to stop flow of single sales document.

 

I do not want to deactivate the adapter object SALESDOCUMENT in CRM as that will stop the flow of all documents into CRM

 

Nor do I want to replace the entry in the table CRMRFCPAR in ECC from OBJNAME : * to SALESDOCUMENT, this again will stop the flow of all documents.

 

I would like to know if ECC has 10 sales order out of which 5 are debit memos, then I would need information of 5DM flowing in CRM and not the rest :

 

- To allow flow of certain documents?

- To stop flow of rest sales documents?

 

Is there a parameter to set in CRMPAROLTP in ECC or filter settings needs to be done in adapter object SALESDOCUMENT in CRM ?

 

Your response will be highly awaited and appreciated

Regards

Shilpi Agarwal

Service order is not replicating from CRM to ECC

$
0
0

Hi Experts,

 

As per my knowledge I have configured necessary settings for replicating service order from CRM to ECC. When I create service order in CRM BDOC is generating successfully, in BDOC there is not sender site and receiver site name. there is no queues generate in outbound in CRM but BDOC generated in green status and no transaction replicated to ECC successfully.

 

I know many of you worked on service and resolved many issues from your hands of experience. Can any one please help me by suggesting missing configuration in CRM.

 

Thanks in advance

Sreekar

How to find history of pricing conditions in SAP CRM based on ITEM_GUID ?

$
0
0

Hi,  



We need history of each pricing conditions wise, not like gross, net values. How to find history of pricing information in SAP CRM based on ITEM_GUID ? 



Best regards,

Rama

Archived Business Partners in ECC

$
0
0

Hi Experts,

We are in CRM 7.0 and ECC 6.0 . We replicate the Business Partners from ECC to CRM . Due to some reasons we do the BUPA_MAIN initial Load every week.

 

Noticed during the initial load , BDOCS pertaining to the archived business partners error out with the error-No changes made and No Status information is available.

 

Business Partners got archived in CRM as well but the BDOCS still error out during the weekly initial load.

 

Is there any way to make sure the BDOCS do not error out for the archived business Partners .

 

 

Thanks,

Vijay

Service Contract and Campaign Link and Mass Updation.

$
0
0

Hi Experts,

 

 

Need a help on the Service Contract Updation in mass.

 

We have a requirement to update the campaigns for the Contract Line Items in CRM in mass.

 

 

Let us know what can be the corrective solution.

SAP CRM integrating with SAP ERP

$
0
0

Hello all,

 

Since I am not a functional person but I want to integrate SAP CRM with SAP ERP. What is the procedure to do so? And what are all the possible scenarios can be integrated between the two applications?

 

 

Regards

Jansi..


SMOEAC-Filter for Customer Changes not to replicate from CRM to R/3

$
0
0

Hi,

 

We have 4 subscriptions in SMOEAC for CRM to R/3 replication. They are

 

1.ALL BUSINESS PARTNERS

2.ALL BUSINESS PARTNERS RELATIONSHIPS

3.ALL BUSINESS PARTNERS HIERARCHIES

4.SALES DOCUMENT ECC.

 

In the business partners, Now we need to put filter to avoid flow of Customer Master data changes (to R/3) done in CRM.

Iam seeing information in forums that we can able to do that by changing the publication type from Simple Bulk(MSG) to Simple Intelligent(MSG).But Iam not able to change it for ALL BUSINESS PARTNERS in transaction SMOEAC.

pl advice on the possibility.

 

Regards

A.Sureshbabu.

Sales Order Custom Field Mapping from CRM to ECC

$
0
0

Now a days it is a quite common scenario to enhance the sales order with the additional custom fields which will have to flow from CRM to ECC and vice versa. There are different ways to achieve this scenario like applying the Business Transaction Events or intermediate FM calls etc.. But comparatively this will be the better approach. In this blog I am going to explain the scenario of the additional filed (AET/EEWB) flow from CRM to ECC. In next blog will publish the data flow from ECC to CRM.

   Before the implementation better to check the all relevant settings of middle ware like sales document adapter object filter, SMOF tables and Administration Console.

 

  • Structures need to enhance by adding the additional field in the CRM

Sales Order Container

Structure of the table

Header

BAPE_VBAK

Item

BAPE_VBAP

Line Item

BAPE_VBEP

 

Finding the relevant structure:
  Please check the CRMD_ORDERADM_H and CRMD_ORDERADM_I to find the structure, you will find the DUMMY attribute, you will get this structure in the appending structure description. 

  • Structures need to enhance by adding the additional field in the ECC 

Sales Order Container

Structure of the table

Update Structure of the table

Header

VBAKOZ

VBAKOZX

Item

VBAPOZ

VBAPOZX

Line Item

VBEPOZ

VBEPOZX


           
Finding the relevant structure:

               Please check the VBAK,VBAP and VBEP to find the structure, you will find the DUMMY attribute, you will get this structure in the appending structure description.

 

          Note : All the OZX structure has to be appended with Update flag with char 1.


  • Now in CRM Side need to be implement CRM_DATAEXCHG_BADI enhancement.
               

 METHOD if_ex_crm_dataexchg_badi~crm_dataexch_after_bapi_fill.
 
                    <lfs_bapishd1x> TYPE bapisdhd1x.
    DATA : lwa_orderadm_h LIKE LINE OF it_bus_trans_msg-orderadm_h,
         lwa_bapirex    TYPE bapiparex,
         w_data(240)    TYPE c.
    

    LOOP AT it_bus_trans_msg-orderadm_h INTO lwa_orderadm_h.
        CLEAR lwa_bapirex.

     lwa_bapirex-structure = 'BAPE_VBAK'.
     lwa_bapirex-valuepart1+0(10) = lwa_orderadm_h-object_id.
     lwa_bapirex-valuepart1+10( fieldlength) = lwa_orderadm_h-XXXXXXXXXXXX.


     APPEND lwa_bapirex TO ct_bapiparex.
     CLEAR lwa_bapirex.

     lwa_bapirex-structure = lc_bape_vbakx.
     lwa_bapirex-valuepart1+0(10) = lwa_orderadm_h-object_id.
     lwa_bapirex-valuepart1+10(1) = 'X'.

     APPEND lwa_bapirex TO ct_bapiparex.
     CLEAR lwa_bapirex.
      
    ENDLOOP.
  ENDMETHOD.

 

          Checking  the data :

                      Go to SMW01 and find the related sales order queue with name. Please check the data in extended structure, there e you will find the data in the segment.


  • Now the BAPIPAREX structure to be send to ECC sales documents to the internal ECC BAPI. So this will be possible by enhancing the BADI_SD_SALESDOCU_BAPI. This enhancement triggers any time while sales order data coming from any other systems like CRM, BI/BW and any third party system. So here we can maintain 2 ways to restrict the application from the required.
                       
        1. Check function module CRM0_READ_RFC_DEST. Pass the value 'CRM' to the importing parameter I_CONSUMER.
        2. Check the VBKLA(3) which is equals to the CRM, where sometimes it will be over crossed  by the scenarios which are also mmaintain in the ECC also. So better to avoid this.

Method : IF_BADI_SD_SALESDOCU_BAPI~MOVE_EXTENSIONIN

IF cs_vbakkom-vbkla(3) = 'CRM'. // better to use by sy-uname from the CRM0_READ_RFC_DEST
  DATA : lwa_bapirex    TYPE bapiparex.
      CLEAR : lwa_bapirex.
     
READ TABLE it_extensionin INTO lwa_bapirex WITH KEY structure = ‘BAPE_VBAK'.
        IF NOT lwa_bapirex IS INITIAL.
     cs_vbakkom-XXXXXXXXX = lwa_bapirex-valuepart1+10(field length).
     ENDIF.
     CLEAR : lwa_bapirex.
    READ TABLE it_extensionin INTO lwa_bapirex WITH KEY structure = ‘BAPE_VBAKX'.
     IF NOT lwa_bapirex IS INITIAL.
     cs_vbakkomx-XXXXXXXXX = lwa_bapirex-valuepart1+10(1).
     ENDIF.
ENDIF.


  • Now this communication structure to be added to the ECC side by using sales order MV45AFZZ include.
      Here we need to check the correct location of the include like move VBAK,MOVE VBAP, MOVE VBEP or SAVE user exits inside of the include. so that we can get better performance.Else it would be bit better if we find any other BAdI or User exit for the same.

        IF us_vbakkom-vbkla(3) = 'CRM'. // // better to use by sy-uname from the CRM0_READ_RFC_DEST
              IF NOT us_vbakkom IS INITIAL.
             vbak-XXXXXXXXX= us_vbakkom-XXXXXXX.
              ENDIF.
        ENDIF.


Useful tables for CRM Middleware

$
0
0

I have summarized some useful tables which is used often for SAP CRM middleware, including middleware general parameter related tables, adapter object related tables, filter related tables, queue name related tables, Bdoc flow and Bdoc message related tables, load status tables and RFC related tables etc.

 

Useful tables for CRM Middleware

 

Middleware general parameter related tables:

 

Table nameSystemDescription

SMOFPARSFA

CRM

General middleware parameters

SMOF_ERPSH

CRM

ERP-Site Header table

CRMPAROLTP

ERP

CRM OLTP Parameters

CRMCONSUM

ERP

CRM consumer

CRMRFCPAR

ERP

Definitions for RFC Connections

 

Adapter Object related tables:

 

Table nameSystemDescription
SMOFTABLESCRMFinding the Adapter Object Involved

SMOFOBJECT

CRM

Download Objects

SMOFINICONCRMFlow Contexts in Initial Download depending on Site Types
CRMOBJECTERPDownload Objects
CRMSUBTABERP

Generic Extractor for Objects

CRMATABERPTables Permitted for Customizing Download
CRMOBJTABERPTables Belonging to One Object
CRMMAPTABERPRelationship Between Table Names in CRMOBJTAB and BAPIMTCS
CRMINTBAPERPAssignment of Internal and External Table Fields

 

 

Filter related tables:

 

Table nameSystemDescription

SMOFFILFLD

CRM

The predefined fields for filter

SMOFFILTAB

CRM

Filter settings

CRMFILTAB

ERP

Filter settings

 

 

Queue Name tables:

 

Table nameSystemDescription
SMOFQFINDCRMQueue Name setting

CRMQNAMES

ERP

Queue Name setting

 

 

Bdoc Type Flow related tables:

 

Table nameSystemDescription

SMW3BDOCIF

CRM

BDoc Type Specific Flow Attributes (Validation service)

SMW3FDSTD

CRM

Flow: Standard Configuration

SMW3FDBDOC

CRM

BDoc Type Specific Flow

SMW3FDCUSTCRMCustomer-Specific Flow

 

 

Bdoc message related tables:

 

Table nameSystemDescription
SMW3_BDOCCRM

BDoc Message Store: Header

SMW3_BDOC1

CRM

BDoc Message Store: Message Body (classic  part)

SMW3_BDOC2

CRMBDoc Message Store: Message Body (extension part)
SMW3_BDOC4CRMBDoc: Validation Errors
SMW3_BDOC5CRMBDoc: Receivers with state
SMW3_BDOC6CRMBDoc: Receiver specific error segments
SMW3_BDOC7CRMBDoc: Receiver Root IDs
SMW3_BDOCQCRMqRFC Queues in use by BDoc Message

 

 

Load status related tables:

 

Table nameSystemDescription

SMOFDSTAT

CRM

Initial load monitoring - Current Download Status of Objects

SMOFRSTAT

CRM

Request load monitoring - Current Download Status of Objects

SDIMASTAT

CRM

Dima load monitoring - Current Download Status of Objects

 

 

RFC related tables:

 

Table nameSystemDescription

ARFCSSTATE

CRM,ERP

Description of ARFC Call Status (Send)

ARFCSDATA

CRM,ERP

ARFC Call Data (Callers)

TRFCQSTATE

CRM,ERP

Description of qRFC Call Conditions (Inbound Queue)

TRFCQDATACRM,ERPqRFC Call Data (Inbound Queue)
TRFCQOUTCRM,ERPtRFC Queue Description (Outbound Queue)
TRFCQINCRM,ERPtRFC Queue Description (Inbound Queue)


DIMA related tables:

 

Table nameSystemDescription

SDIMABASIC

CRM

Basic Information for DIMA

SDIMAHEAD

CRM

Header Data of Dima

SDIMASTAT

CRM

Dima load monitoring - Current Download Status of Objects

SDIMAMESSCRMMessages for DIMA
SDIMADETCRMDIMA Filter conditions
SDIMAFILTCRMAllowed Filters for DIMA

 

I will try to add more in the future.

Hope this helps.

unable to get data for shipping BDoc of 0CRM_SALES_CONTR_I extractor

$
0
0

Hi,

 

how to get data for shipping information of ( BAD_BUS_TRANSN_MESSAGE) BDOC for 0CRM_SALES_CONTR_I extractor?

 

Regards,

Rama

Payment terms in customer master

$
0
0

Hi,

 

Is there any table from where we can directly read the payment terms of customers? I tried CRMM_BUT_SET0030 but that gives it only with the GUID. I tries using that GUID in table CRMD_PARTNER hoping I could link it to find the customer # but the GUID returns no results in all 3 GUID fields  in CRMD_PARTNER - PARTNER_GUID, GUID and RELATION_PARTNER. So I am unable to get the actual customer # for the payment terms I obtain in CRMM_BUT_SET0030.


Appreciate any help in the best approach to get this information?

 

Thank you very much.

Viewing all 1796 articles
Browse latest View live