Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Forcing P0007-ZTERF = u00910u0092 from transaction PA40

Hello SAP Gurus!

We have implemented Dynamic Actions that insert IT0007 automatically valorized by custom routines.

One of these routines valorizes the field ZTERF (time evaluation).

The problem is that in same cases we have to force the value of this field to '0' (No time evaluation) but in fact the module pool of IT0007 (MP000700) doesn’t permit this because of the following instructions in include MP000720:

*begin of note 764364
*      IF P0007-ZTERF IS INITIAL.
*"ALRK065930
      IF P0007-ZTERF IS INITIAL AND SY-TCODE NE 'PA42'.
*end of note 764364
        PERFORM RE549D USING 'TMSTA' '3' P0007-ZTERF 549BRC. "ALRK065930
        IF 549BRC EQ 0.                                      "ALRK065930
          PERFORM RE555V USING P0007-ZTERF.                  "ALRK065930
        ENDIF.                                               "ALRK065930
      ENDIF.                                                 "ALRK065930

So the question is the following: is there a note (like the implemented note 764364) that will permit me to bypass this control when I use transaction PA40? Or there is another way to force the value ‘0’ in field ZTERF from PA40?

Thank you very much, bye!

Stefano

Former Member
replied

IF P0007-ZTERF IS INITIAL AND SY-TCODE NE 'PA42'.

*end of note 764364

PERFORM RE549D USING 'TMSTA' '3' P0007-ZTERF 549BRC. "ALRK065930

IF 549BRC EQ 0. "ALRK065930

PERFORM RE555V USING P0007-ZTERF. "ALRK065930

ENDIF.

this is only executed when zterf is initial ('0' ?). Give TMSTA default value '0' ?

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question