How To Fix CPOC138 - Declaración incorrecta de las variables globales &1


SAP Error Message - Details

  • Message type: E = Error

  • Message class: CPOC - PP-PI-PMA: Process Operator Cockpit Messages

  • Message number: 138

  • Message text: Declaración incorrecta de las variables globales &1

  • Show details Hide details
  • ¿Qué causa este problema?

    Global variables can only be defined and used in <LS>simple data
    requests</> at this time. It is <ZH>not </> possible to output whole
    tables (<LS>repeated data request
    </>) again using global variables.
    This can lead to errors in, for example, the following cases:
    For live and test control recipes:
    If you <ZH>define</> a global variable in a <LS>repeated data request
    </> (table) for the same process order in the one control recipe and
    then, in a different control recipe, have <ZH>declared</> a <LS>simple
    data request</>, the program will terminate when you send the control
    recipe.
    For test control recipes:
    If you have <ZH>declared</> the global variable in a <LS>repeated data
    request</> for the same process order in a test control recipe and then
    generate a new test control recipe in which you have <ZH>declared</>
    the same global variable again in a <LS>simple data request</>, the
    program will terminate when you send the second control recipe.

    Respuesta del sistema

    The control recipe cannot be sent. The function is terminated.

    ¿Cómo arreglar este error?

    Change the declaration of the global variables &V1& in the process
    order.
    You can use indexing of global variables to transfer individual line
    values of a table to a different control recipe. You add the <LS>_1</>,
    <LS>_2 </>, <LS>_3</> and so on behind the global variable &V1& for
    each table line.
    Example:
    &V1&_1: Variable for the value in line 1
    &V1&_2: Variable for the value in line 2
    &V1&_3: Variable for the value in line 3
    Each variable must be declared separately.
    Generate the control recipe again.
    Resend the control recipe.

    Extracto de mensaje de error del sistema SAP. Copyright SAP SE.


Smart SAP Assistant

  • ¿Cuál es la causa y la solución del error de SAP CPOC138 - Declaración incorrecta de las variables globales &1 ?




    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


Mensajes de error de SAP relacionados

Haga clic en los enlaces a continuación para ver los siguientes mensajes relacionados:

Haga clic en este enlace para buscar todos los mensajes de SAP.


Rating
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker