Skip to Content
avatar image
Former Member

Error when creating a new Rule

Hello gurus,

I'm customizing an international Schema, and I created a new rule called Z01B, with function P0014, but when I save it I'm getting an error.

Please refer to the attached image.

Any help please.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Aug 27, 2015 at 10:26 AM

    Hi Sheb,

    Because your syntax is not correct.

    What are you trying to put the logic in the Z01B PCR?

    Regards,

    Sankarsan

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Radwan,

      Tania already pointed out, where your Problem is. You cannot put WGTYP on its own!

      It is either a decision or a Setting Operation.

      Once you have other operations following the WGTYP in the same branch, you cannot just add a Parameter and hope, that the the type changes.

      If you want to perform different Actions depending on the current value of WGTYP, you first have to delete the following lines in that branch and then add the Parameter "?" to make it a decision.

      After that, on adding new lines, you're required to give the value for each new branch.

      All follow up operations after that are in the next Level of dependent branch.

      If you had followed Tanias advice and just read the F1-documentation thoroughly, you might have been done with your Problem long before.

      Please make sure to make use of easyly available knowledge (like F1) before posting questions.

      It might save some time for both - you and us.

      Best regards - Jörg

  • avatar image
    Former Member
    Aug 27, 2015 at 10:27 AM

    1) Instead of VWTCL 1, change it to VWTCL 01

    2) The syntax of the WGTYP operation is incorrect, click on F1, read the documentation and change it based on what you need.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 27, 2015 at 10:26 AM

    Remove WGTYP operation and then check (next to OPIND).

    Reagrds

    Venkatesh

    Add comment
    10|10000 characters needed characters exceeded