How to put the sender name in the wf-system

Hi,
Can anybody pls tell me how to give the sender address in stead of WF-SYSTEM
When ever a mail is triggered the mail is send to the mail inbox.in the mail inbox it is showing in the sender option : WF-SYSTEM...
I want to put any name their .
can i put any name their.
please help me.....very urgent.
For any clarification pls revert back.
Thnks

Hi,
I've put the steps again here but this time I've put in Bold the lines that needs to be added in the different sources.
• Copy the BO SOFM to ZSOFM
And add to the method Send an import parameter
SENDER like PA0105-USRID_LONG
Then change the method SEND
begin_method send changing container.                             
data: result_object type swc_object.                              
data: document_data  like sodocchgi1,                             
      document_type  like sofolenti1-obj_type,                    
      receivers      like somlreci1 occurs 1 with header line,    
      object_para    like soparai1  occurs 0 with header line,    
      object_parb    like soparbi1  occurs 0 with header line,    
      object_header  like solisti1 occurs 1 with header line,     
      object_content like solisti1 occurs 10 with header line.    
data  folder_id      like soobjinfi1-object_id.                   
data  new_object_id  like soobjinfi1-object_id.                   
data  document_id    like sofolenti1-doc_id.                      
data low_len like sy-tabix.                                       
data  rcode          like sonv-rcode.                             
<b>data : SENDER like pa0105-usrid_long.                             
DATA : packinglist LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE.     
DATA: tab_lines TYPE sy-tabix.                                    
DATA : sender_address like SOEXTRECI1-RECEIVER.                   
swc_get_element container 'SENDER' SENDER.       </b>
* get receivers out of container                 
perform extract_receivers tables receivers         
                                 container.        
if object-key = space.                             
  * get document data out of the container       
  perform extract_document tables object_para      
                                  object_parb      
                                  object_header    
                                  object_content   
                                  container        
                           using  document_type    
                                  document_data.   
<b>DESCRIBE TABLE object_content LINES tab_lines.     
Packing List                                     
CLEAR packinglist-transf_bin.                      
packinglist-head_start = 1.                        
packinglist-head_num = 0.                          
packinglist-body_start = 1.                        
packinglist-body_num = tab_lines.                  
packinglist-doc_type = 'RAW'.                      
APPEND packinglist.                                                                               
move sender to sender_address. 
* send document                                               
  call function 'SO_DOCUMENT_SEND_API1'                         
    exporting                                                   
      put_in_outbox = ''                                        
      document_data = document_data                             
      sender_address = sender_address                           
      sender_address_type        = 'SMTP'                       
      commit_work                = ''                           
   tables                                                       
      packing_list   = packinglist                              
      receivers      = receivers                                
      contents_txt   = object_content                           </b>   exceptions                                                    
      parameter_error = 23                                      
      too_many_receivers =  1                                   
      x_error =              1000                               
      operation_no_authorization =  13                          
      enqueue_error =     2                                     
      document_type_not_exist = 3                               
      document_not_sent =  15.                                  
  if sy-subrc ne 0.                                             
    exit_return 1023  document_data-obj_descr space space space.
  endif.                                                        
* create now SOFM object of sent document                     
  if sy-subrc = 0.       
    perform insert_document_with_data using new_object_id        "870566
                                            document_data               
                                   changing folder_id                   
                                            rcode.                      
  else.                                                                 
    move sy-subrc to rcode.                                             
    exit_return 1900 'Document Insert' space space space. "#EC NOTEXT   
  endif.                                                                
* create result element with object key                               
  if rcode = 0.                                                         
    perform create_result tables container                              
                          using folder_id                               
                                new_object_id                           
                                result_object.                          
    perform create_object using folder_id                               
                                new_object_id.                          
  endif.                                                                
