How To Fix CPOC138 - Déclaration erronée des 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: Déclaration erronée des variables globales &1

  • Show details Hide details
  • Quelle est la cause de ce problème?

    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.

    Réponse du système

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

    Comment corriger cette erreur?

    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.

    Extrait du message d'erreur du système SAP. Copyright SAP SE.


Smart SAP Assistant

  • Quelle est la cause et la solution de l'erreur SAP CPOC138 - Déclaration erronée des 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.


Messages d'erreur SAP associés

Cliquez sur les liens ci-dessous pour voir les messages connexes suivants:

Cliquez sur ce lien pour rechercher tous les messages SAP.


Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author