Ansicht
Dokumentation
CRM_ISA_HLP_FLD_HDN - BAdI: Read Object Attributes
ABAP Short Reference General Material DataThis documentation is copyright by SAP AG.
The Business Add-In (BAdI) CRM_ISA_HLP_FLD_HDN is part of the generic search framework solution of the E-Commerce web application. This framework comes with generic class methods allowing retrieval of data by defining its component name in the xcm\sap\modification\generic-searchbackend-config.xml configuration file. But if data is not accessible simply by name or if the output format must be modified, this BAdI can be implemented to do so.
The BAdI is defined in the following class methods:
- CL_ISA_GEN_DOC_SEARCH_HELP=>BILLING_POSTPROCESS_RESULT
- Structure /1BEA/S_CRMB_BDH_WRK
- Structure /1BEA/S_CRMB_BDI_WRK
- Structure CRMT_ISALES_INVOICE_HEAD
- CL_ISA_GEN_DOC_SEARCH_HELP=> ONEORDER_POSTPROCESS_RESULT
- Structure CRMT_REPORT_LOCATORLIST
- CL_ISA_GEN_DOC_SEARCH_HELP=> ONEORDER_POSTPROCESS_RESULT_IT
- Structure CRMT_REPORT_REPORTLIST_ITEM
The BAdI implementation searching for transactions such as orders, invoices, and so on needs one of the class methods mentioned above to be implemented. For more information, see Customer Relationship Management -> E-Commerce -> Basic Settings for E-Commerce -> Business Add-Ins for E-Commerce -> BAdI: Object Search.
Add a new field name, acting as filter type for the BAdI, to table CRMC_ISA_HFLDHDN.
If a certain field is in the structure, but the format of the field does not meet requirements, create a new entry in table CRMC_ISA_HFLDHDN, such as
Z
Create the BAdI implementation by using something like this for the 'PROCESS_FIELD' method implementation.
..FIELD-SYMBOLS:
....
....
..ASSIGN COMPONENT 'QUANTITY'
.........OF STRUCTURE is_context_data
.........TO
..IF sy-subrc EQ 0.
....ASSIGN COMPONENT 'PROCESS_QTY_UNIT'
...........OF STRUCTURE is_context_data
...........TO
....IF sy-subrc EQ 0.
......WRITE
............LEFT-JUSTIFIED.
....ENDIF.
..ENDIF.
TXBHW - Original Tax Base Amount in Local Currency TXBHW - Original Tax Base Amount in Local Currency
This documentation is copyright by SAP AG.
Length: 3925 Date: 20240523 Time: 180617 sap01-206 ( 46 ms )