Beruflich Dokumente
Kultur Dokumente
Creation of Recon Account number in ECC using CRM BP Number and Sales org. We need to stop the BDoc for Debug, the below steps are explaining how to stop the BDoc and how to debug the BDoc. We need check the RFC user using SM59. We need to change the RFC user from Communication mode to Dialog mode using SU01 Transaction in ECC and CRM servers. In Our current scenario RFC user name is RFCUSER.
Need to Implement middleware Exits for this.
Change the RFC user name (RFCUSER) from Communication to Dialog mode using SU01 its required in Both the servers.
Copy function module SAMPLE_INTERFACE_DE_BALE to your own function module say Z_INTERFACE_DE_BALE and save under Z_BUPA function Group We need to write our Logic in the new copied function module Z_INTERFACE_DE_BALE. Activate this FM Go to SM30 at ECC End. Enter the table name as TBE24 and click on Maintain . Enter following Entry there Product = Z_BUPA ( function Group) Text = User Exits In Middleware Adapter Active = 'X' (Select the check box there) Save the above Entry. Again go to SM30 and Enter the table name as TBE34 and click on Maintain. Enter following Entry there: EVENT = DE_BALE Product = Z_BUPA (our new Function group) Function module = Z_INTERFACE_DE_BALE(Copied function module) SAVE. In our function module we need to add logic and break point. Break RFCUSER. ( Logic available in the last page of this document.)
We needs to follow the below steps for STOP the BDOC , then it will be ready for testing. Step 1 : Go to SE37 and open the following Function Module CRM_UPLOAD_BTMBDOC_START_FLOW in CRM Server.
Enter the BP transaction and create a new BP in CRM server. While creating BP we need to enter Sales area data also. Save BP in CRM now the Break Point will get trigger. here we need change the ls_header-dbgmode from Initial to 'X'
Press F8
Now go to transaction smw01 and notice that the Bdoc is ready for debugging. Now the BDOC is ready for testing, State icon showing as a execute mode. Now we need to reprocess this BDoc.
Press F8.