CRM Service Debugging

Published on September 2018 | Categories: Documents | Downloads: 23 | Comments: 0 | Views: 558
of 2
Download PDF   Embed   Report

Comments

Content

CRM Service Debugging.txt Symptom You want to debug the data exchange between CRM and R3 for service documents. Reason and Prerequisites Data is sent to the R3 system via the CRM Middleware. The data is sent asynchronously Solution Before you save the service document, enter /h and set a breakpoint in the function module CRM_UPLOAD_BTMBDOC_START_FLOW Go into the first method, CALL METHOD cl_smw_mflow=>process_outbound (line 33), and set ls_header-dbg_mode to X (line 37). With F8, you'll return to the service order. Now click on the Doc_flow. You'll see an outbund BDOC with the date BUS_TRANS_MSG and D01. (If you can't see the BDOC, set the user parameter CRM_USER_LEVEL to 9 in your user parameters). Double click the BDOC. Enter /h and set a breakpoint at one of the following function modules: CRM_R3_ACCOUNTING_UPLOAD passes Controlling information for service contracts and service orders CRM_R3_SERVICECONF_UPLOAD passes Controlling information for service confirmations CRM_R3_SRV_RESERVATION_UPLOAD is called for material reservations CRM_R3_SALESDOCUMENT_UPLOAD is called for sales relevant information (for example, if you have sales items in a service document) CRM_R3_SERVICE_BILLING_UPLOAD for billing of service orders in R3 (only available with the SIE add-on). Reprocess the BDOC. Set a breakpoint at the line IF lv_synchronous_call IS INITIAL or IF gv_synchronous_call IS INITIAL. F8 brings you to this breakpoint. Set lv_synchronous_call/gv_synchronous_call to X and with F5 you'll enter R3 debugging. Make sure that the RFC user used for communicating between the systems is defined as a dialog user. Important: you should not set a BDOC to debug status in a productive system, as this can lead to inconsistencies. In this case, you should deregister the queues via transaction SMQR. The queue name is CSA_ORDER_ followed by the no. of the service document

SET_GOODS_MOVEMENT_SERVICE_SCN BAPI_GOODSMVT_CREATE Page 1

CRM Service Debugging.txt https://websmp202.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000647973&_SCENARIO=01 100035870000000112&_OBJECT=011000358700003057372006E

Page 2

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close