cancel
Showing results for 
Search instead for 
Did you mean: 

/SAPAPO/OM_ORDER_CHANGE: Error

hkmaradana
Active Participant
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

hkmaradana
Active Participant
0 Kudos

Hi,

Thanks for your reply, Yes I have passed correctly gen_param and simsession, still i am getting error lc_appl error and as you said et_rc is having error code 34.

I am passing 24 records and i am trying to change one of the record with method type 'C'.

Please help me out...

Thanks

Cris