cancel
Showing results for 
Search instead for 
Did you mean: 

Replicate Z fields in BP

Former Member
0 Kudos

Hi experts,

We are working on the SAP R/3 4.6 C and the CRM 4.0 scenario.

We have added some Z fields in the BP transaction through EEWB.

Now i need to replicate the data in these Z fileds to be delta downloaded to the customer master in R/3.

Should i add the z fileds to KNA1 table or i should add the fields in the Screens of Customer Master(XD01).

Pls advise.

I am refering to the doc for the Object extension in 3.0.

Thanks in advance.

Rohita D

Accepted Solutions (1)

Accepted Solutions (1)

former_member927251
Active Contributor
0 Kudos

Hi Rohita,

I have sent you the docs which explains the procedure the achieve the same at m_rohi@rediffmail.com.

<b>Reward points if it helps.</b>

Regards,

Amit Mishra

gregorw
Active Contributor
0 Kudos

Hi Amit,

what's about posting this Docs as a Weblog here in SDN?

Regards

Gregor

Answers (1)

Answers (1)

former_member927251
Active Contributor
0 Kudos

Hi Rohita,

Use the transaction BUPT to add the custom fields to the transaction BP. The custom fields will go under the table BUT000. Then start replicating the data.

<b>Reward points if it helps.</b>

Former Member
0 Kudos

Hi Amit,

I have already added the fileds in CRM.Now i need to add these to customer master in R/3.

Is BUPT the transaction there also in R/3?

Thanks in advance.

Rohita.

former_member927251
Active Contributor
0 Kudos

Yes.

<b>Note : Kindly reward points if it helps.</b>

Former Member
0 Kudos

Hi Rohita or Amit.

will you be using EEWB tool as well as BUPT. Does that mean BUPT will enhance only the user interface and the EEWB tool will enhance the database and function module ???

I am of the assumption that EEWB tool will enhance the user interface too and hence there is no need to use BUPT itself....

please clarify.

jothi.

former_member927251
Active Contributor
0 Kudos

Hi Jothi,

Rohita wants to add the custom fields on R/3 side and I don't think there we have EEWB.

Also, for your information there is no difference in the end result achieved with EEWB and BUPT. Only the difference is EEWB generates the structure, views and screen automatically and in BUPT we need to define the field groups, views, sections and screen manually.

Regards,

Amit Mishra

Former Member
0 Kudos

Thanks Amit.

points awarded.

Former Member
0 Kudos

Hi Amit,

Sorry to bother you again.

Let me give a back drop to you.

I am working in a CRM 4.0 and R/3 4.6C environment.

I had added around 10 Z fileds to the BP transaction in CRM using EEWB.

The Business process calls for creating the BP's in CRM and delta downlaoding the same to R/3.

I need to populate the data in the Z fields to the Customer master in the R/3 as part of the delta download.

How can i add those 10 z fileds in the customer master of the R/3 using the T.Code : BUPT

I would be writing a custom Bdoc so that these z fileds are also delta downloaded.

Thanks in advance.

Former Member
0 Kudos

Hi Rohita,

in the R/3 customer we do not have the luxury of a bupt. Enhacing the customer master in R/3 is different stuff: best to ask it in the ERP forum to some SD experts.

If you want to integrate the CRM eewb fields to R/3 however, you do not need to create an additional Bdoc. The fields are present in the bupa_main bdoc and you can use user-exit smoutil2(or 3: one of the two) to add the fields to the bapi structures of the R/3 call. This way you can extract the fields on R/3 side in one of the user-exits of the integration and map them to whatever fields you'd like (or save them directly in the customer master tables if there is no other choice).

Michael.

Former Member
0 Kudos

Hi Michael,

Thanks for the input.

I am not sure what is the best way to move forward.

As advised i would use the user exit and instead of additional BDoc.

Should i be enhancing the customer master in R/3 or just add the Z fields to the KNA1.

Pls advise.

Rohita.

Former Member
0 Kudos

You'll have to add the Z-fields to the KNA1 anyway, so no point in hesitating: append them in an append structure.

Question is: will you maintain the fields in R/3 as well? and do these changes need to be transfered to CRM?

If not: just maintain the using the user-exit

If so: big problem.

Michael.

Former Member
0 Kudos

Thanks Michael for the valuable advise.

We would not be maintaining the customers in R/3.

I guess this will make development less complex.

Another querry in line with this.

When the BP is in the process of getting delta downloaded to R/3 can we trigger a custom developed customer hierrarchy assignment in R/3.

I have identified the exit in customer master of R/3 (while saving )from which i can triger my custom developed hierarchy assignment.But my only gut feeling was that would this be triggered when the doc is comming from the delta.

Thanks for your support.

Rohita D.

Former Member
0 Kudos

Hi Rohita,

I did the same once by triggering an idoc from the bdoc update in user-exit CRM0_200: because that's the only place where you're sure that the customper has been saved. This way, you can call the bapi for the customer hierarchy update in R/3 (which performs all the same checks as the online transaction).

Putting it in an idoc allows you to capture the errors.

Michael.

Former Member
0 Kudos

Hi Michael,

Thanks for the reply.

I have identifed a user exit in Customer Master of the R/3 which gets trigered (To update the hierarchy)when the customer is saved manually.

Since the BP would be created in CRM and delta downloaded to r/3 will this exit be triggered?

Reason behind was that we wanted to update the customer hierarchy only after the BP has flown in the R/3.

Pls advise.

Thanks.

Former Member
0 Kudos

as said,

the only one of which i'm sure is exit CRM0_200.

--> the user-exit is probably called before the save in r/3.

You can test whether and when he's called by adding an eternal loop in the coding and by debugging from sm50.

--> or by creating a Z-table to store the fields you can find within the user-exit during the r/3 process.

Michael.

Former Member
0 Kudos

Hi Michael,

I have a requirment to create a Z field in ECC customer master and pass it to CRM Z field. I have created a appended the z field in KNA1 table and used the CUSTOMER_ADD_DATA/CUSTOMER_ADD_DATA_CS badi to make this field available in XD01/XD02/XD03 transaction. So far so good. I have added the Z field in CRM BUT000 using the Application Enhancement tool ( we are on CRM 7.0). Now the next step is to enable the exchange from ECC to CRM as we maintain the customers in ECC.

For that I have implemented the USER Exit DE_EIOUT. This is also fine. But the problem I am facing is that when I change the Z field and hit save it is not triggering the event 1321 and not calling my User Exit.

Can you please suggest what I am missing. How to trigger the data exchange for the custom z fields.

Thanks in advance.

Vikash.