06-13-2009 6:07 AM
Hi guru,
i have a requiremnt to generate the IDOC for the same and same client. actually i have to get the data from application server and i have to generate the IDOC.
for this i have created a Zreport and passed the data from application server to segment and i called the
FM "MASTER_IDOC_DISTRIBUTE". after executing the Zreport, IDOC is generated and show the error
status as 29.i.e. Receiver of IDoc is its own logical system.
my logic is as follows.
MOVE 'LS' TO w_edidc-rcvprt.
MOVE 'SBECLNT130' TO w_edidc-rcvprn.
MOVE 'ISU_MR_UPLOAD' TO w_edidc-mestyp.
MOVE 'ISU_MR_UPLOAD01' TO w_edidc-idoctp.
pls let me know the solution for this problem.
Regards,
Balu
06-13-2009 7:59 AM
Hi,
To send an IDoc from the SAP system to the external system, you must define outbound parameters for the message type and all relevant partners. This is valid even if your receiving system is same as sending systems.
For more information, see Interfaces ® External Systems ® Configure Warehouse Management ® Communication R/3 -> External System ® Maintain Partner Profile in the Implementation Guide for Warehouse Management.
If the system cannot find the partner (that is, the connected partner system) for sending the IDocs, proceed as follows:
Define the missing partner profile.
Resend all existing IDocs, which the system has not yet been able to send.
What is the partner profile of your system ?
Check your partner profiles in WE20 and maintain your message type in Outbound and Inbound parameter for the system.
KR Jaideep,
06-13-2009 8:19 AM
[check point 7|https://wiki.sdn.sap.com/wiki/display/ABAP/ALE%2CIDOC] .
06-14-2009 12:11 AM
you dont need to fill EDIDC struture with partner profile details..just fill partner profile details in WE20..
06-15-2009 6:38 AM