cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC Monitoring in the BPM

Former Member
0 Kudos

Dear SAP Experts,


I'm configuring BPM (Business Process Monitoring) for IDoc Monitoring with data collection in background mode.

The configuration and activation have been completed without any errors.

When I go on in the Alert Inbox of BPO (Business Process Operation) in the "Solman Workcenter", I see that the Alert is in a grey status.

As indicated in the Troubleshhoting Manual, I checked the steps below:

1. Table DSWP_BPM_ALERTS = 0 entry

2. Table DSWP_BPM_TIMESCH = next scheduled data collection for one of these monitoring objects lies more than 5 minutes in the past.

3. In transacytion STAD the AUTOABAP is NOT running and in transaction SM21 there are no logs.

4. Also in SLG1 there are no logs for user SAPSYS.

5. RFC Connection "READ" "LOGIN" and "BPM_LOCAL_<CLIENT>" are ok.

6. in the Managed Systems, job BPM_DATA_COLLECTION_X doesn't exist.


The version of SAP Solution Manager is 7.1 with the componets below:

ST-PI 2008_1_700 0006

ST 710         0006

ST-A/PI 01Q_700         0000

ST-SER 701_2010_1 0014

Managed System is an ERP ECC 6.0 with the components below:

ST-PI 2008_1_710 0007
ST-A/PI 01P_731         0000

Can you please help me?

Many thanks,
Tommaso

Accepted Solutions (1)

Accepted Solutions (1)

keiji_mishima
Active Contributor
0 Kudos

Hi Tommaso

Judging from the situation, I guess the issue exist non schedule following jobs.

BPM_DATA_COLLECTION_1

BPM_DATA_COLLECTION_2 (on demand)

From my perspective, following points are suspicious points. So please double check.

1.BPM_DATA_COLLECTION_* jobs are registered but hold.

   From the table tbtco, please search BPM_DATA_COLLECTION_* job by using
   field JOBNAME.

  If you found some result, I think job was somehow registered but not executed properly.

  And this is the issue.

2.Make sure your READ RFC user has proper authorization to open the

  BPM_DATA_COLLECTION_* job.

   Following authorization are required to open the Job. So check the ERP user that is

   used READ_RFC connection.  (General recommendation is install latest role described

   in note 1572183)

     OBJECT 'S_BTCH_ADM'
     ID 'BTCADMIN' FIELD 'Y'.


    OBJECT 'S_BTCH_JOB'
     ID 'JOBGROUP'  FIELD jobgroup
     ID 'JOBACTION' FIELD 'RELE'.


    OBJECT 'S_BTCH_ADM'
     ID 'BTCADMIN' FIELD 'Y'.

3.Make sure you have latest Note 1729752 & 1770726 in your managed system.

If above recommendation not help, I recommend create SAP customer message under the component SV-SMG-MON-BPM.

Best Regards

Keiji Mishima

Former Member
0 Kudos

Dear Keiji,

many thanks for your answer.

I can describe the problem I'm facing as follows:

I configured the BPM IDoc Monitoring on a Development System, then I generated and activated it.

No BPM_DATA_COLLECTION_* was started and at this moment, the AUTOABAP seems not to run.

It gives one record with 0 value displayed (screenshot_1).

I triggered manually the BPM_DATA_COLLECTION_* with this workaround:

RZ21 - Technical Infrastructure - Downtime Dispatching - Activate Data Collector Job (screenshot_2).

Now the job BPM_DATA_COLLECTION_1 is running on the managed system every 5 minutes.

But the problem is that is not collecting any data (screenshot_3).

The data collector status in the RZ20 of the Solution Manager system is empty, not started, and in my opinion, the AUTOABAP is not running.

Can you suggest me any action to do?

Many thanks,

Tommaso

keiji_mishima
Active Contributor
0 Kudos

Hi Tommaso

Thank you for the additional information.

Result that is collected via BPMon collection job needs to be retrive via data collector.

And BPMon data collector need to be executed via AUTOABAP.

So yes, as you assumed AUTOABAP not running seems issue.

There are some check point on this.

AutoABAP execution parameter is not correctly configured.

You can check the parameter via program RSPARAM => "rdisp/autoabaptime".

Normally the parameter should be defined as 300.

So make sure above parameter correctly defined.

Another possibility is, simply statical record is not taken due to timezone error.

