on 09-29-2011 11:35 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
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.