Skip to Content
Former Member
Dec 29, 2014 at 05:32 AM

Output type for Sales Order for sending mail



I am working on developing a program for a custom output type which is to be triggered while creating a SO if any Line item has reason of rejection. The Output type should trigger sending of emails with details of items rejected. Issues I am facing are:

1) Custom Output type has been created, Nace Config done with Entry Subroutine which has been created in the program and activated for External Medium 5. In VA01, whenever any item is rejected, the Output Type is getting triggered but program is not getting executed (Break point not hit ). The Processing log shows nothing although the status is green. If we got to VA02/03 and select ISSUE Output TO, then the BP is hit. What could be possible reasons for this or am I missing some steps here?

2) My second issue is I need to fill in the mail the details of items rejected etc. While creating a SO, this information is not yet available in tables. How can I get this info in my program from items?

This is one priority issue I am working on, so any help is appreciated.