B2B Broadcasting : How to send a single file to multiple trading partners

Oracle 10g B2B (10.1.2)
I have a use case where I need to send a file to multple trading partner. Actually BPEL ftps a file to the B2B file server and B2B picks that file and needs to send it to multiple trading partners.
I read through the blog http://blogs.oracle.com/oracleb2bgurus/2009/03/broadcast_feature_in_oracle_as.html and did the following change.
1. Created a generic identifier : Grouping.
2. Added this identifier to the relevant trading partner.
3. Modified the business action to include the actionName=Grouping; for all the relevant Trading Partner which is supposed to get the file.
4. Used the Group identifier in the Trading partner agreement.
5. Redeployed the TPAs.
Issue :
As the file has to follow a convention <Toparty>_<DocumentType>_<RevNo>_<MessageType>_<MessageId>.txt , I am able to send the file to the trading partner for which I put the name in place of <ToParty> and <DocumentType>.
Please let me know the exact steps to follow. any document would be of great help.
Thanks
Rajeev
Edited by: user10680470 on Oct 13, 2009 12:34 AM

Hi Anuj,
Thanks for replying. I had tried both options.
For first option it returned error stating it could not identify the trading partner.
Second one was looking more promising but due to the DocumentType parameter in the filename which I was using as the DocumentType of any one of the business action action name of a trading partner, it was giving error. Is it possible to have the DocType for multiple trading partners, just a thought.
I will try to explore more on the option 2 with the fileformat using the actionname.
Meanwhile if you could find anything please let me know.
Thanks a lot....
Rajeev
Edited by: user10680470 on Oct 13, 2009 2:47 AM

