Skip to Content
avatar image
Former Member

Substitution FI

Hello,

We're implementing SAP ECC 6.0.

I need substitution de field BSEG-KOSTL in the transaction FB01.

I use the routine ZRGGBS000/point 3.

¿This is a modify field?

I modify other field correctly, but when i assign a value to cost center, the system show a short dump:

Anál.errores
    Short text of error message:
    Error GENERAL_ERROR MESSAGES_ACTIVE_REQUIRED

    Long text of error message:
     Diagnóstico
         Se produjo el siguiente error de programa o de tratamiento.
         Imformaciones de error:
         GENERAL_ERROR
         MESSAGES_ACTIVE_REQUIRED
     Actividades en el sistema
         No se puede proceder el programa.
     Procedimiento
         Si Ud. mismo no puede resolver el programa con ayuda de las
         informaciones de error, apúntelas igual que las entradas que han
         conducido a este error. Diríjase por favor a su administrador de
         SAP para tratar el problema.

    Technical information about the message:
    Message class....... "K5"
    Number.............. 011
    Variable 1.......... "GENERAL_ERROR"
    Variable 2.......... "MESSAGES_ACTIVE_REQUIRED"
    Variable 3.......... " "
    Variable 4.......... " "

Help me please.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Sep 17, 2007 at 02:23 PM

    Hi David,

    call-up point 3 is "Complete document". This requires some specific syntax to be followed when defining the form in the Z* form pool. First, the exit must have type "C_EXIT_PARAM_CLASS", second, the particular form Uxxx must be defined like this: "USING bool_data TYPE gb002_015".

    Second, when defining the substitution step in OBBH, some fields should be available for substitution. Note that by default, none or only a very limited number of fields are available for substitution in call-up point 3. Pls. check this in your system as follows: go to OBBH, maintain the existing substitution (or create a new one) for call up point 3 and try to add a new step. Is the cost center field offered for substitution? If yes, leave OBBH without saving. If not, do the same, but then we have found the root cause.

    If the Cost center field is available, and the complete environment (OBBH and Z* form pool) are set up correctly, then the issue might be that you substitute the Cost center field where you really should not. Is it a balance sheet account, for instance? I think your substituted cost center is leading to some inconsistency and that's why SAP is not recommending to substitute fields at this call-up point.

    If you think that the setup is correct and still you get the error, you should provide some more information on the line item(s) you want to substitute your CC into. By the way, what is the prerequisite of the substitution step?

    Hope that helps, points welcome 😊

    Csaba

    Add comment
    10|10000 characters needed characters exceeded

    • Hm,

      could you explain the business requirement behind this one.

      The leading zeros may indeed be a problem, you have to make sure the field has the exact length of 10 digits. DO not include too many (or too few) zeros.

      It would be also of advantage if you could set a break point on the statement where you populate the field. When stopped, then check the GL account in COBL-HKONT. Make sure it is valid a cost element (check in transaction KA03, beware the controlling area, the CE category should be 1), If it is not a cost element, then check out table T100C, whether the message KI 281 is switched off. (This message says that you should not enter any cost center when posting to a balance sheet account).

      Hope that helps, points welcome 😊

      Csaba

  • avatar image
    Former Member
    Sep 18, 2007 at 09:27 AM

    Hi,

    The K5 message is a standard Controlling area, you have the values in your substitution but perhaps you have filled in a wrong field.

    In the menu path you have the option Simulate and trace. You can please a break-point in your substutution and have a look to the incoming and out going data if a field value is wrong

    Paul

    Add comment
    10|10000 characters needed characters exceeded