Class /PCH/CL_OBJ_NAV_HANDLER_TX
The handler allows navigation to a freely definable SAP transaction, where appropriate user parameters can be defined for calling the transaction. It is possible to set parameters before calling the transaction and retrieve parameters after calling the transaction.
Parameter | Description |
---|---|
TRANSACTION_CODE | Transaction code of the transaction to be called |
SKIP_FIRST_SCREEN | Skip initial screen (for transactions with initial screen). |
NEW_WINDOW | Open the transaction in a new window. |
WAIT | Wait for the end of the update program after the transaction has ended. |
KEY_TYPE_NAME | Technical type of the key. May be required for structured keys. |
<SET/GET Parameter ID> | Specification of the parameter ID to be set (e.g. MAT for material). Short form for E:<SET/GET Parameter ID>. |
E:<SET/GET Parameter ID> | Specification of a parameter ID to be set. Can be used to make the parameter flow clearer or to set a parameter with a reserved name.
|
I:<SET/GET Parameter ID> | Specification of a parameter ID which is to be transported back after the transaction call. Only supported for action "Create" and for the new object key. |
...
Navigation to the CV03N for a document to be displayed.
Parameter | Value |
---|---|
TRANSACTION_CODE | CV03N |
SKIP_FIRST_SCREEN | X |
KEY_TYPE_NAME | DMS_DOC_KEY |
CV1 | <OBJECT_KEY>-DOKNR |
CV2 | <OBJECT_KEY>-DOKAR |
CV3 | <OBJECT_KEY>-DOKVR |
CV4 | <OBJECT_KEY>-DOKTL |
Navigation to document creation with template into CV01N.
Parameter | Value |
---|---|
TRANSACTION_CODE | CV01N |
SKIP_FIRST_SCREEN | X |
KEY_TYPE_NAME | DMS_DOC_KEY |
E:CV1 | <KEY_DATA>-DOKNR |
E:CV2 | <REF_OBJECT_KEY>-DOKAR |
E:CV3 | <KEY_DATA>-DOKVR |
E:CV4 | <REF_OBJECT_KEY>-DOKTL |
E:CV7 | <REF_OBJECT_KEY>-DOKNR |
E:CV8 | <REF_OBJECT_KEY>-DOKTL |
E:CV9 | <REF_OBJECT_KEY>-DOKVR |
I:CV1 | <OBJECT_KEY>-DOKNR |
I:CV2 | <OBJECT_KEY>-DOKAR |
I:CV3 | <OBJECT_KEY>-DOKVR |
I:CV4 | <OBJECT_KEY>-DOKTL |
...