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

Issue BAPI_CATIMESHEETMGR_INSERT adding new row for existing activit y

Former Member
0 Likes
530

Hi All,

I have got how to make use of BAPI insert and change. But problme is when I need to add an hours entry for , say tuesaday of activity A for which already HAS monday hours,I am using BAPI_CATIMESHEETMGR_INSERT AND IT IS ADDING ONE MORE ROW AS SHHOWN BELOW

. But it adding new row. How top overcome this.

-


<b> Monday

A 2</b>

-


After insert

-


<b> Monday Tuesday

A 2

A 3</b>

=----


SHould I use delete and insert.

Please help me..;

Regards,

Ganga

Message was edited by:

Gangadharayya Hiremath

2 REPLIES 2
Read only

Former Member
0 Likes
458

Did you try using BAPI_CATIMESHEETMGR_CHANGE instead of BAPI_CATIMESHEETMGR_INSERT?

(Sorry i haven't seen your other question..)

Regards,

Ravi

Message was edited by:

Ravi Kanth Talagana

Read only

0 Likes
458

Hi Ravi,

thanks for your reply.

as per my knowledge BAPI_CATIMESHEETMGR_CHANGE we can use if we have counter(It iis mandatoy...am i right...). But for activity if we have to enter casthours for some other day as in below scenario.

-


Monday -


Tues

A 2

If we have to enter CATSHOURS for tuesday for same activity.

-


Monday----


Tue

A --- 2 -


3

Instead of.....

-


Monday----


TUE

A --- 2

A -


3.

........................................................

What BAPI we can make use of...

what is the use of capa_category and split.

Message was edited by:

Gangadharayya Hiremath