cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Action is not evaluating field correctly. Triggers all the time instead of when field value changes

RenaQuick
Explorer
0 Kudos

We are using ECC Ehp6,

I've probably tried 20 different attempts using 00, 04, 06 along with the comparison of the

P  P0171-BSTAT<>PSPAR-BSTAT or

P  P0171-BSTAT<>PSAVE-BSTAT,

P  PSPAR-BSTAT<>PSAVE-BSTAT,

BSTAT in "field" then I INS,0378,MSC,,(P0171-BEGDA),(P0171-ENDDA)

nothing works for me.

I even tryed to configure for 0171 to create only if P0001-WERKS or P0001-ANSVH change but instead it triggers every time - no matter if the values change or not.

00 P P0001-WERKS<>PSAVE-WERKS /X

00 P P0001-ANSCVH<>PSAVE-ANSVH /X

00 I  INS,0171,,,(P0001-BEGDA),(P0001-ENDDA)

There is so much standard delivered logic out there with these codes very similar, I expect it to work but no.  Would someone please reply with the code that would work?

Accepted Solutions (0)

Answers (2)

Answers (2)

RenaQuick
Explorer
0 Kudos

Update on this:

I tested the code below in an Ehp4 box and it works as expected.  Therefore, this has to be an OSS issue since my client box is Ehp6.  If anyone has those notes, I'd happily take them off your hands

0171                       BSTAT   06           900                        *PERDUE: CREATE ADJUSTMT REASON 0171                       BSTAT   06           902         P             T001P-MOLGA='10'

0171                       BSTAT   06           903         P             PSPAR-BSTAT<>PSAVE-BSTAT

0171                       BSTAT   06           906         I               INS,0378,MSC,,(P0171-BEGDA),(P0171-ENDDA)

maddilety_kanuku
Active Contributor
0 Kudos

Hi What is the exact requirement? as you said, it has to work with ONLY  PSAVE option/code.

Warm Regards!

-Kanuku

RenaQuick
Explorer
0 Kudos

Sorry, it was implied in the title but not clearly stated.

Exact requirement is to trigger the create of IT171 after IT1-WERKS or IT1-ANSVH changes as well as trigger the create of IT378 after IT171-BSTAT changes.

Thank you