cancel
Showing results for 
Search instead for 
Did you mean: 

Define a COM-Routine to read data from livecache

Former Member
0 Kudos

Hey

Is it possible to define a own COM-Routine to read data from the livecach?

When yes, how can i do that?

Thanks

Sven

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

There are BAPIs to read / write data to livecache.

The read functions are named BAPI_*SRVAPS_GETLIST, for example BAPI_MOSRVAPS_GETLIST reads manufacturing orders from livecache.

These are for SNP/PPDS data, is that what you want?

Former Member
0 Kudos

A sample you find in the FM /SAPAPO/OM_PEGID_GET_IO

* COM-Routine zum Auslesen aller Zu- und Abgangselemente
  EXEC                                                  "#EC CI_EXECSQL
     SQL.
    EXECUTE PROCEDURE "APS_PEGID_GET_IO" (
                         IN  :LS_GEN_COM_PARAMS,
                         OUT :LV_RC,
                         OUT :ET_RC,
                         IN  :IT_PEGAREA,
                         IN  :IT_PEGID_DESC_CHAR,
                         IN  :IT_ORDER_TYPES,
                         IN  :IT_ORDER_STATUS,
                         IN  :IT_CATEGORY,
                         IN  :IT_CHARACT_REQ_OUTNODE,
                         IN  :IT_CHARACT_VAL_INPNODE,
                         IN  :IT_SUPPLY_AREA,
                         IN  :IT_EXT_FIXED,
                         IN  :IT_TOPORDER_EXCLUDES,
                         IN  :IV_IONODE_PEG_SEL,
                         IN  :IV_PEGARC_TYPE_SEL,
                         IN  :IV_START_TIME,
                         IN  :IV_END_TIME,
                         IN  :IT_ORDER_REQTIME,
                         OUT :ET_POSITIONS,
                         OUT :ET_IONODES,
                         OUT :ET_IONODES_CONF,
                         OUT :ET_CONTI_IO,
                         OUT :ET_CHARACT_REQ_INPNODE,
                         OUT :ET_CHARACT_VAL_OUTNODE,
                         OUT :ET_FIXPEG)

0 Kudos

What does this give you that the BAPIs don't?