on 06-28-2010 9:03 AM
HI Gurus,
I want to read AMON1 data from live cache.Could you guys help me in this.
Regards
Hi,
One option will be to make use of function modules to extarct data:
These are some FMs.
/SAPAPO/OM_ALERTMONITOR LiveCache - Alert monitor interface
/SAPAPO/OM_ALERTS_DELAY_ORDER Gets (Indirect) Alerts in Order Network
/SAPAPO/OM_ALERTS_GET_DATA Gets Alerts Saved in liveCache
/SAPAPO/OM_ALERTS_IN_ORDER_NET Gets (Indirect) Alerts in Order Network
You may find addtional in SE37 with /SAPAPO/alert search.
Regards
Datta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can get the current content of the variables by calling
CALL FUNCTION '/SAPAPO/RRP_SIMSESSION_GET'
IMPORTING
ev_simsession = lv_simsession
es_gen_params = ls_gen_params.
The function reads the global values.
If you are calling the alert monitor in the context of an existing transaction.
If you do not use a standard transaction you need to start your own simsession.
CALL FUNCTION '/SAPAPO/RRP_SIMSESSION_CREATE'
look for where used list of this function module how it is called.
CALL FUNCTION '/SAPAPO/OM_ALERTS_GET_DATA'
EXPORTING
is_gen_params = ls_gen_params
iv_simsession = lv_simsession
it_peglist = lt_pegid
it_alertid = lt_alertid
IMPORTING
et_alerts = lt_alerts
et_rc = lt_rc
EXCEPTIONS
lc_connect_failed = 1
lc_com_error = 2
lc_appl_error = 3
OTHERS = 4.
There is a new book on Programming in SAP APO. You might want to check that out.
http://www.flipkart.com/programming-sap-apo-1st/p/itmdgt9hbdh6auzu?pid=9781259028441&ref=bc49ea80-1a...
User | Count |
---|---|
8 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.