2006 Oct 27 10:16 AM
Hi Community,
I configured all to send by Nast an outbound idoc DELVRY03 message type DESADV.
Now I wish to know idoc number e its status in order to update custom table about process.
Is there some event (like Created) that I could catch after the idoc is created? Have you any suggestion to solve my trouble?
thanks in advance,
Frank
Hi Community,
I configured all to send by Nast an outbound idoc DELVRY03 message type DESADV.
Now I wish to know idoc number e its status in order to update custom table about process.
Is there some event (like Created) that I could catch after the idoc is created? Have you any suggestion to solve my trouble?
thanks in advance,
Frank
2006 Oct 27 10:21 AM
hi ,
Check in trx <b>WE05</b> for idoc list.
there u can get idocno,status,...
Cheers
ALfred
Reward points for helpful answers.
2006 Oct 27 10:33 AM
I know trxs to manage with idoc, but now my idea is:
- catch the event "Idoc Created"
- Check status
- Update some custom tables
all this in runtime and not using trx but maybe task/WF.
Thanks
2006 Oct 27 1:30 PM
Have you looked at the user exits for FM 'IDOC_OUTPUT_DELVRY'?
I believe that you will be able to look at the status and IDOC number in the parameter CONTROL_RECORD_OUT of include ZXTRKU01 (FM EXIT_SAPLV56K_001).
2006 Oct 27 1:49 PM
Thanks Matt for answer.
I'm using EXIT_SAPLV56K_001 but there docnum field is initial because system is creating idoc just in time.
I would like a exit or event to know idoc number just after system created it.
I think that idoc number is valued only out of FM 'IDOC_OUTPUT_DELVRY' in Report RSNASTED.
2006 Oct 27 2:03 PM
Have you taken a look at the User Exits in the FM MASTER_IDOC_DISTRIBUTE.
I suspect the IDoc number will be in there.
2006 Oct 27 2:26 PM
Hi Martin,
I'm using RSNASTED in customizing. Does This Report call MASTER_IDOC_DISTRIBUTE? If YES, I'm collecting Idoc (state 30), in this case is MASTER_IDOC_DISTRIBUTE called?
Any suggestion?
Thanks in advance,
Frank