‎2010 Aug 05 5:54 PM
We need to send an outbound idoc (DELVRY03) on Post Goods Issue in VL02N. All config and custom code is working fine. The idoc is generated. However, we also need to know teh idoc number as soon as the idoc is generated. This idoc number needs to be saved in a custom table. The program RSNASTED creates the idoc number. The FM, IDOC_OUTPUT_DELVRY does not hold the idoc number. So I copied the program RSNASTED to custom program ZRSNASTED and attached to the output type for medium EDI in tcode NACT (output types).
If I execute tcode VL02n and go to Extras -> Delivery Output-> Header and select the output type (ZALU, in this case) and save the settin gs and then go do the PGI, the idoc is generated successfully.
But if we click on the PGI button in VL02N, then no idocs are generated. When it was RSNASTED, this button successfully generated the idocs.
Is there anything I am missing in the config or code? Any help will be appreciated.
‎2010 Aug 05 7:21 PM
Resolved it myself. It seemed to be a data error rather than a coding error.