Skip to Content
avatar image
Former Member

Doubts on validation and substitution

Hi,

I have few question on validation and substitutions.

1) Does the validation and substitution will availiable for MM, SD, PP modules also or those availiable for Accounting only

2) In same we application shall we call validation and substitution. If yes in which case we can use the both

3) I want to validation for this scenario:

I have 2 gl accounts. if i choose 100000 gl account my business area should be: 1000

if gl 200000 is business area should be: 2000

business area field is not appearing in substitution list.

So what i have to do. There is any configuration required?

Please guide me

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 05, 2008 at 10:14 AM

    Hi Sateesh

    Execute SM30. Select table VWTYGB01. Maintain. Select

    Boolean Class: 9

    Class Type: S

    Table: BSEG

    FIELD: GSBER

    Untick Exclude field.

    Save. Business Area field shall be available for substitution

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 05, 2008 at 05:27 AM

    Validations and substitutions are available for all modules

    GGB0 and GGB1

    It depends on the scenario if you can use both of them simultaneously.

    Your scenario is not clear as u say you want to create validation and say a field is missing in substitution list.

    Thanks

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Sateesh,

      You can test a substitution with the menu path Extra and the options:

      Activate trace

      Activate total trace

      Expert trace set braekpoint

      Make a posting with 2 lines and you see the result in the trace.

      In some cases bseg-saknr='10001' is wrong and it should be '00010001'

      It is better not to use direct g/l account in a siubstitution/ validation but store the values in a set. Then with new accounts you have only change the set.

      In the substitution you say then:

      BSEG-HKONT IN TAXACCTS.

      Sets you create with: GS01 it is a basic set with table/ field name BSEG-HKONT (for this case)

      It is possible that the field bussines are is not alowed in a substitutions!!!

  • avatar image
    Former Member
    Sep 05, 2008 at 10:26 AM

    validatios are used to check control the screan apperance for documents postings.this is achived

    through general ledger accounting.

    substitutions:It replaces files and fields with out user knowledge.

    like

    Pc

    text

    functional area

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 31, 2008 at 04:44 AM

    Dear all

    What is differance bitween validation & substitution , what is importance ? . give me detail.

    Regards

    Purushottam

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Purushottam,

      With a validation you look if the value keyed in as alowed.

      Like When costcenter 1000 is used with g/l account 400000 give an error

      With a substitution you fill in values based on your rule's

      Like: when CC is 1000 and G/L account is 500000 then the profit center is 10000000

      Search on this Forum validation and substitution and you will found more information about this. There are some examples set up in your system TC OBBH an OBBH.

      For the SAP help look to the area special ledger