Create Transaction Variants
Transaction variants enable you to simplify transaction flows by
· Assigning default values to fields
· Suppressing fields from the screen and changing the ready-for-input status of fields
· Suppressing table control columns from the screen and changing the properties of table control columns
· Suppressing menu functions from the screen
· Suppressing entire screens
For more
information about creating and editing transaction variants and screen
variants, see
Transaction/Screen
Variants.
Keep in mind the following restrictions when creating transaction variants:
· The creation of customer-specific transaction variants does not enable you to assign field content dynamically. You can assign field content dynamically by implementing the Business Add-Ins (BAdIs) for the Clinical Process Builder. You maintain these BAdIs by choosing SAP Healthcare – Industry-Specific Components for Hospitals ® Patient Management ® Patients ®Business Add-Ins for Patient Admission in the IS-H Implementation Guide:
¡ BAdI: Clinical Process Builder – Preset All Subscreens (technical name ISH_NV2000_PBO)
¡ BAdI: Clinical Process Builder – Check Complete Data (technical name ISH_NV2000_PAI_COMPL)
¡ BAdI: Clinical Process Builder – Check Data of Individual Subscreens (technical name ISH_NV2000_PAI)
· You cannot suppress tab pages from the screen by creating customer-specific transaction variants. To suppress tab pages, you can create a new NV2000 variant, in which the relevant tab page does not exist.
For more information about this, see Set Up Variants.
...
1. To create a transaction variant, enter the transaction code SHD0 in the command box.
The initial screen of the transaction appears.
2. Enter NV2001 in the Transaction Code field.
The standard system contains the following transaction variants that are only relevant for the country version Germany:
¡ SAP_AMB_ALL: ACM Complete
¡ SAP_AMB_KV: ACM Panel Physician Association (panel physician case)
¡ SAP_AMB_PV: ACM Privately Insured (private case)
¡ SAP_AMB_BG: ACM Workers’ Compensation (workers’ compensation case)
¡ SAP_AMB_NA: ACM Emergency Admission
You must not change these SAP variants nor the related screen variants, since the system accesses these in other contexts.
To create customer-specific transaction variants, we recommend that you create new transaction variants that you tailor to suit your requirements.
3. In the Transaction Code field, enter the transaction for which you wish to create a transaction variant. For the Clinical Process Builder, this could be the transaction NV2001.
4. In the Transaction Variant field, enter a name from the customer name space (for example, Z_AMB_KV) for the transaction variant that you wish to create.
5.
Choose
with the quick info text
Create.
The transaction runs, and after each screen the system asks you which values you wish to change. If you wish to assign default values, you have to enter these values on the screen. The system then proposes these values as content. Assign a name from the customer name space as the name of the screen variant.
6. Confirm the Object Editing: Initial Screen dialog box with the information Object Z_AMB_KV is in the customer namespace, ENTER -> Continue with Create.
7. Select the desired options. You can select from the following checkboxes:
¡ Copy settings
Applies values for the current screen. If you clear this checkbox, the assigned default values for an entire screen can be deleted from the transaction variant.
¡ Do not display screen
Suppresses the screen. This is only possible if values are also applied (Copy settings).
¡ W. content
Content of a field is applied.
¡ Output only
Ready-for-input status of a field is reset.
¡ Invisible
Suppression of a field from the screen.
¡ Required
Field is turned into a required-entry field.
Depending on the type of field, not all checkboxes are input enabled.
8. To enable the system to call your new transaction variant at the right places, create a new entry in the table NWPLACE_DTM. You access this table by choosing the IMG activity Determine Variant for Clinical Process Builder under SAP Healthcare – Industry-Specific Components for Hospitals ® Basic Settings ® Screen Control in the IS-H Implementation Guide.
For more information, see the documentation for this IMG activity.