Passing PDF content thru XI

Hi All,
I have a scenario where sender issues synchronous SOAP request with PO details to XI. XI further calls RFC using request payload. RFCs response is a table of PDF content. Now I have to pass this PDF data back to the sender as it is. Sender will later take care of displaying PDF output. I just need to pass this table data as it is to the sender.
Any idea how to achieve this?
Below I am displaying response payload from RFC.
I am getting below excpetion in response mapping.
Runtime exception occurred during execution of application mapping program com/sap/xi/tf/_MM_RFCShipDoc_To_ShippingDocDataResponse_: com.sap.aii.utilxi.misc.api.BaseRuntimeException; Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser : #0 not allowed in Character data sections(:main:, row:252, col:6)
Thanks,
Smita

Hi Smitha,
Check this how to guide ..will help u out
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9913a954-0d01-0010-8391-8a3076440b6e
Go through this as well
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0c63b84-19e5-2910-fc81-f438716573d5
Should help u out
Regards,
Mohd Tauseef I

Similar Messages

  • Method to pass the content of pdf through offline(without internet connection)

    Hi All,
    Is there any method available to pass the content of the pdf field from client machine having no internet connection?
    Barcode is the one way to pass the content of pdf field but my data is large and barcode capacity is not more than 1800 characters.
    Please suggest me the way i can send the data to server environment.
    I would like to know the if any data compression technique is available with which i can reduce the data size.
    Thanks in advance
    Regards
    Abhishek

    Hi Steve,
    Thanks for your quick reply.
    offline means no internet connection
    I have following 2 problems while form designing
    1. I want to update the databarcode by the clicking on the button but everytime i need to write a code in calculate event of the script of paper barcode as "this.rawValue = "Abhishek"".i dont want to have any script for any events in barcode. i want to update the barcode through click event of button as form.page.paperformBarcode.rawValue="Abhishek". Barcode is not getting updated when i am clicking on the button. I have attached sample PDF for better understanding.
    2. I want to store xml file in the barcode and retrive the same in server environment. I dont know how to do it?
    I am not getting an option to attach the files to post. will you please help?
    Please forward me a test mail to provide you the sample pdf.
    Regards
    Abhishek
    Email-id --- [email protected]

  • Reading PDF contents in BizTalk server 2013

    Can BizTalk Server 2013 read PDF file contents? Or any third party tool can be plugged in BizTalk to achieve this.
    Any help would be highly appreciated. 

    BizTalk as an “engine” can only read XML nothing else.
    If you want to do some processing in BizTalk based on the PDF content, then PDF needs to be converted into XML. As of now there no out-of-box support to handle PDF file contents. By using a custom component (custom pipeline component) you got to covert the
    PDF into XML file and produced XML files can be processed in BizTalk as usual. To get started for PDF pipeline component, read this codeplex pipeline component which in turn uses
    itextsharp libarary.
    http://pdf2xmlbiztalk.codeplex.com/
    Or you can create your own custom decode pipeline component which converts the PDF to XML. Most of the custom component use 3<sup>rd</sup> part library
    (there are many available).
    Or when mean - “Can BizTalk
    Server 2013 read PDF file contents” to route the PDF just using the pass-thru shall pass the BizTalk PDF as steam of byte through message box. You can also use
    Orchestration to route the PDF message by following the suggestion mentioned here.,.
    Processing PDFs (or anything else!) in BizTalk Orchestrations
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Problem with PDF content generated by CONVERT_OTF

    Hi,
    We are facing a problem with the version of the pdf content generated by FM CONVERT_OTF.
    Data returned by this FM in the parameter BIN_FILE is in XSTRING or HexaDecimal Format.
    As I am sending this PDF content to a Portal through RFC, they are unable to open the file in lower versions of Adobe.
    The file is opened only in 8 and above versions of Adobe.
    Is there anything which can be done in SAP so that the PDF content generated in SAP will be opened in the lower versions also.

    Can you try with the belos stuff?
    Converting to PDF
              CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
                EXPORTING
                  src_spoolid              = loc_spool (pass spool number here)
                  no_dialog                = ' '
                IMPORTING
                  pdf_bytecount            = numbytes
                  pdf_spoolid              = pdfspoolid
                  btc_jobname              = jobname
                  btc_jobcount             = jobcount
                TABLES
                  pdf                      = pdf
                EXCEPTIONS
                  err_no_otf_spooljob      = 1
                  err_no_spooljob          = 2
                  err_no_permission        = 3
                  err_conv_not_possible    = 4
                  err_bad_dstdevice        = 5
                  user_cancelled           = 6
                  err_spoolerror           = 7
                  err_temseerror           = 8
                  err_btcjob_open_failed   = 9
                  err_btcjob_submit_failed = 10
                  err_btcjob_close_failed  = 11.
    Map PDF table into 'flat' table acording to Unicode flag
            LOOP AT pdf INTO wa_pdfline.
              ASSIGN wa_pdfline TO <l_xline> CASTING.
              CONCATENATE pdf_xstring <l_xline> INTO pdf_xstring IN BYTE MODE.
            ENDLOOP.
    Use this PDF_XSTRING as the output of the RFC and same you can use it JAVA webdynpro. I hope this will provide the solution
    Let me know if you still have any problem
    Best Regards,
    JR

  • Firefox is stumbling when pages with PDF content come up. how can i get my old version3.5.6 back?

    Question
    firefox is stumbling when pages with PDF content come up. how can i get my old version3.5.6 back?

    Thanks for your response Cor el, I'll try that the next time it happens, it's completely random. One moment it functions normally then suddenly it changes its mind.
    Restarting my pc usually brings it back to normal until next time.
    One thing I've noticed, but not 100% sure there's a connection here.....I edit my websites online and log into cpanel which opens new pages in separate tabs, as it should do. It seems that this problem occurs when I'm logged into cpanel...if i'm logged in then open a new tab for regular browsing of other sites then all links on those sites also open in new tabs.
    Ican't say for sure if it's always only happened when logged into cpanel, but certainly on the last 3 occasions.
    At the moment it's behaving normally so much I can do to check your suggestions, but will try them the next time it occurs.
    One other thing I forgot to mention too....since i've had the new firefox, I've noticed that when I log into yahoo and post comments, I often find myself having to log on for each new post. Everything was fine with old firefox and there have been no other changes to my pc .

  • Accessing Documentum Content thru KM in portal

    Hi,
        I am trying to connect to Documentum content thru KM in portal. I am looking for a better approach to do the same.
    http://www.emc.com/products/detail/software/content-services-sap-portal-iviews.htm.
    http://www.emc.com/products/detail/software/file-share-services.htm
    As per the above two  links i understand that documentum content can be accessed by Portal iViews. But not sure from where i can find those iViews? and also not sure whether it can be accessed with Windows file share service?
    Could anybody suggest me which approcah is better ? Either thru portal iViews or thru KM repositories?
    1.    Could anybody guide me what SAP Portal iViews can be used to access Documentum Content?
    2. With either the File system repository manager or WEBDAV Repository manager can we access the the documents directly from the Document file share of Documentum?
    for example.. The Documents are in this path
    Document file share\Repositories\.
    Please guide me on this...
    Point will be rewarded for the rightful answers.
    Regards
    Sireesha.

    Hi,
    I agree that it is worth to try a file system repository on this Documentum File Share.
    However I have some concerns about the performance of this kind of integration.
    I would expect that the Documentum File Share is allready a software tier wrapping the
    core documentum api.
    In addition a file system repository has some disadvantages if you are planning to change the repository content both in KM and in the origin (documentum) system.
    If you do that, the KM file system repository has to synchronize itself again and again.
    The repository (and sometimes the whole portal) may slow down dramatically.
    So give it a try but consider to either buy the documentum repository manager or write your own.
    See the following link to a nice code sample:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/fcc4b3c7-0701-0010-55ab-86e3ec0ce275
    Cheers
    Frank

  • "This is an Adobe Illustrator file that was save without PDf content."

    I have a client that has been working on a file in AI CS, never left his machine, but when he went to open it today he gets a message that says this file "was generated by a newer version of Illustrator. Would you like to import this file? Some data loss may occur".
    And when we click the "Import" button, we then get:
    "This is an Adobe® Illustrator® file that was saved without PDF content. To place or open this file in other applications, it should be re-saved from Adobe Illustrator with the "Create PDF Compatible File" options turned on. This option is in the Illustrator Native Format Options dialog box, which appears when saving an Adobe Illustrator file using the Save As command."
    However, even though this was created in AI CS, all other machine and all other versions of AI (even CS3, 3.3, 2, etc..) we get the same exact error message. How it can be newer than CS 3.3 when it was created in CS is strange to begin with.
    I assume this is some sort of corruption, but was wondering if there were any cures. It seems our backups have backed up this file in it's current state (corrupt), which is a huge issue at this point.
    Thank you very much for any help!

    I have sometimes had this trouble since I updated Acrobat.
    "This is an Adobe® Illustrator® file that was saved without PDF content ..."
    Not sure what's wrong - it seems to happen even though the Illy file is saved with PDF content and everything embedded.
    Another thing: When viewing pdfs under Advanced>Print Production>Output Preview I repeatedly get an RGB simulation preview even though I know that the file is CMYK. So I have to choose a CMYK simulation preview and then things look o.k.
    Is there any way to stop the RGB preview coming up? I note that Convert Colours messes things up completely, so it's only the preview that's wrong.
    Any ideas, Wade?

  • PDF content disposition on IE

    Hi,
    I am having difficulties in displaying PDF content from JSP. Obviously URL ends with mypdffile.jsp. From the JSP, I set attributes as follows. It works as intended on Firefox. Not on IE;
    response.setContentType("application/pdf;charset=UTF-8");
    response.setHeader("Content-Disposition", "inline;filename=\"Document.pdf\""); Any suggestions how I can fix this mess?

    On IE, it shows nothing! I can see that it reads something then nothing shows up. It is meant to display inside the viewing frame without creating external frames. If I change to "Content-disposition: attachment; filename=ddd.pdf", it comes out with PDF view frame. If you move the frame, you see lots of dirty traces on Windows frame!
    It may IE is not handling extension well.Or size information may be required.
    JSP is convenient to write changeable reports. PDF is generated using iText.
    Regards.

  • Reading a properties file in a servlet and passing its contents to a JSP pa

    Hi all,
    I'm totally new to Servlet pgmg n JSP. Please can ne1 tell how to read a simple properties file (in a servlet) and pass its contents to a JSP page.Actually the reason is to fill a combo box in a JSP page with the contents of a properties file.If calling a servlet for the same is d best way to do that, plz can ne1 tell me :
    1> whether to override the doPost method in the servlet in which to read d file using FileInputStream
    2> Putting the contents in an array and then how to pass this array to the JSP page.
    Thanks,
    deepthy.

    I'm using a properties file to let my web application know what the name of the database is. I'm using an abstract class GeneralDao which will be extended by all the DAO's (Data Access Objects or java classes containing SQL statements).
    Here's the code :
    protected Connection getDatabaseConnection()
              throws Melding
         Connection dbconn = null;     
         ResourceBundle resBundle;
         try
         Class.forName("com.mysql.jdbc.Driver").newInstance();
         resBundle = ResourceBundle.getBundle("gcoConfig");
         String dbConnectie = resBundle.getString("databaseconnection");
         gcoLogger.debug("lezen databaseconnection in resourceBundle " );
         dbconn = DriverManager.getConnection(dbConnectie);
         } catch (InstantiationException exc)The ResourceBundle is used to read the properties file, named gcoConfig.properties.
    With the getString() command I read the content of the string named databaseconnection.
    The gcoConfig.properties file is placed inside the folder C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\gco\WEB-INF\classes
    The GeneralDao is placed in the folder C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\gco\WEB-INF\classes\org\gertcuppens\cluifDao.
    So this class is placed some folder below the WEB-INF\classes folder of gcoConfig.properties.
    And the content of the properties file is just one line :
    databaseconnection=jdbc:mysql://localhost/cluif
    If you want to let the JSP know what's inside the properties file, wrap the content in a Javabean, put it in the request or even the session and pass the control to the JSP.

  • I want to open a Illustrator file in Illustrator CS4 but i am getting this message "This is an adobe illustrator file that was saved without PDF content..."

    I want to open a Illustrator file in Illustrator CS4 but i am getting this message "This is an adobe illustrator file that was saved without PDF content..." I tried the save as option with "Create PDF compatible file" option but still same message is showing. PLEASE HELP.
    Thanks in advance.

    I have uploaded the files to my dropbox - Dropbox - AI
    I would really appreciate it if anyone is willing to down-save the version of these files to Illustrator CS4 and send it to me.
    thanks

  • Displaying PDF content in Android Air app - how?

    Hi, I'm fairly new to developing Air apps for mobile devices. I'm looking to have my app display PDF files and can't find a dfinitive way of doing it. I've read that using the StageWebView would be the way to do it.
    Here's the relevant part of my code (PDF path changed):
    if (StageWebView.isSupported)
    currentState = "normal";
    webView.stage = stage;
    webView.viewPort = new Rectangle(20, 100, 450, 450);
    webView.addEventListener(LocationChangeEvent.LOCATION_CHANGE,onURLChange);
    webView.loadURL("http://path.to.my.pdf");
    addEventListener(ViewNavigatorEvent.REMOVING,onRemove);
    else {
    currentState = "unsupported";
    lblSupport.text = "StageWebView feature not supported";
    Its working up until the point of actually displaying the PDF content, I get nothing (blank screen).
    I'm using Flash Builder 4.5 / Air 2.6 and debugging on a Motorola Xoom tablet. Adobe Reader is installed on the device.
    Any help with this would be greatly appreciated.

    Solved.
    For some reason I couldn't access the HTMLLoader object outside of the function that initialised it, despite the fact that I was listening for EVENT_COMPLETE.
    Basically, to get round this bug, just put all the initialise and load code in the same function and you should be laughing.

  • How to pass the contents of an internal table to the IDoc FIDCC2?

    Hi,
    I have an internal table. Using its contents, I have to create an Idoc and do GL posting.
    I have to use FIDCC2 Idoc and the function module IDOC_INPUT_FIDCC2.
    Can u please let me know how to pass the contents of the internal table into the idoc FIDCC2 and do the GL posting?
    Regards,
    Balaji. R

    Hi balaji,
    use function IDOC_INBOUND_FROM_FILE. This will do half the process.
    Documentation is missing, but program RSEINB00 explains something,
    also some links
    [http://help.sap.com/saphelp_nw70/helpdata/EN/dc/6b7f1543d711d1893e0000e8323c4f/frameset.htm]
    [RSEINB00 does not work in background]
    [RSEINB00 flat file to idoc uploading in XI]
    [Loading flat idoc via report RSEINB00 into integration server fails]
    Hope it helps.
    Regards,
    Clemens

  • PDF content not searchable from Sharepoint 2010 Sever tried every thing

    I have checked many blogs and tried many option i am unable to search the pdf content using Adobe filter
    (1)i have installed the adobe filter from
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=4025
    (2)set the envoirment variable in the control panel to the bin directory of ifilter on the server
    (3)Download
    PDF icon picture (17x17) from Adobe web  site http://www.adobe.com/misc/linking.html and Copy to
    C:\Program  Files\Common Files\Microsoft Shared\Web Server  Extensions\14\TEMPLATE\IMAGES\
    Backup the docicon.xml file, and Add an  entry in docicon.xml for the PDF icon:
    C:\Program Files\Common Files\Microsoft Shared\Web Server  Extensions\14\TEMPLATE\XML
    <Mapping  Key="pdf" Value="pdficon17.gif">
    (4)Add  PDF file type on the File Type page under Search Service
    (5)added the followng registry
    \\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\14.0\Search\Setup\Filters
    "Extension"="pdf"
    "FileTypeBucket"=dword:00000001
    "MimeTypes"="application/pdf"
    \\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\14.0\Search\Setup\ContentIndexCommon\Filters\Extension
    added .pdf and set the below value
    {E8978DA6-047F-4E3D-9C78-CDBE46041603}
    (6)Stop and start the search service using below
    Net Stop OSearch14
    Net Start OSearch14
    (7) restart the server
    (8)reset the index
    (9) run the full crawl
    still i am unable to search the PDF content from Sharepoint search
    can any one help in this i will be thankful
    regards
    MCTS,ITIL

    Hello Shahid,
    Your question has been quite clearly answered here http://social.technet.microsoft.com/Forums/sharepoint/en-US/126076e8-7511-44cc-9c59-ce8cdd534758/sharepoint-foundation-2010-ocr-help?forum=sharepointgeneralprevious
    If you are looking for an OCR solution that will allow you to use the full-text search without having to dive into all the technicalities of it, maybe Udocx is something for you (see Udocx.com). It allows you to upload documents from your MFP and desktop
    directly into SharePoint folders including OCR and metadata.
    Cheers,
    Iris

  • Servlet retrieves pdf content stored in oracle and sends this content

    I have pdf content stored in an oracle database. The database column type is LONG RAW. I am retrieving the contents using jdbc's getBinaryStream. The content type is set to pplication/pdf. When the code is executed, the acrobat is launched but the content is not displayed. After analyzing the contents retrieved from the database, I discovered that characters were missing. I replicated the same code in a different language and it was working.
    Has anyone else encountered this problem? If so, how was it resolved.
    Any ideas or comments would be appreciated.
    z.

    What is the character set of the Oracle db that you are using. I would suggest that you try to set the char set to Unicode and try.

  • Inserting pdf content to database

    Hi,
         I am working with adobe live cycle and using web service i am inserting pdf content to db , Live cycle is installed in my machine so the data insertion is possible from my machine ,but i am trying to insert data from other  systems in our network it is not working , adobe reader 9 nstalled on these machines .Is necessary to register any other dll to GAC for working with this on client machine if so pls specify the dll. I am waiting for ur reply ,pls reply as soon as possible

    Hi,
    I suspect that you also have the full version of Adobe Acrobat on your PC.That is why the data connections work on your system.
    Unless you Reader Enable your form with LiveCycle Reader Extensions Enterprise Suite, then web service calls / data connections will not work in Reader.So if your users have Reader the data connections will not work on their PCs.
    Here is a summary of functionality in Acrobat and Reader.
    Good luck,
    Niall

Maybe you are looking for