пятница, 10 октября 2014 г.

Middleware flow analysis

This diagram can be useful for middleware understanding:

Journey from ECC to CRM.
  1. Data is written in to the BAPI structure in the R/3 system  > written to the outbound queue
  1. Data is processed automatically and than written to the  inbound queue in the CRM
  1.  R/3 adapter is processing data. Mapping function is done BAPI is converted into mBDOC.
  1. mBDoc is saved in the CRM system.
  1. Bdoc validation is done by validation service. During validation CSA* queues are triggered, Replication service is linked in the MO* flow
  1. If no errors detected, data is saved to the Online DB and now it is available for the CRM users. If there are errors (Validation error) data is not written to the online DB and is not available for the CRM users

Journey from CRM to ECC.
  1. Data was changed in the CRM online DB by the CRM user
  1. Validation of the data is done directly in the dialog
  1. Changes are written to the CSA* queues
  1. Replication service is called it determines the system to which data need to be send
  1. R/3 outbound adapter is processing data (converting mBDoc to other format XML or BAPI)

Tables that are used during communication:
If we want to analyse time that was spent in the middleware part, we can use the following trx. SMWMFLOW > message flow statistics. 
No let have a look on the time distribution: 

Inbound time: 

Outbound time: 





среда, 8 октября 2014 г.

Solman - Managed system configuration: "No FQDN Found"

No FQDN Found.
Sometimes you can get the following error during managed system configuration: 
This issue can be solved in the following way: 
  • Open Agent Administration UI (SAP Solution Manager Administration > Agent Framework)
  • Select required agent\host
  • In the agent administration go to Application Configuration > com.sap.smd.agent.application.e2edcc: 



  • Now we need to add 2 parameters (add property): 
    • job.physicalhost.fqdn (check wiki link in order to understand FQDN)
    • job.physicalhost.ip (host ip address)
After you add parameters, you can press save and than go and check your result: