How To Fix CPOC138 - Fehlerhafte Deklaration der globalen Variablen &1


SAP Error Message - Details

  • Message type: E = Error

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

  • Message number: 138

  • Message text: Fehlerhafte Deklaration der globalen Variablen &1

  • Show details Hide details
  • Was verursacht dieses Problem?

    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.

    Systemantwort

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

    Wie behebe ich diesen Fehler?

    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.

    Fehlermeldungsextrakt aus SAP-System. Copyright SAP SE


Smart SAP Assistant

  • Was ist die Ursache und Lösung für den SAP Fehler CPOC138 - Fehlerhafte Deklaration der globalen Variablen &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.


Zugehörige SAP-Fehlermeldungen

Klicken Sie auf die Links unten, um die folgenden verwandten Nachrichten anzuzeigen:

Klicken Sie auf diesen Link, um alle SAP-Meldungen durchsuchen.


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