cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Bpmon - Custom monitor - Get default values

former_member1109645
Participant
0 Kudos

Hi All,

I haev created a custom application monitor for R/3 system, and created a business process by giving some selection parameters in the

the selection screen. But there is a button called 'Get Default Values' in the selection screen in BPmon, when I click

on that I get a message 'Function to retrieve default values not implemented.'.I like to know the functionality for 'Get default Values' and

also how to implement the function to get default values.Please check attachment.

Thanks and regards,

Kannan N

Accepted Solutions (1)

Accepted Solutions (1)

keiji_mishima
Active Contributor
0 Kudos

Hi  Kannan

Regardin on the "custom application monitor", do you mean you develop custom monitor by using BPMon user exit framework ?

If it is so, please check your key figure setting via repository maintenance program.

(SE38=> Program /SSA/EXM => Project ECU => Choose your Monitor =>Define Keyfigure

=>Customize parameter).

Here you might select default value check box.

If you choose default value check box, default value check option, you can bring default value in the BPMon setup screen. But this is optinal setting. So if you do not need to bring default value, no need to choose this check box (in my past experience, I do not use this).

If you want to enable default value function, in addition to the above customize setting, you need to define corresponding coding to your monitor for  Form GET_DEFAULT_VALUES.

If you are talking about SAP delivered standard monitor's, please follow the Roland's advice.

Best Regards

Keiji Mishima

former_member1109645
Participant
0 Kudos

Hi Keiji,

Thanks for the reply. Yes I developed a custom monitor using BPMon User Exit frame work.

If i need to write get default values function, do i need to write it in the program Z_ECU_BPM_COLLECTOR?

If yes then the form GET_DEFAULT_VALUES how it will identify for which custom monitor it is defined?

FOr ex i have two monitors cust00 and cust01 then I need two FORMs, how can i differentiate?

do we have any document for this in SCN?

Thanks,

Kannan N

keiji_mishima
Active Contributor
0 Kudos

Hi Kannan N

Form GET_DEFAULT_VALUES is general name for get default value.

So for the real implementation, you need to include form DV_CUCUSTxx into the Z_ECU_BPM_COLLECTOR. "xx" indicates your monitor.

So for example, if you have CUST01, define  form DV_CUCUST01.

Coding template is like following.

__________________________________________________________________________
** FORM TO GET DEFAULT VALUES FOR PARAMETER WITHIN MONITORING SETUP
FORM DV_CUCUSTXX
                    TABLES   PT_CUSTTABS       TYPE TT_APPMONS
                             PT_CUSTTABP       TYPE TT_APPMONP
                             PT_ERRTEXT        TYPE TT_APPMONERRTEXT
                    CHANGING PT_SY_SUBRC       LIKE SY-SUBRC.

ENDFORM.

__________________________________________________________________________

Just for your info, I include how the above form is called.

You can use PT_CUSTTABP to search relevant information.

Hope it helpr your understanding.

And good luck.

Best Regards

Keiji Mishima

Answers (1)

Answers (1)

roland_hennessy
Contributor
0 Kudos

Hi Kannan,

Usually this issue is solved by reloading the Application Monitoring

objects again from the satelite system.

Therefore, please go to the BPmon setup session to the node

"Application Monitor",unselect the monitor object and save.

Afterwards and press on button "Load Application Monitoring objects

from satellite system" and select the objects again.

If the same problem occurs, please check that you are using the latest

versions of ST-PI and ST-A/PI on the satellite system (run report

RTCCTOOL, results should be green).

I hope this helps.

Kind regards,

Roland

former_member1109645
Participant
0 Kudos

hi Roland,

Thanks for the reply, but I don't know how to implement the function in satellite system and maintain default

values. Can you guide me how to maintain default values and implement the function.

Thanks ,

Kannan N