on 06-06-2018 4:48 PM
Hello all,
I have the following problem: I want to repeat the output of a certain message type, when certain fields of the delivery
header (LIKP) are changed. -> Example: Field1, Field2
SAP provides a note 395569 - CHECKLISTSD: Change Output which explain the necessary steps in a clear way.
1.) Create a subroutine in include MV50AFZZ
2.) Adjust the condition type in question in the following way:
- Tick 'Multiple Issuing' indicator
- Provide a subroutine and program for the change message
These settings end up in table T685B (MEHRF='X', APROG='myProgram', AROUT='Subroutine'). So far so good.
However, when I change the fields in the delivery (TA: VL02N, LIKP: Field1, Field2) no new output of the output condition type is triggered nor
nor do I stop in my routine.
Setting breakpoints in NNAST_AENDE_CHECK (LV61BF0N), FB 'MESSAGING', in my routine didn't help.
Do I have to create a new NAST record myself or shouldn't it be done by the system automatically? What is the missing bit?
Kind regards,
Thomas
Could it be that the output processing has a problem calling subroutines which are implemented inside an implicite enhancement of an include (e.g. SAPMV50A -> MV50AFZZ -> Impl. Enh. xxxx)?
Internally the function 'NAST_FORM_EXISTENCE_CHECK' is called, which does a read report...with a code scan. But it doesn't return back my routine, no matter if I enter SAPMV50A or the include MV50AFZZ (here is the implicite enhancement placed). If I enter the enhancement name directly it won't be recognized.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
9 | |
9 | |
8 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.