else.                                                                   
  move object-key to document_id.                                       
  call function 'SO_OLD_DOCUMENT_SEND_API1'                             
       exporting                                                        
            document_id                =  document_id                   
            PUT_IN_OUTBOX              =                              
       IMPORTING                                                      
            SENT_TO_ALL                =                              
       tables                                        
            receivers                  =  receivers  
       exceptions                                    
            too_many_receiver          = 1           
            document_not_sent          = 2           
            document_not_exist         = 14          
            operation_no_authorization = 13          
            parameter_error            = 23          
            x_error                    = 6           
            enqueue_error              = 7           
            others                     = 1000.       
  if sy-subrc ne 0.                                  
    exit_return 1023  document_id space space space. 
  endif.                                             
endif.                                               
end_method.                                                                               
• Copy the function SWW_SRV_MAIL_SEND to ZSWW_SRV_MAIL_SEND
And add as import parameter SENDER TYPE COMM_ID_LONG.
In this function it will create an object SOFM and call the method Send and link the container for this method. So now we’ll create our copy of SOFM and add SENDER as container.
Set the object.
  swc_create_object office_object 'ZSOFM' space.
  swc_set_element local_container 'DocumentName' documentname.
  swc_set_element local_container 'DocumentTitle' documenttitle.
  swc_set_element local_container 'SENDER' SENDER.
  swc_set_table local_container 'DocumentContent' documentcontent[].
  swc_set_table local_container 'Receivers' t_receivers.
  swc_set_element local_container 'Express' express.
  IF NOT documentexpirydate IS INITIAL.
              swc_set_element local_container 'DocumentExpiryDat'
              documentexpirydate.
     ENDIF.
•Create a subtype for BO SELFITEM
Example : ZSELFWI
Create a method “SendWithSender”
Tab General : Check Synchronous & Result parameter
Tab Result type : Object type SOFM
Tab ABAP :  SWO_INVOKE
Then you’ll have to copy all the parameter from the original function
“SendTaskDescription” and add a new one
SENDER(import like PA0105-USRID_LONG)
            Then copy the method “SendTaskDescription” to the code of “SendWithSender”
Now you’ll have to do some modifications to call the copy of the function
SWW_SRV_MAIL_SEND  and then delegate ZSELFWI &#61664; SELFITEM
And now in your task call the method SendWithSender of Selfitem and bind an address to Sender.
BEGIN_METHOD SENDWITHSENDER CHANGING CONTAINER.                  
<b>DATA: WORKITEMID LIKE SWWWIHEAD-WI_ID.                           </b>
DATA: receivers TYPE swc_object OCCURS 0.                        
DATA: BEGIN OF address_objects OCCURS 3,                         
       a_object TYPE swc_object,                                 
      END OF address_objects.                                    
DATA: return TYPE STANDARD TABLE OF swotreturn WITH HEADER LINE. 
DATA: text_lines TYPE STANDARD TABLE OF tline WITH HEADER LINE.  
DATA: document_content TYPE so_txttab.                           
DATA: ls_document_content TYPE LINE OF so_txttab.                
DATA: workitem_task LIKE swwwihead-wi_rh_task,                   
      workitem_language LIKE swwwihead-wi_lang,                  
      workitem_short_text LIKE swwwihead-wi_text,                
      express LIKE sos04-l_***,                                  
      send_type LIKE sos04-l_art,                                
      send_language LIKE sy-langu,                               
      rc LIKE syst-subrc.                                        
<b>DATA: SENDER like PA0105-USRID_LONG.                             </b>
DATA: BEGIN OF address_strings OCCURS 3,                         
       a_string LIKE soxna-fullname,                             
     END OF address_strings.                                     
