How To Fix LA008 - &1 &2 está obsoleto. Use una declaración de tipo propia u objeto propio.


SAP Error Message - Details

  • Message type: E = Error

  • Message class: LA - ABAP Language Version: Object Restriction Check

  • Message number: 008

  • Message text: &1 &2 está obsoleto. Use una declaración de tipo propia u objeto propio.

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

    In <LB>ABAP for Key Users</>, use of other objects is restricted to
    objects which were
    released as API for <ZK>Use in Key User Apps</> or
    created by key user apps and marked for use by other key user apps.

    For further details, see
    <DS:ABEN.ABAP_VERSIONS>ABAP Language Versions</>.

    Respuesta del sistema

    If the edited object uses a formerly released but now deprecated object,
    this results in a syntax warning.

    ¿Cómo arreglar este error?

    Replace the use of deprecated &V1& &V2& by a suitable own type
    declaration or own object.
    Wherever possible, best practice is replacement with a meaningful ABAP
    type declaration using the TYPES statement, e.g. like shown below as
    replacement for an ABAP dictionary structure for object data, consisting
    of the two fields ID and DESCRIPTION:
    <NP>TYPES ty_id TYPE c LENGTH 10.</>
    <NP>TYPES:</>
    <NP> BEGIN OF ty_s_object<(>,<)></>
    <NP> id TYPE ty_id<(>,<)></>
    <NP> description TYPE string<(>,<)></>
    <NP> END OF ty_s_object.</>
    <NP>DATA some_object TYPE ty_s_object.</>
    If a simple data type is used only at a single location, direct
    replacement in the DATA statement using a built-in ABAP type is the
    first choice, e.g. like shown here as replacement for a data element of
    type NUMC and length 4:
    <NP>DATA some_variable TYPE n LENGTH 4.</>

    Procedimiento para Administradoras de Sistemas

    El sistema emite un mensaje de error y no le permitirá continuar con esta transacción hasta que se resuelva el error.


    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 LA008 - &1 &2 está obsoleto. Use una declaración de tipo propia u objeto propio. ?




    • 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