04-24-2007 12:14 PM
Hi, in an inbound funtion module, I want to change the IDOC status, and send the error message, I use this:
move '51' to idoc_status-status.
move 'E' to idoc_status-msgty.IDOC_STATUS-MSGTY.
move 'Error message' to idoc_status-msgv2.
But in WE05, I didn't see the error message with the status 53,I don't why.
05-03-2007 3:21 PM
Hello,
please check the export parameter:
in error case set: WORKFLOW_RESULT ='99999'.
and tables: RETURN_VARIABLES
RETURN_VARIABLES-WF_PARAM = 'Error_IDOCs'.
RETURN_VARIABLES-DOC_NUMBER = IDOC_CONTRL-DOCNUM.
append these two fields to table RETURN_VARIABLES.
Message was edited by:
Jörn Peter
05-03-2007 3:21 PM
Hello,
please check the export parameter:
in error case set: WORKFLOW_RESULT ='99999'.
and tables: RETURN_VARIABLES
RETURN_VARIABLES-WF_PARAM = 'Error_IDOCs'.
RETURN_VARIABLES-DOC_NUMBER = IDOC_CONTRL-DOCNUM.
append these two fields to table RETURN_VARIABLES.
Message was edited by:
Jörn Peter