cancel
Showing results for 
Search instead for 
Did you mean: 

CRM 7.0 / IS-U: adding custom fields to Business agreement for replication

Former Member
0 Kudos

Hello Experts!

We're working on replication of custom fields from IS-U to CRM 7.0.

Can you help me with clarification of my understanding of these questions..?

1) CRM/IS-U mapping tables for buag_main:

Business Agreement(BUAG_MAIN) is a BO in CRM that corresponds to CRM table CRMM_BUAG and to Contract account in IS-U table FKKVKP.

Table FKKVKP were enhanced with some z-fields,

so we are going to enhance corresponding CRM table CRMM_BUAG (or CRMM_BUAG_H) with that new fields..
But we see that these CRM and IS-U tables have far not the same field structures..

So, the question: Which crm and is-u tables i should look, enhance and replicate for Business agreement?

2) Access to Business agreement with possibility to add custom field:

I couldn't find in Web UI where i can directly edit profile of Business Agreement..
I've found just access to assignment block "Business agreement" on Account's profile overview page..(Role ServicePRO; Account details).

There I used AET to add custom field..but I faced with problem when the 1st popup appeared: there was no enhanced object "Business Agreement"..

Also in role "Utilities IC Agent" i've found "business agreement" profile but there I don't see buttons for adding custom fields..

So, the question is: Where I can access Business agreement profile to enhance it with custom fields for replication with IS-U?

3) CRM/IS-U data exchange functions:
I tend to use tcode CRMC_BUT_CALL_FU:
for CRM inbound event of BUAG object  - FM CRM_BUAG_MWX_PROCESS_EXT_STRUC..(as template).

Question: Am I right that it fits my requirement to replicate custom fields from IS-U to CRM?

Please tell me if you need more information..

Looking forward to your answers.

Thank you a lot in advance!

Kind regards,
Evgenia

Accepted Solutions (1)

Accepted Solutions (1)

nicolas_busson
Active Contributor
0 Kudos

Hello Evgenia,

Did you have a look at the corresponding cookbook describing how to replicate custom fields at business agreement level?

https://service.sap.com/~sapidb/011000358700000429982013E/ADD_FURTHER_FIELDS_BA_e.pdf

Regards,

Nicolas Busson.

Former Member
0 Kudos

Hello Nicolas!

Thank you so much for the link!

It seems I missed this document in my searches..

I'll try it asap and notify about the results.

Thank you!

BR,

Evgenia

Former Member
0 Kudos

Hello Nicolas,

Enhancement was done successfully. Now I can see in Web UI my new custom field. It's Ok.

But value of custom field from ERP wasn't moved to CRM...

Can you help me if I should do mapping of ERP and CRM tables manually?or it will be done automatically by SAP?

In document that you gave me there is just validation BADI. I'm not allowed to change data there...

Thanks in advance.

BR,
Evgenia

nicolas_busson
Active Contributor
0 Kudos

I guess it should be done automatically as soon as your fields have the same name in both systems. So I suppose you tested your enhancement by creating a contract account with Z fields in IS-U, and you noticed that those Z fields were still empty in CRM. Is that right?

Former Member
0 Kudos

No..
I'm transfering BUAG_MAIN Bdocs by CRM transaction R3AR4..

Before in tcode  R3AR2 i've defined request with condition for IS-U table FKKVKP.
Z-field of table FKKVKP is filled with its value.

nicolas_busson
Active Contributor
0 Kudos

Do you see your z fields in the coresponding Bdoc (tcode smw01)?

Former Member
0 Kudos

No, they weren't there..
I've re-checked your document again and noticed that there was missed structure CRMT_BUAGS_EI_SPEC_DATA.. So I've added there my custom fields too.

So now I have another problem: there is no any Bdoc at all..

nicolas_busson
Active Contributor
0 Kudos

Any dump in the system?

(check tcode ST22 both in ISU and CRM)

Former Member
0 Kudos

No. There are no any dumps in st22 in CRM and IS-U...

In R3AR3 (monitor) - it's staying in yellow status "Running"...

Message was edited by: Evgenia Skulinets

