Skip to Content

change FI document type using substitution

Hi,

In my current scenario to change the FI Document type posted through MIRO for a particular PO type...

I have created a substitution in GGB1 for a pre-requisite of PO doc type "ASD" and transaction "MIRO".

I have also activated it in OBBH for call point 1 - Document Header.

I want to substitute the FI document type to "Z1" for this particular PO type "ASD". I am not able to do it as it always post "RE" document once MIRO is executed.

Please suggest me if any other customizing/activision is required.....or we cant change the document type via substitution.

One last note, I don't want to change the standard MIRO code.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Mar 12, 2013 at 02:21 PM

    Hi,

    Document type, as very sensitive field, could not be substituted.

    Regards,


    Eli

    Add comment
    10|10000 characters needed characters exceeded

    •     Thanks for your quick reply.

          I found lot many places telling me about changing different fields except document type using substitution.

          This clarified my doubt.

  • Mar 12, 2013 at 05:44 PM

    Hi,

    I agree with Eli, document type should not be subsituted. You should try with a validation in order to force the user to select the correct document type in MIRO.

    Anyway, and technically speaking, document type can be substituted in FI document created from MIRO. If you are trying a 1-Document Header substitution, field BKPF-BLART is excluded for substitution (standar default). You can enable this field for substitution in sm30 view VWTYGB01, but notice this is a system modification.

    After enabling this field and creation of substitution, you should run program RGUGBR00 in order to regenerate validations/substitutions. Please carefully read OSS note 842318 and related.

    In this particular case, the document type will be substituted but only in FI document and not in MIRO (logistic) document, so that's another reason to avoid substitution for that field and think about a validation (o exit in MIRO).

    Best Regards!

    Mgitur

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Amol

      Use exit RGGBR000 in substituion rules.

      1. Copy said program as Z

      2. Enter same program under said path > Financial accouting new > Special purpose ledger > Basic settings > User exit > Maintain client specific user exits > Application area GBLS ......Program ZRGGBS000 and save.

      3. Go to GGB1 create substition rule based on above program.Required must be write under said program. Fomm u100

      But i am not understding why do you need separate document type for Invoices.

      Regards

      Mani Kumar

  • Apr 16, 2015 at 09:11 PM

    Hi Eli,

    I was wondering you could share more details on how to implement the FI substitution for the document type in MIRO based on the specific PO type. We have a similar requirement.

    Thank you in advance,

    Inna

    Add comment
    10|10000 characters needed characters exceeded