Description
The IDOCS set up in this report are passed to the function module"INBOUND_IDOC_PROCESS". Further processing is the same as for thestandard interface from an external system via the ALE connection, thatis, IDOCs are created, the respective application module is called upfor processing the IDOCs and, if there is an error, the workflow isactivated. So that the receipt from ALE can be processed, the partner connectionfor the external system to be tested and the message type "WMTREQ" mustbe defined. In the selection of the report, the external system must beentered as the sender. As recipient enter the logical name of the SAPSystem in which this test is taking place. This name is defined as alogical system in the client table. If the sender is maintained (in thedistribution model), it is determined by the report and displayed in theselection screen. In addition, you can run this test in the background. To do so, selectthe option "In Background Task". The created IDOCs are passed directly by this report to the applicationfunction module (L_IDOC_INPUT_WMTREQ) for processing. As a result ofthe processing, the individual transfer requirements are created orcancelled. Also, if processing is correct, a log with the data that ispassed on from this function module to ALE is created. This type oftesting is appropriate if processing is to be tested within theapplication. To activate this type of test, select the option "Call up processingdirectly". In this case, the communication can be tested for creating transferrequirements. The communication takes place between two SAP systems orbetween two clients, that is, the behavior of the external system issimulated by the transmitting SAP System. To test the IDOC receipt,this type of testing is not absolutely necessary since testing with thefirst option is equally efficient. For this test, too, you must specify the systems involved. As sender,enter the logical name of the SAP System in which the test is takingplace in the selection screen of the report. As receiver, enter thelogical name of the SAP System to which data is to be transferred. Thereport only determines the name of the sender autmatically. In thereceiving SAP system, define the partner connection in the inbox for thesender and the message type WMTREQ. To activate this test, select the option "In Background Task" and enterthe logical RFC destination. Precondition The reference number serves as an additional identification of thetransfer requirement. The transfer requirement number is only assignedin WM when the transfer requirement is created so that the externalsystem can only show the reference to the transfer requirement createdfrom the IDOC via a field passed on with the IDOC, that is, via thereference number. When a transfer requirement is cancelled, thereference number must also be specified so that the transfer requirementto be cancelled in WM can be determined. Output |