Mail to File - how to read the attachment file name from the subject.

I need to use the SHeaderSUBJECT's value in the receiver file adapter's variable substitution.
This is a Mail to File scenario without design part where the attachment file name comes in the subject of the mail.
I see the below in the dynamicconfiguration section. How can i retrive the value from dynamicconfiguration section to the filename.
<SAP:DynamicConfiguration xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Record namespace="http://sap.com/xi/XI/System/Mail" name="SHeaderSUBJECT">PlainAttachment.txt</SAP:Record>
</SAP:DynamicConfiguration>
Points will be rewarded.

Try to use sthg like this in a UDF :
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().getStreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create(“http://sap.com/xi/XI/System/Mail”,“SHeaderSUBJECT”);
String value = conf.get(key);
or in a JAVA mapping :
DynamicConfiguration dynConf = (DynamicConfiguration) param.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey dynKey = DynamicConfigurationKey.create((“http://sap.com/xi/XI/System/Mail”,“SHeaderSUBJECT”);
String keyValue = dynConf.get(dynKey);
param is the map object from the execute() method of your mapping ...
Hope this helps
Chris
Edited by: Christophe PFERTZEL on Apr 23, 2008 11:34 AM

Similar Messages

  • How-can-i-remove-my-skype-name-from-the-sign-in-sc...

    Guys this is absolute rubbish feature of the login application where people's login names get recorded in the dropdown menu. Is there any more permanent way of getting rid of this annoying privacy intrusive "feature"? I would like to have a profile with a username that is not going to appear at airports and my grandma's laptop after I log out of skype and no I do not want to go digging for app files to remove my entire history on each and every machine I use as suggested by your help files. Could you please advise if I'm missing something here?
    https://support.skype.com/en-gb/faq/FA11070/how-can-i-remove-my-skype-name-from-the-sign-in-screen-i...

    Unfortunately, the option to remove that feature is not available.  
    IF YOU FOUND OUR POST USEFUL THEN PLEASE GIVE "KUDOS". IF IT HELPED TO FIX YOUR ISSUE PLEASE MARK IT AS A "SOLUTION" TO HELP OTHERS. THANKS!
    ALTERNATIVE SKYPE DOWNLOAD LINKS | HOW TO RECORD SKYPE VIDEO CALLS | HOW TO HANDLE SUSPICIOS CALLS AND MESSAGES
    SEE MORE TIPS, TRICKS, TUTORIALS AND UPDATES in
    | skypefordummies.blogspot.com | 

  • How to get customer number and name from the SD document

    Hi All,
    Can you please let me know how to get Customer Number and Name from the SD Document?
    Thanks a lot....
    Anil

    Hi,
    It will be displayed in the SD (BIlling document) itself,  you clikc on the VF03. The customer name and number will also appear in the SO document also Tcode VA03
    regards,
    radhika
    Edited by: kolipara radhika on Jul 10, 2009 5:32 AM

  • Fm or metod that retrieve the lock object name from the table name

    HI ALL,
    there is FM or method that retrieve the lock object name from the table name ?
    Best regards
    Nina

    CALL FUNCTION 'ENQUEUE_REPORT'            
    EXPORTING                                
    gclient                     = sy-mandt   
    gname                       = 'RCTMV'         "Table Name
      GTARG                       = ' '       
      GUNAME                      = SY-UNAME  
    IMPORTING                                 
      number                      =           
      SUBRC                       =           
      TABLES                                  
        enq                         =  lt_seqg3
    EXCEPTIONS                               
       communication_failure       = 1        
       system_failure              = 2        
       OTHERS                      = 3

  • How To Remove A Specific Application Name From The "Open With" Dialog

    When you right click on a file you are presented with the "Open With" menu item and you are also presented with a list of applications that could potentially be used to open that file.
    In my case, when I click on a file of type .mov I am presented with the name of an application that I want to remove from the list, because that application ( Miro.app (2.5.2) ) no longer exists on my system.
    What is the best way to remove that application name from the list?

    Ok, but how does one remove some of the applications that are appear in the context menu for a given file type? Is there an asc file which can be edited?
    For example, in my system a PDF can be opened with over 10 applications. I would like to see just the three ones I use: Acrobat, Skim and Preview.
    Thanks in advance.

  • How can I remove old calendar names from the iTunes sync list?

    I gave my calendars new names as part of reducing the total number of calendars in my iCal, and now iTunes still lists the old calendar names as well as the new ones in its "selected calendars" list, even though these names are no longer present in my iCal nor on my iPod Touch. How can I remove the old calendar names?

    The "genius" folks at the Apple Store lived up to their names. The key was to reset the iSync history in the iSync Preferences.

  • How do you remove your FULL name from the SYSTEM COMPLETELY?!?!

    I have added and removed the user thinking that would remove my full name from the system, but when I click on the "About this Mac" and then click on More info, My FULL NAME is still there as the owner of the computer. I am selling it and I do not want my name on the computer at all and do not wish to format the whole drive to do so. Is there another way of removing it? I appreciate anyone that has the correct answer.

    System Preferences>Sharing>Computer Name.
    BTW, unless you know and completely trust the person to whom you are selling, this is not the way to do things. Your sensitive data may still be recoverable.
    http://hivelogic.com/articles/how-to-prepare-a-mac-for-sale
    Choose zero out (one pass is sufficient.)

  • How find print program and form name from the spool list

    Hi,
          I have a requirement to find print program and form name from the spool list.
    I got the list of programs and forms from TNAPR table, I also want to find out any custom program sending the form directly to the spool.
    Cheers
    Sam

    Hi
    Try TSP01-Suffix2
    Regards
    Raj

  • How to read html to a NSString from the Internet

    Please help the rookie:
    What is the recommended way to read html-content into NSString variable when writing an application for iPhone?
    Thank you.
    Message was edited by: .Net and Obj-C developer

    You don't have to remove Homepage Sites just to host
    iWeb Sites.
    They can even work together (from your iDisk) to
    share pages or files.
    The easiest method would be to remove the Homepage
    files (Sites, Movies and Picture folder files) that
    are used by Homepage from your iDisk.
    Once deleted your pages are gone from the Web.
    Dear Quicktime Kirk, I want all my files and bundles to be in the same place, and with iWeb, that means on my Desktop (although I could put backups on my iDisk, I know.) So, if I understand you correctly, then if I delete the Sites, Movies, and Picture folder files that are u sed by Homepage from my iDisk, then my old .Mac Homepage website will GONE, right?
    Well, actually, wouldn't it be a good idea to just delete the whole shebang? Because everything (or almost everything) has been copied already.
    — Lorna in Southern California

  • How to identify the Exploded EAR name from the UI

    Hi,
    I need to do a customization in a page, "Manage Employment" (of 'Human Resources' product family)using Jdeveloper. Is there a way to find the corresponding EAR file from the UI.
    When I searched in the UNIX box (under /xx/oracle/fapp/products/fusionapps/applications/hcm/deploy) I can see Ext*.jar file in the following EAR directories.
    [ora@xxxxxxxxx deploy]$ find . -name Ext*.jar
    ./EarHcmCore.ear/APP-INF/lib/ExtHcmCustomization.jar
    ./EarHcmCoreExternal.ear/APP-INF/lib/ExtHcmCustomization.jar
    ./EarHcmTalent.ear/APP-INF/lib/ExtHcmCustomization.jar
    ./EarHcmCompensation.ear/APP-INF/lib/ExtHcmCustomization.jar
    ./EarHcmPayroll.ear/APP-INF/lib/ExtHcmCustomization.jar
    ./EarHcmBenefits.ear/APP-INF/lib/ExtHcmCustomization.jar
    ./EarHcmCoreSetup.ear/APP-INF/lib/ExtHcmCustomization.jar
    Which JAR file should I take to customize? Is the file same under different exploded EAR directories. Please let me know.
    Thanks,

    Hi Jani,
    I moved the entire EAR directory and the Ext*.jar to my local machine and created the "Customization Application Workspace". I was able to find out the View object to be customized
    using the Filter of 'Customizable Archive' as you suggested.
    But when I try to edit the page, the Jdeveloper seems to be hanged and I get the following error in the log.
    Apr 23, 2013 12:35:52 AM oracle.javatools.buffer.ReadWriteLock traceDeadlock
    SEVERE: lock deadlock; thread 'AWT-EventQueue-0' blocked on lock 'BenefitsServic
    eCenter.jsff' for more than 20,000ms:
    "AWT-EventQueue-0" id=15, blocked, no reads, no writes, no history collected:
    at oracle.javatools.buffer.ReadWriteLock.writeLock(ReadWriteLock.java:34
    6)
    at oracle.javatools.buffer.AbstractTextBuffer.writeLock(AbstractTextBuff
    er.java:1045)
    at oracle.ide.model.TextNode$FacadeTextBuffer.writeLock(TextNode.java:13
    88)
    at oracle.mds.internal.dt.dom.MDSDomModelPlugin.acquireWriteLockDirectly
    (MDSDomModelPlugin.java:1350)
    at oracle.bali.xml.dom.impl.DomModelImpl._acquireWriteLock(DomModelImpl.
    java:1632)
    at oracle.bali.xml.dom.impl.DomModelImpl.acquireWriteLock(DomModelImpl.j
    ava:486)
    I use the below memory setting in the Jdev start command script.
    set USER_MEM_ARGS=-Xms256m -Xmx1250m -XX:MaxPermSize=1024m -XX:CompileThreshold=8000
    Also I have done the appropriate memory settings in jdev.conf and ide.conf files as suggested in the Fusion Applications Developer guide.
    Can you please help?
    Thanks,

  • How do i find out the node number/name from the weblogic API  ?

    Hi
              I have written an application component that writes to a file. When clustered, i need to make the filename correspond to the managed server / node # inside the cluster, as i cannot afford to let each jvm hence each node write to the same file. Therefore on startup i would like to interrogate the weblogic server and ask it the node # the application is deployed in, so that it can create a unique file name - BASED upon the node number.
              Any ideas anyone ?
              Thanks
              James

    You may want to use WebLogic JMX api to do that. Using MBeanHome, you will get the name of the server on which your application gets invoked.
              Regards,
              Vishwas

  • How do I transfert my domain name from the first registrar to business catalyst ?

    Hey,
    I don't find where (on the Admin Console) I have to put the EEP Key of my domain name I want to use for the website on BC. This EPP Key  come from the registrar of my  site that I want to transfer to BC. I want use this name domain.
    Can you help me ?
    Thank you.
    Marion

    Hi Marion,
    After you have gone live with your BC site you'll need to access your domain's registrar and input our NS records. 
    So you'll need go where you purchased the domain to set this up.  Please view the article below for step by step instructions.
    - http://helpx.adobe.com/business-catalyst/using/change-site-domain.html
    Kind regards,
    -Sidney

  • Attachment list option from the GOS

    Hi freinds
    We have a custom Transaction for which we have activated the GOS icon on the screen. We have that icon and we care able to save the document to the Content repository fine.
    The issue is immediately after attaching the documents, if you use the
    " Attachment list" option from the GOS menu, it brings the attached documents.
    But if you leave the transaction and get in for the same document, the same function is not working.
    In what basis i have to save the document...
    Kindly pl throw in your ideas on this issue.
    Thanks
    deva

    Hi Kruthika,
    Here iam explaining how i resolved in my case
    i created a database table with the selection screen values
    if i attach any document in the GOS menu than keep a save button and write logic for save button to save the selection screen values in database table
    than after that if u see tha attachments again give another button like GET if u give any value which is in database tabel than press get it will get the all selcetion screen values and the attachmentts
    Note:Just iam explained what i did but i dont know what is ur requirement exactly
    if u come with ur requiremnt than we will help u
    Thanks
    Surendra

  • How to find the Web Dnpro component from the Source code ?

    Hi Gurus,
    Please help me to find out the WD Component Name from the Source Code?
    Regards
    Anil

    Hi Thomos,
    When i right clik on the screen i see the following line by line.
    -Back
    -forward
    -save background as
    -set as background
    -copy background
    -set as desktop item
    -select all
    -Paste
    -create shotcut
    -add to favorites
    -view source
    -encoding
    -print
    -refresh
    -export to microsoft excel
    -properties
    I have mentioned every thing i see when ever i right click on the screen.
    --Anil

  • How to get the transaction name from the Webdynpro portal in SRM 7.0

    Hello Experts,
    Would you please let me know the procedure to get the current transaction name from the SRM 7.0 portal.
    Is there any similar procedure like in ITS to get the transaction Name/Template Name in "View Source" of the portal. Our primary requirement is to find the root cause(by debugging) from SAP GUI.
    Your pointers on this will be very much useful & worth the points.
    Thanks & Best Regards,
    Vishnu Reddy Sangati

    Hi!
    Try this thread:
    http://help.sap.com/saphelp_nw04s/helpdata/EN/80/b2dd3a6dac703be10000000a11405a/frameset.htm
    brgs Ziggy

  • Want to get the Client Machine name from Oracle Forms

    Hi,
    I want to get the Client machine name from the Oracle Forms.
    I have attached web_util.pll.
    I use user_name := webutil_clientinfo.get_host_name;
    but i am getting following error - WebUtil Error:WUC-015: Your form must contain the following Bean for this function to be available: oracle.forms.webutil.clientinfo.GetClientInfo.
    Can any one help me in this!
    Thanks & Regards,
    Avinash Bhamare.
    Pune.

    Hi,
    I have written the code on when-button-pressed trigger of a push button -
    DECLARE
         user_name VARCHAR2(50);
    BEGIN
    user_name := client_win_api_environment.get_computer_name;
    message('user_name is :'||user_name);
    message('user_name is :'||user_name);
    END;
    And on clicking on this button i am getting error -
    frm-40734:Internal Error:PL/SQL error occurred
    Can any one help in this asap please!
    Thanks & Regards,
    Avinash.

Maybe you are looking for

  • Filtering extended event in sql server 2008 r2

    This code has been generated in sql server 2012 (using the graphical interface). CREATE EVENT SESSION [backupsmssql] ON SERVER ADD EVENT sqlserver.sp_statement_starting( ACTION( sqlserver.client_app_name, sqlserver.client_hostname,sqlserver.nt_userna

  • Creating HTTPS Service in AS ABAP

    Hi, experts,   I'm an ABAPer, I have a question that how can I create HTTPS service in AS ABAP? I've created HTTPS service with transaction code SMICM, but system notices me each time 'WARNING: Your changes will be lost when you restart the ICM'. Doe

  • VPN up/down every 2minutes

    Hi everybody, I've got a problem with a VPN. The VPN is connected, but every 2 minutes, it goes down. I have tried a lot of things like keepalive,... but no solution. Can you give some help, please ? Config : service tcp-keepalives-in service tcp-kee

  • SLD Regarding

    Hi everybody, I have installed the following components of SAP Netweaver Stack. MSSQL Server 2000 (Evaluation version) SAP WebAS 6.40 for Java (Sneak preview , J2EE Engine Only) SAP Netweaver Developer Studio 2.0.4 SAP Enterprise Portal 6.0 SP4     

  • How to create a instance for the method

    it is showing me dump error for the call method data: i_tab type /SCMB/DM_ORDER_TAB,       grid1  TYPE REF TO /SCA/CL_SVORDER . CALL METHOD grid1->READ_BY_IDS   EXPORTING    IS_CTRL      =     IV_ORTYPE    = gt_po_detl-ortype    IV_LOCKFLG   = /SCMB/