In this case, even we look at STAD, we do not see anything.

So also recommend to check the timezone setting issue described in note 926290.

If parameter and timezone setting is ok, another point can be, look at syslog SM21 or dump log ST22 and check whether you see some error in syslog. Sometime you see some lock issue related to SAPSYS.

If above recommendation not help, I recommend create SAP customer message under the component BC-CCM-MON.

Best Regards

Keiji Mishima

Former Member
0 Kudos

Hi Keiji,

your help is very helpful.

Now I'm trying to understand why the AUTOBAP is still not running on the system where I configured the BPM.

I checked the SM50 and I found a dialog process called "SRT_CCMS_DATA_COLLECTOR" (screenshot_1)

Should it be responsible for the AUTOABAP is not running?

Do you know the meaning of this program running and what function it has?

Kindest regards,

Tommaso

keiji_mishima
Active Contributor
0 Kudos

Hi Tommaso

Yes, it seems SRT_CCMS_DATA_COLLECTOR is related.

Do you see any log in syslog(SM21), dump(ST22) or  lock on ALTLDPENQ in SM12? (refer to note 1654814).

For some reason SRT_CCMS_DATA_COLLECTOR is stopped.

If you do not use asynchronous WebServices monitoring, probably you can deactivate the data collector and cancel the hanging collector and locks.

To evaluate the issue, I recommend you to double check the issue coming from following data collector.

RZ20-> SAP CCMS Technical Expert Monitors->System / All Monitoring Segments / All Monitoring Contexts->server->
Web Service System Context, open this whole
structure and switch to view "status data collector".

I guess 1 of the data collector is not yet finish.


If you do not need "Web Service System Context" in RZ20, then please try to permanently disable this method, with the following steps: RZ21 -> Method definitions, locate method  "WS: SRT_Data_Collector" and double-click it.

1.1) On "Control" tab, please select "Manually executable only", and please also remove "Execute method immediately after monitoring segment start" (unmark it).

1.2) On "Release" tab, please remove the mark for "Data Collection Method".

1.3) Save it.


after that, cancel the sleeped process at Sm50.And also remove lock entry of
ALTLDPENQ in SM12

Best Regards

Keiji

Former Member
0 Kudos

Dear  Keiji,

first of all, many thanks for your precious help.

Last Friday I deleted the lock on the ALTLDPENQ E and I started manually the AUTOABAP with my user, esxecuting the SAPMSSY6 from RZ03, as you can see in the screenshot_2.

I also attach the RZ20-> SAP CCMS Technical Expert Monitors->System / All Monitoring Segments / All Monitoring Contexts->server->Web Service System Context screenshot_1.

Now the issue is: how to start the AUTOABAP automatically with the SAPSYS user?

Actually I don’t know if I need this asynchronous WebServices monitoring, I know I need to monitor synchronous IDocs on managed systems and this process probably started the first time I started the BPM Monitoring.

Can you suggest me any documentation to understand what this process is and does?

Anyway, in your opinion, can this sleeping process cause the AUTOABAP not to run?

Many thanks,

Tommaso

keiji_mishima
Active Contributor
0 Kudos

Hi Tommaso

On Web Service CCMS Monitor, I guess it was activated when the CCMS general template was activated. it is for sure, SolMan BPMon does not use such a MTE.

If the MTE is not used for system monitoring (technical monitoring) side, then it might not be used anyware. So  better to check this possibility.

Regarding on the AutoABAP, I am not sure how to restart as periodic job with SAPSYS.

Normally parameter "rdisp/autoabaptime" is properly, it is executed.

Do you see some error log in SMLG ?

1)From SMLG -> Goto -> System diagnoses -> Cyclic system prog (Note 16201 )

In some past case, these situation is solved when the system is restarted. If this is possible in your environment, how about trying this ?

If it is not and require real expert knowlege of CCMS (sorry I know BPMon but not so strong on CCMS itself), I recommend you to SAP customer message under the component BC-CCM-MON.

Best Regards

Keiji

Former Member
0 Kudos

Dear Keiji,

many thanks for your help.

After I canceled the pending process "WS: SRT_Data_Collector" in the SM50, the AUTOABAP restarted correctly 😉

So now the IDoc Monitoring is correctly functioning.

Really many thanks,

Tommaso

Answers (0)