Ansicht
Dokumentation

EXIT_SAPLCUCQ_001 -

EXIT_SAPLCUCQ_001 -

General Material Data   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

This customer enhancement enables you to deviate from the standard procedure when selecting configuration profiles.

It is possible to limit the number of valid configuration profiles.

If the number of configuration profiles is reduced to one, no further manual selection takes place.

If the number of configuration profiles is reduced to zero, the configurable material is regarded as non-configurable (no instance is created).

You can also define whether the configuration profile should be selected manually. For this, you must set the parameter CV_NO_MANUAL_SEL: 'X' for no manual selection, ' ' (space) for manual selection.

Caution: The configuration parameters (fields) of the individual configuration profiles must not be changed under any circumstances.

Example 1:

In future, you want to use only configuration scenario "result-oriented order BOM" for new configurations. However, for existing configurations, you still want to be able to use configuration scenario "knowledge-based order BOM".

Coding (INCLUDE ZXCUCQU01):

if iv_profile_counter is initial.

* new configuration

loop at it_cuco.

if not it_cuco-stlkd is initial and

not it_cuco-eoasl is initial.

* result-oriented order BOM

append it_cuco to et_cuco.

endif.

endloop.

else.

* existing configuration

et_cuco[] = it_cuco[].

endif.

Example 2:

Only certain users are to be allowed to select a particular configuration scenario (e.g. order BOM).

Coding (INCLUDE ZXCUCQU01):

if sy-uname = 'User1' or sy-uname = 'User2'.

* for power user all profiles

et_cuco[] = it_cuco[].

else.

loop at it_cuco.

if it_cuco-stlkd is initial.

* no Order Bom

append it_cuco to et_cuco.

endif.

endloop.

endif.






CL_GUI_FRONTEND_SERVICES - Frontend Services   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 2302 Date: 20240425 Time: 144249     sap01-206 ( 31 ms )