Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.

Transacción Transaction /EDGE/FC_SPRO → Carpetas de configuración "Intérpretes" → "Parámetros de intérpretes"

A través de esta opción es posible configurar los parámetros o constantes que los pasos de un intérprete utilizarán en su lógica. Estas constantes sirven para evitar el uso de código quemado o "hard code" en cualquier funcionalidad ABAP que se requiera desarrollar.

Se debe seleccionar el intérprete al cual se le van a configurar los parámetros.

Las columnas que se deben configurar son:

...

La forma como se pueden obtener estas constantes desde el código ABAP es la siguiente:

Image Removed

Esto teniendo como premisa que el parámetro pc_context está en todos los métodos del paso que se está ejecutando.

A continuación se nombrarán algunas de las constantes más importantes que se deben configurar, sin embargo, éstas y otras serán descritas en los capítulos siguientes de este guíaSPRO -> Configuration Folders "Business Units" -> "Business Unit parameters"

Through this option, it is possible to configure the parameters or constants that the steps of an business unit will use in their logic. These constants serve to avoid the use of hard-coded or "hard code" in any ABAP functionality that needs to be developed.

You should select the business unit for which you want to configure the parameters.

The columns that need to be configured are:

  • Parameter

    This corresponds to the name of the parameter or constant. Usually, this value is in a class called "Constants" as a constant attribute.

    Example:

    Image Added
    And in the configuration, it appears as follows:
    Image Added


  • Value
    Corresponds to the value of the parameter.

The way to obtain these constants from ABAP code is as follows:

Image Added

Assuming that the parameter pc_context is present in all methods of the executing step.


Below are some of the most important constants that need to be configured. However, these and others will be described in the following chapters of this guide:


 Constante
Explicación
CHANNEL_IDId del canal VIM por donde se reciben los datos de las facturas VIM

VIM channel ID through which VIM invoices data is received.

COMPANY_CODE_PARAMParámetro en la tabla T001Z que indica la identificación fiscal para una sociedad FI.INTERFACENombre de la interfaz que contiene la definición del XML de factura electrónica para la transformaciónParameter in table T001Z that indicates the fiscal identification for an FI company code.
INTERFACEName of the interface containing the XML definition of the electronic invoice for transformation.
LOG_LEVELNivel de log para el intérpreteLog level for the business unit.
MANUAL_ENDING_STATUSEstado en que se debe colocar un proceso cuando un usuario lo termina manualmente desde la transacción State in which a process should be placed when a user manually terminates it from transaction /EDGE/FC_03.
METHODNombre del método de la interfaz que contiene la definición del XML de factura electrónica para la transformaciónName of the method in the interface containing the XML definition of the e-invoice for transformation.
STATUS_OK_AFTER_ERROR_TRANSEstado en el que se debe poner un proceso luego que se ejecuta la transformación XML, siempre y cuando el proceso inicialmente hubiera estado en errorState in which a process should be placed after executing the XML transformation, provided that the process was initially in an error state.
BPLUS_REPORT_FIELD_SOURCECampo en la tabla del log funcional Field in the functional log table (/edge/scenario) de of b+ Factura E donde se encuentra la relación con el proceso de facturación electrónica del producto. Comúnmente es el campo INVOICEwhere the relation with the electronic invoicing process of the product is found. Commonly, it is the field INVOICE_NUMBER.
BPLUS_REPORT_FIELD_TARGETCampo en la tabla de facturas electrónicas del b+ Core Framework donde se encuentra la relación con el proceso de B+ Factura E. Comúnmente es el campo EINVIDField in the electronic invoices table of b+ dgtal eInvoice where the relation with the b+ Factura E process is found. Commonly, it is the field EINVID.
BPLUS_SCENARIO_FOR_INTEscenario de

B+ Factura E

que se ha configurado para la integración con facturación electrónica del producto

scenario that has been configured for integration with the electronic invoicing process of the product.