Ansicht
Dokumentation

RLCATO10 - Test Report for IDOC Receipt: Cancel TOs (WMCAID01 IDOC)

RLCATO10 - Test Report for IDOC Receipt: Cancel TOs (WMCAID01 IDOC)

General Data in Customer Master   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

You can use this report to test the interface between an external system and the WM system for cancelling transfer orders.

Using this report you can simulate the receipt of the IDoc WMCAID01 (Cancel TO) and thus simulate the cancellation of the transfer order.

The following test options are available:

  • Testing via the ALE interface
The IDocs set up in this report are passed on to the function module 'INBOUND_IDOC_PROCESS'. Further processing is the same as for the standard interface from the external system via ALE. In other words, IDocs are generated, the respective application function module for processing the IDocs is selected, and, in case of error, the workflow is activated.
So that the receipt from ALE can be processed, the partner link for the external system to be tested and message type WMCATO must be defined. The recipient from the IDoc that was transmitted as the cancellation request to the test external system is taken as the sender.
In addition, this test can run in the background. To do this, select the option "In Background Task".
  • Testing cancellation directly
The created IDocs are passed on for processing directly by this report to the application function module (L_IDOC_INPUT_WMCATO). The result of this processing step is that the individual transfer orders are cancelled and a log with the respective data is issued. During normal processing this data is passed back from this function module to ALE. This type of testing is appropriate if the processing is to be tested within the application.
To activate this type of test, select the option 'Call up processing directly'.
  • Testing between two systems
In this case you can test the communication for the TO cancellation. The communication takes place between two SAP systems, that is, between two clients. In other words, the reaction of the external system is simulated by the transmitting SAP system. To test the IDoc receipt, this test option is absolutely required.
To activate this test, select the option 'In Background Task' and enter the logical RFC destination.

Careful: Testing this interface causes updates in the database. If processing is successful, the TOs defined in the IDocs are cancelled.

Requirements

The data is passed on in the form of an intermediate structure WMCAID01. The selected IDocs that were set up in the WMS during the transfer order cancellation and were transmitted as a cancellation request to the external system serve as the basis for the IDoc processing step. The cancellation IDoc is considered as a reply to the cancellation request. For this reason, the cancellation request IDoc and the cancellation data is supplemented and passed on to the WMS.

As a rule, a cancellation is passed back for all transfer order items to be cancelled. If not all items that can be cancelled are to be passed on using IDocs, you must enter an explanation note. The first selected items (depending on the number of items that cannot be cancelled) are marked in the IDoc as items that cannot be cancelled and are given an appropriate note.

Output

The output options for the report can be read up in the documentation RLCATO00.






Addresses (Business Address Services)   General Material Data  
This documentation is copyright by SAP AG.

Length: 3674 Date: 20240520 Time: 065646     sap01-206 ( 77 ms )