cancel
Showing results for 
Search instead for 
Did you mean: 

Data extraction problem from live cache

Former Member
0 Kudos

Hello Friends,

I have received a request to extract all the planned orders with respect to a given resource.

To realize this, I created a function module where we pass Resource name and I register SIMSESSION and call function module /SAPAPO/OM_ACT_GET_BY_RES.

However I am getting the short dump LC_COM_ERROR while extracting data from this function module.

It seems to me that I am not able to register framework properly to extract data from /SAPAPO/OM_ACT_GET_BY_RES.

Can anyone of you guide me how to set up framework so that I can extract data from live cache in a Z program.

Thanks a lot for your help!

Best Regards,

Navin

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Navin,

Try using /SAPAPO/RRP_SIMSESSION_GET to get the IV_SIMSESSION.

Set is_gen_params-simversion with the simversion details.

Pass these details to /SAPAPO/OM_ACT_GET_BY_RES.

Importing IS_GEN_PARAMS, IV_SIMSESSION and IT_RES (with resid) to the module should work.

Hope this helps,

Chirag

Answers (0)