Ansicht
Dokumentation

CRM_SAPCND_ROLLNAME_F4_HELP - F4-Hilfe für Datenelement mit Domänenfestwerten

CRM_SAPCND_ROLLNAME_F4_HELP - F4-Hilfe für Datenelement mit Domänenfestwerten

General Material Data   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Example

Notes

Further information

Functionality

This function module calls the F4 input help with the domain value table for the FLT_VALUE data element transferred.

The selected value is transferred to the CS_WORKING_SET_ITEM_EXT work structure.

The E_RESULT parameter is set to 0, if a value is chosen; it is set to 8, if no value is chosen. The return code is set to 12, if the module has to be interrupted for technical reasons, or because of incorrect entry parameters.

The module should be used when implementing the F4_HELP method for BAdI /SAPCND/ROLLNAME. It should be used for data elements

  • The possible values of which can be derived from domains of value tables that are stored
  • For which no explicit search help is stored in the data element
  • And, for which no domain fixed values are stored

The technical background for this is that work structures that are generated automatically, cannot include foreign key descriptions in condition maintenance. As automatic F4 helps in Basis do not evaluate domain value tables, no input help is displayed if the F4_HELP method is not implemented in BAdI /SAPCND/ROLLNAME.

Example

The function module that fulfills the above conditions is included as follows for data elements:
method /sapcnd/if_ex_rollname~f4_help .
* Use domain value table
call function 'CRM_SAPCND_ROLLNAME_F4_HELP'
exporting
flt_val = flt_val
i_maint_context_data = i_maint_context_data
i_instance = i_instance
i_groupname = i_groupname
it_fieldname_rollname = it_fieldname_rollname
is_working_set_item_int = is_working_set_item_int
importing
e_was_executed = e_was_executed
e_result = e_result
changing
ct_mnt_application_log = ct_mnt_application_log
cs_working_set_item_ext = cs_working_set_item_ext.

endmethod. "/SAPCND/IF_EX_ROLLNAME~F4_HELP

Notes

Further information

Weitere Details enthält die Dokumentation des Interfaces zum BAdI (/SAPCND/IF_EX_ROLLNAME).

Eine ähnliche Funktionalität für die Methode RANGES_CONVERSION bietet der Funktionsbaustein CRM_RANGES_CONVERSION





Parameters

CS_WORKING_SET_ITEM_EXT
CT_MNT_APPLICATION_LOG
ET_COLUMN_FIELD_MAPPING
ET_TEXT_COLUMN
ET_VALUE_TABLE
E_RESULT
E_VALUE_TABLE_STRUCTURE_NAME
E_WAS_EXECUTED
FLT_VAL
IS_WORKING_SET_ITEM_INT
IT_FIELDNAME_ROLLNAME
I_GROUPNAME
I_INSTANCE
I_MAINT_CONTEXT_DATA
I_RETURN_VALUE_TABLE

Exceptions

EXC_STOP_WORK

Function Group

CRM_ORDER_TOOLS

ROGBILLS - Synchronize billing plans   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 3414 Date: 20240523 Time: 104451     sap01-206 ( 49 ms )