on 12-12-2016 2:27 PM
Hi ,
While updating priority of an Order Id from function module "'/SAPAPO/OM_ORDER_MODIFY", I am getting error lc_appl error & et_rc is having error code 40
Please help me with the solution
EXEC "#EC CI_EXECSQL
SQL.
EXECUTE PROCEDURE "APS_ORDER_MODIFY" (
IN :LS_GEN_COM_PARAMS,
OUT :LV_RC,
OUT :ET_RC,
IN :IT_ORDERS,
IN :IT_ORDKEY,
IN :IT_ACT,
IN :IT_MODE,
IN :IT_CAPREQ,
IN :IT_INPUTS,
IN :IT_OUTPUTS,
IN :IT_POSITIONS,
IN :IT_NEW_INPUTS,
IN :IT_NEW_OUTPUTS,
IN :IT_CHARACT_REQS,
IN :IT_CHARACT_VALS,
OUT :ET_CHANGED_ORDERS,
OUT :ET_DELETED_FIX_PEGGING
)
ENDEXEC.
Hi Rachel,
liveCache return code 40 is "Order Not Found".
In general, you can open transaction /SAPAPO/OM10 and input the return code you received - this will provide information on what that error code means.
A way to find out what's wrong is to set a breakpoint at the function module and reproduce the issue. Once the debugger is opened, check whether the orderID in IT_ORDERS is the correct one or not.
If the orderID is correct, it's possible that the planning version guid in ls_gen_com_params was not set correctly - for Planning Version 000, it should have value 000, while for others it should hold the planning version GUID.
Also, the simulation session in iv_simsession could have been set incorrectly.
Regards,
Tiago
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Rachel,
What did you do to fix this issue between live cache & order id's?
Thanks in advance,
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot for your reply
There was some issues with Live cache & order id's were not matching.
Got it fixed.
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.