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

CAT2: upload data using function code BAPI_CATIMESHEETMGR_INSERT

Former Member
0 Likes
546

Hi

I'm using function BAPI_CATIMESHEETMGR_INSERT to upload data to CAT2.

The data file
*EMP;DATE;HRS;UOM;WBS
123;01.04.2009,8;H;WBS2
123;02.04.2009,8;H;WBS2
123;03.04.2009,8;H;WBS2
123;04.04.2009,8;H;WBS2

When i call the function code it splits the records into 2 line when viewing it using CAT2 using the date range.



                01.04.2009     02.04.2009     03.04.2009  04.04.2009
WBS2  H          8                               8           8  
WBS2  H                            8 

When we make an entry manually using CAT2, all entries are on one line.

How can i ensure that the function call creates entries on one line?

2 REPLIES 2
Read only

mvoros
Active Contributor
0 Likes
461

Hi,

why do you have separator , between date and hours instead of ;? You can also check difference between record for 1.4.09 and 2.4.09 in the table CATSDB. Maybe you will see some difference.

Cheers

Read only

Former Member
0 Likes
461

Hi Martin,

The CATSDB table did not reveal anything specific. When you enter the data manually, the entries in the CATSDB table looks the same. Any other table perhaps?

Giovanni