on 03-12-2006 2:43 PM
Hi All,
When we are processing(WE19) Idoc form R/3 system, I have following doubts..
1) do we need to give same partner number in recipient and sender side.
2) sender port is the port which we created in XI, do we need to create the same port with same name at R/3 side? otherwise how it recognizes in r/3 system?
3)What is the impact of partner function in processing of idoc, how to recognize related partner function for the idoc message type.
4)what is the diffrence betwenn Idoc basic type and message type.
5)when we created the port in r/3 for XI, how can we register it as receiver port for the Idocs to be processed.
6)when we created the port in XI for R/3 , how can we register it as sender port for the idocs to be processed.
Regards,
venu.
Hi Venu,
This link will help you to develop File to IDoc scenario.
/people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping - Any flat file to any Idoc
To know more about IDoc to File you can refer to following links.
/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File
/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm - Collection of IDoc to Single File
Thanks,
Prateek
Thanks,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Venu,
Pls find following links for Java mapping.
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-iii
/people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping
/people/amol.joshi2/blog/2006/03/10/think-objects-when-creating-java-mappings
Above will help you to build Java Mapping program.
Regards,
Moorthy
Hi Venu,
If you want to know how to write user-define functions in java,
Refer to pages 83 thru 95 of the How-to-guide <a href="http://service.sap.com/~form/sapnet?_SHORTKEY=01200252310000071155&_SCENARIO=01100035870000000202&_OBJECT=011000358700003604872004E">Mapping within XI3.0</a>
If you are referring to How to write java Mapping then refer to the <a href="http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/content.htm">Java Mapping</a> at help.sap.com
Also, refer to Java Mapping section in the how-to-guide <a href="http://service.sap.com/~form/sapnet?_SHORTKEY=01200252310000071155&_SCENARIO=01100035870000000202&_OBJECT=011000358700003604872004E">Mapping within XI3.0</a>
Rgds,
Sam Raju
Hi Venu,
Java Mapping uses 2 types of parsers. DOM and SAX. DOM is easier to use with lots of classes to help you create nodes and elements, but , DOM is very processor intensive.
SAX parser is something that parses your XML one after the other, and so is not processor intensive. But, it is not exaclty easy to develop either.
<a href="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/package-frame.html">Dom Parser Methods</a>
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/content.htm">Java Mapping</a>
If you need any further documents or help on Java Mapping with very good examples, drop me a mail.
Regards,
Bhavesh
Hi Venu,
WE19 in R/3 system is just a test tool to debug the existing Idocs in a debug mode in case your Idoc has errors. This tool is used as a error handling tool and it allows the EDI Administrators to debug and fix the data errors in the Idoc. In case of outbound processing, you can use this tool to test or resend an existing Idoc.
Actual processing of the Idocs is done by ALE Technology that enables data communication between two or more SAP Systems and/or SAP and external systems. The Idocs are generated by application transactions when they configure the outbound to EDI(type "6"), Partner Profile(we20) and communication port(we21) and RFC destionation(SM59) in case of TCP/IP and R/3 to R/3.
See below the answers to your questions.
>>>>>1) do we need to give same partner number in recipient and sender side.
>>>>>2) sender port is the port which we created in XI, do we need to create the same port with same name at R/3 side? otherwise how it recognizes in r/3 system?
Sender and recipient partners are different.
Receipient partner is the partner in your Partner Profile(we20) and Recipient port is the port you specified in your partner parofile. This was created using WE21 to communicate with your R/3
Sender Info is generated by ALE which is normally your R/3 LS and R/3 port(this can be your R/3 port in XI).
>>>>>>3)What is the impact of partner function in processing of idoc, how to recognize related partner function for the idoc message type
You have to define this in your partner profile in using WE20.
>>>>>>>4)what is the diffrence betwenn Idoc basic type and message type
Message Type is the message being exchanged between R/3 and R/3 and an external system.
Idoc represents the sturcture of the data associated with the message type.
>>>>>>>5)when we created the port in r/3 for XI, how can we register it as receiver port for the Idocs to be processed.
You can register this by using transaction WE20
>>>>>>6)when we created the port in XI for R/3 , how can we register it as sender port for the idocs to be processed.
Using transactions SM59, IDX1 and IDOC Receiver Communication Channel.
Hope this helps.
Rgds,
Sam Raju
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1) do we need to give same partner number in recipient and sender side.
A - You definitely need to give the partner details..the sender partner should be the relevant details of the R/3 system...This will be used by the receivng system(XI) to determine where it came from and also in the receiver determination...
The receiver port needs to be the tRFC port pointing to XI...however the partner details depends on your scenario...for instance you can give the partner number of the target system and XI can use this accordingly(in case XI also sends this message forward as an IDOC)...or you can put the target system details of XI and XI will have to determine what is to be done...
2) sender port is the port which we created in XI, do we need to create the same port with same name at R/3 side? otherwise how it recognizes in r/3 system?
A - The sender port name can be given as what was created in XI..but you need not do anyhting with this in the R/3 side...R/3(sending system) is mainly interested in the receiver details(port & partner details)
3)What is the impact of partner function in processing of idoc, how to recognize related partner function for the idoc message type.
A - It again depeneds on your scenario..If the participating systems are all SAP systems...the partner type LS makes sense to be used...and partners can be converted using the partner functions when generating idocs...this should be part of the output determination/idoc generation on the source...In XI if any Partner type is used other than LS..then the way the routing is done is different ..see this how-to document...
https://websmp206.sap-ag.de/~sapdownload/011000358700003604082004E/HowTo_IDOC_XI_Scenarios.pdf
4)what is the diffrence betwenn Idoc basic type and message type.
See the link...
http://www.sapgenie.com/sapedi/message_types.htm
5)when we created the port in r/3 for XI, how can we register it as receiver port for the Idocs to be processed.
A - The same port is used in both directions
6)when we created the port in XI for R/3 , how can we register it as sender port for the idocs to be processed.
A - The same port is used in both directions
Thanks,
Renjith
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Renjith Andrews /Sam Raju ,
Thank u very much.. for both of you.
My scenario is executed success fully.
I have one doubt do we need any - pre setting for
File-To-Idoc or the settings we have done so far related to Idoc-to-file is sufficient?
One more doubt is when we are doing File-To-Idoc scenario
what important things we need to concern in mapping.
My next scenario is File-to-Idoc, could u pls guide me .
Regards,
venu.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.