Ansicht
Dokumentation

PT_TMW_ESEL_SI - Define Selection IDs

PT_TMW_ESEL_SI - Define Selection IDs

BAL Application Log Documentation   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

This activity enables you to define selection IDs.

If you require an overview of selection IDs, see the superordinate Selection IDs node.

Example of a Selection ID Based on a Table With a Defined Range

In the following example, you define a selection ID that lists all of the persons from Paris who are between 30 and 40 years old.

First, the following selection ID must be defined:

(As seen in the "Table" view)

Selection ID,,No.,,No.,,Tr.cl.,,IType,,Fld ty.,,Field name
Table sel,,,,1,,1,,-,,,,0006,,,,,,ORT01 (=city)
Table sel,,,,1,,2,,-,,,,0002,,AF,,,,LEBALTER (age of EE)

In the second step, ranges must be defined for these selection IDs:

(As seen in the "Ranges" view)

Selection ID,,No.,,No.,,No.,,I/E,,Opt.,,Sel.val.,,Sel.val.
Table sel,,,,1,,1,,1,,I,,EQ,,,,Paris
Table sel,,,,1,,2,,1,,I,,BT,,,,30,,,,,,40

Example of a Selection ID Based on Structural Reporting

(As seen in the "Structure" view)

The following selection ID lists all of the persons assigned directly to organizational unit 5000, and all of the persons assigned to subordinate organizational units.

Selection ID,,Ser.no.,,PV,,OT,,Object ID,,EP,,,,SV,,TD,,Period
Structure sel,,,,1,,01,,O,,5000,,,,O-S-P,,12,,0,,All

Note for Selection IDs With Customer-Defined Function Module

If you create your own function module for a selection ID, it requires that a standard interface be used. You can take the standard interface from the HRCM_OWN_ORGUNIT_EMPL_GET standard function module.

Example of a Combination of Selection IDs

The following selection ID lists all of the persons who belong to organizational unit 5000 and who are assigned to company code 01.

Selection ID 1 (table with range)

Selection ID,,No.,,No.,,Tr.cl.,,IType,,Fld ty.,,Field name
Combi sel,,,,1,,1,,A,,,,0001,,,,,,BUKRS(=company code)

Range:

Selection ID,,No.,,No.,,No.,,I/E,,Opt.,,Sel.val.,,Sel.val.
Combi sel,,,,1,,1,,1,,I,,EQ,,,,01

Selection ID 2 (structure)

Selection ID,,Ser.no.,,PV,,OT,,Object ID,,EP,,,,SV,,TD,,Period
Structure sel,,,,1,,01,,O,,5000,,,,O-S-P,,12,,0,,All

Both selection IDs are now related to selection ID 3.

Selection ID,,No,,No,,Sel.ty.,,Op.,,No,,Sel.ty.,,OT
Combi sel,,C,,1,,1,,S,,,,+,,1,,A,,,,P

Defining Selection IDs

  1. Choose the Selections view.
  2. Choose New entries.
  3. Enter a name in the Selection ID and Selection text fields. To further define the selection ID, the name in the Selection ID field must be used. The name in the Selection text field is used when the selection ID is used in the application (when input help is executed, for example).
  4. Save your entry.
  5. Select the selection ID that you created.
  6. Choose the required view (structure, table, function).
  7. Choose New entries.
  8. In the Selection ID field, enter the selection ID.
  9. Make the required entries in the following fields. Use the examples to help you enter the correct data.
  10. If you define a selection ID based on a table, you can now enter the ranges.
    1. To do so, choose the Ranges view.
    2. Choose New entries.
    3. In the Selection ID field, enter the selection ID. Make the required entries in the following fields.
  11. Save your entries.






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

Length: 4110 Date: 20240523 Time: 192853     sap01-206 ( 42 ms )