on 05-12-2010 8:12 AM
Hi All,
I have a very strange problem with my Output Determination in SD.
I have created several of these in the past and this is really, really becoming frustrating now!
The scenario ...
We need a requirement to send a form via email to a customer if the credit is released or blocked in VA02. I have set this up in SPRO and VOFM (as I have said I did this before hence I know it's correct thus far) and my code in the output determination is as follows:
FORM kobed_994.
sy-subrc = 4.
* Not from the release or recheck transaction
CHECK sy-tcode+1(2) NE 'KM'.
*can use komkbv1 for further info
IF komkbv1-cmgst EQ 'D' " released by credit responsible
AND *komkbv1-cmgst NE 'D'.
sy-subrc = 0.
ELSE.
sy-subrc = 4.
ENDIF.
ENDFORM.
*---------------------------------------------------------------------*
* FORM KOBEV_994 *
*---------------------------------------------------------------------*
* ........ *
*---------------------------------------------------------------------*
FORM kobev_994.
PERFORM kobed_994.
ENDFORM.
However, even when Subrc is set to 4, the email is sent with the Form!! I am really frustrated at this and has gave me problems for a while ... I also have searched for similar scenario to no avail
We are running 4.6c if that helps
Also forgot to mention ... The routine does get run!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
72 | |
11 | |
10 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.