04-16-2009 12:48 PM
Hi Friends,
Iam creating Activities in my program for a given network using the bapi Function module
" BAPI_BUS2002_ACT_CREATE_MULTI " but the bapi is throwing the following error for me in the creation of an activity "Enter a time unit, since you have entered either work or actual work" .
I have even checked by passing the value in the field un_work of it_activity table. Even this din't help me out.
Can anyone suggest me anything I have missed out in that .
Following are the fields which I have filled in it_activity :
activity
work_cntr
description
work_activity
un_work
duration_normal
duration_normal_unit
factory_calender
12-11-2009 1:22 AM
Hi,
We had the same problem but with the difference that we didn't used work center. The message was the exactly the same.
We solve'd it only passing in the Activity structure this fields.
Control_key
description
wbs_element
duration_normal
We discovered that the DURATION_NORMAL_UNIT was the one causing this message to appear. Try taking it off and see what happen.
Hope it helps.!!