Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Get spurious APO LiveCache update error when program is run.

Former Member
0 Likes
444

Source code of /EUR/AEUPDR_DEMAND_FORCAST_SUB

  • Saving data

call function '/SAPAPO/DM_FCST_PUT_BAPI'

exporting

i_logsys = v_own_logsys

tables

i_t_dp_fcs = i_forecast2

exceptions

error = 1

others = 2.

if sy-subrc <> 0.

Internal table

Internal table i_forecast2 Type STANDARD

1 METHOD MATID LOCID VRSIO

1 |G5TKaGFQ07m00000ZNfV6W|G1wexLAE09y00000ZNfV6W|000

2 |G5TKaGFQ07m00000ZNfV6W|G1wexLAE09y00000ZNfV6W|000

3 |G5TKaGFQ07m00000ZNfV6W|G1wexLAE09y00000ZNfV6W|000

4 |G5TKaGFQ07m00000ZNfV6W|G1wexLAE09y00000ZNfV6W|000

looks all right

but then inside the PUT_BAPI when actually booking the values into LC

with

Source code of /SAPAPO/LDM_CUST_ORDERU23 274

CALL FUNCTION '/SAPAPO/DM_CUST_PUT'

EXPORTING

iS_GEN_PARAMS = lS_GEN_PARAMS

IV_SIMSESSION = lv_simsession

it_schedule = lt_schedule[]

iv_order_type = gc_om_forecast_order

IT_ORDKEYS = lt_ORDKEYS[]

IT_ORDMAPS = lt_ordmaps[]

IMPORTING

et_rc = lt_rc_tab

EXCEPTIONS

lc_connect_failed = 1

lc_com_error = 2

lc_appl_error = 3

invalid_order_type = 4

OTHERS = 5.

We get a exception = 3 (lc_appl_error), although the values are booked into LC

This problem does not occur in other systems only in the rgerssion box.

1 REPLY 1
Read only

nablan_umar
Product and Topic Expert
Product and Topic Expert
0 Likes
408

Hi Aveek,

I suggest this kind of problem should be reported into OSS.