nicolas_busson
Active Contributor
0 Kudos

What about tcode SMQ1 / SMQ2 in ISU and CRM?

Former Member
0 Kudos

In SMQ2: "Error in Mapping" in FM BAPI_CRM_SAVE.


I'm trying to find in debug the place where it's happening..

Former Member
0 Kudos

FM: CRM_BUAG_MWX_DOWNLOAD_R3A  ->  FM CRM_BUAG_BAPIMTCS_TO_MAIN -> FM CRM_BUAG_BAPIMTCS_TO_MAIN -> form FILL_ONE_BUAG_FROM_BAPIMTCS  line 159

"Technical error occurred (114)" ... ?!

nicolas_busson
Active Contributor
0 Kudos

I would probably set a breakpoint in CRM_BUAG_BAPIMTCS_TO_MAIN and restart the queue from SMQ2... You'll probably find out that either you have an issue with a Unicode system trying to talk to a non-Unicode system (this is prone to errors), or you did not extend the structures mentioned in the guide I sent you exactly the same way on ISU and CRM (fields should have the same data element, and be in the same order).

shivalingesh
Explorer
0 Kudos

Hi nicolas,

I followeed the same document to enhance CRMM_BUAG_H

i appened all the structures mentioned ..

And when i save a doc its not updating in ECC .

when i check in smq1 its in ready state.

And in ECC idoc inbound queue there are no entries..,

but i am not getting where its going wrong..

tillmann_berger
Explorer
0 Kudos

Unfortunately, the link doesn't work anymore. Is there any other link available?

Thanks in advance

Tillmann

Answers (5)

Answers (5)

former_member785710
Discoverer
0 Kudos

Hello,

I cant access the forwarded links, I have same problem.

I cant add new field on business aggreement, there is no "create field" button on AET.

Anybody else can help me please ?

Regards,

Mevlüt Ekici

Former Member
0 Kudos

Hello,

In addition to the steps outlined in the pdf file,

https://websmp103.sap-ag.de/~sapidb/011000358700000429982013E/ADD_FURTHER_FIELDS_BA_e.pdf


please append the custom field to the structure
CRMT_BUAGS_EI_SPEC_DATA both in CRM and ISU for replication to work in EHP7.

Regards,

Himanshu Bhandari

Former Member
0 Kudos

Thank you all for your help!

former_member191572
Contributor
0 Kudos

Hi,

How you resolved that issue.l

Former Member
0 Kudos

Hi Gobi,

I used document that Nicolas gave me before:
"IS-U/CRM Integration: How to Add Further Fields to Business Agreements in SAP CRM 2007 and SAP CRM 7.0".
There was described 2 variants of actions. The 1st one didn't work for me. But the second was fine.

Former Member
0 Kudos

Issue is still pending.. I can't solve mapping issue..

former_member191572
Contributor
0 Kudos

Hi,

1. Check the bdoc, In the bdoc added z field having any data are not.

2. if the bdoc is not having the data, we need to do build a custom Bapi mtcs FM in crm system, In the FM as per our business logic we need to append the data in to the Zfield.

3. The newly created FM need to be added in to the View CRMC_BUT_CALL_FU. So that the data will be available in the Bdoc.

4. Similarly same thing need to be done in the receving system.

Former Member
0 Kudos

Anybody else can help me with custom replication for Business Agreement?

former_member191572
Contributor
0 Kudos

Hi,

After creating the fields through AET, In the ECC side you need to manually create the fields with the same name as in CRM and enable the corresponding FM in the View CRMC_BUT_CALL_FU, Then fields will be replicated automatically, The challenge is identifying the bapi structure..

Former Member
0 Kudos

Hi Gobi,

Thank you for advice. But:

I've created fields not by using AET - I used documentation that Nicolas suggested me above.

I've enhanced tables and structures that were mentioned there with my z-fields for both sides (CRM and ERP).
Also I looked CRMC_BUT_CALL_FU for CRM Inbound BUAG_MAIN - corresponding standard FMs are marked for call.

Any ideas?

Thanks in advance.

BR,

Evgenia