CL_BS_SOA_PROXY_LOG - Convert application messages to Log format
rdisp/max_wprun_time - Maximum work process run time General Material DataThis documentation is copyright by SAP AG.
Functionality
The class provides static method FILL_LOG mapping a table of application messages provided in BAPIRET2like format (more precisely: BAPIRET2 enhanced by a column CATEGORY representing the category of anerror as defined by global data type LogItemCategoryCode) to the Log format (cf. global data type Log defined in the enterprise services repository).
Method FILL_LOG expects a table of application messages in (input) parameter BAPIRETURN_TAB and the(overall) processing result in (input) parameter PROCESSING_RESULT_CODE (optional) returning a transformed representation of the messages in parameter LOG.
In order to be more flexible regarding the calling applications the interface (except parameter PROCESSING_RESULT_CODE)is not typed (DDIC reference) - instead the assignment of parameters is based on names. It is crucialthat a correct naming is used within the calling program: only parameters with the correct name are processed correctly.
BAPIRETURN_TAB is expected to consist of columns (mind the proper names):
- CATEGORY (type char 15)
- TYPE (type BAPI_MTYPE)
- ID (type SYMSGID)
- NUMBER (type SYMSGNO
- MESSAGE_V1 (type SYMSGV)
- MESSAGE_V2 (type SYMSGV)
- MESSAGE_V3 (type SYMSGV)
- MESSAGE_V4 (type SYMSGV),,
LOG has to be built up like (mind the proper names):
- PROCESSING_RESULT_CODE (type PROCESSING_RESULT_CODE)
- MAXIMUM_LOG_ITEM_SEVERITY_CODE (type char 1)
- ITEM (table) consisting of:
- TYPE_ID (type char 40)
- SEVERITY_CODE,,(type char 1)
- NOTE (type char 200) ,,
- WEB_URI (type string) ,,
- CATEGORY_CODE,
- which is either is a structure with a component CATEGORY_CODE_VALUE or a component CATEGORY_CODE-CONTENT(type char 15) or it is an elementary type char 15 (note, that the latter is the case if the category code corresponds to a global data type without supplementary components (NOSC_...).
- ,,,,,,,,,,
Relationships
Example
Notes
Further information
General Material Data CPI1466 during Backup
This documentation is copyright by SAP AG.
Length: 2608 Date: 20120526 Time: 093608 triton ( 102 ms )