DATA: attachments TYPE swc_object OCCURS 0 WITH HEADER LINE.     
DATA: line_width LIKE thead-tdlinesize.                          
DATA: wi_handle TYPE REF TO if_swf_run_wim_internal.             
DATA: wi_container TYPE REF TO if_swf_cnt_container.             
DATA: lv_excp TYPE REF TO cx_swf_run_wim.                               
DATA: l_subrc TYPE sysubrc.                                             
DATA: l_expiry_date TYPE sydatum.                                       
DATA: l_settings TYPE swp_admin.                                                                               
~~ begin of trace specific coding ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
PERFORM trc_init <b>in program SWWSI</b> .                                     
~~ end of trace specific coding ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                               
swc_container addr_crea_container.                                                                               
Get the input parameters.                                             
swc_get_table container 'AddressStrings' address_strings.               
swc_get_element container 'TypeId' send_type.                           
swc_get_table container 'Receivers' receivers.                          
swc_get_element container 'Express' express.                            
swc_get_element container 'Language' send_language.                     
swc_get_table container 'Attachments' attachments.                      
swc_get_element container 'LineWidth' line_width.                       
<b>SWC_GET_ELEMENT CONTAINER 'SENDER' SENDER.                              
SWC_GET_PROPERTY SELF 'WorkitemId' WORKITEMID.                          </b> ~~ begin of trace specific coding ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
PERFORM trc_after_import_params <b>in program SWWSI</b>                        
                                TABLES container                        
                                       address_strings                 
                                       receivers                       
                                       attachments                     
                                USING send_type                        
                                      express                          
                                      send_language                    
                                      line_width.                      
~~ end of trace specific coding ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
Get some attributes of the object.                                   
TRY.                                                                   
    CALL METHOD cl_swf_run_wim_factory=>find_by_wiid                   
      EXPORTING                                                        
        im_wiid     = <b>WorkitemId</b>                                       
      RECEIVING                                                        
        re_instance = wi_handle.                                       
    workitem_task = wi_handle->m_sww_wihead-wi_rh_task.                                                                               
IF send_language IS INITIAL.                                       
      send_language = wi_handle->m_sww_wihead-wi_lang.                 
    ENDIF.                                                                               
wi_container = wi_handle->get_wi_container( ).                     
  Perform variable substitution for task description.                
    CLEAR text_lines[].        
    IF line_width IS INITIAL.                      
     line_width = 75.                            
      line_width = 132.                            
    ENDIF.                                         
    CALL FUNCTION 'SWU_GET_TASK_TEXTLINES'         
      EXPORTING                                    
        task              = workitem_task          
        usage             = 'W'                    
        linewidth         = line_width             
        language          = send_language          
        container_handle  = wi_container           
      TABLES                                       
        ascii_text_lines  = text_lines             
      EXCEPTIONS                                   
        wrong_usage       = 01                     
        text_not_found    = 02                     
        text_system_error = 03.                    
    IF sy-subrc NE 0.                              
      exit_return 1004 space space space space.    
    ENDIF.                                                                               
get work item text                               
    CALL METHOD wi_handle->get_witext              
      EXPORTING                                    
        im_language = send_language                
      RECEIVING                                                             
        re_witext   = workitem_short_text.                                                                               
~~ begin of trace specific coding ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~       
    PERFORM trc_after_text_generation <b>in program SWWSI</b>                      
                                      TABLES                                
                                         text_lines                         
                                      USING                                 
                                          wi_handle->m_sww_wihead           
                                          workitem_short_text               
                                          send_language                     
                                          line_width.                       
~~ end of trace specific coding ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                               
Fill the document content.                                                
    LOOP AT text_lines.                                                     
      ls_document_content-line = text_lines-tdline.   "note 510198          
      APPEND ls_document_content TO document_content.                       
    ENDLOOP.                                                                               
  * note 881594 - determine default expiry date for office documents      
    CALL FUNCTION 'SWP_ADMIN_DATA_READ'                                     
      IMPORTING                                                             
        wf_settings = l_settings.                                           
    IF NOT l_settings-doc_expiry IS INITIAL.                           
      l_expiry_date = sy-datum + l_settings-doc_expiry.                
    ENDIF.                                                                               
