Skip to Content
0
Jan 11, 2019 at 06:41 AM

Statistical Document for Mass Write off

104 Views

I Have tried to use ISU_S_FICA_DOC_CREATE / ISU_FICA_DOC_CREATE and BAPI_CTRACDOCUMENT_CREATE . All of these eventually call function module FKK_CREATE_DOC.

The very first code line inside this function module is

IF I_UPDATE_TASK EQ MEM_UPDAT
AND I_RESOB EQ MEM_RESOB
AND I_RESKY EQ MEM_RESKY
AND I_TEST EQ SPACE
AND ( I_FKKKO-FIKEY EQ SPACE AND MEM_FIEXT EQ SPACE OR
I_FKKKO-FIKEY NE SPACE AND MEM_FIEXT NE SPACE ).

...

..

ELSE.
MESSAGE E174.
ENDIF.

In my case MEM_RESOB and MEM_RESKY values (populated from config table TFK090A probably) are populated but i_resob and i_resky values are blank (as these parameters are not passed through import parameter.

Error E174 is thrown thereby. if we try to reset MEM_RESOB and MEM_RESKY values it gives a short dump due to nested call of perform ON COMMIT.

Any idea what we could be missing here?

regards,

Vishal