Similar Messages

  • HOW to send the SPlitted files to multiple Receiver On some Condition ?

    Hi all,
    It's Urgent,
    Aim of our scenario
    the single file is splited according to company code and creates as separate file
    previously it was sending to same server..
    we have got the CHANGE REQUEST ON THIS SCENARIO that to route to TWO FTP servers which is splitting according to company code.
    But we are not changing any objects in IR
    we have only need to change in ID
    as now we are using on BUSINESS SERVICE which we have created in ID itself we are not using the BUSINESS SYSTEM created in SLD
    We are using ONLY one INBound interface , Interface MApping , Message MAPPing .(no cahnges in IR)
    Sender XML Structure
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
    <ns0:Message1>
    <ns1:MT_FileEwadCompany occurence1-1
    xmlns:ns1="http://bridgegcs.com/HR/EmployeeWorkforceAdminDataXI_IHR004">
    <COMPANYEWADDATA> 0 -unbound occurence
    <AUDIT_STAMP/>
    <SEQNO/>
    <SE_TYPE/>
    <RECNAME_AUDIT/>
    <FLD_NAME/>
    <OLDVALUE/>
    <NEWVALUE/>
    <KEY1/>
    <KEY2/>
    <KEY3/>
    <KEY4/>
    <COMPANY/>
    <SCE_PAYROLL_CODE/>
    <ALTER_EMPLID/>
    </COMPANYEWADDATA>
    </ns1:MT_FileEwadCompany>
    </ns0:Message1>
    </ns0:Messages>
    Receiver XML Structure
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
    <ns0:Message1>
    <ns1:MT_FileEwadCompany 0-to-unbound
    xmlns:ns1="http://bridgegcs.com/HR/EmployeeWorkforceAdminDataXI_IHR004">
    <COMPANYEWADDATA>0-unbound
    <AUDIT_STAMP/>
    <SEQNO/>
    <SE_TYPE/>
    <RECNAME_AUDIT/>
    <FLD_NAME/>
    <OLDVALUE/>
    <NEWVALUE/>
    <KEY1/>
    <KEY2/>
    <KEY3/>
    <KEY4/>
    <COMPANY/>
    <SCE_PAYROLL_CODE/>
    <ALTER_EMPLID/>
    </COMPANYEWADDATA>
    </ns1:MT_FileEwadCompany>
    </ns0:Message1>
    </ns0:Messages>
    IN Integration Directory We have to route to 2 FTP servers based on Company code .
    WE have used XPATH with particular company codes TO one target Business service which we have created in ID where we are using one FTP server(FTP server 1).
    For all other company codes it has to send to second FTP server for Second business system which has been created in SLD .
    previously they used INTERFACE DETERMINATION as ENHANCED TYPE
    IF we change to STANDARD its not DISPLAYING INTERFACE MAPPING in pop up window.
    As now we created now .
    One receiver determination
    Two Interface DETERMINATIONs(As enhanced type).
    Two REceiver Agreements.
    As now we have tested
    it is sending all files to both servers.
    But we need to send to specfied FTP servers on the basis of COmpany code which we declare in XPATH expression.
    could any one can guide us
    POINTS WILL BE REWARDED FOR BEST ANSWERS..It's urgent
    THanks in ADvance
    Nandan

    Hi nandan,
    u said that u r using
    1) business service for FTP1
    2)business system for FTP2
    u have given X-path condition in Rec determination...i.e depending upon the company code it will route to business service or business system .
    so i guess there should be two reciver determination
    2 interface dtermination
    And also check ur Xpath....make sure that its like....
    if (Comp code == 1)
    go to FTP1
    if (comp code == 2)
    go to FTP2
    regards
    biplab

  • How to send GoldenGate trail files to multiple targets

    Dear All,
    We had an existing prod GoldenGate configuration which is one source and one target (unidirectional).
    Now we want to add one more target to replicat same data. But the challenge we are facing is the existing configuration is not using data pump process.
    We are using only one extract process to extract and send data to remote host,
    like,
    EXTRACT ext
    USERID ggs, PASSWORD ggs
    RMTHOST prod1, MGRPORT 7809
    RMTTRAIL /goldengate/dirdat/aa
    TABLE scott.emp;
    Is it possible to add one more target in the same configuration???
    Please do help.
    Thanks,
    TrushB

    Please do update guys...

  • Sending one transaction to multiple trading partners

    Hi B2B gurus,
    This is my scenario and requirement in oracle 11G B2B which is not possible in 10G
    I am placing one file in IP_OUT_QUEUE, B2B should pick that file , processed and it should send the processed file to 5 trading partners, can we configure this in B2B 11g. if yes please suggest us how to implement.
    Regards
    RAJ

    Hi Raj,
    1.Could you please tell where i need to add this parameter(Is it in BPEL)You need to set the actionName header from back-end (it may be BPEL or any other application which is passing message to b2b). It is same as setting any other header like doctype and doctypeRevision. This attribute should look like -
    actionName=Grouping:<group identifier>
    2. In the place of Grouping can we give any name?You could give any name in place of "group identifier". It's totally customizable.
    3. Steps to create a custom Identifier in B2B UI:
    Administration -> Design -> Trading Partner Identification Types -> Create(Ex: Broadcast)
    Q: We need to create a new Trading Partner Identification(Ex: Broadcast) and if we need to send one message to 5 TP's then for all the 5 TP's we need to give Grouping value( am i right)Yes. Associate the custom identifier with all the required trading partners.
    Regards,
    Anuj

  • How to compile a single file in a project

    I have placed my java connector file called "xxxTargetconnector .class" in the below mentioned path
    D:\FSCM9DMO\webserv\FSCMDMO9\applications\peoplesoft\PSIGW\WEB-INF\classes\com\peoplesoft\pt\integrationgateway\targetconnector
    I have converted the above class file in to a java file using a decompiler.Now i would like to recompile the java file to get the byte code.This class file imports many class files from jar files which is placed in the below mentioned path.
    D:\FSCM9DMO\webserv\Cybersource.
    Before compiling i set the path to include the jar files
    for ex , set path = D:\FSCM9DMO\webserv\Cybersource
    For compilation i went to the below path using command prompt and compiled the particular file.
    D:\FSCM9DMO\webserv\FSCMDMO9\applications\peoplesoft\PSIGW\WEB-INF\classes\com\peoplesoft\pt\integrationgateway\targetconnector>javac xxxTargetConnector.java
    Unfortunately i got around 99 errors saying
    xxxTargetConnector.java:187: cannot find symbol
    symbol : variable Logger
    location: class com.peoplesoft.pt.integrationgateway.targetconnector.xxxTargetConnector
    How to compile a single file in a project ?

    According to [http://java.sun.com/javase/6/docs/technotes/tools/windows/javac.html], "As a special convenience, a class path element containing a basename of * is considered equivalent to specifying a list of all the files in the directory with the extension .jar or .JAR. I have never tried using this feature.
    So if all of your dependent classes are in in jar files that are in D:\FSCM9DMO\webserv\Cybersource, a command like the following should work.
    javac -cp D:\FSCM9DMO\webserv\Cybersource\* xxxTargetConnector.java
    Note that setting your operating system path variable has no impact on where Javac looks for dependent classes.

  • How to send a text file to a printer?

    Hi, I'm in dark on how to send a text file to a printer through Java Stored Procedure.
    Here are what I tried so far (OS: win 2000, Oracle: 817 or 9i2):
    1, Enable DOS command in Java Stored Proc. and try to send PRINT command there:
    public static String Run(String Command){
    try{
    Runtime.getRuntime().exec(Command);
    System.out.println("Command: " + Command);
    return("0");
    catch (Exception e){
    System.out.println("Error running command: " + Command +
    "\n" + e.getMessage());
    return(e.getMessage());
    public static void main(String args[]){
    if (args.length == 1)
    Run("print /D:\\\\enterprise\\john " + args[0]);
    else System.out.println("Usage: java OSCommand filename");
    PL/SQL wrapper:
    CREATE OR REPLACE FUNCTION OSCommand_Run(p1 IN VARCHAR2) RETURN VARCHAR2 AUTHID CURRENT_USER AS LANGUAGE JAVA NAME 'OSCommand.Run(java.lang.String) return java.lang.String';
    SQL command:
    //print /D:\\machine\printer test.txt
    I loaded the Java Stored Procedure into SYSDBS account, it failed silently, even though piece of code works fine in external JVM.
    2, Use filePrinter:
    public static String print(String printString) {
    try{
    String printerUNC = "\\\\machine\\printer";
    FileWriter fw = new FileWriter(printerUNC);
    PrintWriter pw = new PrintWriter(fw);
    pw.println(printString);
    fw.close();
    return "OK";
    }catch(Exception e){
    e.printStackTrace();
    return "Exception: " + e.getMessage();
    public static void main(String[] args) {
    try{
    String printerUNC = "\\\\machine\\printer";
    String printString = "Hello World";
    FileWriter fw = new FileWriter(printerUNC);
    PrintWriter pw = new PrintWriter(fw);
    pw.println(printString);
    fw.close();
    }catch(Exception e){e.printStackTrace();}
    I loaded it into SYSDBS too, and tried with this:
    SQL> select MY_PRINT.PRINT('HELLO from Oracle') from dual;
    MY_PRINT.PRINT('HELLOFROMORACLE')
    Exception: No such file or directory
    SQL> show user
    USER is "SYS"
    It works in external JVM too.
    What's wrong with this?
    Thanks for any help in advance,
    Charles

    Avi:
    Thanks for your response!
    I put the java code in SYS, 'cause I assume that account has max privilege. If the test is successful, I will move that to some user schema and then to deal with those privilege settings... But I'm unlucky.
    I checked Ask Tom, this is what I got from http://asktom.oracle.com/pls/ask/f?p=4950:8:1619723::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:38012348052,%7Bprinter%7D:
    ... Print file from PL/SQL ...
    If you are using Oracle8i, release 8.1 -- much can be done with Java. java
    would be able to print directly from the server.
    Looks like using Java to print out file is better than PL/SQL. But there's no more hint there! And, no new question can be asked there today either...
    I'm wondering whether we can create a socket to a printer and send the characters there directly... Anyone has experience on this?
    Thanks for all the help in advance,
    Charles

  • How to send a PDF file as a FAX from Oracle Reports 6i

    Hi
    I want to know how to send a PDF file as a FAX from Oracle Reports 6i. Or please post any sample code in reports that sends PDF document as FAX
    Help need immediately.
    Thanks in advance. my email id is
    [email protected]
    Arun
    null

    hello,
    there is no native support for directly faxing a report. you could e.g. use a fax-software that has a printer-driver that supports this.
    regards,
    the oracle reports team

  • How to send a JSP file in a MAU patch

    Hi friends,
    We need to send a patch for enhancement, which contains classes and a JSP file also.  So, we know how to send class files, but we are not aware of how to send a JSP file in the patch.
    Please help us if anybody know this.
    Thanks & Regards,
    Ravi

    Hi Ravi,
    <b>Is is possible to update this jar file or to change some mappings?</b>--->I think you can not update the application.jar file.
    Let me know one thing, while you creating war file from NWDS/Eclipse did you compile JSP pages as Precompiled class files. If you did that, your application will not point JSP pages that you applied as patches.
    Is your application is in production phase? If yes, my first suggestion is..If you have updated application.jar file, apply the application.jar file as patch.
    If your application is not in production phase....best option is, again create a war file as pre-compiled jsp pages, and make changes in NWDS that the compiled class files should loaded as application.jar file. Then you can apply patches easily.
    Hope this helps you..
    Regards,
    Murthy

  • How to send a large file in XI ?

    How to send a large file in XI ?

    hi,
    use a splitting mechanism to convert large files into smaller files and process them as if they where independent.
    You can use the "Recordsets Per Message" parameter in the File Adapter sender comm channel by using File Content Conversion, to create a new message for each 1000,10000,etc records in the source file...this could be a way of splitting.
    If you scenario works ok for small files, maybe you can develop another scenario that runs previous the current one, that only splits files (e.g. File-XI-File) and then puts the output smaller files in the directory that your current scenario monitors.
    Check this blog for huge file processing
    /people/alessandro.guarneri/blog/2007/02/21/sap-xi-acting-as-a-huge-file-mover
    Thanks,
    Vijaya

  • Can anyone tell me how to send a PDF file so that it opens up in the body of the email itself? Thanks

    Can anyone tell me how to send a PDF file so that it opens up in the body of the email itself? Thanks

    That is a function of the recipient's e-mail software understanding what your software sent.  If it doesn't it will always show as an icon or attachment.   It is also a function of both your internet provider and their internet provider accepting messages of that size, and a function of their download attachment settings in their e-mail program.  There is no way to guarantee it will appear inline in the attachment.   The best you can do is attach with Windows Friendly format.  To do that, use the attach toolbar icon that looks like a paperclip, (View menu -> Customize toolbar if invisible) on Mac OS X Mail when composing the message.   A checkbox appears in the file dialog box's bottom to make it Windows friendly when you navigate to pick the PDF file.  That makes it as universally compatible as possible.  It still may not appear inline, but at least you are less likely to be incompatible.

  • How to send the PDF file to FAX will the nast table updates

    Hi all,
    How to send the PDF file to FAX. Will the nast table updates ( which fields updates ).
    Need is once fax is send for that delivery, again it should not fax again. Will the nast table helps to check the sent fax.
    Please give me sutable suggessions....

    Have you checked Forums » Community Discussions » Code Snippets 
    I believe there were some examples on converting/sending PDF.
    Or check FM 'SO_DOCUMENT_SEND_API1' and documentation for it.

  • How to send the pdf file....

    How to send the pdf file which is an outpu of smart form to sap users.
    How to delete the pdf file as soon as it was sent.

    Have you checked Forums » Community Discussions » Code Snippets 
    I believe there were some examples on converting/sending PDF.
    Or check FM 'SO_DOCUMENT_SEND_API1' and documentation for it.

  • How to send a PDF file of 50 MBs?

    how to send a PDF file of 50 MBs?

    Or use the free Workspaces service at https://workspaces.acrobat.com/
    Upload the file, publish or share it, then send the download link via email.

  • Single File to multiple IDoc

    I am working on single XML file input to multiple IDoc scenario. Single file contains multiple set of data for Customer and Vendor for example 20 Customer and 40 vendor together in one file between <CMData>...</CMdata> tag individually. I have to map Customer and Vendor based on one of the tag value. I seen the IDoc structure does not allow multiple records and occurrence shows only one. What is the best way to establish this scenario. I know ccBPM is required and Transformation Step picks respective mapping based on XML tag value for Customer or Vendor, but I have doubt how can I send one by one IDoc by identifying correct mapping based on XML tag. Thanks and appreciate your help.
    --PKT

    Thanks Paul for prompt response and support.
    I changed the Occurrence of both IDOC TAG to "9999" through "xsd" and upload the same in XI and I created two mapping one for Customer and one for Vendor i.e.
    File--->Customer with multiple IDoc tag attribute
    File--->Vendor with multiple IDoc tag attribute
    Now in BPM I have to apply loop and look to the tag XMLType and where it is "C" I have to call Customer mapping and where it is "V" I have to call Vendor mapping. How I can do this . Please help me on this. Thanks.

  • How to create a pdf file from multiple images ?

    Dear All,
    I want to create a SINGLE page pdf file from two or more page size images that are combined to make a single page pdf. Again, this question is on pdfs that are made out of several, atleast  two color images and a black-and-white mask for one of them.
    I have such pdf files from an unknown source (the producer is edited out) whereby there are three tiff images, obtained using the well known pdfimages extractor.
    When I want to make a pdf out of tiff or png or other image formats, I right click and tell Adobe Acrobat to make a pdf.
    However, I dont know how I can give a command to select say,  three tif images and specify which is the mask for which and then join  them in a way that I get the pdf from the composite of the two color images and a mask for one of them.
    Please help me out.
    I am a little familiar with the pdf structure skeleton and when necessary, fixed xref tables in one of my favorite editors. A few years ago, I also wrote a bunch of javascripts to make some annotations and needed some automation and used some itext type libraries. However, I need your help in this problem as I am now rusty and forgot some of what I studied to solve my earlier problems. This is a new problem for me. Gentle hints from you would be very nice to help me in this problem. Please specify if necessary what manual and pages to read. in the pdfspec.
    Best Regards
    Disabled Veteran [physically handicapped]

    Hello Again.
    On Fri, May 11, 2012 at 12:20 PM, lrosenth <[email protected]> wrote:
    >
    > Re: How to create a pdf file from multiple images ?
    >
    > created by lrosenth in PDF Language and Specifications - View the full
    > discussion
    > ________________________________
    >
    > No clue who Irving is…
    >
    I was hoping to have your first name so its easy for me to address you.
    > I have no clue what OS platform, programming language, etc. you use so
    > can’t really narrow things down.
    I would gladly mention that I am working on windows platform, preferably XP.
    I can also work on linux for free products that come with it.
    >  Also, as this is an Adobe forum, we only
    > recommend Adobe products – so there may be other options that even my list
    > wouldn’t include.
    But adding other products, for the help of an adobe products user,
    even if it outside adobe, shall add greater prestige to your company
    and give impression of user-centeredness.
    > If you read ISO 32000-1:2008 (aka the PDF standard), you will find the
    > information about Images and Image Masks well described.  I didn’t think I
    > needed to repeat any of that information.
    Well, just add the few pdf stanzas since you are proficient on it and
    I am presently a little rusty as I mentioned. Just asking a little
    extra yard, not even to go an extra mile.
    > And, if you read that same document, you will see that there is NO SUCH
    > THING as a “text only PDF”.   All PDF documents are structured binary files.
    Well, ascii format or uncompressed format that is human readable. I
    know its a binary file, but human readable ascii version of it.
    I hope you can give me some stanza and various other approaches
    possible so I can select or combine things for myself. I see only a
    miniscule number of posts claiming to have written masks in this forum
    and then with no details.
    Regards
    Roger
    Message was edited by: dying veteran
    because the adobe posting system went crazy and truncated all except the first line ... dunno why

Maybe you are looking for

  • UK reporting

    Hello Friends, Can anybody help me out by throwing some light on Intrastat reporting as required in context of UK implementation of SAP? Rgds NS

  • How do I remove the "Go to a website" redirection?

    Hi. I'd like to know how to remove the redirection to the navigation bar when I open up a new tab. Everytime I open up a new tab I've set it so I come to my homepage, google. But instead of directing me to the search bar in the center of the site, as

  • Errors on creating new Topic in RH9 (9.02 Patch)

    Have found that when creating a new topic in RH9 project that on building the project errors 3018 and 3111 are being presented. Appears that the error is being caused by the placement of the Page Break in the word document at the commencement of the

  • Mac OS10.9 Quark 9.5.4 - font leading issues

    Mac OS10.9 Quark 9.5.4 Recently upgraded OS and Quark and my documents that use the font Avenir are not displaying correctly. Fonts leading has expanded so anywhere Avenir is used, the leading changes the layout and most text boxes are overset. - lea

  • Which group by function to use in following case?

    Table name: PVH | Processid | Name | Timechanged | Value | | 268436769 | filecount | 10/1/2008 2:59:01.006000 AM | 0 | | 268436769 | filecount | 10/1/2008 2:45:33.004000 AM | 100 | I want "value" where max(timechanged) and groupby appianprocessid and