SAP Knowledge Base Article - Public

3624842 - How to set validation rule for Transactioncode - SAP S/4HANA Cloud Public Edition

Symptom

A validation rule is  desired for journal entry posting, designed to prevent the use of the Post General Journal Entries application (F0718) for posting journal entries.  This rule would cause an error message to appear, preventing the process from moving forward. How to set validation rule for Transactioncode?

Environment

SAP S/4HANA Cloud Public Edition

Resolution

  1. Open app Manage Substitution/Validation Rules - Journal Entries 
  2. Create a new Validation Rule, select Business Contexts = "Journal Entry"
  3. In the Validation part, adjust the TransactionCode to not equal FBDC_P001. Avoid using app ID here. 
    Refer to KBA 2400577 for the assignment of Tcodes used in FIORI apps post to accounting.
  4. Save and Activate.

See Also

Refer to: KBA 2400577 - Assignment of Tcodes used in FIORI apps post to accounting

SAP Help Portal: Manage Substitution/Validation Rules

Keywords

validation rule, journal entry posting, transaction code, F0718, F8153, error message, FBDC_P001, Fiori app, SAP S/4HANA Cloud, Public Cloud, substitution rules, accounting , KBA , FI-SL-VSR-2CL , Validation, Substitution and Rules (Public Cloud) , How To

Product

SAP S/4HANA Cloud Public Edition all versions