Skip to Content
0
Former Member
Sep 27, 2007 at 03:55 PM

WFA_FORECASTING error while attempting to Post WFAFC_A01 Idoc

9 Views

Hi All,

I am attempting to load Historical Data into the WFM (WorkForce Management) system using Idocs.

I am getting the error message WFA_FORECASTING071 "Sample set failed to insert any data" when processing using function module IDOC_INPUT_WFAFCHV.

I am using message type WFAFCHV.

On E1WFAFSH segment

I populate ORG_OBJID with objid,

IND_EXT_KEY with the key,

STAT_FORM= 00 (actual)

UPDATE_TYPE=1(add)

STAT_GRAIN=00 (quarter-hour)

On E1WFAFTM segment

I populate STARTDT and ENDDT with the same date,

STARTIDX = 0 (midnite) and ENDIDX = 96 (number of quarter hours in day)

TIMEZONE = CST

On first E1WFAFVI segment

I populate TOTROW = 2 (I have 2 E1WFAFVI segments on Idoc)

CURROW = 1 (this is first of 2 rows/segments)

TOTCOL = 50 (max number of values/misses allowed on segment)

MISS1- MISS36 with an X because we do not expect values

VALUE37 - VALUE50 with numbers we want loaded.

On second E1WFAFVI segment

TOTROW= 2, CURROW = 2, TOTCOL = 46

VALUE1-VALUE34 with numbers we want loaded

MISS35-MISS46 with X because we do not expect values.

Anyone have any ideas what i can do to fix this/get by this error ???

Thanks,

Mike