Hi,
I've a function mode defined as 'Update module' to start immediatly.
FUNCTION /SAPSLL/SPLAUDR_DB_DI_SAVE.
*"----------------------------------------------------------------------
*"*"Verbuchungsfunktionsbaustein:
*"
*"*"Lokale Schnittstelle:
*" IMPORTING
*" VALUE(IT_SPLAUDR) TYPE /SAPSLL/SPLAUDR_T
*" EXCEPTIONS
*" ERROR_WHILE_INSERT
*"----------------------------------------------------------------------
IF NOT ( it_splaudr[] IS INITIAL ).
INSERT /sapsll/splaudr FROM TABLE it_splaudr.
IF sy-subrc <> 0.
RAISE error_while_insert.
ENDIF.
ENDIF.
ENDFUNCTION.
Its being called inside a FM. I checked in debugging and the internal table lt_splaudr[] has records:
CALL FUNCTION '/SAPSLL/SPLAUDR_DB_DI_SAVE' IN UPDATE TASK
EXPORTING
it_splaudk = lt_splaudr[]
EXCEPTIONS
error_while_insert = 1
OTHERS = 2.
-
While doing debuggin for update task, there are no records passed to FM i.e. table it_splaudr is empty.
Let me know if i'm missing something here.
Regards
Rohit.