Skip to Content

The product initial download is triggered in CRM system. When you use tcode R3AS to start initial download with load object = Material, the respective Material data will be assembled by ERP extractor is sent to CRM system and get handled there. In the previous blog I show you how to debug this CRM inbound behavior. In this blog I will show you how to debug the outbound scenario in ERP side( for example, how does ERP extract work)

  • CRM system: QDD/504
  • ERP system: Q7Q/504

1. Start initial load as usual via tcode R3AS in CRM.

/wp-content/uploads/2013/11/clipboard1_332758.png

Note: In order to debug the outbound processing in ERP system, please make sure you have enabled “TRFC Block Sending” in your debugger setting.

/wp-content/uploads/2013/11/clipboard2_332783.png

2. Go to tcode SMQ1 in CRM:

/wp-content/uploads/2013/11/clipboard3_332784.png

find the outbound queue R3AI_MATERIAL with host = Q7Q/504:

/wp-content/uploads/2013/11/clipboard4_332785.png

double click the entry to its detail view:

/wp-content/uploads/2013/11/clipboard5_332787.png

double click the entry once more, and then click F8 to debug:

/wp-content/uploads/2013/11/clipboard6_332788.png

and the debugger in ERP system Q7Q will automatically be triggered:

/wp-content/uploads/2013/11/clipboard7_332792.png

The extractor name is returned by this FM:

/wp-content/uploads/2013/11/clipboard8_332793.png

This is the extractor for Material in ERP system:

/wp-content/uploads/2013/11/clipboard9_332795.png

it will be called to assemble the lists of material which are to be sent to CRM:

/wp-content/uploads/2013/11/clipboard10_332796.png

The gt_range just stores the filter settings you maintain in CRM system via tcode R3AC1.

/wp-content/uploads/2013/11/clipboard11_332798.png

The actual data retrieve from ERP DB table MARA is done here:

/wp-content/uploads/2013/11/clipboard12_332799.png

Finally the generic function module CRS_SEND_TO_SERVER is called in ERP side, which will send the corresponding material to CRM system:

/wp-content/uploads/2013/11/clipboard13_332800.png

the data to be sent is included in lt_bapimtcs:

/wp-content/uploads/2013/11/clipboard14_332804.png

To report this post you need to login first.

6 Comments

You must be Logged on to comment or reply to a post.

Leave a Reply