cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Output when Delivery is changed -> Note 395569

thomas_mueller8
Participant
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

thomas_mueller8
Participant
0 Kudos

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.

fortian
Active Contributor
0 Kudos

Hello thomas.mueller8

Did you manage to make it work? what was the issue?

Best regards,

Fortian

fortian
Active Contributor
0 Kudos

My issue was that I was running my tests with an output that I manually input in the document (instead of automatically according to a condition record).