Ansicht
Dokumentation
OXT_REQUEST_CHOICE - Select a Transport Request (with Create)
General Material Data PERFORM Short ReferenceThis documentation is copyright by SAP AG.
Functionality
This function module offers interactive querying for a transport request.
In this dialog box, you can enter the transport number, create a new order, or choose one of your own orders.
You can put objects in the chosen order at the same time. To do this, the import tables "IT_E071" and "IT_E071K" must be filled accordingly.
You use the import parameter "IV_REQUEST_TYPES" to specify which order types are permissible, for example,
- T : Transport of copies,
- F : Bill of material
If the import parameter "IV_SUPPRESS_DIALOG" is set, then no dialog box is sent, and an order must already have been entered by using the parameter "IV_REQUEST".
If the import parameter "IV_LOCK_OBJECTS" is set, then the objects, if possible, are put in the order with the status 'blocked'.
You can control the dialog boy by using the parameter "IV_TITLE", "IV_START_COLUMN", "IV_START_ROW":
"IV_TITLE" determines the title, "IV_START_COLUMN" and "IV_START_ROW" determine the column and row from which the dialog box starts.
If the parameter "IV_WITH_ERROR_LOG" is set and errors have occurred when adding objects, then the list is displayed in the screen along with the error messages.
Example
CALL FUNCTION 'TR_REQUEST_CHOICE'
EXPORTING
* IV_SUPPRESS_DIALOG = ' '
iv_request_types = 'T' "transport of copies
* IV_CLI_DEP = ' '
* IV_REQUEST = ' '
it_e071 = lt_e071 "object list
* IT_E071K =
* IV_LOCK_OBJECTS = ' '
* IV_TITLE =
* IV_START_COLUMN = 3
* IV_START_ROW = 7
* IMPORTING
* ES_REQUEST =
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Parameters
ES_REQUESTIT_E071
IT_E071K
IV_CLI_DEP
IV_LOCK_OBJECTS
IV_NO_OWNER_CHECK
IV_REQUEST
IV_REQUEST_TYPES
IV_START_COLUMN
IV_START_ROW
IV_SUPPRESS_DIALOG
IV_TITLE
IV_WITH_ERROR_LOG
Exceptions
CANCELLED_BY_USERENQUEUE_ERROR
INVALID_REQUEST
INVALID_REQUEST_TYPE
NO_OBJECTS_APPENDED
RECURSIVE_CALL
USER_NOT_OWNER
Function Group
OXT_WB_UTILITYBAL_S_LOG - Application Log: Log header data General Data in Customer Master
This documentation is copyright by SAP AG.
Length: 2768 Date: 20240523 Time: 123616 sap01-206 ( 54 ms )