ICWeb - Create a PO an R/3 and send PO number back to CRM ICWeb

Hi,
I'm in a service ticket in ICWeb, I want to create PO's on R/3 and have the PO numbers linked to the service ticket.
I have it working with Transaction Launcher and a BOR object - but it's not the most stable solution.
This is how it works: Send Service Ticket number to R/3 through an RFC this is saved on R/3 Z table, Transaction Launcher from IC Web to R/3, Call BOR object, BOR object reads service ticket number on R/3, this "Calls Transaction ME21" in synchronous mode.  When PO saved, GET PO number, call CRM with an RFC from R/3 with service ticket and PO number (this is saved to Z table on CRM), come back to ICWeb.
The call transaction ME21 in sync mode doesn't always work in webgui (abox).
So any other ways?
Cheers
David

David,
Transaction ME21N is the new transaction with enjoysap components. You could still use ME21 to do BDC, Launcher etc kind of stuff.
I think that the simple way would be to call BAPI for PO creation on R/3. This would give you everything.
Is there any other role of your Z table on R/3 except storing the Service ticket no. along with PO no and sending these back to CRM ?
Cheers
Ankur

Similar Messages

  • In OUT Bound of a Jaxws provider, how can we stop the provider invoking its endpoint and send a response back?

    Hi One & All
    While we are working on Delegate(provider) for JAXWS client handler in Weblogic10 , we have some technical issues and need some assistance.
    Problem Description
    In OUTBound of a provider, how can we stop the provider invoking its endpoint and send a response back?
    Example:
    I have a provider with some handlers configured for both IN and OUT flows. When the Jaxws provider is making a request, the OUTBound Handler gets invoked and in this Handler I would like to stop invoking actual endpoint and send back my own response. That means I should be able to tell the Handler chain to stop further processing of this flow, set a response message into message exchange and invoke the IN flow. How do I do that?
    This kind of mediation/interception is possible in standard specifications like JAX-WS, Servlets etc… wondering if Weblogic10 JAXWS provides any sort of this kind.
    Also we would like to know who is invoking a provider endpo     int in JAXWS stack in weblogic10? Is it an OUTBound handler at the end of handler chain or some other transport component after the handler chain?
    Thanks in Advance
    Suresh
    Edited by: user12494412 on Jan 22, 2010 7:06 AM

    I completely agree with this....I have used Windows and Skype for many years. I recently installed an older version of Skype to run on Windows 8.1 because the new version is SO AWFUL. As much as I prefer the older version (6.14), the daily number of SPAM CONTACT requests is rediculous and most are just variations of the same spammer. Maybe it is time to look for a replacement for both?

  • Creating a connection between the GUI and a program's back end

    I have created a program (over 50 classes) and am currently a little confused as to how I should connect the back end of my program (the real functionality) to my front end (the GUI). Currently I am thinking about using a list of event listeners in my back end that will announce when certain events have completed and thus front end can handle the updates accordingly.
    But I want to ensure that the back end doesn't "know" about the front end. In other words, I would like to ensure that the back end and the front end are as independent/modular as possible.
    Can anyone make some suggestions besides event listeners?
    Thanks,
    Timmers

    From what I am able to ascertain from your post, you would advocate using EventListeners in the back end (in same VM) to inform the GUI of changes?
    Is this the commonly accepted way of communicating your back end functionality to your front-end (GUI)?
    I've read that all EventListeners are part of a single thread. So what happens if two events occur simulataneously in the back-end. Do those events get queued or do some of them get lost?
    Thanks,
    Tim
    If the back-end changes state asynchronously to the
    front-end GUI (ie does work in background threads and
    then notifies the front-end when something happens),
    then you should make it send events when this happens.
    The basic concept is the same for CORBA, RMI, JINI,
    or running everything in the local VM.
    To do this you define a set of events (or maybe you
    can use the java.beans.PropertyChangeEvent) and
    listener interfaces. The front-end then registers to
    receive events (probably via an addXXXListener()
    method in the back-end). You would have to have a
    class (or classes) in the front-end that implemented
    the event listener interfaces to receive the events.
    If you are using a distributed technology (CORBA, RMI,
    JINI, ...) the concept is the same, but the event
    mechanisms are slightly different.
    To notify the back-end of state changes in the
    front-end you probably can just do plain old method
    calls from the front-end to the back-end.

  • Create a Doc for Filling Out and Sending On

    I'm trying to create a document for pricing quotes.
    The idea is that I (designer) create a document (writable) for a client to fill out, save (unwritable), and send to customers for price quotes.
    I've tried:
    creating text boxes - but when the document is filled out and saved, the client is still invited to change the fields (we don't want that!)
    creating signature boxes - which pulls up a lengthy and complicated signature field
    signing the document with multiple signatures - a hassle I wouldn't wish on a client
    going to the "sign" field of Adobe Reader, clicking "Add Text," and saving the document. - The save option still leaves the text editable upon reopening; the email option requires an echo account, which we're not looking for because we aren't actually creating legal documents.
    Any advice? I could really use it!George Johnson was helping before, when I hijacked Island Lady's thread (eep! sorry about that!)
    I'm using InDesign to create the document, saving into Acrobat Pro, and and/or reading in Adobe Reader (which my client will be using).
    A sample of the document is HERE

    Here are the preliminary instructions I'm sending to my client:
    Open the Document in Acrobat Reader 11.0.07
    Click on “Sign.”
    Click on “Place Signature” -or- if you’ve already done this once, click on the corresponding arrow, then click on “Change Saved Signature”
    Select “Type my signature”
    Type the word/s you would like to type in the “Enter Your Name” field (never mind that it’s not your name )
    Click “Accept”
    Drop the word/s in the text field you would like them to go in.
    Repeat until the form is filled out.
    Click “Signed. Proceed to Send”
    Click on “Save a Copy”
    Rename your document so that a copy is saved for you to email to the customer.
    Email your document using your own email program.
    Finished!

  • Create activity with more than partner and send email to all of them

    Hello All,
    I am working on CRM 5.0 activity management I want  to create activity with more than activity partner and send email to all of them
    Regards
    Khaled Fahim

    hi
    you can achieve this easily by creating a partner determination procedure in which you will be having more than one partner function having the function category as activity partner.
    once you created the PDP just attach this to the transaction and then call the procedure when you are actually creating an activity.
    for sending mail you can use FM
    SO_SEND_MAIL_DOCUMENT_AP1
    this is just one way
    another way is which stephen suggests
    you can use the personalised mail form functionality ,this is good in a way u neednt do any coding it will solve ur purpose in standard way.
    another way is when you create campaign and when an inbound activity is created for the every survey response
    this way you can send multiple mail and also for more than one or even n number of activity partners ,we can create the activity for the same
    best regards
    ashish

  • Newbie:how to create a page with 4 textfields and send data to MySql DB

    Dear all,
    i have created a page called page1 with 1 submit button named 'submitButton' and 4 textfields named:
    'date'
    'item'
    'contact'
    'phone'
    I have created a MySql DB table with the schema named 'association' and table named todolist3. Fields created in the table are :
    'Date' - >INTEGER->Primary
    'Item' ->VARCHAR(100)
    'Contact' ->VARCHAR(45)
    'Phone_contact' ->INTEGER
    what i want to do is to send the data from the 4 textfields to the database when i click the submit button. Below is the code i out in submit button. please kindly help as i have tested different ways but none of them works. thank you!!!
    public String submitButton_action() {
    try {
    if ( todolist3DataProvider.canAppendRow() )
    String item1=(String)item.getText();
    String contact1=(String)contact.getText();
    Integer phone1=(Integer)phone.getText();
    Integer date1=(Integer)date.getText();
    RowKey rowKey = todolist3DataProvider.appendRow();
    todolist3DataProvider.setCursorRow(rowKey);
    todolist3DataProvider.setValue("todolist3.Date", date1);
    todolist3DataProvider.setValue("todolist3.Item",item1);
    todolist3DataProvider.setValue("todolist3.Contact",contact1);
    todolist3DataProvider.setValue("todolist3.Phone_contact",phone1);
    } else {
    error("submitButton_action() -- cannot append todolist3 record");
    } catch (Exception e) {
    error("Page1::submitButton_action-- something's wrong trying to append todolist3 record");
    return null;
    }

    Hi,
    I think that you have forgotten to commit changes. Modify your code to look like this:
    RowKey rowKey = todolist3DataProvider.appendRow();
    todolist3DataProvider.setCursorRow(rowKey);
    todolist3DataProvider.setValue("todolist3.Date", date1);
    todolist3DataProvider.setValue("todolist3.Item",item1);
    todolist3DataProvider.setValue("todolist3.Contact",contact1);
    todolist3DataProvider.setValue("todolist3.Phone_contact",phone1);
    // commit your changes !!!
    todolist3DataProvider.commitChanges();
    } else {
    // ....best regards
    Grzegorz

  • How to create a service to UPLOAD / DOWNLOAD and send emails with files?

    Good afternoon!
    I need to create a service that sends files via email or FTP, and a service to upload / download files on a server.
    I see on the internet does not have much aid to make it in the ADF.
    Could someone send me some links, documentation, so I can get the job done?
    Thank you,
    Lewis.

    "I see on the internet does not have much aid to make it in the ADF."  - You are kidding - do you?!
    1) Google: ADF Faces file upload
    2) Google: ADF Faces image download
    3) Google: ADF send mail
    I get all the relevant hits (documentation and blog entries) by using these 3 queries in Google.
    If you mean "Web Service" by "Service" then better - just Google for Web Service and image handling to find information on this. You don't use ADF to build Web Services, which is why you need to express your search criteria different
    Frank

  • Can FrameMaker Automatically create a List of Effective Pages and Track Revision Number?

    I see that FrameMaker will provide vertical lines automatically in updated content when set up to track changes. It also will create TOC's and Indexes.
    What I need is a way to also work with a List of Effective pages and Page Revision Numbers. I have been researching different programs for maintaining aviation manuals and this is a key area that I need to work out.
    Any thoughts on this subject would be appreciated.
    Thanks

    See Steve Kubis's LEP Tools plug-in at SiliconPrairie Software:
    http://www.siliconprairiesoftware.com/Products.html

  • My speaker went out on iphone 5 so apple sends me a new one, it says if there is water damage to my old one they will charge me retail price. I don't know if there is but if they do find damage can I just get my old one back and send them theirs back?

    If anyone could help me with this. I don't have that kind of money, but the thought of maybe my phone has damage I am unaware of and them charging me over 500 dollars is ridiculous

    Do you not understand Out of warranty covers an iPhone that is not covered by warranty because the user has abused it in some way including water damage or is just out of warranty time wise
    You get a factory refurbished unit in exchange and in US thne priceyou pay is $269 for an iPhone 5 any size
    A $6.95 shipping fee will be added if service is arranged through Apple and requires shipping. All fees are in U.S. dollars and are subject to local tax.   When setting up out-of-warranty service, Apple will request credit card pre-authorization for the maximum service fee listed above.  This amount will be deducted from your credit limit. The final service fee we charge will be determined during testing and may be less than the service fee listed above.  Certain damage is ineligible for out-of-warranty service, including catastrophic damage, such as the device separating into multiple pieces, and inoperability caused by unauthorized modifications. However, an iPhone that has failed due to contact with liquid may be eligible for out-of-warranty service.  Apple reserves the right to determine whether or not your iPhone is eligible for Out-of-Warranty service. iPhones that are repaired or replaced have a 90-day limited hardware warranty or assume the remainder of your standard warranty or AppleCare service contract coverage, whichever is longer. Please see Apple's Repair Terms And Conditions for further details.  Back to top

  • "Serial Number" and "Sales Order Number" back in System Profiler

    After a logic board replacement, my Serial Number didn't show anymore in "About This Mac" and in System Profiler.
    I know this is normal and nothing to worry about, but still, I would like it to show like before.
    Here
    (Re: Mac serial number missing after main logic board replacement!?)
    is how to show it again in "About This Mac",
    now,
    do you know how to show it again also in System Profiler,
    and how to show the "Sales Order Number" too?
    Thanks!
    Axl

    Thanks Mikey-San for naming those strange terms.
    I could then make a Google search and find a solution!!!
    Easy:
    I just have to use a "Set Serial Number" bootable CD...
    ... as soon as I find it back from where I've put mine aside...
    Oh well, if there is no other solution, as it very much looks like, at least next time my iMac goes to Apple for repairs I know exactly what to ask and I'm sure it is feasible.
    Cheers!
    Axl

  • BPEL process to create a PDF and send it as attachment in SOAP response

    We have a requirement to have a webservice created using BPEL, which can receive input from a client and create a PDF using the input and send the PDF as attachment in the SOAP response.
    We have found the below link in Oracle docs and our basic understanding on the functionality given is that the MIMEService is being used to read a SOAP attachment from some other service and send it as an attachment in the SOAP response to the requester. As explained above, this doesn't completely satisfy our requirement.
    http://docs.oracle.com/cd/E11036_01/integrate.1013/b28981/manipdoc.htm#BABCJIAH
    Please suggest if there is any other approach that suites our requirement.
    Thanks.

    Hi,
    I have a Weblogic webservice which returns me a PDF attachment as resposne ( here I have MIME related stuff).I need to get attachment as bpel response.
    I have created a BPEL process to invoke the weblogic webservice. I have explictly added the MIME part in bpel.wsdl same as weblogic webservice wsdl.
    I tried to assign the response variable( of type base64binary) of bpel.wsdl and my webservice .wsdl . I am getting some error with no attachment.
    Below is my xsd used in BPEL.wsdl*
    <?xml version="1.0" encoding="UTF-8"?>
    <schema attributeFormDefault="unqualified"
         elementFormDefault="qualified"
         targetNamespace="http://xmlns.oracle.com/MIMEApp/test/BPELProcess1"
         xmlns="http://www.w3.org/2001/XMLSchema">
         <complexType name="process">
                   <sequence>
                        <element name="input" type="string"/>
                   </sequence>
         </complexType>
         <complexType name="processResponse">
                   <sequence>
                        <element name="result" type="string"/>
                   </sequence>
         </complexType>
    <complexType name="GetAttachmentPDF">
    <sequence>
    <element minOccurs="0" name="Pdf" nillable="false" type="base64Binary"/>
    </sequence>
    </complexType>
    </schema>
    Below is my BPEL.wsdl*
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions name="BPELProcess1"
    targetNamespace="http://xmlns.oracle.com/MIMEApp/test/BPELProcess1"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:client="http://xmlns.oracle.com/MIMEApp/test/BPELProcess1"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/">
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         TYPE DEFINITION - List of services participating in this BPEL process
         The default output of the BPEL designer uses strings as input and
         output to the BPEL Process. But you can define or import any XML
         Schema type and use them as part of the message types.
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <wsdl:types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://xmlns.oracle.com/MIMEApp/test/BPELProcess1"
    schemaLocation="xsd/BPELProcess1.xsd"/>
    </schema>
    </wsdl:types>
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         MESSAGE TYPE DEFINITION - Definition of the message types used as
         part of the port type defintions
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <wsdl:message name="BPELProcess1RequestMessage">
    <wsdl:part name="payload" type="client:process"/>
    </wsdl:message>
    <wsdl:message name="BPELProcess1ResponseMessage">
    <wsdl:part name="payload" type="client:processResponse"/>
    <wsdl:part name="attachment" type="client:GetAttachmentPDF"/>
    </wsdl:message>
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         PORT TYPE DEFINITION - A port type groups a set of operations into
         a logical service unit.
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <!-- portType implemented by the BPELProcess1 BPEL process -->
    <wsdl:portType name="BPELProcess1">
    <wsdl:operation name="process">
    <wsdl:input message="client:BPELProcess1RequestMessage"/>
    <wsdl:output message="client:BPELProcess1ResponseMessage"/>
    </wsdl:operation>
    </wsdl:portType>
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         PARTNER LINK TYPE DEFINITION
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <plnk:partnerLinkType name="BPELProcess1">
    <plnk:role name="BPELProcess1Provider">
    <plnk:portType name="client:BPELProcess1"/>
    </plnk:role>
    </plnk:partnerLinkType>
    <wsdl:binding name="BPELProcess1SOAP11Binding" type="client:BPELProcess1">
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="process">
    <soap:operation style="rpc"
    soapAction="http://xmlns.oracle.com/MIMEApp/test/BPELProcess1/process"/>
    <wsdl:input>
    <soap:body use="literal"
    namespace="http://xmlns.oracle.com/MIMEApp/test/BPELProcess1"/>
    </wsdl:input>
    <wsdl:output>
    <mime:multipartRelated>
    <mime:part>
    <soap:body use="literal"
    namespace="http://xmlns.oracle.com/MIMEApp/test/BPELProcess1"/>
    </mime:part>
    <mime:part>
    <mime:content part="attachment" type="application/pdf"/>
    </mime:part>
    </mime:multipartRelated>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    </wsdl:definitions>
    Below is my WL WS WSDL*
    <?xml version="1.0" encoding="UTF-8"?>
    <WL5G3N0:definitions
    name="NewWSDLFile"
    targetNamespace="http://www.example.org/NewWSDLFile/"
    xmlns:WL5G3N5="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:WL5G3N4="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:WL5G3N3="http://www.example.org/NewWSDLFile/"
    xmlns:WL5G3N2="java:com.rogers.service"
    xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/"
    xmlns:WL5G3N1="http://www.w3.org/2001/XMLSchema"
    >
    <WL5G3N0:types>
    <xsd:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="java:com.rogers.service"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:s="java:com.rogers.service"
    xmlns:s0="http://schemas.xmlsoap.org/wsdl/" xmlns:s1="http://www.w3.org/2001/XMLSchema"
    xmlns:s2="java:com.rogers.service" xmlns:s3="http://www.example.org/NewWSDLFile/"
    xmlns:s4="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s5="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.example.org/NewWSDLFile/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:complexType name="GetAttachmentPDF">
    <xsd:sequence>
    <xsd:element minOccurs="0" name="Pdf" nillable="false" type="xs:base64Binary"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="GetAttachmentResult">
    <xsd:sequence>
    <xsd:element minOccurs="1" name="Message" nillable="true" type="xs:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    </WL5G3N0:types>
    <WL5G3N0:message name="NewOperationRequest">
    <WL5G3N0:part name="GetAttachment" type="WL5G3N1:string"/>
    </WL5G3N0:message>
    <WL5G3N0:message name="NewOperationResponse">
    <WL5G3N0:part name="NewOperationResponse" type="WL5G3N2:GetAttachmentResult"/>
    <WL5G3N0:part name="attachment" type="WL5G3N2:GetAttachmentPDF"/>
    </WL5G3N0:message>
    <WL5G3N0:portType name="NewWSDLFile">
    <WL5G3N0:operation name="NewOperation">
    <WL5G3N0:input message="WL5G3N3:NewOperationRequest"/>
    <WL5G3N0:output message="WL5G3N3:NewOperationResponse"/>
    </WL5G3N0:operation>
    </WL5G3N0:portType>
    <WL5G3N0:binding name="NewWSDLFileSOAP" type="WL5G3N3:NewWSDLFile">
    <WL5G3N4:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <WL5G3N0:operation name="NewOperation">
    <WL5G3N4:operation soapAction="http://www.example.org/NewWSDLFile/NewOperation"/>
    <WL5G3N0:input>
    <WL5G3N4:body use="literal" namespace="http://www.example.org/NewWSDLFile/"/>
    </WL5G3N0:input>
    <WL5G3N0:output>
    <WL5G3N5:multipartRelated>
    <WL5G3N5:part>
    <WL5G3N4:body use="literal" namespace="http://www.example.org/NewWSDLFile/"/>
    </WL5G3N5:part>
    <WL5G3N5:part>
    <WL5G3N5:content part="attachment" type="application/pdf"/>
    </WL5G3N5:part>
    </WL5G3N5:multipartRelated>
    </WL5G3N0:output>
    </WL5G3N0:operation>
    </WL5G3N0:binding>
    <WL5G3N0:service name="NewWSDLFile">
    <WL5G3N0:port name="NewWSDLFileSOAP" binding="WL5G3N3:NewWSDLFileSOAP">
    <WL5G3N4:address location="http://localhost:7001/something/NewWSDLFileImpl"/>
    </WL5G3N0:port>
    </WL5G3N0:service>
    </WL5G3N0:definitions>
    I refered the below link:
    http://docs.oracle.com/cd/B14099_19/integrate.1012/b14448/manipdoc.htm.
    4.16.1.1 WSDL File Contents
    They are using ra:writeBinaryToFile() and ora:ReadBinaryFromFile(). I couldnt get a proper sample to understand the use of these functions.
    Please advise.
    Regards
    Ipsita

  • Create and send workitem

    Hi all,
       I want to create an workitem without using workflow and send that workitem to the specified-user inbox. Any FM(Function Module) available for that. Can anyone help me with this because its urgent.
    Regards,
    Ramesh
    Edited by: Ramesh Vinay on Sep 20, 2008 10:35 AM

    Hi,
    As Arghadip was telling, for creating a witem, you need either a wflow template or atleast a single-step task with a triggering event. But, for creating a task that doesn't need the user action, it has to be a NON DIALOG task and i'm not sure if your BO has that task, coz your single-step task should use a method of the BO.
    Instead of sending a Notif. to the Wflow folder, if you send a mail, it'll go to the DOCUMENTS folder which also serves the similar purpose. Ofcourse, you can Delete the mails in the Documents Folder.
    Hope you got what i just said although I'm not sure if my explanation will suffice your requirement.
    Goodluck
    venu

  • Generating a PDF of what the user sees, and sending it as a binary stream to the server

    Hi All,
    On the final page of our Flex app, we allow the user to print out a copy of everything they've entered for their own records.
    I'm wondering if there is a way for me, programmatically, to generate a PDF document that is the same as their printout (I pass a particular container to the "print" button I've got for the user), and send those bytes back to the server.  We can store this PDF along with all the rest of their data, and it would be useful as a "snapshot" of exactly what the user saw when they submitted their application.
    I'm looking into Flex PDF generation, but so far haven't gotten this figured out.  I thought some folks here might be able to point me in the right direction.
    Thanks!
      -Josh

    Here is how you can take a snapshot.
    import mx.graphics.ImageSnapshot;
    import mx.graphics.codec.IImageEncoder;
    import mx.graphics.codec.PNGEncoder;
    import mx.utils.Base64Encoder;
    private function uploadImage(rSource:IBitmapDrawable):void
                        var tBitmapData:BitmapData = ImageSnapshot.captureBitmapData(rSource);
                        var tEnc:IImageEncoder = new PNGEncoder();
                        var tBA:ByteArray = tEnc.encode(tBitmapData);
                        var tB64:Base64Encoder = new Base64Encoder();
                        tB64.encodeBytes(tBA);
                        // send tB64.toString() using POST to the server to save the image.
    // call
    uploadImage(this) // where parameter is an object to get the snapshot of. Can be anything including Application. ("this" in my case).

  • How do I go back into my registry and change a number for loading apps and websites from 20 back to ten?

    I tried something suggested from a friend who said to go to a spot in my registry and change a number from 10 to 20, and this would help apps to load better, giving them more time. But now nothing will load because there is to much time taken. I need to find that segment of the registry and change the number back. When I went there, a little box popped up and said, "I will be careful I promise. "

    I did the resetting preferences, still no help, still cannot play flash games on facebook like Indiana Jones, Cityville, and Pioneerville. I wish I could go back and change that number I changed from 20 back to 10. I would be playing right now.

  • Can I modify a power point presentation on the keynote and send it back as a power point? Will a PC be able to open it?

    Can I modify a power point presentation that was sent to me on my keynote (OS X version 10.9.4, processor 2.6 GHz Intel Core i5, memory 8GB 1600 MHz DDR3), and send the presentation back after the modification as a power point? Will a PC be able to open it and work with without any problem? How should I do it? Also, there are some videos that do not play, what should I do?
    Thanks for the help.

    Can I modify a power point presentation
    Keynote will open, edit and save PowerPoint files.
    In Keynote use:    File > Open, then select the PowerPoint file.
    Once edited save it by:   press the Option key then,    File > Save As
    PowerPoint file will open if the user has either PowerPoint or PowerPoint Viewer installed on the Windows computer.
    Also, there are some videos that do not play, what should I do?
    If they are Windows Media files they would have to be converted to play on a Mac.

Maybe you are looking for

  • PDF file properties not display info

    LiveCycle ES2 SP1 : PDF created with Form ES2 does not show pdf version, PDF Producer, created, modified, Application Title, Author etc. I am using xdp + xml with  Form ES API formsClient.renderPDFForm method to generate pdf. (on windows right click

  • How to create a value only  article and process it

    pls tell me how to create a value only article,  group article and hierarchy article and process the same in Is-retail

  • Dynamic date calculator

    Hi all In Variants we can give dynamic date calculator to calculate date as we required. Does there is a option to add more selection option (ie if I have to add a selection last day of next month). Where I can do this Please comment With Regards Aru

  • Part Appraiser Functionality in SAP Objective Settings & Appraisals

    Hi All, I have specific requirement where, at the time of Annual Appraisal when Employee submits his/her final rating, Appraisal Form should be routed towards Part Appraiser, if the same has been selected in the form. If part appraiser is selected fo

  • 'no more data to read from socket ' error while installing rcu

    hi all, while installing repository creation utility ,i faced 'no more data to read from socket' exactly at step 2(at this step ,i gave database connection details).could anyone please help me.