cancel
Showing results for 
Search instead for 
Did you mean: 

LC_APPL_ERROR in /SAPAPO/OM_ORDER_GET_DATA

Former Member
0 Kudos


Hi All,

I'm using /SAPAPO/OM_ORDER_GET_DATA to fetch the orders from liveCache. But I'm facing the error LC_APPL_ERROR randomly for certain records.

Why does this error LC_APPL_ERROR rise? What can be done to avoid this error?

Pls help...this is an urgent requirement...

Thanks & Regards,

SriLalitha.

Accepted Solutions (0)

Answers (2)

Answers (2)

tiago_furlanetto
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi SriLalitha,

LC_APPL_ERROR can have many different causes.


In general, in the output of the FM you can find in ET_RC[]-RC what is the return code of the error that happened in the liveCache.


You can, then, execute transaction /SAPAPO/OM10 and check what is the short text of that return code.


Please, check if you can find out the return code of the error and what is its meaning. This should give you a hint on what's wrong and how to avoid the error.


Regards,

Tiago

Former Member
0 Kudos

Hi Tiago,

The return code of the error is 40 - orders not available in liveCache. But the orders are present in the LC, I have created them.

Regards,

SriLalitha.

ajayprakash
Explorer
0 Kudos

Hi Lalitha,

What sort of orders are you trying to read?

You should rather use appropriate BAPI's to read orders from livecache..

Most of these BAPI's call the /SAPAPO/OM_ORDER_GET_DATA FM in turn to fetch the orders.

Thanks

Ajay

Former Member
0 Kudos

Hi Ajay,

I'm trying to read order guids using FM /SAPAPO/OM_ORDER_GET_DATA. While using this FM, LC_APPL_ERROR is being thrown for certain fields....

Pls help me out in resolving this..

Regards,

SriLalitha.

ajayprakash
Explorer
0 Kudos

Hi Lalitha,

Can you brief on what are you trying to achieve by fetching the order guids..

On a high level. It would help to provide better suggestion,

Thanks

Ajay

Former Member
0 Kudos


Hi Ajay,

I'm fetching the order guids to filter some of them and send only those guids whose start date is within the current date.

Regards,

SriLalitha.

ajayprakash
Explorer
0 Kudos

HI Lalitha,

Any specific reason of using this FM and not BAPI ? filtering the orders at GUID level is not a very good idea...

Thanks

Ajay

Former Member
0 Kudos

Hi Ajay,

No particular reason...I knew this FM to fetch order guids from LC. Can you pls mention bapi name to fetch the guids from LC.

Thanks & Regards,

SriLalitha

Former Member
0 Kudos

1) BAPI_SLSRVAPS_GETLIST2 – Sales Order / Deliveries

2) BAPI_PIRSRVAPS_GETLIST – Forecast

3) BAPI_POSRVAPS_GETLIST3 – PRs / STRs

4) BAPI_MOSRVAPS_GETLIST2 – planned order  / production order

5) BAPI_STSRVAPS_GETLIST2 - stocks