File Sender and Receiver
Hi,
As per the weblog /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2, I did follow the steps. I configured serv-u FTP server for my local system. I gave my systems Ip Address, c:\FTPServer as the directory to be used.
In FileSender Adapter, I gave all the details...but still it is not working. Is there something else I am missing?
Please advice.
Thilothama
FTP Server - Do I have to give the XI box's IP ?? I gave my local system's IP and I have configured my local system as a FTP server with the above IP and have given c:/ftpserver as the directory, test/test as username and password.
What do u mean by Logical folder?? how do i give that??
My question is, what is the underlying logic?? XI takes the file from the ftp server (even if its my local system)?
Also I am connecting through VPN to XI, so Do I have to do something on the FTP server side?? like connecting to XI through FTP?? I am totally blind..Please help!!!
It would help if you could give step by step solution
Thanks
Thilothama
Similar Messages
-
Error handling : File( sender and receiver)
Hi Experts,
This is regarding some information i require in the Error Handling mechanisms we can use while picking up the file through File Sender Adapter and while placing the same on the receiver adapter :
Scenarios like :
a) Validations we can put , on the file , should that be done in SAP XI or after placing in SAP ERP.
b) If the file is of a different format and isnt picked up how can that be handled ? ]
c) if the File contains wrong data , should the alert be generated in SAP or SAP XI ?
d) If the file does not arrive in the folder itself what is the error handling meachanism ?
e) diff
thanks
Deva) Validations we can put , on the file , should that be done in SAP XI or after placing in SAP ERP
Do validations on File mean perform a check on the file for its contents, format, structure? If yes, then these are performed in XI/ PI
b) If the file is of a different format and isnt picked up how can that be handled ?
The file channel will throw an error if it is not able to find the file (specified in sender channel) during its poll interval.
c) if the File contains wrong data , should the alert be generated in SAP or SAP XI ?
If SAP is the target system, then better the check and alert be done in SAP XI/ PI, as far as possible we should avoid sending wrong data to the target.
d) If the file does not arrive in the folder itself what is the error handling meachanism ?
Which folder are you talking about? If it is source folder then the error will be thrown as mentioned in point b.
If it is target folder, then the error (if any) will be captured either in IE or AE of SAP XI/ PI and can be intimated using alerts.
Regards,
Abhishek. -
How send and receive XML file from PI 7.0 via SSL
Hello experts,
Can you point to some documentation , examples , links where I can get some information on how to send and receive XML files using PI 7.0 via SSL ?
Thanks in advance.Hi,
refer to the following links.
Enabling SSL
http://help.sap.com/saphelp_nwpi71/helpdata/en/14/ef2940cbf2195de10000000a1550b0/content.htm
Adapter specific security
http://help.sap.com/saphelp_nwpi71/helpdata/en/f5/799add57aeee4f889265094a04695c/frameset.htm
regards,
MIlan Thaker. -
Send and receive files between unix machines
Hi friends,
I have to send and receive files from one unix machine to another unix machine. In my first unix machine I have tomcat webserver. Using a JSP I have to send and receive files from this machine to another machine. The destination machine contain some BAAN implementation, which take the files I send as input .
Can you send me a java program to solve this problem.Hi friends,
I am getting a problem in my application. I will state the complete problem in detail. I have to transfer 3 files from one NT machine to unix machine some where kept in net work, I used an ftp in 'Process p = getRunTime().exec("ftp -i -s:ftp.txt")'. In ftp.txt file I have given the necessary things for ftp to unix machine. The files are transfering into the unix box. When I to the process for the 2nd time I have to check whether the file are exists in the unix box, then only transfer the files. Now, again I am doing ftp bring the files from the unix box to NT machines using 'Process p = getRunTime().exec("ftp -i -s:ftp1.txt")' where ftp1 contains all the necessary things for ftp to unix machine . Now I am checking for the files available in the NT machine using boolean=(new File(filename)).exists(), Fine out of 3 files, 2 file shows the return type as 'true' and one file is showing 'false', even the same happens if I delete the 3 files after checking, out of 3 files, 2 file shows the return type as 'true' and one file is showing 'false'. I went to the folder where I am bring files from and removing the files manually, one file is showing share violation, one process is using the file . I am unable to resolve this problem, will this code what I write is acceptable if not suggest any other code. I have sending all the snippets of the programs. I am doing this in the development environment like this. My production environment is totally both are unix machines.
1. ftp to transfer files.(tranfer.txt)called in java code down
open 172.16.30.6
informix
informix
bin
has
cd /tmp
put d:/dathu/CSV/bssfa932.txt
put d:/dathu/CSV/bssfa933.txt
put d:/dathu/CSV/bssfa936.txt
bye
2. ftp to get the files(get.txt)used in java code down
open 172.16.30.6
informix
informix
bin
has
cd /tmp
lcd d:/dathu/hold
get bssfa932.txt
get bssfa933.txt
get bssfa936.txt
bye
3. java code snippet to getfiles
Process p = Runtime.getRuntime().exec("ftp -i -s:get.txt");
4. java code to check the files exist
boolean filestatus=moCreatFlatFilerobj.isFileExists();
public boolean isFileExists(){
boolean isfileexisting=false;
boolean blnordhead = (new File(file1 with path)).exists();
boolean blnordlines = (new File(file2 with path)).exists();
boolean blnaccount = (new File(file3 with path)).exists();
if(blnordhead && blnordlines && blnaccount){
isfileexisting=true;
return isfileexisting;
5. java code to delete files
public void deleteFiles(){
boolean header= (new File(file1 with path)).delete();
boolean line =(new File(file2 with path)).delete();
boolean account=(new File(file3 with path)).delete();
6. java code to tranfer files.
p = Runtime.getRuntime().exec("ftp -i -s:transfer.txt"); -
Need to use only one sender and receiver communication channel.
Hello Experts.
I have a scenario where in I have to use only one sender and receiver communication channel to push files from different source directories to different receiver directories.
For Eg;
Sender
D://dir1/file1 ---> E://dir1/File1
F://dir2/file2 ----> G://dir2/file2
H://dir3/file3-----> I://dir3/file3.
Can this be achieved by using pass through scenario?
Please let me know if the requirement is not clear.
Thanks in advance.
Advit RameshHi Advit,
I think it is possible. You have to use the Advanced Selection for Source file in the sender channel to define multiple files to be picked up. Also, the Dynamic configuration must also be enabled and used in the mapping so you can manipulate the target directory and target file name based on your source files.
For Polling from multiple directories:
http://wiki.scn.sap.com/wiki/display/XI/File+Sender+Adapter+-+Polling+Multiple+Directories
Dynamic Configuration:
Dynamic file name and directory in Receiver File Adapter - summary of possibilities - Process Integration - SCN Wiki -
I import messages into Thunderbird. I send and receive emails. One of the things I like about Thunderbird is that I can insert (image, link, etc) right where I want to, and I can Attach. But not just a simple attach file. No, I can also click Attach and choose Webpage. A lot of web-based emails are plain, simple, no frills - Attach file and that's it.
So I need to have my client be able to do the same thing I do when sending out emails, Namely sending out emails with an Electronic Press Kit (EPK) attached - which is to say, a webpage (not a pdf in our case). So, I need her to download, install, and use Thunderbird.
Here's the problem and my question. She needs to access, send, and receive from my email account. That would be easy if it was simple attach files - she could just login on the web, go to squirrel mail and bang it out.. Here it is: She needs to be able to import the messages to be able to reply to some messages - she needs access to what I have access to. She needs to use Thunderbird so she can take advantage of the features like insert image with link or attaching a webpage. My question is how will this affect my use? Can 2 people simultaneously and from different locations access and use the same email account or is it a case where her importing the emails would cut me off..Is it an either or thing? Basically, can her and I both import the emails or can they only be imported to one location at a time. Because every time someone sends me an email i get it right there on my Thunderbird application..it's imported to my Thunderbird..I want her and I to be able to do that without affecting each other. I don't want her to start importing to her desktop and then I can no longer import. If she says "point those messages to my computer what will happen to my ability to access them on my computer in the same manner I am currently?I think there is a contradiction in your requirements. You want two people to share an account and you don't want either to interfere with the other.
The short and simple answer is to use IMAP to connect to the mail server. If your current email provider doesn't offer IMAP, find another that does. This is old technology already and it's disgraceful that some email providers haven't yet put it in place.
IMAP means that your messages are stored on the server and both of you will see exactly the same set of messages. And therein lies the contradiction; you will both see changes made by the other so you are inherently interfering with one another.
Caveats: some providers may not permit you both to access the account concurrently, and even if they do, things may become interesting if you both choose to work on the same message simultaneously.
Note that all of this is about email servers and protocols; your choice of Thunderbird as your email client has little bearing on the situation. -
Microsoft Exchange is not updating local Outlook - Send and Receive issues.
Hi everyone,
Our office has just moved to using Office 365 business edition where we are sending and receiving emails via Microsoft Online Exchange.
It has been running for 3 days so far and we do love the product however we are having a major issue at the moment and that is our local outlook 2010 and 2013 folders are not constantly synching with the exchange. We are finding that it can be hours
before emails push through to our inbox and we will receive 20 emails all at once. It is also occuring when we send emails, they will sit in the Outbox and the only way it seems to get them to send or receive is to close Outlook and re-open the program.
We also find that sometimes when we are out of the office and using the 'Outlook Web App' that emails we send to clients via here and not always synching with the local Outlook its a bit of a mess really. This is not great as we are a legal office
and need to attend to emails urgently at times and must have all emails arrive locally.
Can anyone shed some light on how this matter can be fixed urgently?
Thanks
LisaHi,
As far as I know, for the sync issue in the on-premise Exchange server environment, we can check if we have selected the option ”send immediately when connected”:
Outlook 2013: file>options>advanced> send and receive> send immediately when connected
However, since your server is Exchange online, I recommend you ask for more professional help on our Exchange online forum:
http://social.technet.microsoft.com/Forums/msonline/en-US/home?forum=onlineservicesexchange
Thanks,
Angela Shi
TechNet Community Support -
Sender and receiver agreement not cerated
Hi .
I am creating configuration scenario in ID by importing the integration scenario which i created in the IR.
I crated communication channel template also and i added it to the integration scenario in connections.
Query 1?
do i have to create Communication channels also.....even After creating communication channel template (because it is not seen the ID below communication channel )
Query 2 ?
once i transfer this integration scenario from IR to ID and cerate the configuration scenario (sender and receiver agreements are not getting created automatically)peace tell me what is the reason???.
and how can i resolve this...
thanks
shakifHi Mohamed,
<b>Query 1?</b>
<i>do i have to create Communication channels also.....even After creating communication channel template</i>
Yes You have to create as it's just a template that u created in IR. But u can use the same for creating CC.
Check this link for what's the Diff. B/w CCT in IR and CC in ID
Re: Communication Channels
<b>Query 2 ?</b>
<i>once i transfer this integration scenario from IR to ID and cerate the configuration scenario</i>
Yes. it will create automatically.
Just check my posting in Wiki for simple File to IDOC scenario might be u missing something
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/fileToIDOC&
and check my reply in this thread
Re: Doubt in transfering integration scenario from IR
Regards
Sachin -
Prerequisites for Sender and Receiver FTP adapter
Hi Experts,
I am new to PI and configuring simple file to file scenario. I need to know the prerequsites for sender and receiver FTP adapter. Scenario is System A -> XI -> System B .
What I want to know is:
1> What ports need to be opened?
2> Any service that I need to activate?
3> Do I need to install FTP server in any of the machine?
If I have missed something, please add.
Br,
NilzHi,
1> What ports need to be opened?
mentioned in below link as said its 21.
2> Any service that I need to activate?
No
3> Do I need to install FTP server in any of the machine?
THere are two ways by which u can pick ur file.
1) NFS by which u can put the file on XI appplication directory and pick up ur file.
2) FTP u have to put ur file on FYP server and XI will pick up the file from there. U can use freeware FTP and install it on ur Desktop search on goolge u will get ti FTP installtion.
refer the below configuration requirement for FIle adapter.
http://help.sap.com/saphelp_nw04/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/frameset.htm
ALso refer the end to end file to file scenario.
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/flatFILETOFLATFILE&
chirag -
Received email from contact has my name as sender and receiver
My mother and I email each other . She uses gmail , I use hotmail . Past week all mail sent by me to her has her name as sender and receiver in her in box . When I check my sent mail file it has my name as sender . She only has this problem with my email and not other contacts . We are both using IPad
Thank you for replying . We checked her contacts and where she has me as a contact it has my email as contact and also checked it in face time , messages
-
Hi there,
I am looking for step by step instrcutions on how to configure SFTP Codeplex adapter for both receive and send ports.
Out business partner with whom we push/poll the files from wants us to use SSH encryption/decryption etc.
Just wondering if the following functionality is supported in Codeplex SFTP adatper without having to write any code.
Appreciate if there is manaul to do this for SFTP. BTW I do have all the our public and private keys and business partners Public key for configuring.
For Send port: 1. we would need to encrypt the file with our business partners public key
2. sign the file with our private key.
3. Send the file through to SSH client which eventually transfers to Remote server.
Receive port: 1. Connect to SSH Server with SSH-2 key and receive the file
2. Verify the file's digital signature agaisnt the Business partners PGP public key
3. Decrypt the file using our PGP Public key
Thanks in advanceYes it is supported.
You can find its documentation in this link
You can find section X.509 Certificate Identity Keys
You can set public and private key in property SSH Identity thumbprint of send and receive port
I prefer to test it using client tool like
FileZilla or WinSCP then test it using sftp adapter
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer -
Code to retrive the sender and receiver interface names using custome adapter module
Hello Team,
I want to develop an custom adapter module which could retrieve the names of the sender and receiver interfaces of the scenario and for that i am trying to use com.sap.aii.af.service.administration.api.monitoring.ProcessContextFactory.ParamSet but i don't know whether this API will support or not and also i don't know how to develop the code using this API so please suggest me some code for it so that i could retrieve the names.
Thanks you all in advance.
Regards,
Avinash.Hi,
Just ASMA setting will do the needful. Are you planning to rename your target file name. If yes then only you will require UDF.
Update: Since your directory name will be taken from source file name then you have to use mapping for this, else it will not be possible.
I don't know if creating a new module for this will help you solve the issue, but in that case rather creating adapter module, mapping will be easier.
Regards,
Sarvesh
Edited by: Sarvesh Singh on Dec 7, 2009 3:04 PM -
Need to send and receive larger byte array
I have a small WCF service, self hosted in a console app. On the same computer I have a client application. Both are running in the debugger in VS2008. The proxy code and the config file were generatred from the running service using svcutil.
In one of the service calls, the service reads a pdf file and sends the contents as a byte array. The client receives the byte array, saves it as a pdf file, and displays it.
Everything is fine for all other kinds of calls, and this one works fine also as long as the file is small (say 14K). But if the file is larger (say 84K), the client crashes (VHOST has stopped working).
Is there some kind of setting that will allow me to send and receive larger byte arrays (> 100 K)?
Thanks,
Jon Jacobs
In transmission, subatomic particles managed by professionals.
No innocent electrons were harmed.Hi Jon,
You'll want something like this to increase the message size quotas:
<bindings>
<basicHttpBinding>
<binding name="basicHttp" allowCookies="true"
maxReceivedMessageSize="20000000"
maxBufferSize="20000000"
maxBufferPoolSize="20000000">
<readerQuotas maxDepth="32"
maxArrayLength="200000000"
maxStringContentLength="200000000"/>
</binding>
</basicHttpBinding>
</bindings>
The justification for the values is simple, they are sufficiently large to accommodate most messages. You can tune that number to fit your needs. The low default value is basically there to prevent DOS type attacks. Making it 20000000 would allow for a distributed
DOS attack to be effective, the default size of 64k would require a very large number of clients to overpower most servers these days.
If you're still getting this error message while using the WCF Test Client, it's because the client has a separate MaxBufferSize setting.
To correct the issue:
Right-Click on the Config File node at the bottom of the tree
Select Edit with SvcConfigEditor
A list of editable settings will appear, including MaxBufferSize.
Note: Auto-generated proxy clients also set MaxBufferSize to 65536 by default.
Let me know if this helped.
Regards,
Raghu -
Sender and receiver channel parameters
Hi Experts,
I am working on a flat file to flat file scnario. I need to remove the first two lines and last two lines from the flat file and send it to ECC via PI
The flat file looks like this
%802 750285 7502857 7502
%JHKJ UYOU 99 9090
dfafds 2255425 4545 sdfs fsdfsdf dsffs fsfda sfsf
rewre ewrewr wetwt wtwtw
%iuoi iuipo
%7878 8787
so i need to remove the first two lines (starts with % symbol) and last two lines (starts with % symbol) and convert back to flat file and send it to ECC.
I have created the data types as
Source Data type
DT_Source
Header 1..1
Header1
Header2
Recordset 1.. Unbounded
Record 1.1
Trailer 1...1
Trailer1
Trailer2
Target Data type
DT_Target
Recordset 1.. unbounded
Record 1.1
Could you plz let me know the sender and receiver channel parameters
Regards,
VaiHi Vaigai,
Grzegorz is right.
You can read all the flat file and remove the first two and last two lines using a mapping.
Check this link. There are some content conversion parameters in the sender file adapter that can be helpful
[http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm]
Regards,
Diego Estanguini Gabriel -
Hi All,
what are the settings need to be done on both XI system and SAP R/3 system while XI system is communicating to any SAP R/3 system through an IDOC on any side sender or receiver.
Will there be any difference in the settings for sender and receiver SAP R/3 systems.
Could any body please suggest me some blogs or documents.
Thanks in advance..
Regards,
Radhika.Hi Radhika,
Hi
http://help.sap.com/saphelp_nw04/helpdata/en/18/22b800773211d396b20004ac96334b/content.htm
http://www.erpgenie.com/index.php?option=com_content&task=view&id=346&Itemid=57
http://searchsap.techtarget.com/loginMembersOnly/1,289498,sid21_gci994575,00.html?NextURL=http%3A//searchsap.techtarget.com/expert/KnowledgebaseAnswer/0%2C289625%2Csid21_gci994575%2C00.html
http://www.thespot4sap.com/Articles/SAP_ALE_Other_Concepts_Conclusion.asp
Refer this material..
Data Creation in Idoc
IDocs are text encoded documents with a rigid structure that are used to exchange data between R/3 and a foreign system. Instead of calling a program in the destination system directly, the data is first packed into an IDoc and then sent to the receiving system, where it is analyzed and properly processed. Therefore an IDoc data exchange is always an
asynchronous process. The significant difference between simple RFC-calls and IDoc data exchange is the fact, that every action performed on IDocs are protocolled by R/3 and IDocs can be reprocessed if an error occurred in one of the message steps.
While IDocs have to be understood as a data exchange protocol, EDI and ALE are typical use cases for IDocs. R/3 uses IDocs for both EDI and ALE to deliver data to the receiving system. ALE is basically the scheduling mechanism that defines when and between which partners and what kind of data will be exchanged on a regular or event triggered basis. Such a set-up is called an ALE-scenario.
IDoc is a intermediate document to exchange data between two SAP Systems.
*IDocs are structured ASCII files (or a virtual equivalent).
*Electronic Interchange Document
*They are the file format used by SAP R/3 to exchange data with foreign systems.
*Data Is transmitted in ASCII format, i.e. human readable form
*IDocs exchange messages
*IDocs are used like classical interface files
IDOC types are templates for specific message types depending on what is the business document, you want to exchange.
WE30 - you can create a IDOC type.
An IDOC with data, will have to be triggered by the application that is trying to send out the data.
FOr testing you can use WE19.
How to create idoc?
*WE30 - you can create a IDOC type
For more information in details on the same along with the examples can be viewed on:
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm#_Toc8400404
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a6620507d11d18ee90000e8366fc2/frameset.htm
http://www.sappoint.com/presentation.html
http://www.allsaplinks.com/idoc_search.html
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://www.erpgenie.com/sapedi/idoc_abap.htm
To Create Idoc we need to follow these steps:
Create Segment ( WE31)
Create Idoc Type ( WE30 )
Create Message Type ( WE81 )
Assign Idoc Type to Message Type ( WE82 )
Creating a Segment
Go to transaction code WE31
Enter the name for your segment type and click on the Create icon
Type the short text
Enter the variable names and data elements
Save it and go back
Go to Edit -> Set Release
Follow steps to create more number of segments
Create IDOC Type
Go to transaction code WE30
Enter the Object Name, select Basic type and click Create icon
Select the create new option and enter a description for your basic IDOC type and press enter
Select the IDOC Name and click Create icon
The system prompts us to enter a segment type and its attributes
Choose the appropriate values and press Enter
The system transfers the name of the segment type to the IDOC editor.
Follow these steps to add more number of segments to Parent or as Parent-child relation
Save it and go back
Go to Edit -> Set release
Create Message Type
Go to transaction code WE81
Change the details from Display mode to Change mode
After selection, the system will give this message The table is cross-client (see Help for further info). Press Enter
Click New Entries to create new Message Type
Fill details
Save it and go back
Assign Message Type to IDoc Type
Go to transaction code WE82
Change the details from Display mode to Change mode
After selection, the system will give this message The table is cross-client (see Help for further info). Press Enter.
Click New Entries to create new Message Type.
Fill details
Save it and go back
Check these out..
Re: How to create IDOC
Check below link. It will give the step by step procedure for IDOC creation.
http://www.supinfo-projects.com/cn/2005/idocs_en/2/
ALE/ IDOC
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sappoint.com/abap.html
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.docs
go trough these links.
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sappoint.com/abap.html
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.allsaplinks.com/idoc_sample.html
http://http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
An IDoc is simply a data container that is used to exchange information between any two processes that can understand the syntax and semantics of the data...
1.IDOCs are stored in the database. In the SAP system, IDOCs are stored in database tables.
2.IDOCs are independent of the sending and receiving systems.
3.IDOCs are independent of the direction of data exchange.
The two available process for IDOCs are
Outbound Process
Inbound Process
AND There are basically two types of IDOCs.
Basic IDOCs
Basic IDOC type defines the structure and format of the business document that is to be exchanged between two systems.
Extended IDOCs
Extending the functionality by adding more segments to existing Basic IDOCs.
To Create Idoc we need to follow these steps:
Create Segment ( WE31)
Create Idoc Type ( WE30)
Create Message Type ( WE81)
Assign Idoc Type to Message Type ( WE82)
imp links
http://www.allsaplinks.com/idoc_sample.html
http://www.sapgenie.com/sapedi/idoc_abap.htm
www.sappoint.com
--here u can find the ppts and basic seetings for ALE
http://sappoint.com/presentation.html
www.sapgenie.com
http://www.sapgenie.com/ale/index.htm
WE30 - you can create a IDOC type.
An IDOC with data, will have to be triggered by the application that is trying to send out the data.
Try this..Hope this will help.
Steps to configuration(Basis) >>
1. Create Logical System (LS) for each applicable ALE-enabled client
2. Link client to Logical System on the respective servers
3. Create background user, to be used by ALE(with authorizaton for ALE postings)
4. Create RFC Destinations(SM59)
5. Ports in Idoc processing(WE21)
6. Generate partner profiles for sending system
The functional configuration(Tcode: SALE)
Create a Customer Distribution Model (CDM);
Add appropriate message types and filters to the CDM;
Generate outbound partner profiles;
Distribute the CDM to the receiving systems; and
Generate inbound partner profiles on each of the clients.
Steps to customize a new IDoc >>>
1. Define IDoc Segment (WE31)
2. Convert Segments into an IDoc type (WE30)
3. Create a Message Type (WE81)
4. Create valid Combination of Message & IDoc type(WE82)
5. Define Processing Code(WE41 for OUT / WE42 for IN)
6. Define Partner Profile(WE20)
Important Transaction Codes:
SALE - IMG ALE Configuration root
WE20 - Manually maintain partner profiles
BD64 - Maintain customer distribution model
BD71 - Distribute customer distribution model
SM59 - Create RFC Destinations
BDM5 - Consistency check (Transaction scenarios)
BD82 - Generate Partner Profiles
BD61 - Activate Change Pointers - Globally
BD50 - Activate Change Pointer for Msg Type
BD52 - Activate change pointer per change.doc object
BD59 - Allocation object type -> IDOC type
BD56 - Maintain IDOC Segment Filters
BD53 - Reduction of Message Types
BD21 - Select Change Pointer
BD87 - Status Monitor for ALE Messages
BDM5 - Consistency check (Transaction scenarios)
BD62 - Define rules
BD79 - Maintain rules
BD55 - Defining settings for IDoc conversion
WEDI - ALE IDoc Administration
WE21 - Ports in Idoc processing
WE60 - IDoc documentation
SARA - IDoc archiving (Object type IDOC)
WE47 - IDoc status maintenance
WE07 - IDoc statistics
BALE - ALE Distribution Administration
WE05 - IDoc overview
BD87 - Inbound IDoc reprocessing
BD88 - Outbound IDoc reprocessing
BDM2 - IDoc Trace
BDM7 - IDoc Audit Analysis
BD21 - Create IDocs from change pointers
SM58 - Schedule RFC Failures
Basic config for Distributed data:
BD64: Maintain a Distributed Model
BD82: Generate Partner Profile
BD64: Distribute the distribution Model
Programs
RBDMIDOC Creating IDoc Type from Change Pointers
RSEOUT00 Process all selected IDocs (EDI)
RBDAPP01 - Inbound Processing of IDocs Ready for Transfer
RSARFCEX - Execute Calls Not Yet Executed
RBDMOIND - Status Conversion with Successful tRFC Execution
RBDMANIN - Start error handling for non-posted IDocs
RBDSTATE - Send Audit Confirmations
FOr testing you can use WE19.
You can directly create an iDoc using some transaction like...
Use TCODE bd10 - to Send Data
and TCODE bd11 - to Get Data
and you can check the IDoc List using TCODE we02.
As you want step by step procedure.
1. Define Logical System and Assign Logical System
TCODE sale
2. Define RFC
TCODE sm59
3. Define Port
TCODE we21
4. Define Partner Profile
TCODE we20
5. Define Distribution Model
TCODE bd64
6. Send Data
TCODE bd10
7. Get Data
TCODE bd11
8. IDoc List
TCODE we02
There are basically two types of IDOCs.
Basic IDOCs
Extended IDOCs
Idoc Components
Basic Idoc
Basic IDOC type defines the structure and format of the business document that is to be exchanged between two systems.
Extension Idoc
Extending the functionality by adding more segments to existing Basic IDOCs.
Creation of IDoc
To Create Idoc we need to follow these steps:
Create Segment ( WE31)
Create Idoc Type ( WE30)
Create Message Type ( WE81)
Assign Idoc Type to Message Type ( WE82)
Creating a Segment
Go to transaction code WE31
Enter the name for your segment type and click on the Create icon
Type the short text
Enter the variable names and data elements
Save it and go back
Go to Edit -> Set Release
Follow steps to create more number of segments
Create IDOC Type
Go to transaction code WE30
Enter the Object Name, select Basic type and click Create icon
Select the create new option and enter a description for your basic IDOC type and press enter
Select the IDOC Name and click Create icon
The system prompts us to enter a segment type and its attributes
Choose the appropriate values and press Enter
The system transfers the name of the segment type to the IDOC editor.
Create IDOC Type
Follow these steps to add more number of segments to Parent or as Parent-child relation
Save it and go back
Go to Edit -> Set release
Create Message Type
Go to transaction code WE81
Change the details from Display mode to Change mode
After selection, the system will give this message The table is cross-client (see Help for further info). Press Enter
Click New Entries to create new Message Type
Fill details
Save it and go back
Assign Message Type to IDoc Type
Go to transaction code WE82
Change the details from Display mode to Change mode
After selection, the system will give this message The table is cross-client (see Help for further info). Press Enter.
Click New Entries to create new Message Type.
Fill details
Save it and go back
u can also check all these links related to idocs
http://www.allsaplinks.com/idoc_sample.html
http://www.allsaplinks.com/
http://www.sap-img.com/
http://www.sappoint.com/abap.html
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEIO/BCMIDALEIO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEPRO/BCMIDALEPRO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFAALEQS/CABFAALEQS.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDISC/CAEDISCAP_STC.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDI/CAEDI.pdf
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://expertanswercenter.techtarget.com/eac/knowledgebaseCategory/0,295197,sid63_tax296858_idx0_off50,00.html
http://sap.ittoolbox.com/documents/popular-q-and-a/extending-a-basic-idoc-type-2358
http://help.sap.com/saphelp_47x200/helpdata/en/dc/6b7eee43d711d1893e0000e8323c4f/frameset.htm
Reward points if this helps
Regards
Vani.
Maybe you are looking for
-
G/L account does not exist in company code
Hi, When posting a GR (movement type 101) via MIGO one of my users ran into above error message: G/L account 300000 does not exist in company code PFNA. I first checked the material valuation and found out that it was incorrect. After the material va
-
Classic ipod -cd read failure.
In the diagnostics of i-tunes, have appx 100 of my 1k c/d collection that are all receiving the same error-copied below. I have turned off the windows media player- did not help- any input? It reads the tracks, starts up, then crashes the computer. c
-
Let user assign header for Report Painter Report
Hi all, I would like to let the user assign the header while generate the report. (Because the report is somewhat dynamic) Here the details of my requirement: 1) Let the user input the header text in the selection screen of the report 2) Display the
-
Hello All, During MIGO GR against Production Order due to a dump in a customized BADI, the Material Document gets generated but Accounting Document Doesn't generated. Now we have solved the problem and dump is not coming. Now our requirement i
-
4000-5000 ms delays when accessing Office365 voicemail
A couple of our customers recently moved their voicemail from an on-premise Exchange server to a cloud-based solution with Office365. Afterwards, users are reporting delays of around 5-seconds from the time the Messages button is pressed to when the