07-30-2007 2:33 PM
my program calls the l_create_dn function. Soon after calling the function, it creates a dump at the message. Message ... id, type number all are empty. But the transfer is created. The second time when we run, the program runs fine without any problem.
can any one have a idea of wat problem could be
plz help
07-30-2007 2:41 PM
After your function module call have you included the standard error handling?
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
If so, it is probably the case that the function module is raising an exception (and still creating the transfer), but hasn't issued an error message (so the SY fields are empty). Debug the program and code some error handling specific to your scenario.
Regards,
Nick
07-30-2007 2:41 PM
After your function module call have you included the standard error handling?
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
If so, it is probably the case that the function module is raising an exception (and still creating the transfer), but hasn't issued an error message (so the SY fields are empty). Debug the program and code some error handling specific to your scenario.
Regards,
Nick
07-30-2007 2:54 PM