Including document in Attachment of IP_MESSAGE_TYPE to B2B

Dear Reader,
I am using SOA suite 10.1.3.4. and B2B 10g configured in Suse.
I have made a BPEL proces that enqueues messages using an AQ adapter to the B2B database. For this I need to fill in the IP_MESSAGE_TYPE (payload header) that is required by EBxml that is set in the B2B Application. I have set the MSG_ID, FROM_PARTY, TO_PARTY, DOCTYPE_NAME, DOCTYPE_REVISION, ACTION_NAME, MSG_TYPE occording to the configurations done in the B2B application. This works perfectly and the message is picked up by the B2B application.
During new requirement I need to send an attachment to the B2B application that communicted this to the trading partner (using EBxml). THe moment I fill in the attachment the message produces errors in the B2B Application and I don't know what I am doing wrong. I would like to know if somebody can tell me in steps how I need to fill in the attachment in the payload header. I have tried the following:
1. Using an assign activity to fill the attachment field in the payload header with the expression: '/home/oracle/b2b/attachments/inbound/example.xml'
The error 'Unable to create the protocol specific B2B message' arrise in the B2B application.
2. I have followed the steps in link:
https://metalink2.oracle.com/metalink/plsql/f?p=130:14:4427741198166476399::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,754149.1,1,1,1,helvetica
I have created the xsd AttachmentsDescriptor.xsd in my local bpel process and assign the below XML fragment to the attachment field in the payload header.
<Attachments xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="AttachmentsDescriptor.xsd" version="1.0" boundary="boundary---">
<AttachmentPart>
<Location>file:///home/oracle/b2b/attachments/inbound/example.xml</Location>
<Content-Type>
<Top-Level-Type>application</Top-Level-Type>
<Sub-Type>xml</Sub-Type>
</Content-Type>
</AttachmentPart>
</Attachments>
This time no error occured everything seem to work, but in the B2B database there is no attachment specified in the wire message.
I hope somebody can explain me what I am doing wrong and what the steps in BPEL/B2B are to fix my problem.
Thanks for your time.
Regards,
Sander

Hi Anuj,
Thanks for your reply. I have tested it on the server and it works. I am now busy to make it work with my BPEL proces. I am doing the following:
1. I am using a file adapter to store the sample.xml file on the configurated directorie specified in "oracle.tip.adapter.b2b.attachments.dir"
2. I pass the name of the file in this case Sample.xml in the field Attachment of IP_MESSAGE_TYPE (other mandatory fields of IP_MESSAGE_TYPE are filled)
My question is if I can make it work without step 1 to prevent extra I/O on the server. I would like to fill the Attachment of IP_MESSAGE_TYPE in such a way that I don't need the Sample.xml and that my attachment is picked up directly from the server. I am wondering how I can achieve this (if its possible).
My last question is if there is any good documentation for B2b 10g how I should configure the environment to prevent connections being kept alive when enqueuing message using AQ adapter.
Thanks for your time and help so far.
Regards,
Sander

