Sample JMS providing Queue Sender and Receiver programs

Hi,
I am using J2EE 1.3 server. I am new to JMS concepts can any one help me in writing a simple sample Queue sender and receiver programs and guide me in deploying it and running the program. How to use JNDI context here.

here is sun's tutorial on the matter
http://java.sun.com/products/jms/tutorial/1_3_1-fcs/doc/client.html#1056518
it is a pretty straight forward process... Try that out and post some more if you run into any problems.

Similar Messages

  • How can we send and receive voice in same program

    Please can any one suggest me how to send and receive voice in the same program. I want both AVTransmit & AVReceive in the same program i tried it but its too difficult to do it.. Any one has got that code? And also i want my program to know if any third person is wanting to call me.. I mean how to recognise a new call. Please relpy to the following mail id.. Please i need it urgently..
    [email protected]

    Sir please execute this code.
    printf("I need it ");
    for(i=0;i<=infinity;i++)
    printf("V E R Y ");
    printf("U r g e n t");
    Now Please Send it to me sir.Please..Does not compile!

  • Sending and receiving SOAP over JMS in XI

    Hai All,
    I am working on a scenario in which I have to send a SOAP message over JMS adapter to XI and receive again the SOAP message over the JMS adapter.
    Here my questions are:
    1.How can I configure the JMS adapter to get the SOAP messages into XI.
    Thanks in Advance
    Srikanth

    Hi,
    1. Get the WSDL of the soap message and send it as a payload to the JMS adapter including the SOAP envelope.
    OR
    2. You can create the structer of teh SOAP body and while sending it and receiving it you can use either XSLT or JAVA or ABAP mapping to add and remove the SOAP envelope. So you can send/receive them as a payload to the JMS adapter
    Regards,
    Prakash

  • Mail (5.3) OS X 10.7.5 mail program crashing when opening an email with attachment. Any suggestions out there? I can open the mail program...send and receive emails...click on emails without attachments with no problem.

    I am having a problem successfully opening an email containing attachment. I can open the mail program...send and receive emails...and view emails that do not contain attachments. But whenever I click on an email containing an attachment, I get the spinning beach ball for a few seconds and then the entire program closes. Any suggestions before I make a one hour trip to the Apple store for help?

    I don't think an interactive portion of a PDF is an obscure problem (lots of designers I know use rollable PDF files for emailing 3D models) and while I understand that it's in a legacy program, there is no guarantee if I purchase Acrobat X, that the same problem won't exist. It's no an issue in Reader 10 but then again, it wasn't an issue in Reader 9 either. Since Adobe doesn't give trial versions for Mac (stupid), I have no way of checking this. The problem doesn't annoy me as much as being an Adobe product user who upgraded only to not have functionality and not have a way to have it resolved.

  • Safari has become very slow the last few days, only on a few programs - google, youtube, wikipedia.  Also mail is slow to send and receive.

    Safari and mail have become slow only the last few days.  Mail is slow to send and receive, but e-mails do come through.  Safari is very slow to load on only a few web sites - google, wikipedia, youtube.  But fine on others.
    OS X  10.6.2
    Safari  4.0.3
    Mail   4.2

    Hi Andy...
    safari, Mac OS X (10.6.3)
    10.6.2 / 4.0.3...
    Whether you are running Mac OS X 10.6.2 or 10.6.3 your system software is completely outdated.
    Click your Apple menu icon top left in your screen. From the drop down menu click Software Update.
    Your Mac OS X needs to be at v10.6.8 / Safari should be 5.1.7
    And make sure there's enough free space on the startup disk to install software updates.
    Right or control click the MacintoshHD icon on your Desktop.
    Click Get Info. In the Get Info window you will see Capacity and Available. Make sure there's a minimum of 15% free disk space.
    edited by:  cs

  • Determine Sender and Receiver in adapter module?

    All,
    Non-XML messages from different senders are received via the same JMS queue.  In the text payload, the ID of the sender and receiver is contained.
    Would it be technically possible to develop a JMS adapter module that sets the Sender Party, Sender Service, Receiver Party and Receiver Service based on the content of the message payload?  Is it possible to influence sender and receiver in an adapter module?
    Kind regards, Guy Crets

    Hi Steven,
    It seems like you can not convince XI to pick up a new message. The code below works when you use "inputModuleData.setPrincipalData(msg);" but not with "inputModuleData.setPrincipalData(msgnew);".
    The error in the Runtime Workbench is: "Catching exception calling messaging system' found, cause: javax.transaction.InvalidTransactionException: Cannot invoke call from within a transactional context.".
    I tried to set the RefToMessageId on the new message, but this does not work either.
    Does anybody know why the InvalidTransactionException is thrown?
    Here is the example code:
    public ModuleData process(ModuleContext moduleContext, ModuleData inputModuleData) throws ModuleException
      try {
        Message msg = (Message) inputModuleData.getPrincipalData();
        Context ctx = new InitialContext();
        ConnectionFactory cf = (ConnectionFactory) ctx.lookup(
          com.sap.aii.af.ra.ms.api.ConnectionFactory.JNDI_NAME);
        MessageFactory  factory = cf.createMessageFactory("XI");
        Message  msgnew = factory.createMessage(
          msg.getFromParty(),msg.getToParty(),
          msg.getFromService(),msg.getToService(), msg.getAction());
        msgnew.setConversationId(msg.getConversationId());
        msgnew.setDocument(msg.getDocument());
        inputModuleData.setPrincipalData(msgnew);
      catch (Throwable t)
        ModuleException me = new ModuleException("MyException");
        throw me;
      return inputModuleData;
    Best regards,
    Simon

  • Trouble send and receiving messages and trouble calling people or receiving phone calls

    Hello everyone, I bought a Blackberry Q5 one year ago and has worked perfectly since but on christmas day I had was struggling to send message to people I thought nothing of it since it was christmas and people would be wishing there families and friends a merry christmas. So i just carried on as usual not aware that the problem was much worse then i thought, since then I have tried time and time again to try text people and call them but nothing would happen.
    The Problems I am experiencing,
    Everytime I try sending a message it fails and times out after a while doesn't matter whom they are being sent to it's the same story no matter who I send them to, and then of course when i try calling someone the phone goes to the calling screen but doesn't make a sound for atleast 10 seconds then a message pops up saying "Call Failure, The call could not be connected. Please try again later". This message appears even when I ring '789' which is the number to find out what my balance is on my contract.
    At first I thought it was the Sim what was cauing the problems but when i swapped it into another Virgin phone i received quite an alarming amount of messages what would not come through on my phone, this is when i realised I am not just struggling to send messages but to receive them as well. I have scoured the internet for possible answers but nothing has worked, so far I have tried manually scanning for available networks and selecting the correct one which did not change the problem this didn't make things better nor did it make things worse.
    I have also tried changing the data services while roaming settings which again did not make any differences, I have tried changing network mode no changes again, turning the mobile network off all together and then turning it back on after 5 minutes no success there either. I have even reset the phone back to factory setting to try and fix the problem, but no, the problem still will not go away.
    Please if there is anyone out there who has any ideas on how to fix what is happening to my phone please do give me your advice, at this moment I really need a miracle to come around at the next corner.

    Hi rhupa!
    Here is an article that will help you troubleshoot this issue:
    OS X Mail: Troubleshooting sending and receiving email messages
    http://support.apple.com/kb/ts3276
    Mail Connection Doctor shows one or more red dots in the account Status column
    Check your Incoming IMAP or POP and Outgoing SMTP email account settings
    Use Apple's online Mail Setup Assistant to discover what the correct settings should be for both your Incoming (IMAP or POP) and Outgoing SMTP email servers. If your email service provider is not listed in the Mail Setup Assistant, visit your email service provider's website or contact their support staff to get the correct settings. You can use this "cheat sheet" when asking your email service provider about the settings you need.
    After you have the correct email service provider settings, make sure Mail is configured properly.
    Click here if your Incoming and Outgoing email account settings are correct, but the issue persists
    Thanks for coming to the Apple Support Communities!
    Regards,
    Braden

  • Is there a software in which I can hook up my iPhone 4s to my computer and send and receive text messages and calls (via headset) through my computer?

    Is there a software in which I can hook up my iPhone 4s to my computer and send and receive text messages and calls (via headset) through my computer? Whether it's free or cost money, can someone please give me a name of a program or software that allows me to do this? I can't seem to find anything like this for the iPhone.

    No.

  • Can 2 people in different locations at the same time import, access, send, and receive the same messages from the same email account

    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
    Lisa

    Hi,
    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

  • IMessage waiting for activation. Phone number not listed in Send and Receive at?

    I'm going to try to be as descriptive as possible, as I'm not too sure what else I can possibly do to resolve this issue.
    3 or 4 days ago I requested a number change through my provider. Not knowing that I had to turn off iMessage whilst waiting for the change to occur, I left it on.
    Later that day my friends were complaining that I was sending them texts from two different numbers, one being my new number, one being my old number. The thing is, I'm using the exact same SIM card and it's a little unusual to have two numbers for one SIM. I then realised that iMessage is ONLY registering my iTunes e-mail address and OLD phone number as an option to 'Send and Receive at'. I have spoken to Optus (my provider in Aust.) and Apple, I have gone into an Apple store, had the phone replaced, restored newtwork settings, restored phone altogether, turned on/off iMessage and Facetime, checked date and time, made sure my correct number is listed in Settings > Phone, etc etc etc I've done EVERYTHING listed in all forums that I've read from people experiencing this same issue.
    I can choose to select my old phone number in iMessage, and can then send messages to others using iMessage from the old number, and if I switch it off, I'm then using SMS to send messages, and it's from my new number again! It's very frustrating not having all features on my phone working correctly.
    If I switch iMessages and Facetime on, not using my Apple ID to sign in, it simply says 'waiting for activation' and after a few hours, tells me it was unsucessful and to try again. I'm all out of options now, Optus don't know what to do, Apple don't know what to do and I don't know what else to do! It's been 4 days! Someone please help!?

    Just thought I'd let everybody know how it finally got resolved 1 week later!
    After trying absolutely everything, and I mean EVERYTHING that Apple support, apple forums etc told me to do, the only thing that worked was turning iMessage off, waiting for at least 24 hours at then turning iMessage back on.
    It activated itself within a few minutes, no dramas at all!
    Hope this helps!

  • How do I send and receive email with my @me email account

    I want to drop yahoo as my email provider, so how do I send and receive email using my @me account.  Using yahoo, you go to yahoo, then mail and your good to go. I'm not a tech expert and fairly new to apple products and would like the improved security of an apple address.

    Hi stephraerae,
    Welcome to the Support Communities!
    The article below may be able to help you with this.
    Click on the link to see more details and screenshots. 
    iOS: Adding an email account
    http://support.apple.com/kb/ht4810
    iCloud is one of the options you can choose for your email provider.
    iCloud: Set up iCloud Mail on your devices
    http://support.apple.com/kb/PH2621
    This article includes the specific iCloud server settings:
    iCloud: Mail server information
    http://support.apple.com/kb/HT4864
    Hope that helps ...
    - Judy

  • How to build an E-mail sending and receiving application in Windows Azure?

    I am a beginner Windows Azure Developer and I am trying to build applications like Gmail, Hotmail, YahooMail, etc. However, I am unable to build such an application. I have come to know how to send e-mail using SendGrid. Even, I don't know how to configure
    to receive e-mails. Please help me on how to develop such an application in windows azure.
    Regards

    hi Yash,
    Thanks for posting!
    About how to send mail using sendgrid, I suggest you could try this tutorials firstly via smarx's blog(http://blog.smarx.com/posts/emailtheinternet-com-sending-and-receiving-email-in-windows-azure).
    It supplied the method and code sample you could download . You may need create a listener to listen on the right port on workrole always.
    Please try it.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Sender and Receiver Idoc

    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.

  • Sender and Receiver details in XML for FAX

    Hi,
    I have to send below informations in XML which is for fax(RightFax).
    I am creating XML file in Smartforms.
    They told me to provide sender and receiver details in XML. I dont know where to fill all these details.
    Has anybody worked with RightFax for Smartforms? Please share with me.
    Thanks,
    Ramesh

    hi,
    upon understading your question i got a link.please go through this .
    https://forums.sdn.sap.com/click.jspa?searchID=12286932&messageID=5229365
    please reward me if helpful.

Maybe you are looking for

  • VPN Client and Windows Folder Synchronisation

    We are currently having problems with Windows XP Laptops which have folders Synchronised to Servers. When they are working remotely, they use the VPN client to connect to the network. Unfortunately, the VPN Client Adapter does not appear in the "Netw

  • Work Order Reporting using I_BEGRP as a selection criteria

    Hello all, I am having a small problem regarding the authorization object I_BEGRP, which appears at general data informed tab at equipment level. The situation is as described below: Our client has several subcontractors working with Maintenance Work

  • Display correct error in REPORTS 10g?

    When I run a report 10g with error, always occur the error ORA-01403, but not display the correct error. In Reports6i, the information error display correct. Exists some way to show the correct error ???

  • Please help Unicode!!! thanks

    Hi all! I copied two files from java.sun.com and run it. But the program didn't show the Font correctly(Unicode). I've been told by the instruction of how to run this program is: I have to do something like"Before trying it out, verify that the appro

  • I want to query sql server database from oracle

    i want to query sql server database from oracle can anyone help me in this regard