How to Hold Sender Filename for Receiver Filename

Hello,
I have a File (xml) -> PI -> File (flat) scenario where I need to maintain a part of the sender filename and use it in the receiver filename.  This value can be one of three values (if that matters). 
I envision having to get the filename value into my payload and then using receiver filename substitution.  But how would I get the filename into my payload?  Is there another way to "carry" part of the filename over to my output?
example:
sender files:  A.123.X, A.456.X, A.789.X
- need to do mapping into new format and create...
receiver files: B.123, B.456, B.789
(the 123, 456 and 789 are not in the original payload data)
Thanks,
Keith

More details on my issue...
When I remove my XSLT mapping to see if my first message mapping with UDF to get the filename is working....it is.
<?xml version="1.0" encoding="UTF-8" ?>
<ns0:UPS_EBR_BILL xmlns:ns0="http://www.ups.com/Billing/v1">
  <ns0:InvoiceDetails>
    <ns0:Invoice>
      <ns0:InvoiceNumber>000000082648018</ns0:InvoiceNumber>
      <ns0:File>APGI-20080105-xml.zip</ns0:File>
Then the aforementioned ns0 error happens when my XSLT map runs.  Here is the top of my XSLT.  Any suggestions on how to adjust the XSLT to handle the new ns0 or any way to get rid of the ns0 before XSLT mapping?
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://www.ups.com/XMLSchema/EBR/Billing/v1" xmlns:ns1="http://graybar.com/cold/invoice/">
   <xsl:output method="xml"/>
   <xsl:template match="/">
      <ns1:ColdInvoiceData xmlns:ns1="http://graybar.com/cold/invoice/">
         <xsl:for-each select="ns0:UPS_EBR_BILL/ns0:InvoiceDetails/ns0:Invoice">
                    <Invoice>

