Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

RSNASTED Query

Former Member
0 Likes
481

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.

1 REPLY 1
Read only

Former Member
0 Likes
330

Resolved it myself. It seemed to be a data error rather than a coding error.