Similar Messages

  • Including location file in Attachment of IP_MESSAGE_TYPE to B2B

    Dear Reader,
    I am using SOA suite 10.1.3.4. and B2B 10g configured in Suse.
    I have made a BPEL proces that enqueues messages using an AQ adapter to the B2B database. For this I need to fill in the IP_MESSAGE_TYPE (payload header) that is required by EBxml that is set in the B2B Application. I have set the MSG_ID, FROM_PARTY, TO_PARTY, DOCTYPE_NAME, DOCTYPE_REVISION, ACTION_NAME, MSG_TYPE occording to the configurations done in the B2B application. This works perfectly and the message is picked up by the B2B application.
    During new requirement I need to send an attachment to the B2B application that communicted this to the trading partner (using EBxml). THe moment I fill in the attachment the message produces errors in the B2B Application and I don't know what I am doing wrong. I would like to know if somebody can tell me in steps how I need to fill in the attachment in the payload header. I have tried the following:
    1. Using an assign activity to fill the attachment field in the payload header with the expression: 'file:///home/oracle/b2b/attachments/inbound/example.xml'
    The error 'Unable to create the protocol specific B2B message' arrise in the B2B application.
    2. I have followed the steps in link:
    https://metalink2.oracle.com/metalink/plsql/f?p=130:14:4427741198166476399::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,754149.1,1,1,1,helvetica
    I have created the xsd AttachmentsDescriptor.xsd in my local bpel process and assign the below XML fragment to the attachment field in the payload header.
    <Attachments xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="AttachmentsDescriptor.xsd" version="1.0" boundary="boundary---">
    <AttachmentPart>
    <Location>file:///home/oracle/b2b/attachments/inbound/example.xml</Location>
    <Content-Type>
    <Top-Level-Type>application</Top-Level-Type>
    <Sub-Type>xml</Sub-Type>
    </Content-Type>
    </AttachmentPart>
    </Attachments>
    This time no error occured everything seem to work, but in the B2B database there is no attachment specified in the wire message.
    I hope somebody can explain me what I am doing wrong and what the steps in BPEL/B2B are to fix my problem.
    Thanks for your time.
    Regards,
    Sander
    Edited by: user606887 on Sep 25, 2009 4:53 AM

    Hi Anuj,
    Thanks for your reply. I have tested it on the server and it works. I am now busy to make it work with my BPEL proces. I am doing the following:
    1. I am using a file adapter to store the sample.xml file on the configurated directorie specified in "oracle.tip.adapter.b2b.attachments.dir"
    2. I pass the name of the file in this case Sample.xml in the field Attachment of IP_MESSAGE_TYPE (other mandatory fields of IP_MESSAGE_TYPE are filled)
    My question is if I can make it work without step 1 to prevent extra I/O on the server. I would like to fill the Attachment of IP_MESSAGE_TYPE in such a way that I don't need the Sample.xml and that my attachment is picked up directly from the server. I am wondering how I can achieve this (if its possible).
    My last question is if there is any good documentation for B2b 10g how I should configure the environment to prevent connections being kept alive when enqueuing message using AQ adapter.
    Thanks for your time and help so far.
    Regards,
    Sander

  • When trying to upload a document or attach a document in an email Firefox gives me an error "Failed to load CTDFMRES.dll" and stops responding, I have no issues in any other browsers. And I am using Firefox 4, Fixes???

    When trying to upload a document or attach a document in an email Firefox gives me an error "Failed to load CTDFMRES.dll" and stops responding, I have no issues in any other browsers. And I am using Firefox 4, Fixes???

    You don't have to disable any addons or extentions!!!You guys are not going to believe this I figured out the problem it's really dumb...ok here goes the attachment uploader loads seperate so I got to thinking it's a popup so I went to options content and under block pop ups there is an option exceptions click on that and in the box type firefox.com and hit allow pow its fixed!!!!! :-)

  • How to include documents in SAPscript

    Has anybody an idea how to include documents (PDF) from the Document Management into Sapscript.
    I want to print documents together with a purchasing order.
    Thank you

    Hi,
    before executing the Script, goto SE71, and give the script name and press display, there in the utilites --> Activate Debugger
    or
    You can use the program RSTXDBUG, execute this program program for SAPSCRIPT debugging,
    If you want to Come out from the Debugger, In the menu we an ooption
    <b>Debugger --> Exit</b>    or <b>Press Shift+F3</b>
    Regards
    Sudheer

  • How to download document from attachment section

    Hi experts,
    I need to know how I can download the document in attachment section through any program,since we need to download the attachments for multiple opportunites,if any FM's or BADi's are availble please let me know.
    Thanks
    Anu.

    You don't. You print from one. Expand on what you think you want to do.

  • DMS- How to know that the documents are attached??

    Hello Guys,
    This is pertaining to DMS,
    We attach documents and link it to various object links.
    Later when we get into that transaction we retrive the attached documents.
    Suppose i attached the DIR to MARA (in object links) , and until i forcely go to document data in T code MM02   i cant know that documents are attached.....??
    My question is how any one will know that the documents are linked thru DMS to Various object links in those transactions.
    Is my question is valid......just put your comments...
    Regards,
    Murali.S
    Points will be awarded for sure.

    Guys,
    Thanks first-of all...
    But i think i should be still precise little bit more....
    Just consider a situation where u have 2 users ....A & B,both are in different location.just imagine user B dont have any contact to(from) User A
    User A: creates the various document info record and attach to Material master .
    User B  is working in another plant . How user B will know that to this material documents are attached,
    He(USER B) should have already got the information that documents are attached  else he should go and check document data Tab forcing himself......
    I felt that every time user has to check as a practice if any documents are attached thru Tab EXTRA'S but this may be critical...not every one will do that....some time u may forget to check the presence.
    Is my question valid......??!?!?

  • How to include text from attachment in Me22n to smartform?

    how to include text from attachment in Me22n to smartform?

    Guys
    I thing Ur not understanding ma question
    as ur answer is right
    lemme put ma senario
    a enduser create a word file which contain tables too
    but when he enter this text in text field of PO and save it
    the tables  disappear
    The solution to this issue
    is that we added the text to attachment of PO header
    but if i want to show it in o/P form i'm not getting any text id for it
    to use in include of smartforms
    this was ma question is der any text id for it?
    as of now i hav asked ma enduser to take separte Print out of PO and attached file

  • Indicator on task list and order which shown Document is attached ?

    Hi,
    I have attached a document in task list through PRT in task list succesfully. Is there a indicator  in task list which  tells that yes a document is attached to task list ?
    Secondly is there a indicator in workorder which tells that yes a document is attached to this partcular task list ?
    Regards,
    Meghana

    Hi
    Not sure about header level but in operation one check box is available for PRT.
    If PRT is attached to operation check box is automatically selected..
    On header screen at bottom you can see PRT check box if it is attached to first operation.
    Shail
    Edited by: Shailendra  D Upadhyay on Jan 16, 2012 11:56 AM

  • Reg. Fetching of Documents/Drawings attached to BOM Component in CS03

    Dear Experts,
    My requirement is that i need to use FM for BOM Explosion (CS12) to display all BOM Components associated to BOM Material along with the Documents / Drawings attached to each BOM component, in an ALV report. I found the FM to be used, but i could not get the Documents / Drawings data attached to each BOM Component (Tcode CS02 / CS03) and sub assemblies in that FM. Is there any other FM / BAPI available to achieve this. Kindly help me in this regard.
    Thanks & Regards,
    Ramesh Manoharan

    Hi ,
      1.  use bapi -  BAPI_DOCUMENT_GETOBJECTDOCS to get document number, version,part,type by passing object catagory and
    object key .
    2. once u get this above detail use FM CVAPI_DOC_GETDETAIL to get documents and drawings for the bom component.
    Thanks

  • List of document with attachment view

    In FB03 Report, we can able to view all the document. but there is no option to see what are all the document have attachment created.  can you suggest is it possible to see the list of document which is having attachment. or any other alternate solution.

    Hi:
       We once had the same requirement and we developed the Z report for the same for OBJECT : BELEG ARCHIVE_HANDLE LOCAL_CAT . If you could go to FB03...Display the document...go to menu..extras...text...double click note and again go to menu ...goto...header ...Now go to  SE37....FM: READ_TEXT..giving inputs you will get the info..Based on the same logic you can develop a Z report. I hope this will help you.
    Regards

  • Way to scan the documents and attach to individual vendors

    Is there a way we can scan documents and attach them to individual Vendors(invoices) and/or Customers

    Hi,
    Yes, you can attach scanned copies to the vendor / customer invoices or to their master data.
    This can be done only after the transaction got posted or the master data has been created.
    After your invoice entry, either with FB60/F-43/MIRO, go to the document display.
    There in the title bar of the doc display screen, you will see a button called Services for Object
    Click on that button, choose create, choose create attachment, here choose a scanned doc from your PC to attach to it.
    So with this, attaching a file to the posted doc is completed.
    in case if you want to see the attached doc, click on the same button and choose attachment list and you will see a screen with the attachments, which you have attached to it.
    This will serve your purpose.
    Thanks,
    Srinu

  • How do I include a file attachment in a PO printout?

    I am using EBS 11.5.10, and "XML Publisher: Version : 11.5.0".
    I am creating an RTF Template for printing purchase orders as PDF files.
    Some PO's have attachments which are stored as a file. In the XML that is created, there is the syntax:
    <LIST_G_URL_EXTERNAL_ATTACHMENTS>
    <G_URL_EXTERNAL_ATTACHMENTS>
    <URL> http://dev1.mg:1234/pls/... /Additional Requirements.doc</URL>
    </G_URL_EXTERNAL_ATTACHMENTS>
    </LIST_G_URL_EXTERNAL_ATTACHMENTS>
    I want the contents of the external attachment to be included in the printed PO. The attachment might be something like a "Note to Supplier".
    Is there a way to access this text?

    Hi All,
    Has anyone on the forum tried this out yet.There is a limit on the number of characters that can be put into a PO attachment for type Long Text.The only other option is to upload the file.Id' like the contents of the file to appear on the XML document generated by the report so it can be displayed on the PO -XMLP pdf output.Any ideas?
    Thanks,
    Lavina Fernandes

  • Emailing Generated PDF Document as Attachment - Error

    Hi Forum,
    A custom Print Form was developed using SFP Transaction and trying to send the Form to the vendors using an email attachment.
    1. Used cl_bcs class for sending email. Attachment data(Generated PDF Output) was moved to solix_tab .
    2. In the email attachment I see a PDF attachment with some funny characters and not the PDF Document I see in the print preview
    Please advice me what I should do to the actual PDF document in the email attachment .
    Thanks,
    Vijay.

    Vijay,
    Please try this solution.
    Characters that are not included in the ASCII character set are not displayed correctly due to an incorrect encoding setting of the browser.
    During the display of the overview in the PDF format, errors may occur in certain versions of the Adobe Acrobat Reader. In this case, a blank page is displayed.
    The problem is caused by a program error.
    Adobe, Acrobat, Reader, PDF
    Reason and Prerequisites
    The problem is caused by a program error.
    SAP WebAs sends incorrect encoding information to the browser so that the latter does not switch to the correct encoding utf-8 automatically.
    Some versions of the Adobe Acrobat Reader may have problems with that, for example version 6.0.
    <b>Solution</b>
    Import the corresponding Support Package.(presumably SP4)
    Alternatively:
    The revised version with various changes in the translation is provided by the attachment of this note.
    Refer to the detailed description in Note 13719 on how to download and implement the corrections into your system.
    Thanks,
    Raj.

  • MS Excel document as attachment to a PDF document does not open with a hot spot/link in the PDF

    Hi, I have attached an excel file to a pdf document. I need to open this document in a new window by clicking an icon/hotspot in the pdf document to which it it attached.
    I am using the Link Tool to create a hot spot around the icon in the pdf. In the next window I am using the Go to Page view option, opening the attachment to its first page and clicking the "set link" button.
    For some reason, clicking the hotspot does not open the excel document as it does another pdf document.
    Need help resolving this issue with attached documents.

    Select a particular download file. Press COMMAND-I to open the Get Info window.  In the Open With section choose the desired default application from the dropdown menu then click on the Change All button.
    For .dmg files use DiskImageMounter (System/Library/CoreServices/ folder.)
    For .zip files use Archiver - same folder as above - or download TheArchiver - MacUpdate or CNET Downloads.

  • For one of our users the option to send a document as attachment has dissapeared in office programs such as word, excel etc

    Hi,
    For one of our users the option to send an email as attachment has disappeared in office programs such as word, excel etc
    As you can see from the above these are the normal options you expect to see but for the user affected they get the option to send as a Text document, a pdf or an XPS the option to send as a attachment has gone.
    I have logged into her PC with my account and it was fine, i have had a look and no one else has reported this throughout the company and looking for answers online has proven fruitless.
    Any Ideas on why this option would have changed to only allow the user to send it as text.

    Hi,
    The "Send as Attachment" option only works when Outlook and word are installed from the same suite. That is required.
    Thanks,
    Ethan Hua CHN
    TechNet Community Support