Similar Messages

  • How can i send email for suport to rest my questions' please helpe'

    how can i send email for suport to rest my questions' please helpe'

    You need to ask Apple to reset your security questions; this can be done by clicking here and picking a method, or if your country isn't listed, filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (109789)

  • HT1438 how do i send iphone for microphone repair

    how do i send iphone for microphone repair.......i know it requires registration

    Depends on how it broke. You may need to pay 200 dollars.

  • How do I send instance for manual recovery at run time.

    Hi
    I have a BPEL process within which I am trying to handle a business error. I understand using the default-policies on the application server I can send a message for manual recovery. But is it possible to force an instance into the manual recovery queue in the event of a handled error?
    I have previosuly used the default policies to route remote/binding faults to the activities tab (manual recovery) tab and the users find this useful to adjust XM land retry, re-throw etc. But can we do the same for errors handled within the BPEL. So if I have a catch all within my process how would I send the instance to this manual recovery queue.
    Thanks
    Rich

    I hate it when after an hour's searching I post a question
    and then find the answer ten minutes later...
    "Current VI's Path" on the file IO palette...
    Bob

  • How to configure Send Handler for BizTalk 2013 Dynamic Send Port on deployment?

    Hi,
    I do know how to manually configure a send handler for a dynamic send port in BizTalk 2013 Administration console. Though, once you export your application's configuration to a binding file, the dynamic send port's configuration does not
    contain any information regarding the send handler. When you try to use this binding file when deploying your application your dynamic port's send handler falls back to the default host instance.
    So my question is, how could we automate this process to avoid manual step in a dynamic port configuration during deployment?
    Thank you,
    --Vlad

    Hey vlad,
    As discussed at work in the office.. I woudl take the powershelll approach for now as a workaround.  Here's a trivial script for my local dev box (all in one biztalk & SQL)  (must be run in an x86 powershell session):
    param
     [string] $bizTalkDbServer = ".",    
     [string] $bizTalkDbName = "BizTalkMgmtDb",
     [string] $fileHostInstance = "SendingHost",
     [string] $sendPortName = "sm_dynamic_sp_test"
    [System.reflection.Assembly]::LoadWithPartialName("Microsoft.BizTalk.ExplorerOM") | Out-Null
    $catalog = New-Object Microsoft.BizTalk.ExplorerOM.BtsCatalogExplorer
    $catalog.ConnectionString = "SERVER=$bizTalkDbServer;DATABASE=$bizTalkDbName;Integrated Security=SSPI"
    foreach($sp in $catalog.SendPorts)
     if($sp.Name -eq $sendPortName)
      "Found send port $($sp.Name), analyzing send handler"
      foreach($sh in $sp.DynamicSendHandlers)
       if($sh.SendHandler.TransportType.Name -eq "FILE")
        if($sh.SendHandler.Host.Name -ne $fileHostInstance)
         "Changing $($sh.Name) send handler to '$fileHostInstance' from '$($sh.SendHandler.Host.Name)'"
         $sp.SetSendHandler("FILE", $fileHostInstance)
        else
         "Send handler for $($sp.Name) is already '$fileHostInstance' ignorning .. "
    $catalog.SaveChanges()

  • SFTP to AS2(non-seeburger): How to get sender Filename to be used in AS2 Receiver Channel

    Hi Experts,
    I have this scenario,
    SFTP > Process Orchestration > AS2(non-seeburger)
    My interface is not using Message Mapping and I want to use the source Filename as my Receiver Filename.
    Sender
    orders_1234 - source filename
    Receiver
    orders_1234 - target filename
    How to do it in Process Orchestration without Seeburger.
    Thanks and Best Regards,
               Orlan

    Hi Orlan - So are you using SAP AS2 adapter?
    If you so i think you can make use of dynamic configuration bean.
    Unknown use case of DynamicConfigurationBean: Store file name to JMS header without mapping
    Enable adapter specific attributes in sender SFTP channel and in the receiver AS2 channel use the above module to swap the dynamic attributes.
    Dynamic attributes
    http://sap.com/xi/XI/System/SFTP ,FileName 
    http://sap.com/xi/XI/AS2/AS2:  AS2Filename

  • How to setup XI (specifically for receiving mail+attachment)

    Hi,
    I am new to XI. After having had a training for 5 days I have my first assignment and immediately I face a lot of problems (as expected....:-))
    Situation is as follows. I have to connect 2 non-sap system via XI. External system 1 is a mailserver that sends a mailmessage + attachment to XI. XI has to read the message, convert it to a customer-specific XML and send it to external system 2. I already made the following entries:
    SLD:
    - 2 products (mailserver + external system);
    - 1 softwarecomponentversion (or should I have 2? 1 for mailserver and 1 for external system?)
    - 2 technical systems
    - 1 business system
    IR:
    - 1 integration scenario with 3 swimming lanes (first with activity SendMailMessage on mailserver, second with IntegrationProcess on external system with 2 activities (ReceiveAbstractMailMessage/SendAbstractXmlCustomerMessage), third with activity ReceiveXmlMessage on external system)
    - 1 datatype for target-structure
    - 1 messagetype for target-structure
    - 1 external definition (mail XML)
    - 4 message interfaces: MIIA for incoming mailmessage, 2 MIAA for abstract interface, MIOA for outgoing XMLmessage to customer)
    ID:
    - 1 business system
    - 2 communication channels
    - 1 interface determination
    - 1 receiver determination
    - 1 sender agreement
    Now...my questions...:
    - first of all...does the above makes some sence :-)?
    - do i have to create 1 or 2 software component versions? My idea is 1, but i am in doubt if I have to create a specific SCV for both products)
    - how do I configure the communication-channels?
    - General problem: I am facing problems configuring the ID and SLD so every help is welcome.
    Lot of questions, I really hope somebody can help me out here....
    Thanks in advance!

    Hi, JW:
    Do not worry, everyone in this forum has their own starting stage.
    Regarding your questions:
    - in the sender SMTP SCV, I also have to create a MT for the mailpackage?
      A: No, if you use mail package, you do not need create message type manually, the mail package already has message type level object defined.
    - do I create MIOA in sending SWCV, MIIA/MIOA in mapping SWCV and MIIA/MIOA in receiving SWCV? Or is it only needed to create MIIA/MIOA in receiving SWCV?
    A: Yes, for Message Interfaces, you need to create One MIOA in sending SWCV and One MIIA in receiving  SWCV
    - only 1 MI with 1 MM on the mapping SWCV, right?
    A: Depends.
         One Interface Mapping for sure need to be created.
         MM: depends, if you use XSLT Mapping, you might not need create MM anymore.
         In your interface mapping (IM), when you choose mapping program, you choose XSL type, then, select your     
         imported XSLT package (make sure your *.xsl file is saved, zipped and imported into IR)
         If you use Java Mapping, make sure, you exported your project into Jar file from your IDE, eg, NWDS, and 
         imported into IR, In your interface mapping, you choose Jave type and select your imported Java package.
    - I think I cannot use the graphical mappingtool to map the mail-xml to the customer-xml. I will need an XSLT or java. So the message itself is not simple. Does this mean I need a third swimminglane for the busuinessprocess afterall in between the 2 that you mentioned? Or can I still manage this by using just 2 swimminglanes?
    A: Yes, I think you need XSLT or Java mapping. But do not confuse it with the Integration Scenario.
        If you do not create Integration Scenario in IR, your interface will be still working.
        The purpose to create Integration scenario is to graphically representing your interface design, your message   
        flow, and also can be used in ID to import, or use wizard to create Configuration Scenario. If you do not
        create Integration Scenario, you can still be able to manually create configuration scenario in ID.
        If you still need to create Integration Scenario in IR, two swimming lanes are enough to representing your sending application component and receiving application component. There is no need to have third one except you have BPM involved in your process.
    If you have some detailed questions, you might need to search this forum, or marketplace to search OSS notes
    You are going to have a lot of details to explore, enjoy your practice !
    Liang

  • Ipurchased Adobe acrobat XI Pro student & Teacher edition and need to send my proof of eligibility. How do I send it to receive my serial number?

    Ipurchased Adobe acrobat XI Pro Student & Teacher edition and need to send my proof of eligibility so that I can receive the serial #. How do I do this??

    For details regarding the student/teacher provisions you can refer to the following information page:
    http://helpx.adobe.com/x-productkb/policy-pricing/education-faq.html#main_submit_poe
    Another good resource for getting information is the student and teacher edition information forum:
    http://forums.adobe.com/community/download_install_setup/student_and_teacher_edition_infor mation_?view=discussions
    Here are some links regarding student discounts from Adobe:
    http://www.adobe.com/education/students.edu.html?showEduReq=yes
    http://www.adobe.com/education/student-eligibility-guide.edu.html
    http://www.adobe.com/education/students/how-to-buy-eligibility.edu.html

  • How to create send connectors for multiple sites in the same domain?

    Current Scenario:
    We have 2 offices, 1 in London and 1 in India. Both are in the same domain and are connected via VPN. Both have their own separate Exchange 2003 server. Each location sends out their mail via the Default SMTP Virtual Server on their exchange server through
    their local ISP. There are no Send connectors created currently.
    We have now installed an additional Exchange 2010 server with Hub, CAS and Mailbox roles at the London site. Internal mail flow between the sites seems to be working fine.
    I believe the Exchange 2010 needs a Send connector to send out mail to the internet. However as soon as we create a Send connector on Exchange 2010, mail from the older 2003 servers at both sites start to flow out from the exchange 2010 server. This is not
    optimal for our India site since their outgoing mail now has to flow via the VPN to London and out via the new server.
    How can we configure it so that each server sends outgoing mail independently?
    Thanks

    Hi,
    In India site, you can create a SMTP connector which point to the local ISP.
    Thanks.
    Niko Cheng
    TechNet Community Support

  • 1300 AP times 2? one for send one for receive?

    Hello,
    i was hoping to increase the speed of the network.
    im using a simple setup to bridge two buildiings (see config below).
    is it possible to config two AP's on each side to be dedicated - one to send and one to receive?
    (with similar setup on the other end).
    currently when i send a 100MB file it takes 60 seconds which is poretty crappy for a 54mbps hardware.
    the distance is only 600ft between.
    using 1310G with build in antennas - would the model with the external antennas give better reception?
    thanks!
    Building configuration...
    Current configuration : 1090 bytes
    version 12.4
    no service pad
    service timestamps debug datetime msec
    service timestamps log datetime msec
    hostname 1
    no aaa new-model
    dot11 ssid abc
       authentication open
    bridge irb
    interface Dot11Radio0
    no ip address
    no ip route-cache
    ssid abc
    speed  basic-1.0 basic-2.0 basic-5.5 basic-11.0 basic-6.0 basic-9.0 basic-12.0 basic-18.0 basic-24.0 basic-36.0 basic-48.0 basic-54.0
    station-role root bridge
    bridge-group 1
    bridge-group 1 spanning-disabled
    interface FastEthernet0
    no ip address
    no ip route-cache
    bridge-group 1
    bridge-group 1 spanning-disabled
    interface BVI1
    ip address 172.16.3.120 255.255.248.0
    no ip route-cache
    ip http server
    no ip http secure-server
    ip http help-path http://www.cisco.com/warp/public/779/smbiz/prodconfig/help/eag
    bridge 1 priority 9000
    bridge 1 protocol ieee
    bridge 1 route ip
    line con 0
    login
    line vty 0 4
    login local
    end

    Your transfer time doesn't look crappy to me at all.
    54Mbps data rate gives 20Mbps real throughput at the very best. 20Mbps means you will transfer 2 to 3 MB in a second, so 100MB will take 50 seconds ... Expected
    If you are thinking about buying a second bridge, you're maybe better using 11n bridges. A 1260 could do the job. Put your bridge on the 5ghz and bond channels to 40Mhz, you then have double the throughput and no interference from 802.11b/g. You'll see speeds of over 100 (real) Mbps.
    Some people already did 2 bridges side by side on different channels and configuring them in etherchannel but that's a bit funky.
    One bridge that would receive and one that would transmit is a concept against the standard itself, you have to receive the ACK to the frame you just sent, you can't rely on another device receiving that.
    Nicolas

  • How to email .jpg photos for receiver to print?

    I sent my daugher a picture from iPhoto, using the "Attach" button in the email, and the photo is a .jpg.  My daughter is unable to print it at her end, and responds with the following comment:
    "It’s the picture, not attached as a JPG. Attach it to an email as an attachment, then I can print and save as a real picture."
    What am I doing incorrectly? Can anyone help? Thanks so much.

    Try this:
    1 - export the photo out of iPhoto to the Desktop via the File ➙ Export ➙ File Export menu option with Kind = JPEF, Size = Full Size and JPEG Quailty = Maximum. 
    2 - open Mail and create a new email.
    3 - drag the photo into the email body. 
    4 - select Actual Size in Mail's Size drop down menu.
    5 - send.
    If the recipient still has problems with the file you can zip(compress) the file before adding to the email body:
    Of course the recipient will have to unzip/uncompress the file once they receive it.
    Happy Holidays

  • How do I send jsee for java 2 with the java applet

    Is there a way that the user downloads the jsee with the applet so even if they don't have the java plug in they get it so they can view my applet?

    that wouldn't be a good idea - the package size is hughe and i think it's better to tell a user that he needs j2ee 1.3.1 and where to get it than trying to start an automated download process....

  • Send notification for Approved PR to third party (not in hierarchy)

    Oracle Purchasing.
    how can I send notification for third party (buyer) which is not in the approval hierarchy to inform him the PR is approved? so, he`ll receive same notification as the issuer.
    Regards

    Sorry to say the obvious.Customize the workflow?

  • Send MEDRUK for e-mail

    Hello ALL!
    Somebody know how can I send MEDRUK for e-mail?
    Best regards.
    Luciano

    Hi,
    In order to send PO, your Basis team must configure the system first so that external email can be send out from SAP.  If it is not configured, no settings you do on MM will work.
    1. You must maintain email address in vendor master data.
    2. The same applies to your user master data.  For the output type for default values, a communication strategy needs 
    to be maintained in the Customizing that supports the e-mail. You can find the definition of the communication strategy in the 
    Customizing via the following path: 
    (SPRO -> IMG -> SAP Web Application Server -> Basic Services -> Message Control -> Define Communication Strategy). 
    As a default, communication strategy CS01 is delivered. This already contains the necessary entry for the external communication. Bear in mind that without a suitable communication strategy it is not possible to communicate with a partner via Medium 5 (external sending).
    3. Use the standard SAP environment (program 'SAPFM06P', FORM routine 'ENTRY_NEU' and form 'MEDRUCK') as the processing routines.
    4. In the condition records for the output type (for example, Transaction MN04), use medium '5' (External send).
    5. You can use Transaction SCOT to trigger the output manually. The prerequisite for a correct sending is that the node is set correctly. This is not described here, but it must have already been carried out.
    6. To be able to display, for example, the e-mail in Outlook, enter PDF as the format in the node.
    Regards
    Sudheer

  • The same filename from a sender to a receiver file adapter - SP14

    Hi Expers,
    I Have Gone through the link which is given bu Michal.
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    Here My Questions are.........
    1.Should we give any file name in the receiver side Adapter in this scenario.?????
    2.How wil be the Sender and Receiver Communication channel Parameters????
      What Are they???????
    Please Clarify me...
    Regards
    Khanna

    Hi Rajesh,
    Is your query related to sending the file name from the source xml document to the reciever file adapter. If so this can be achieved.
    Pls. do the following.
    1. In the mapping program that you are using populate the filename coming from the source into the target root element.
    2.Sender adapters can write adapter-specific attributes to the message header; these can then be evaluated at configuration time
    3. To change the adapter-specific attributes of the message header by using message mappings, you access the required classes of the mapping API by using a mapping runtime constant.
    <b>Note: You donot need to specify any filename in the receiver communication channel.</b>
    To access the classes DynamicConfiguration and DynamicConfigurationKey by using the mapping runtime constant DYNAMIC_CONFIGURATION, use the method getTransformationParameters() of the container object.
    Create an simple user defined function in the mapping and use the following code.
    Imports: com.sap.aii.mapping.api.*;
    Parameter: String filename
    Paramter: String filename;
    filename = fileName + ".DAT";
    DynamicConfiguration conf = (DynamicConfiguration) container
    .getTransformationParameters()
    .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/File", "FileName");
    conf.put(key, filename);
    return filename;
    You donot need to hard code the value of the filename in the file adapter for your interface.
    In SXMB_MONI, when you see the pipeline services you would see that the value of the filename is populated in the message payload.
    Thanks
    Indranil

Maybe you are looking for

  • FSCM and blocked orders

    HI, Can any one tell me how to process blocked orders when FSCM is implemented? Here is some background about this.   1) One functional consultant told me that when FSCM is       activated VKM1 can no longer be used to process/release       blocked o

  • Create report  to display CODE ( e.g  RC , VP ext) coming in tcode Me23n

    Hi , I need to create report in orde to display CODE ( e.g  RC , VP ext) coming in tcode Me23n.Could any one tell me table to fetch with respect to purchacing document number. Regards.

  • A noob asks: Configuring Simpapp to handle workstation clients.

    Dear accomplished Tuxedians, I'm trying to educate myself on Tuxedo 8.1 on Windows XP SP2, and so far so good. However, I've struck a question that the docs cannot answer. I've been able to run the simpapp application, and wondered how I could setup

  • Dr.Note-Cr.Note

    Dear Friends, My co. wants to use dr.note-cr.note concept and this should be done by SD people,I want to know that if this is applicable then what will be financial impact ??

  • Thread Safety of Vector as Queue (Putting / Getting)

    i have a thread that is working on clearing a queue (a Vector). however, new items are being added to the queue intermittently. how should i do this properly? is the process below sufficient? Vectors are syncronized arent they? So using the methods b