‎2009 Apr 08 10:11 AM
Hallo guyes,
my request is to fill up the three z-customer fields in table CATSDB
using BAPI_CATIMESHEETMGR_INSERT.
All my data are in parameter table catsrecords_in but as far as I know
I have to fill up also extensionin parameter table somehow.
What I don't understand is how to link 'lines' in extensionin with 'lines' in
catsrecords_in.
What I did up to now is this:
CLEAR ls_te_catsdb.
PERFORM get_last_2_char USING lv_asnum CHANGING l_last2.
ls_te_catsdb-row = ' '.
ls_te_catsdb-zzltext = lv_ktext.
ls_te_catsdb-zzleistnr = lv_asnum.
ls_te_catsdb-zzerschw = l_last2.
CLEAR ls_extensionin.
ls_extensionin-structure = 'BAPI_TE_CATSDB'.
ls_extensionin-valuepart1+0(10) = ls_te_catsdb-row.
ls_extensionin-valuepart1+10(40) = ls_te_catsdb-zzltext.
ls_extensionin-valuepart1+50(8) = space.
ls_extensionin-valuepart1+58(18) = ls_te_catsdb-zzleistnr.
ls_extensionin-valuepart1+76(2) = ls_te_catsdb-zzerschw.
APPEND ls_extensionin TO gt_extensionin.
Guestion is what should be in ls_te_catsdb-row field?
In this time we do not have catscounter from CATSDB.
Thanks for every help.
‎2009 Apr 08 11:35 AM
‎2013 Jun 27 2:46 PM
HI Mark. Did you achieve to find the answer ? Even I am facing the same problem. I would really appreciate your input.
Thanks and Regards,
Ravi SIngh