Transaction /EDGE/FC_SPRO -> Configuration Folders "Business Objects" -> "Business Object Parameters"
Through this option, it is possible to configure the parameters or constants that the steps of an business object 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 interpreter 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:
- Value
Corresponds to the value of the parameter.
The way to obtain these constants from ABAP code is as follows:
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_ID | VIM channel ID through which VIM invoices data is received. |
COMPANY_CODE_PARAM | Parameter in table T001Z that indicates the fiscal identification for an FI company code. |
INTERFACE | Name of the interface containing the XML definition of the electronic invoice for transformation. |
LOG_LEVEL | Log level for the business object. |
MANUAL_ENDING_STATUS | State in which a process should be placed when a user manually terminates it from transaction /EDGE/FC_03. |
METHOD | Name of the method in the interface containing the XML definition of the electronic invoice for transformation. |
STATUS_OK_AFTER_ERROR_TRANS | State 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_SOURCE | Field in the functional log table (/edge/scenario) of b+ Factura E where the relation with the electronic invoicing process of the product is found. Commonly, it is the field INVOICE_NUMBER. |
BPLUS_REPORT_FIELD_TARGET | Field in the electronic invoices table of b+ Core Framework where the relation with the b+ Factura E process is found. Commonly, it is the field EINVID. |
BPLUS_SCENARIO_FOR_INT | B+ Factura E scenario that has been configured for integration with the electronic invoicing process of the product. |