cancel
Showing results for 
Search instead for 
Did you mean: 

Credit card Deletion not replicating from ECC to CRM

Former Member
0 Kudos

Hi,

In my current project, we have a situation where if a user deletes the credit card details for a Customer in ECC, this change in not flowing back to CRM system. The BDOC for the customer is generated but returns a Validation error "No Credit Card Found". If any other Change is made to the customer like address or change to bank details those flow perfectly to the CRM system.

Are there any enteries that need to be maintained in the "smofparsfa" for Credit card replication.

Has any body come across such a situation, your help would be greatly appreciated.

Regards,

Nitin

Edited by: nitin sharma on Aug 11, 2011 7:33 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

vanessa_donegan
Active Participant
0 Kudos

Hi Nitin,

If the credit card you are deleting is a default card then you can get issues when removing this from the customer master in ECC. Please see notes 1313716, 1416413 and 1420742. If this is not a default credit card then it should be possible to delete.

Check the Bdoc in SMW01 to see if the card details are sent with a delete indicator task type 3.

It could be an exit stopping the removal if so.

I presume you are deleting in the customer master and not the sales transaction?

Kind regards,

Vanessa.

Former Member
0 Kudos

Thanks Vaneesa, and Yes I am deleting the card from the customer master. I checked the BDOC and yes there is a issue there, thought the BDOC was created and for the PAYCARDS structure which holds the credit card details there is a entry present but there are no values in it, except for Task and the value for that is "4".

Regards,

Nitin Sharma

Edited by: nitin sharma on Aug 11, 2011 9:07 PM

vanessa_donegan
Active Participant
0 Kudos

Hi Nitin,

This would indicate that the trigger to fill the Bdoc(well BAPI in ERP) with the payment card data is not happening in ERP. I would check if the credit card data is there when PI_BP_CUSTOMER_BTE_1321 is called after deletion in ERP. Also function PI_BP_CCARD_COLLECT_DATA would be a good place to check. You need to do this in debugging.

Kind regards,

Vanessa

Former Member
0 Kudos

Hi Vaneesa,

Thanks for the quick reply, I appreciate it. Could please tell me as t how do I debug for this issue, I had stopped the queues in CRM but that didn't help. So if you can tell me the steps that I need to perfom it would be a great help.

Regards,

Nitin

vanessa_donegan
Active Participant
0 Kudos

Hi Nitin,

I dont think the data is passed to CRM so you would need to start debugging on save of the BP in ERP. Put an externa break point in function CSR_SEND_TO_SERVER to test.

KInd regards,

Vanessa.

Former Member
0 Kudos

Hi Vanessa,

On further analysis of this issue I found that, my earlier observations were not entirely correct. I stopped the queue in CRM and debugged it, and found that the table "Bapistructures", in the FM "BAPI_CRM_SAVE", does have the details of the credit card, it also has other details which tell the following code its a Delta load and an Update.

Yet, I have not been able to find a answer as to why the BDOC structure when checked in SMW01 transaction against the Queue generated for the customer change does not have any credit card details in the structure PAYCARDS.

Since we are getting the data in BAPISTRUCTURES, I don't think there is any issue of data not being sent from the ECC side.

Any suggestion as to what might be happening or what should I check.

Regards,

Nitin Sharma

Former Member
0 Kudos

Hi Vanessa,

Thank you for all your support, I have been able to find the cause of this abnormality. It was something which I had suggested the business in my first analysis. I am grateful to you for your quick replies and also helping me learn some new things out of this.

Regards,

Nitin Sharma