1, WE19 Introduction
WE19 IDOC is a very common testing tools, it can be tested by simulation inbound and outbound IDOC, rather than through other systems IDOC actually sending a test. In tests using the WE19 can have need to change depending on the value of IDOC in each field, it is very convenient.
Tcode:WE19
Templates can see there are many options on the WE19 interface, focusing on the following introduction:
- IDoc (Existing IDoc) present: Enter an existing IDoc number, based on this test, IDoc in the value of the field has been filled with good.
- Basic types (BasicTyp): Enter an IDoc type, which is an empty template, you need to enter their own field value IDoc
- By Message Type: a message type input, and then select the message type IDoc type, it is an empty template
- Template file (File as template): IDoc input a file path, and then introduced into WE19 IDoc tool, IDoc field is completed, can be referred to in detail -> how to import files from other test systems -WE19 IDOC
- No template (W / O template): no template, information about all of the IDoc are required to manually fill in the WE19, this use is relatively small.
2, the inbound standard (standard inbound) Test
Examples explain how to test the standard IDoc inbound, just find a inboud IDoc 0000000003832546 by IDOC WE02 monitoring tools in the system, this is one pair of quotation modified IDoc
WE19, IDoc number entered just find the 0000000003832546 run
Into the test interface, click the control record line or through the menu to enter the control record editing window,
IDoc--Edit control record
In the control record edit window, there is a default receiving end, the transmitting end, relevant information message, usually without modification,
When testing standard inbound (standard inbound), in addition to partner profile port of Sender and Receiver are free to fill in, other related fields to be filled out correctly, the system must exist.
Receiver:
Port: SAP + <SID>, e.g. SAPDE1, wherein DE1 is the SID (system ID), can be seen in the lower right corner of the SAP system, this system is SAPDE1 port, not visible in the WE21
Sender:
To partner profile presence in WE20, we test it is, it must be as follows,
Tcode:WE20
Click the field value can be changed in the WE19, Purchase order date date of this modified embodiment of the quotation line item, modify 20160927 20160925,
Then click on the button standard inbound
Pop-up message box that prompts IDOC generation,
You can view in WE02:
By VA23, see the purchase order date Date of quotation of successfully modified.
3, introverted function module (inbound function module) test
This is used to test inbound process (refer to the meaning of the term -> the SAP development entry the IDOC ) hanging function, but also with the above IDoc 3832546, WE20 can be seen process code,
Double-click the process code to jump to the function interface, can also Tcode: WE42 View
Click WE19 top inbound function module button in the pop-up window can be set debugging mode, front running and other models, and then click the green check mark, you can test the function, and finally generate IDoc.
Also: Record control function within the module is set to standard inbound (standard inbound) of the same, in addition to partner profile port of Sender and Receiver are free to fill in, other related fields to be filled out correctly, the system must exist.
4, introverted file (inbound file)
Inbound file is used to generate inbound IDoc test file, there is a need to specify the port in WE21 true in the control record, partner profile receiver is the same as the above two tests are free to fill in, as follows:
Click the inbound file button, enter idoc file name, select the relevant operating mode by clicking the green check mark,
Tip IDoc file is successfully created,
You can view idoc status in WE02
You can also view IDoc files in the server path port EDI_OSC in, WE21:
5, outbound processing standard (standard outbound processing)
Find an outbound IDoc by WE02, WE19 then reprocessed in
sender's partner profile control record can be free to fill in, in addition to be filled true, fill in the following meaning to send an outbound idoc port A000000018 through SAPDE1 simulation.
Click the button standard outbound processing, send outbound IDoc
Tip outbound IDoc successfully sent to an external system,
And displaying in the status bar IDoc number 3846148
Can be seen in WE02, the
Note: WE19 different test outbound and inbound, and the breakpoint is not provided in the associated process code corresponding to the function of the stop.
the above.