Ansicht
Dokumentation
/OPT/VIM_IIC_UPDATE_CUSTFIELDS - Update customer fields in work item list (template)
BAL Application Log Documentation Addresses (Business Address Services)This documentation is copyright by SAP AG.
Functionality
This function module is designed to serve as a template for updating the customer specific fields in the work item list.
Importing parameters:
- IV_RFCDEST: RFC destination; in case of a multi-systemlandscape it can be necessary to make an RFC call to another logical system. In this case IV_RFCDEST can be used as destination.
- IS_WORKITEM: Output structure of work item
Exporting parameters:
- ES_WORKITEM: Updated output structure of work item
Note:
Only customer fields will be updated.
Example
An additional customer field ZZ_NPLNR (Network Number for Account Assignment) has been added to the output structure of the work item list.
The network number of the work item is determined. Field ZZ_NPLNR of the exporting structure ES_WORKITEM is set to this value.
es_workitem = is_workitem.
IF es_workitem-zz_nplnr IS INITIAL.
* Determine network number and assign to lv_nplnr
* ...
es_workitem-zz_nplnr = lv_nplnr.
ENDIF.
* Note: VIM standard fields are not updated
* The following coding will not have any effect on field XBLNR
IF es_workitem-xblnr CS 'ZCL'.
es_workitem-xblnr(4) = 'ZZZZ'.
ENDIF.
Notes
Further information
Parameters
ES_WORKITEMIS_WORKITEM
IV_RFCDEST
Exceptions
Function Group
/SAPLVIM_FGIICBAL Application Log Documentation Fill RESBD Structure from EBP Component Structure
This documentation is copyright by SAP AG.
Length: 1787 Date: 20240426 Time: 033755 sap01-206 ( 30 ms )