on 06-29-2014 7:52 AM
Hi,
I am trying FM PAPO/OM_PEG_CAT_GET_ORDERS to get order data from liveCache
I am giving the following inputs
1. PEGID which I am getting from /SAPAPO/DM_MATERIAL_GET_PEGID for a given product location.
2. ATP category in IT_CATEGORY = BM and CC
3. V_SIMSESSION = 000
4. IV_IONODE_PEG_SEL = 0
But I am getting LC_COM_ERROR and no output.
What parameters am I missing ?
Regards,
Yogesh
Hello Yogesh,
I think you are passing wrong parameter v_simsession = 000. The version 000 need to be added in the structure IS_GEN_PARAMS-SIMVERSION.
As the simsession is mandatory parameter, you need to either get it using the FM /sapapo/rrp_simsession_get, if you are calling this function, where simsession is already generated. If the simsession is not already generated, then you have to create a new simsession using the FM /sapapo/rrp_simsession_create and then then pass this simsession to FM.
All other parameter looks ok.
IF you dont want to create or get the simsession then, in my opinion you can use the FM /sapapo/rrp_pegid_compile_io.
Hope this will help you.
Thanks!
SC
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi YR,
To retreive data from livecahce, SAP recommends to use BAPI's rather than using OM(Object Manager)/DM(Data Manager) function modules directly.
As i can see, in your case, you are trying to retreive BM(Sales Order) and CC(Stock order) categories, I would suggest you to use the following available bapis,
1) BAPI_SLSRVAPS_GETLIST2 (Create or Change Sales Orders )
2) BAPI_STSRVAPS_SAVEMULTI2 (Create or Change Stocks)
Do let me know, if you face any problem in using these bapis.
Thanks,
Santosh KB.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.