CRM BDoc
We are transferring BDOCs to our R/3 system via the BUPA_MAIN BDOC.
The problem we have is that our R/3 system is heavily modified.
What I would really like to know is to find out which function module / BAPI / RFC / Class is called by the CRM business partner creation BDOC on the R/3 server that actually begins the creation of business partner transaction - so that we can debug on it.
If anyone knows what the function module is ( or if its a generated function module - how to find what the generated module is) this would greatly assist us in our analysis of the problem.
Many thanks in advance.
Hi Vin,
In CRM system, the main MF called is CRM_UPLOAD_AFTER_MAP_HANDLER. Here, pay attention to the following call:
IF lv_synchron IS INITIAL.
CALL FUNCTION 'CRM_UPLOAD_TRIGGER'
IN BACKGROUND TASK
DESTINATION gv_smof_erpsh-rfcdest AS SEPARATE UNIT
EXPORTING
i_bapicrmuh1 = i_bapicrmuh1
TABLES
ti_bapimtcs = lt_bapimtcs_x
ti_bapiparex = t_bapiparex
ti_bapicrmsfk = t_bapicrmsfk
ti_event = lt_crmevobj.
ELSE.
CALL FUNCTION 'CRM_UPLOAD_TRIGGER'
DESTINATION gv_smof_erpsh-rfcdest
EXPORTING
i_bapicrmuh1 = i_bapicrmuh1
TABLES
ti_bapimtcs = lt_bapimtcs_x
ti_bapiparex = t_bapiparex
ti_bapicrmsfk = t_bapicrmsfk
ti_event = lt_crmevobj.
ENDIF.
This piece of code will be responsible for the RFC call to the R3 system. You can start debug it from here.
For me the main objects in R3 system to debug are MF PI_BP_PROXY_BAPI_CUSTOMER or include LVV02F3J (where the call transaction will be made).
Finally, just to add that in order to debug in R3 system, you'll need to set an external break-point to the user that makes the RFC call (configured in SM59 - Must be dialog user).
Hope that this may help you a little more.
Kind regards,
Garcia
Similar Messages
-
Hi,
please tell me if BDOC is the same as IDOC or where are differences. How is the administration of BDOCs handled?
Sorry, don't know - new to CRM.
Kind regards,
ClemensHi Clemens,
Please check this links perhaps it may help for quick introduction.
http://www.sapgenie.com/mysap/crm/middleware.htm
http://www.sapgenie.com/mysap/crm/bdoc.htm
Regards,
Ferry Lianto
Please reward points if helpful. -
Hi,
Can anybody please send me some CRM Bdoc documentation.I will reward the person with points.Hoping for some help on this..
My mail id is [email protected]
Thanks and Regards,
Amit.Hi Amith,
Please have a look the following link for your information.
http://help.sap.com/saphelp_crm50/helpdata/en/b7/d4ef3a1cc5862ae10000000a11402f/frameset.htm
Best Regards,
Johnny. -
Initial Load of IS-U business partners to CRM - bdoc error
Hi Gurus,
i try to do an initial download from R/3 IS-U to CRM. Several objects from customizing have already been downloaded successfully. When downloading the business partners i get a bdoc error message for every single BP saying that
'business partner role MKK is not available' Number R1206
I figured out that the business partners in IS-U do have that role 'Contract partner' (which is technical 'MKK') and that data is maintained there. I also checked CRM and figured out that a business partner role 'contract partner' is not available there.
Should i create it manually?? It is nowhere mentioned that a CRM role 'contract partner' should be created manually. Shouldn't the middleware do that? I found a document on service marketplace called 'IS-U specifics on the setup and load guide for the business partners' where i can read:
'Sold-to-parties in CRM are replicated as contract partners in the OLTP system and vice versa'
Does that mean that this mapping of roles is hardcoded? Is it customizeable? Does somenone know where to customize the mapping of business partner roles?
Thank you
Edited by: sapgipsy on Mar 19, 2010 4:21 PM
Edited by: sapgipsy on Mar 19, 2010 4:22 PMLooks like as if you haven't activated the IS-U specific FM "COM_BUPA_MWX_BPS_FILL_ISU" in the BP middleware framework where the conversion between the IS-U role "MKK" and the CRM role "CRM000" takes place:
Check via SM30 table com_bupa_call_fu in the IS-U system if the above FM is activated.
Regards,
Alexander -
Hi all,
I want to transfer condition records from CRM to R/3. To do this we enhance BDOC type:CRM_MKTPL_MKTELEM by creating new child segment with additional fields. We need to populate these fields. How do we find out the BADI to populate these fields?
Its very ugent!!
Thanks in Advance!!Hi Ntk,
Thanks for your reply.
I tried to search in se18. I found one BADI that runs when users enter new materials or changes the quantity of the sales order.
This one does not help us too much, because when you go to conditions tab (into CRMD_ORDER or via ICWEB) all conditions are redetermined with the pricing determined in IPC.
We want to fill the conditions of the sales orders or the sales quotations at running time. In the BADI we would use the function module RFC SD_SALESDOCUMENT_CREATE (in simulation mode) in R/3 and retrieve all conditions fields and then populate the pricing conditions in CRM.
Do you know any BADI with this behaviour? Or another similar?
THANKS! -
Hi All,
I have extended BUS_TRANS_MSG Bdoc with custom Fileds ( as per requirement) and am looking to Convert the BDoc to IDoc.
So Can any one know how to convert Bdoc to Idoc in SAP CRM 7.0.
Kindly help me on this.
Thanks,
RajaHello,
The best way to interface data from CRM to external systems is by using the XIF adapter.
The XIF adapter can be used to create outbound extractions via CRM middleware. Look in this forum or read the documentation for CRMXIF_ORDER_SAVE in your system to get a basic understanding.
Basically you need to setup an outbound subscription to the XIF adapter for all business transactions.
If you want to brute force the problem use the CRM_ORDER_READ function module combined with custom selects on CRMD_ORDER_INDEX to grab most of the data needed.
some helpful links:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/406efa7e-388a-2910-f9b8-81913b0ca57f?quicklink=index&overridelayout=true
XIF adapter
regards,
Wim Olieman -
CRM BDoc Modeler - Problem while creating a new segment
Hi all;
I have created a new BDoc type and wanted to add a segment. I imported a structure with some QUAN fields and a UNIT type fields. While activating segment, I got an error. I saw that the structure was not activated since I used some QUAN type fields and they were not assigned a UNIT type field. But the assignment was already done in the structure I imported. Is there a solution to use QUAN fields in segment definitions or what data element should I use instead of them?
Thanks for your answers in advance;
HakanHi all;
I have created a new BDoc type and wanted to add a segment. I imported a structure with some QUAN fields and a UNIT type fields. While activating segment, I got an error. I saw that the structure was not activated since I used some QUAN type fields and they were not assigned a UNIT type field. But the assignment was already done in the structure I imported. Is there a solution to use QUAN fields in segment definitions or what data element should I use instead of them?
Thanks for your answers in advance;
Hakan -
CRM middleware replication, Bdoc modelling ......
Hello,
I am currently on to CRM middleware, ........ I need to do some work related to replication of data from ECC to CRM, Bdoc modelling, error handling etc.
I actually went thru the posts, but could not quite get the clarity.
Can anyone pls let me know where to start..... to get a good underatanding of CRM middleware , any documentations on CRM middleware would be of great help.
Thanks a lot !!
Veena.Dear Veena,
To get a good understanding of R/3 and CRM master data replication, the SAP best practices
C71- Connectivity
B01- Generation
B09- Customising Replication
C01- CRM OrgModel
C03-Master and Transactional data replication
will help you a lot in real time process. For basics & fundamentals, you need to go thru the CR500 and CR550 which can really help you.
About error handling, better you search the SAP NOTES in CRM Middleware section.
But for your client specific scenarios, you should again post threads on SDN with proper requirements.
Thanks®ards,
kalyan -
Help with Webservice to CRM scenario
Hey guys
i have a scenario in which users will buy some atricles through a website(shopping cart) and that info has to be posted to a CRM system.its an async scenario
do i need to know about BDOC's too or only knowledge of IDOC should be ok.
i m developing my interface as SOAP-XI-IDOC,is this right?
also which IDOC will be most suitable to implement this type of scenario
thanx
ahmadHi Ahmad,
<i>do i need to know about BDOC's too or only knowledge of IDOC should be ok.</i> - see this thing you will have to see that whether the data you want to post in CRM is having an IDOC or a BDOC for it.........XI doesn't deal with BDOC.....so if you have a BDOC for it in CRM, then in XI you will do SOAP-XI-IDOC scenario and in CRM you will map this IDOC to your CRM BDOC.
Thanks,
Rajeev Gupta
Message was edited by:
RAJEEV GUPTA -
Dear Experts,
We are creating an order in CRM2007 but unable to upload into ECC6.0.
When we create an order in crm BDOC has been generated with green when we click on the error message we are able to see errors with following
"Sold-to party 700001 not maintained for sales area 7777"
"Sales document 0005000005 was not changed"
But in the ECC we already maintained sales area for the sold to party 7000001.
Plz go through the links you will be getting clear idea what error we are facing .
1)http://s657.photobucket.com/albums/uu298/vallabhaneni/?action=view¤t=oderdromcrmtoecc.jpg
2)http://s657.photobucket.com/albums/uu298/vallabhaneni/?action=view¤t=ecccustomer.jpg
3)http://s657.photobucket.com/albums/uu298/vallabhaneni/?action=view¤t=eccoder.jpg
Thanks & Regards
V.SrinivasHI Srinivas,
I am sure you are doing some mistake somewhere. One way to check that is; try to make the exactly same order in ECC with exact same data.
Even in this message; in first place you have mentioned sold to part 700001 whereas in the second place you mentioned 7000001. That is a typical problem everyone do (mistyping the number of zeros). make sure thats not your issue.
Regards,
L -
Regarding BDoc need to convert to R/3 usering xi
HI Guys,
I would like to design a senario CRM BDOC need to Convert to IDoc Useing SAP XI.Is it possible if any one done these job can you please let me know..
Thanks
HariHi Ram,
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb9bb2b2660">How to sample IDOC</a>
Regards Mario -
DIFFERENCE BETWEEN iDOC MESSAGING AND bDOC MESSAGING
hI
gurus what is the diffrence between idoc messaging and bdoc messaging?
K. MangalumHi Kumara,
BDOC:
Container of business data that belongs together, for example customer, contact person, order or activity. This means that it contains all required information for a business process. The technical representation of a BDoc type is completely independent. There are many possible representations for a BDoc type.
For example, a BDoc type can be represented as follows:
as a collection of internal ABAP table structures (on the CRM Server),
by ADO record sets (on mobile clients),
as an XML form (for non-SAP systems), or,
as an IDoc.
Therefore a BDoc type is a semantic collection of business data and not a syntactical description.
There are three classes of BDoc types:
BDoc types exclusively used for mobile applications
They consist of a hierarchical data segment structure with assignment to database tables.
BDoc types for synchronization between the consolidated database in the CRM Server and mobile applications
They consist of a hierarchical segment structure with assignment to database tables.
BDoc types exclusively used for non-mobile applications
They consist of:
a hierarchical segment structure with no assignment to database tables,
additional data (complex data type modeled in the ABAP Dictionary)
Standard BDoc types are provided by SAP. Additional BDoc types can be modeled by customers.
Idoc:
IDOC: An intermediate document, container for exchanging data between R/3 and other SAP and non-SAP applications. Structured collection of segments. Segments are structured collection of data elements.
General Structure
IDocs contain administration information for technical processing, as well as the actual application data, which is stored in segments. A segment comprises segment fields as the smallest unit of the IDoc - comparable with the data elements from the EDIFACT standard.
In the SAP System, the processing status ("what has happened to the IDoc before now?") is stored in the IDoc status information. The status information also contains details about errors and indicates the data in which the error occurred. This status information is not forwarded as part of the IDoc but separately using "status processing".
IDoc types (special structure)
An IDoc type is defined through its permitted segments. Segments can be dependent on each other (parent and child segments). For example, segment E1EDPT1 (document item text identification) is a child segment of segment E1EDP01 (document item data, general) in IDoc type EXPINV01 (export billing) and a child segment of E1EDP07 (order data shipping notification) in IDoc type DESADV01 (shipping notification). The segment, therefore, is used in several contexts and is the "child" of several "parents".
CRM Bdoc and IDoc are both persisted data structures.
Idoc works on a particular technology called ALE and is used for data exchange between two R/3 systems
Regards,
Satish Mathala -
Hi,
Can anyone send me the douments regarding Bdocs.
Regards,
MonicaHi Monica,
some useful links
CRM BDocs
Bdocs in CRM
crm bdocs
Bdocs not generated
Thanks
Janani
Award points if helpful -
Error: No valid complaint data was found in this sales area
Hi All,
I am getting below error while delta or request download of customer.
No valid complaint data was found in this sales area
Message no. CRM_SPL_BUPA_FRG0010203
Validation error occurred: Module CRM_BUPA_MAIN_VAL, BDoc type BUPA_MAIN.
Message no. SMW3018
Error case:
ECC-->Customer(Sold to) extended to a sales area and saved.
CRM-->Business partner gets updated in the CRM properly.
ECC--> Deletion flag for same customer and same sales area is set. (Deletion flag - "Selected sales area").
CRM-->Business partner gets updated in the CRM properly and is not shown as extended to the sales area via BP t code.
ECC-->Deletion flag is removed for the customer.
CRM--> BDOC fails to update the Partner and goes in error.
Problem comes when deletion flag is removed in ECC.
Any help would be highly appreciated.
Thanks in advance.
-RamHi Ram,
Hope you have not make any field mandatory in the Complaint tab in the sales area section in the BP.
When you are removing the deletion flag please check if any entry is mandatory in the Complaint tab.
Hope this will be useful
Thanks and Regards
DJ -
Tcode SMW01 in SAP CRM
Bdoc Error
Bdoc State: E08
Bdoc Description: Mapping error
Bdoc Type: BUS_TRANS_MSG
Bdoc Detail Error Description: Business transaction type ZZZZ does not exist
The ZZZZ is a quotation transaction type maintained in ECC. But we donu2019t want this replicated in CRM, reason why ZZZZ is not maintained in CRM. The queues in SMQ2 is building-up with these error (R3AD_SALESD* with SYSFAIL status), is there a way to block, filter etc. this transaction type to exclude it from replication? Or other better way to address the problem?
Thanks in advance!Hi Noel
try setting a filter on object SALESDOCUMENT in Transaction R3AC1.
Table=VBAK
Field = AUART( its a guess, can't check it in a system)
OP = NE> Not Euqal
Low = ZZZZ
save it. your filters wil also be updated to R/3
Hope it helps
best regards,
Remko
Maybe you are looking for
-
How to retain the PDF's compression when changing the PDF version?
Hi, I need to change the PDF version from "1.5" to "1.6" without changing the original PDF compression (i.e compressed object streams) using "Acrobat X pro". I had tried to change one sample PDF version from 1.5 to 1.6 using "PDF Optimizer" and found
-
Is There a Keyboard Combo to Show the Old Screen Rotation in the Displays Setting?
Hi. Usually Apple's Option key shows hidden features in OS X but it doesn't seem to show the screen rotation (90, 180, 270, degrees if I remember.) anymore. Is there a Terminal or a keyboard combo that'll make it appear because I need to use Grab to
-
Photos From Computer To Touch, help!
Hello all! Whenever I plug in my ipod touch and it starts to sync, it automatically starts to take all of my pictures that are on my computer and copies them to my touch. I have thousands of photos, I don't want them all to be transfered to my ipod.
-
Photoshop not working since updated Aperture software
I have been using photoshop CS5 within Aperture for over a year now. Unfortunately Photoshop has stopped working properly since I updated the Aperture software to the latest version. I am trying to do some selective colouring but the brush tool is no
-
Hi All, I am importing Item Master Data through DTW and getting this error, -- Value must be whole number in property 'OrderIntervals' of 'Item'65170-- I have not defined order interval but even after defining it, error remains same. Please let me h