*- There problems with the implementation of persistence service       
*- of objects. The symptom of this problems is that sendorders         
*- (SCOT) are not saved if an object pool exists. Therefore we         
*- create a new session in this environments.                          
    DATA: t_receivers_por TYPE tswotobjid.                             
    DATA: t_attachments_por TYPE tswotobjid.                           
    DATA: receiver_object TYPE swc_object.                             
    DATA: attachment_object TYPE swc_object.                           
    DATA: por TYPE swotobjid.                                          
    DATA: result_por TYPE swotobjid.                                   
    DATA: rfcdest TYPE rfcdest.                                        
    DATA: documentname TYPE sodocchgi1-obj_name.                       
    DATA: documenttitle TYPE sodocchgi1-obj_descr.                     
    DATA: t_address_strings type swfstrtab.                                                                               
LOOP AT receivers INTO receiver_object.                            
      swc_object_to_persistent receiver_object por.                    
      IF sy-subrc EQ 0.                                                
        swc_free_object receiver_object.                               
        APPEND por TO t_receivers_por.                                 
      ENDIF.                                                           
    ENDLOOP.                                          
    LOOP AT attachments INTO attachment_object.       
      swc_object_to_persistent attachment_object por. 
      IF sy-subrc EQ 0.                               
        swc_free_object attachment_object.            
        APPEND por TO t_attachments_por.              
      ENDIF.                                          
    ENDLOOP.                                          
    LOOP AT address_strings.                          
      append address_strings to t_address_strings.    
    endloop.                                                                               
rfcdest = space.                                  
    IF cl_object_pool=>instance_exists( ) EQ 'X'.     
      rfcdest = 'NONE'.                               
    ENDIF.                                                                               
documentname = 'Notiz'(001).                      
    documenttitle = workitem_short_text.              
    CALL FUNCTION <b>'ZSWW_SRV_MAIL_SEND'                </b>
      DESTINATION rfcdest                             
      EXPORTING                                       
        send_type               = send_type           
        send_language           = send_language       
        documentname            = documentname        
        documenttitle           = documenttitle                
        documentcontent         = document_content             
        receivers               = t_receivers_por              
        express                 = express                      
        documentexpirydate      = l_expiry_date                
        attachments             = t_attachments_por            
        address_strings         = t_address_strings            
        <b>SENDER                  = SENDER    </b>                   
      IMPORTING                                                
        result_por              = result_por                   
      EXCEPTIONS                                               
        document_not_send       = 1                            
        not_specified           = 2                            
        error_during_send       = 3                            
        error_during_attachment = 4                            
        OTHERS                  = 2.                           
    l_subrc = sy-subrc.                                        
*~~ begin of trace specific coding ~~~~~~~~~~~~~~~~~~~~~       
    PERFORM trc_after_send <b>in program SWWSI</b> USING l_subrc.     
*~~ end of trace specific coding ~~~~~~~~~~~~~~~~~~~~~~~       
  Check the result of the method call.                       
    CASE l_subrc.                                              
      WHEN 0.                                                  
        Set the return element (the SOFM object).               
        swc_set_element container result result_por.           
        commit work.                                           
      WHEN 1.                                                  
        exit_return 1001 sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.  
      WHEN 2.                                                  
        exit_return 1002 sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.  
      WHEN 4.                                                  
        exit_return 1005 sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.  
        WHEN OTHERS.                                           
          exit_return 1003 space space space space.            
      ENDCASE.                                                                               
CATCH cx_swf_run_wim INTO lv_excp .                          
    exit_return 1006 <b>workitemid</b> space space space.                                                                               
ENDTRY.                                                                               
END_METHOD.

