this blog shows you how to debug Product initial download in CRM system. It means after you create a material in ERP system, you can debug in CRM system how the material from ERP is downloaed and respective product is created in CRM. It could also be applied on any other business adapter objects. Hope it can help middleware beginners.
1.in CRM system, make sure the necessary customizing objects are downloaded successfully in CRM system before you try to download your main objects from ERP.
For Product download, the prerequisites are below. You can check their status in R3AM1.
2. in CRM system, make sure you have maintained the correct filter settings according to your download requirement in tcode R3AC1.
3. in CRM system, tcode SMQR, deregister the queue R3AI_MATERIAL. After you finish debugging, never forget to revert it back.
4. in CRM system, tcode R3AS to trigger initial download.
Then you see the window below.
5. Go to tcode SMQ2:
The queue R3AI_MATERIAL is expected to be here.
double click it:
now you can select the entry and click F8 to debug.
The debugger pops up automatically:
The Tables parameter BAPISTRUCTURES contains all the material data from ERP:
in princile the mapping module defined in R3AC1 should be called afterwards.
The theory is proven by debugging 🙂