Skip to Content
0
Jul 04, 2018 at 06:39 AM

extensionin exeeds the 960 character BAPI_TE_CATSDB and unable to update the fields

132 Views Last edit Jul 04, 2018 at 09:58 AM 2 rev

I'm trying to update the custom zfields in catsdb table BAPI_CATIMESHEETMGR_INSERT. However, I have filled the extensionin structure

and structure exceeds the length of the BAPI_TE_CATSDB which is 960 and

the extension structure is 1200. If the custom field is after the 960 length then it is

not updated in catsdb table.

bapi_te_catsdb-row = lv_count."ls_bapicats3-counter.
bapi_te_catsdb-zzamt_day1 = <fs_catsrecord>-zzamt_day1.
t_extensionin-structure = 'BAPI_TE_CATSDB'.
t_extensionin+30 = bapi_te_catsdb.
APPEND t_extensionin.

bapi_te_catsdb-zzamt_day2 = <fs_catsrecord>-zzamt_day2.
t_extensionin-structure = 'BAPI_TE_CATSDB'.
t_extensionin+30 = bapi_te_catsdb.
APPEND t_extensionin.

bapi_te_catsdb-zzamt_day3 = <fs_catsrecord>-zzamt_day3.
t_extensionin-structure = 'BAPI_TE_CATSDB'.
t_extensionin+30 = bapi_te_catsdb.
APPEND t_extensionin.