Similar Messages

  • Sender Name in The Email Functio Module

    Hi All,
    I have a requirement to change the sender name in the function module SO_NEW_DOCUMENT_SEND_API1 .
    By Default this function module takes the name of the sender from the log in id .
    Please suggest how I can do it...
    Thnks ...
    sahil

    Hi sahiil,
    I_OBJTXT = 'Find attached the output of the smartform.'.
    APPEND I_OBJTXT.
    I_OBJTXT = 'Regards,'.
    APPEND I_OBJTXT.
    I_OBJTXT = '  '.-----> sender name
    APPEND I_OBJTXT.
    Regards,
    Sravanthi

  • Changing the sender name of WF-BATCH

    Hi,
    I am new to workflow programming and looking for guidance on changing the sender name of the emails going (SENDMAIL activity) as WF-BATCH user.
    I looked at the input from this group on similar question and understood that what I need to achieve can only be done via FM SO_DOCUMENT_SEND_API1.
    I am unsure how to accomplish this if the email I am sending out needs to read the description captured in the task (whic is a dialog method) before this (TS01000140).
    Can anyone give me inputs on how to achieve this?
    Thanks for commenting.
    María

    Hi,
    First of all, you might want to check class cl_bcs for sending emails. Basically your function will do the same but this class is a bit more functionality. Plenty of examples in SCN/Internet.
    Whatever function/method you will choose to use, the idea is to develop a workflow method, and then call the email sending function/method from this method. Then you of course develop a task that will call your new method. Now, you will need certain parameters for the email sending function/method: subject, body text, recipient, etc. You need to either deliver these parameters for the method from your workflow container or build some additional logic to the workflow method. E.g. if your task TS01000140 gets the email text into the workflow container, then you need to bind it to your email sending task (and to the method) => you need to add this to your task container and then add it as a parameter to your method.
    One additional hint: When building the custom logic, pay attention to email language. You want to deliver the emails in correct language, so the recipient language must be known before the email is sent...
    Regards,
    Karri 

  • How do I send an email with a group address and not show the addresses/names of the recipients?

    How do I send an email with a group address and not show the addresses/names of the recipients?

    Use BCC.   That's blind carbon copy.   And copy paste the address into the BCC field.  It really depends what e-mail program you use how to enable BCC.

  • How to change the sender name "workflow system" to Diff name

    Hi ,,
      How to change the mail sender name that is "workflow system" to different name. Whenever the mail is triggered it shows the sender name as "workflow system" . i want to change the name of the sender..Even i changed the name of the WF-Batch(name) user but no use.. Pls advice.
    regards,
    Roops.

    Hi Roops,
    Check if the following [link1|Re: How to change text of wf batch??] [link2|Update should not happen in the name of WF-BATCH] helps you.
    Regards,
    Saumya

  • How to put two files with the same name into the same folder?

    How can I put two files with the same name and the same extention into the same directory?
    Is this even possible?
    Thanks in advance. 

    Are you sure? I would be very surprised if that was the case.
    How does the computer/filing system differentiate the files, if not by their names?
    How do you tell the computer which one you want? (On the command line.)

  • Can I stop iWeb from putting a page name at the top?

    I don't want page names across the top in iWeb. I have a list of hyperlinked icons on the side for that.
    Can anyone tell me how to stop iWeb from putting the page name on the page?
    Thanks.

    The script is for the text in the browser title bar.
    The title is taken from the large textbox at the top of each webpage.
    If that box is missing or empty, iWeb uses a next textbox for the title.
    If that is missing too, the pagename is used for the title.
    If you want the title in the titlebar but not the large textbox on your page, select the textbox, do Cm-T and drag the font-size slider to the bottom.
    Then click the color next to the T-icon and drag that opacity slider to the left (0).
    Then resize the textbox to it minimun size and drag it out of view. And don't forget you did.
    But I think the OP means the navigation links at the top.

  • How can I set the Object Name to the file name on import?

    All-
    I've been manually typing the filename into Aperture's Object Name metadata field. Is there a way to do this automatically? I use metadata presets to fill in many other fields on import but haven't found a way to set metadata fields on a file-by-file basis.
    Perhaps there's a way to do this with the thousands of images already in my library as well...
    Thanks,
    Andreas

    Here's the cleaned-up version:
    tell application "Aperture"
    set selectedImages to the selection
    repeat with i in selectedImages
    set tName to name of i
    set value of IPTC tag "ObjectName" of i to tName
    end repeat
    end tell
    Some other related bits, which you can probably work out how to put into the above script:
    Find out the AppleScript names of the IPTC tags (but only tags which have a value for that image), the names will be listed in the 'result' pane in the Script Editor:
    tell application "Aperture"
    set selectedImages to the selection
    get name of every IPTC tag of item 1 of selectedImages
    end tell
    The same for EXIF tags:
    tell application "Aperture"
    set selectedImages to the selection
    get name of every EXIF tag of item 1 of selectedImages
    end tell
    And for any custom tags you have set up. If you haven't set up any custom tags (one of my main reasons for going with Aperture) this will just return camera and picture time zones:
    tell application "Aperture"
    set selectedImages to the selection
    get name of every custom tag of item 1 of selectedImages
    end tell
    Finally, keywords:
    tell application "Aperture"
    set selectedImages to the selection
    get name of keywords of item 1 of selectedImages
    end tell
    To grab the first keyword name try 'name of keyword 1 of...' etc.
    To grab the parent keywords for hierarchical keywording stuff try experimenting with 'get parents of keywords of'. The keywords seem to be read-only from AppleScript, so a magic script that added all parent keywords doesn't seem to be possible.
    Ian

  • After upgrading my 3gs to ios5, I get 2 copies of pictures synced from my computer, 1 in the Photo Library and another in a library with the same name as the folder I put the pictures in to put on the phone. Any ideas why?

       When syncing pictures from my computer to my I-Phone I get 2 copies of the pictures, 1 in the Photo Library and another in a library with the same name as the folder I put pictures in to put on the phone. This started after I upgraded to ios5. I have tried re-installing I-Tunes. I have not reset the phone. My main concern is the amount of memory pictures take up on the phone. It's not a problem now but could be in the future. Any Ideas on why this happening?

    It has always been this way.  it was never different.  This is how the iphone handles photos - always has.
    There are NOT two copies,  There are simply two ways to access the very same photos.  All synced photos will ALWAYS be under Photo Library ( you can look at all photos at once this way or do a slideshow of all photos).  Those very same photos can also be accessed from the individual folders so you can show or slideshow just that folder.
    Just as a book can be in the library and in the fiction section, there is only one book/photo.

  • Passing the queue name to the sender JMS adapter at run time..

    Hello Experts,
    I have a scenario where PI is to pick data from MQ queues. The message type coming from queues is same and the procession needs to be done with PI is also the same.That's the reason why we want to have only one interface processing the data for all the queues.
    My question here is that is there any way where I do not put the queue name in the sender adapter at design time and based on the data availability in the queue let the sender adapter know the queue name to be processed at run time.
    Any suggestions will be greatly appreciated.
    - Rajan

    > My question here is that is there any way where I do not put the queue name in the sender adapter at design time and based on the data availability in the queue let the sender adapter know the queue name to be processed at run time.
    Unfortunately for JMS Sender CC it is not possible, but other way around is possible. I.e. you can dynamically choose the receving queue names by using ASMA "JMSReplyTo" in JMS Sender CC.
    Regards,
    Sarvesh

  • SMS alert - I dont want the name of the sender appearing on the screen

    Prior to downloading the recent upgrade, my SMS alert would simply notify me that I had a new text message but would not identify the sender. Now, the sender's names appears on the screen. How can I change my setting so that the sender's name is not visible?

    The SMS preview has been changed in the new firmware, see this thread:
    http://discussions.apple.com/thread.jspa?threadID=1797569&start=0&tstart=0
    So displaying the senders name can't be switched off. But you can forward your wish here:
    http://www.apple.com/feedback/iphone.html.

  • How to get the display name of the dropdownlist?

    How can i get the display name of the dropdownlist.
    I want to have value as other data not the same as display name.
    In that case is there any easy way to get the display name of the selection from the dropdownlist.

    I usually just use a hashmap to store the value and label, if I want to retrieve the label again later.
              HashMap bleh = new HashMap();
              bleh.put(dropDownValue, "Drop Down Label"); //Item value (any object), Item Label (String)
              Iterator it = bleh.keySet().iterator();
              while (it.hasNext()) {
                   Object key = it.next();
                   SelectItem selectItem = new SelectItem(key, bleh.get(key));
              //And then later, when you want to retrieve the label
              bleh.get(itemValue); //The item value of the label you wantThe value is easy to get because the selected item(s) from the list will be set to the value(s) the user selected. You should have a getter in your bean for that.
    CowKing
    Message was edited by:
    IamCowKing

  • How can I add the controller name in the subject of Alarm emails? PI2.1

    How can I add the controller name in the Alarm emails in PI2.1?  This would make it much easier to scan the mailbox and see what devices are affected.

    Thanx for your reply. No, although helpful, that's not what I meant. In outlook, the first line of the header contains the full username follow by a horizontal line. Under that, the default headers like To:, From:, Subject: etc follow.
    I need that firstline printed so we know instantly from which user the email was printed (the To: field often is the same name of the sender of the mail, therefor you won't know WHO printed it...).

  • How to get the sender filename in the mapping

    hi
    I want to get the name of the target file placed by XI at the target into a mapping.I need this to correlate this file with the acknowledgement file to be received later by Xi from the target, which has the same name as the target file.
    I have gone through the following link:[Sender Filename in BPM]
    however i'm unable to understand the precise steps involved in it.
    am using a BPM.
    as of now, my BPM has 3 step:receive , transform and send.
    please help

    In ID sender communication channel
    check the checkboxes for
    setadapter- specific message attributes
    filename
    in message mapping---- create one target elemt for the filename
    Write a UDF to pass the sender filename to the target element
    The UDF is as below
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String ourSourceFileName = conf.get(key);
    return  ourSourceFileName;
    I think this may help you.

  • How does one set the Network Name of the Printer

    Hi,
    I have two 7525's on my home network.  How do I change their names from the default serial number based name to something meaningful so IOS/Android users can easily tell which printer is which?

    Hi,
      Greetings of the day!
    There are many ways of achieving the above and the easiest way is mentioned on the link attached below :-
    http://windows.microsoft.com/en-in/windows/rename-printer#1TC=windows-7
    The above applies to other windows OS as well as win7.
    And to make it meaning ful, you would need to get creative  
    If you have any queries related to the same OR any other do reply.
    Regards,
    Mohammed

Maybe you are looking for

  • How do I find, at-a-glance, the sample size used in several music files?

    How do I find, at-a-glance, the sample size used in several music files? Of all the fields available in a FInder Search, "Sample Size" is not available. Finder does offer a "Bits per Sample" field, but it only recognized graphic files and not music f

  • Can not be read from or written to

    OK, so I've had my Gen 3 for several years, I recently restored it and formated it for my windows machine to transfer some files from my windows to my Mac. Upon restoring it back and refortmatting it to Mac, I learned that it now gives me an error me

  • New Feature EHP1

    Hi Folks , I tried the IDoc XML to  IDoc Flat File conversion , using the new feature available in PI 7.11. Below mentioned is a BLOG that I used as a reference. How to Use User-Module for Conversion of IDoc Messages Between Flat and XML Formats Howe

  • Email using BSP

    Hi All, Can any one send me the documentation on sending Email automatically using HTML code in BSP (Not HTMLB),I saw so many blogs but all of those are related to HTMLB. thanks&regds, Srinivas.

  • Unrestricted Stock of issuing Storage Location in reservation

    Hi Experts, We have a requirement, we want that unresticted stock of issuing storage location is printed on reservation (MB23) Thru MB25. How it is possible. Kindly help me out, can we use sqvi or something else. Regards GR