Maybe you are looking for

  • Multiple issues with PCI-5640R FPGA: DAC and Strange Execution at Host

    We are working on a communications systems project using the PCI-5640R IF-RIO transceiver and the FPGA module. At the FPGA, a sequence of bits are being modulated through multiplication with the sine wave generator.  The next step is to take the modu

  • Cannot connect the the App A Store and I have a few Apps that have to be deleted 2-3 times a week in order for them to be online!!!!!!!!!!!!!!!

    I cannot log into the App Store, it acts like I am putting the wrong Password on my iPhone 4 and my iPod Touch.  I also have an app that has to be deleted and redownloaded at least 3-4 times a week because it will say the app is not online when I am

  • Printing a report via URL

    Hey, is there any chance to get a report printout via an url call? We can get our reports via url as pdf, html, rtf and so on. In my mind there is no chance for a printout or perhaps email via url? I tested the delivery API as second way without some

  • Problem to send sms

    We have made a test application in j2me which sends sms. The mobile server is "nokia 6681". Following is the result when we send sms to various other mobile Nokia 1100 message come but content says 'message can't be displayed'. Nokia 3310 sms reaches

  • Need BR*Tools Studio assistance

    Hi, I have installed BR*Tools Studio for playing in "Multi-Instance Server Mode" on my Windows XP PC. I have installed the software under the path "C:\Programme\SAP BRTools Studio 7-10". The JDK is 1_4_2_18 and the Oracle Containers for J2EE is versi