Hello experts,
I am processing an DESADV IDoc with the standard output message LAVA by saving/ changing a delivery (vl01n or vl02n).
Now I have to change some fields in the IDoc, before it is sent. For this I use the User Exit EXIT_SAPLV56K_002. Up to this point it works fine.
But now, when somethins goes wrong while changing the fields in the IDoc I would like to change the status of the IDoc, so that it is not send (for example status 01 oder 02).
I tried to use the exeptions from the Exit EXIT_SAPLV56K_002 (ERROR_MESSAGE_RECEIVED or DATA_NOT_RELEVANT_FOR_SENDING). But then the LAVA-message is not processed.
What I want to reach is, that the LAVA massage is processed and the IDoc created, but not send. Is there existing a fitting Exit for that?
Thanks in advance, Angela