on 04-22-2010 4:02 PM
Hi Experts,
We have limited the number of bDocs from CRM to ECC for contact person creation. This was done by adding Z Function Module to table CRMC_BUT_CALL_FU, for CRMOU (CRM 4.0).
Now this caused a problem with the incomming bDocs (ECC -> CRM).
Is there a way to consider the sending side in our Z module?
I have also seen a Badi to control MW flow (CRM_DATAEXCHG_BADI).
Best regards,
Christina
Edited by: Christina Hammer on Apr 22, 2010 5:06 PM
Hi Christina,
Can you explain in detail what is the problem you face when the bdoc's come into CRM from ECC?
On a different token, CRMC_BUT_CALL_FU has an event field - BPOUT / BPIN for differentiating inbound and outbound transactions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Naresh,
To explain a bit more in detail.
The incoming bDoc corresponds to a newly created BP in R/3. When a new BP is created in R/3, we have a red bDoc with error message "Validation error occurred: Module CRM_BUPA_MAIN_VAL, BDoc type BUPA_MAIN", also with error message "BP with Guid XXXX does not exist (R11124)". Also we have a green BDoc without any error and finally the BP is replicated correctly to CRM.
But obviously the red bDoc is not desired.
The BPOUT and the BPIN exist for CRM 5.0 and higer, I believe.
But we are working with CRM4.0.
Best regards,
Christina
Edited by: Christina Hammer on Apr 22, 2010 9:12 PM
Christina,
The Bdoc in itself has an inbound / outbound flag. Can't you use that in your FM.
Can you also briefly explain what kind of validation error you are encountering on an inbound Bdoc ? I do not want to give a half-baked solution without understanding the root cause of the issue.
Naresh
Naresh:
On one hand, I do not know how to insert the sending side in our Z FM.
On the other hand, I do not understand the validation error of this bDoc. It is the first of 3 bDocs that ends with this error. This only happens for newly created BPs in R/3. Modification of existeing BPs does not cause erroneous bDoc.
As I stated before the messages are:
"Validation error occurred: Module CRM_BUPA_MAIN_VAL, BDoc type BUPA_MAIN" (EN),
"BP with Guid XXXX does not exist (R11124)" (Working language),
"BUPA_MW_EXCHANGE010" (Working language).
When I reprocess the bDoc, it still ends with the same error messages.
Best regards,
Christina
Hi Naresh:
I need to supress the incomming bDoc when the HEADER-OBJECT_TASK = U and the error message is ID=R11, Number=124.
These bDocs come with error. But later the BP is replicated by a correct bDoc anyway.
I am a little bit confused.
I think the problem could be solved with a Z FM in table CRMC_BUT_CALL_FU for CRMIN, BUPA. It should delete the C_BP_STRUCT-Partner in case the HEADER-OBJECT_TASK = U and the error message is ID=R11, Number=124. You mentioned this solution at the beginning of the thread.
What is the advantage of using view SMOFSUBINT?
Thanks and best regards,
Christina
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.