Skip to Content

Subtitution Rule with constant

I have developed the following substitution rule

BKPF-BUKRS = '8093' AND ( BKPF-BLART = 'KR' OR

BKPF-BLART = 'KN' )

AND

BSEG-LIFNR = '1080112'

(if prerequisite is met) substitute with constant value in BSEG-ZLSPR constant value = "I"

So basically the rule sets all invoices for that vendor to be blocked by "I"

The problem is, that when I am at the line item FBL1N, I can not remove the "I" payment block, not too sure why

is the substitution keeps looping in the background ? do I need to end the code with a special command ?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Sep 19, 2017 at 12:46 AM

    Hi

    In your prerequisite, please also add the T Code, where you actually want the block to be triggered (Eg, FB60 or FB01 etc).

    regards

    Sanil Bhandari

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 19, 2017 at 08:24 AM

    Hi,

    Your conditions don't allow to remove a blocking code, as it will always be put in place following the logic you defined. If you want to allow its removal, add a prerequisite of, say, user name. So, that this use will be able to remove the flag. In your rules it will look as "AND SYST-UNAME <> 'XXXXX'".

    Regards,

    Eli

    Add comment
    10|10000 characters needed characters exceeded