on 11-21-2008 10:13 PM
Hello Experts,
I am trying to update planned order components qty, but i am getting LC_APPL_ERROR = 3.
Can any one help me on this , whether i passed required parameters or not.
CALL FUNCTION '/SAPAPO/OM_ORDER_CHANGE'
EXPORTING
IS_GEN_PARAMS = r_gen_params
IV_SIMSESSION = w_simsession
IS_ATP_INFO = T_ATP_INFO
IT_ORDER_METHOD = T_ORD_METHOD
IT_ORDKEYS = T_ORDKEYS
IT_ORDMAPS =
IT_ORDERS = t_orders1
IT_ACTIVITIES = T_ACTIVITIES
IT_MODE = T_MODES
IT_CAP_REQS = T_CAP_REQS
IT_POSITIONS =
IT_INPUTS = T_INPUTS
IT_OUTPUTS = T_OUTDATA
IT_PRODFLOW =
IT_INTERN_CONSTRAINTS =
IT_EXTERN_CONSTRAINTS =
IS_CONTROLPARAMETERS = is_c
IT_SCHED_PARAMS = is_p_t
IT_RES_PLAN_INTERVALLS =
IT_CHARACT_REQ_INPNODE =
IT_CHARACT_VAL_OUTNODE =
IT_CHARACT_VAL_ACTS =
IS_GET_CHANGED_OPTIONS = is_g
IV_GET_ALL_OBJECTS = GC_FALSE
IS_EXCLUDE_FIELDS =
IMPORTING
ET_RC = t_rc1
ET_CHANGED_ORDERS = T_CHANGED_ORDERS
ET_CHANGED_CAP_REQS = T_CHANGED_CAP_REQS
ET_CHANGED_IO_NODES = T_CHANGED_IO_NODES
ET_CHANGED_IO_PP_NODES = T_CHANGED_IO_PP_NODES
ET_CHANGED_PEGIDS = T_CHANGED_PEGIDS
ET_DELETED_FIX_PEGGING = T_DELETED_FIX_PEGGING
ET_SCHED_FAILURES = T_SCHED_FAILURES
ET_SCHED_LOG = T_SCHED_LOG
EXCEPTIONS
LC_CONNECT_FAILED = 1
LC_COM_ERROR = 2
LC_APPL_ERROR = 3
OTHERS = 4
Thanks
Have a good weekend
Cris
Not sure on what instance there was a need to call the OM function module. It is not recommended that you call the OM FMs directly from an application program . Please look for /SAPAPO/DM* FMs which might suit your needs. Simple thing would be to do a where used list check on the OM FM .
regards
Raghunandan Vasudevarao
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Cris,
Is this problem solved in ur case?
Could you please help me on the same issue?
Even i'm facing the same problem.
Kindly help me out..like what is the parameter missing in this case.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check the input parameter to the Function Module 'IS_GEN_PARAMS' and 'IV_SIMSESSION' is populated correctly.
Since its a live cache query, its very difficult to find out what went wrong.
If you are getting the exception 'LC_APPL_ERROR' then the export table 'ET_RC' should be populated with details. It should give you a hint as to what went wrong .
Cheers,
KD
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
9 | |
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.