Beruflich Dokumente
Kultur Dokumente
Introduction
This document illustrates on how to create IDoc flat file on SAP application server.
Scenario: On change or Create of SAP delivery document, an automatic IDoc should trigger and
an IDoc file to be created on the SAP application server.
Perquisite: We can use Standard Delivery IDoc and Message Type i.e. (Basic Type: DELVRY03,
Message Type: DESADV) for our scenario
Step1
Run T-Code WE82 link IDoc type and message type.
Step2
Create Output type for delivery i.e. ZAEB. For this configuration go to T-Code NACE.
Step3
Click on
Step4
Give output Type, Description, Access Sequence then press
Step5
Click on
Step6
Click on
Step7
Click on
Step8
Select medium, input partner function and save entry.
Step9
Now again back to T-Code NACE screen and click on
Step10
Assign output type to standard procedure and save it. For this select any standard procedure and
click on control from left navigation panel.
Step11
Enter step, counter, output type and save it.
Step12
Setup condition record for above created output type to trigger it automatically on the press of
save of delivery. For this Run T-Code NACR, Press enter
Step13
Now create logical path and assign it physical path where our IDoc file store.
Run T-Code FILE
Save it.
Step14
Now create file port. For this Run T-Code WE21
Give port name, Description, Directory & Function module name for file naming convention and
save it.
Step15
Now create partner profile. For this firstly create Partner (LOGICAL SYSTEM) via T-Code BD54
Save it.
Save it.
Step16
Now Create Distribution Model View. For this Run T-Code BD64
Click on
then click on
. Another popup
Where SENDER
And
RECEIVER
AND
Step17
Now its time for testing the IDoc. If all the things work fine then an IDoc file created into SAP
Application directory which mention above i.e. < D:\usr\sap\EH5\SYS\profile>.
For this first open any one delivery whose sales organization will be 3000 and sold-to-party will
be 91300 because we have only maintains the condition record for these entry.
T-Code VL02N
Press enter.
Now check our output type will be trigger successfully or not. For this open delivery click on
output type.
button.
Now Check IDoc files on application directory, for this run T-Code AL11
Double Click on it. See IDoc File which contains IDoc Number in file naming.
To Download this file from SAP application sever to Local Desktop run T-Code CG3Y,Popup
window will appears
Give above created file name with path into Source File input filed and give path where you
download your file into your local desktop then press