Can i Cannge the WF_INITIATOR for SRM Approval Workflow.

Hi Experts,
I am facing issue related to sendor name format.
Whenever SRM approval workflow gets triggered then corresponding responsible user(Approver) gets a mail in their SAP inbox.
I checked in the system these workflow runs using RFC_USER user.So approver gets mail with sendor information as RFC_USER i.e.  "Sent: Jun 17, 2011 by RFC_USER, Functional ID "
My requirement is to replace this RFC_USER with some other generic user.
Can anybody tell me please how can i achieve this.
Thanks,
Rupendra Pandey

Hello,
Usually, if I want to do anything unusual with mails from workflow then I create a step which calls a task which calls a new method of my BOR object which calls fm SO_NEW_DOCUMENT_ATT_SEND_API1. In that we can specify Sender name different from WF_BATCH or RFC_USER.
Check the following Code for sending mail.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
   EXPORTING
     document_data                    = doc_chng
     put_in_outbox                    = 'X'
     sender_address                   = 'SAPSCHED'
     sender_address_type              = 'B'
  IMPORTING
    SENT_TO_ALL                      =
    NEW_OBJECT_ID                    =
   TABLES
     packing_list                     = objpack
     object_header                    = objhead
     contents_bin                     = html_tab
     contents_txt                     = objtxt
    CONTENTS_HEX                     =
    OBJECT_PARA                      =
    OBJECT_PARB                      =
     receivers                        = reclist
   EXCEPTIONS
    too_many_receivers               = 1
    document_not_sent                = 2
    document_type_not_exist          = 3
    operation_no_authorization       = 4
    parameter_error                  = 5
    x_error                          = 6
    enqueue_error                    = 7
    OTHERS                           = 8

Similar Messages

  • Can Badi WF_SUBSTITUTE be used for SRM approval substitution

    Hi,
    We have a requirement where we want the substitutes (active and passive) to be restricted by roles.
    That is when the approver is assiging the substitute system should allow him to assign the substitute with users with Manager roles only.
    Is it possible to user BADI WF_SUBSTITUTE for this purpose.
    Has anyone used this BADI for this? Can you please send me the sample code for this?
    It was not possible for me to restrict this using WF task- agent assignment.
    Thanks,
    Srivatsan

    What version of the SRM are you using? let me know?
    Looks like this can be only used when you have universal worklist
    , but that is possible only from SRM 6.0
    I have done debugging in release lower than SRM 6.0 ,
    that is SRM 5.0.
    But unfortunately during debugging , i found that the above BADI was
    not called anywhere, and i am not sure wether implementing the above
    badi will solve the issue at all.
    Further more , SRM code does not handle the determination of agents,
    you can find the code , which is called for determination of agents
    1) transaction code se80
    2) select function group.
    3) enter bw02
    4) click display
    5) tree --> subroutines ---> d1328_find_deputies.
    Unfortunately , it is not possible to restrict from SRM

  • In CATS Can We Change the Records For After Approval?

    Hi To all,
       Emp record his timings in CAT2 and the approval has given by related Mgr.After that he dont want that record .Can we make it empty that one.Is it possiable?

    Hi Sekhar Uma,
    Go to T-Code CAC1 and remove the check mark from No change after approval Tab.
    This way your entered time will not become gray and you will be able to change.
    I hope this helps.
    Let me know.
    Arti

  • What is the IDOC for Final Approval of PO

    Hi,
    Can any one tell me ..
    1. what is the IDOC for Final Approval of Purchase Order?
    2. Is there any Separate IDOCs for GRN(Goods Receipts
    Note) in Transaction MIGO. Like Creation of GRN,
    Changing of GRN, Cancelling of GRN, Transfering materials to Scrap or Cost center (Changing of Movement types in MIGO).
    regards,
    Khaja.

    Khaja,
    1. There is no separate IDOC for final approval of a PO. IF you have configured a release stratgey for a PO, the PO IDOC will be transmitted only upon the final apporval of the PO.
    2. Yes there should be a IDOC for Goods Receipt.
    Regards,
    Ravi
    Note : Please mark the helpful answers

  • I send mi link for podcast and i dont have answer, please where can i see the satus for aprobal

    where can i see the status for mi podcast?
    i got the mail that is in process but never the answer that was aproved or not!
    that was 5 days ago
    Thanks

    It can take at least two weeks for a podcast to be approved - sometimes more - as it required human intervention and there may be a large backlog. It's just a question of waiting. As you've received the acknowledgement email things are plainly underway, and all being well you should get an acceptance email eventually, giving you the URL of your Store page.

  • Can we delete the material from SRM ?

    Hello,
    In ECC, With MM06 & with MM17 we have marked the materials for deletion but can not completely delete it. still client users shop for those materials and
    We have the requirement to permanently delete the materials from respective SLOCs so that those deleted materials will not be available at all  to requester for shopping.
    Archiving is out of scope. Can we delete the materials from SRM also in commpr01 ? or Suggest any other pointers
    Thanks & Regards / Pankaj K

    Hi Pankaj
    Issue during S.cart creation for mtl which are flagged for del at sto locn
    as really said, if you delete a material at SL level , srm not validating but SRM validates at Plant level deletion.
    Are you in classic oe ECS, However it would have thrown error while creating PO.
    How did you delete the material inSRM ?
    After you delete a material in SR, what is the status of material ? Is it blocked, Archieved.
    BR
    Muthu

  • Is there a way to selectively edit a conversation in iMessages instead of clearing the entire conversation? Like you can do on the iPhone for instance.

    Is there a way to selectively edit a conversation in iMessages instead of clearing the entire conversation? Like you can do on the iPhone for instance.

    Did you find an answer to your question?
    Would it also apply to Mountain Lion's Messages?
    Thanks

  • Can't install the software for the Brother MFC-9440CN because it is not currently available from the Software Update server....how do I get the driver then..it ised to work in my old mac..but cant print to it in my new unit

    Can't install the software for the Brother MFC-9440CN because it is not currently available from the Software Update server....how do I get the driver then..it ised to work in my old mac..but cant print to it in my new unit

    Download the Brother Mountain Lion drivers here.

  • I can't save the setting for dowloads to go to the specified folder (such as the desktop). It restores to default when I close Forefox.

    I can't save the setting for downloads to go to the specified folder (such as the desktop). It works once but it restores to default next time I open Firefox.
    == This happened ==
    Every time Firefox opened

    Make sure that you not run Firefox in [[Private Browsing]] mode.
    In Private Browsing mode some menu items are disabled (grayed) and some features like visited links and others are disabled and not working.
    You are in Private Browsing mode if you see "Tools > Stop Private Browsing".
    See [[Private Browsing]] and http://kb.mozillazine.org/Issues_related_to_Private_Browsing
    See also http://kb.mozillazine.org/Preferences_not_saved and [[Preferences are not saved]]

  • Can not view the code for views, triggers or table definition

    Hello Gurus,
    I can not see the code for any of the triggers, views, tables etc. in sql developer. For instance a view code will be
    "create or replace" and then nothing, I could see the code in the past.
    When clicking on SQL tab for table I get following errors
    1. Ora-00904 Invalid Column name
    2. Ora-31600: invalid input value emit_schema for parameter name in function SET_TRANSFORM_PARAMORA-06512: at SYs.DBMS_SYS_ERROR............................
    please advice.
    Thanks

    Sqldev was only certified starting from 9.0.2, so it's possible that's the culprit. The latest update in the certification document even omits 9i entirely.
    Did it start happening after upgrading sqldev? What version are you on?
    K.

  • How can I display the range for LastFullMonth in the header of a report

    How can I display the month for LastFullMonth in the header of a report run in the past so that a report that ran sept 1 2009 selecting data for LastFullMonth (august 2009)  displays sept 2009 in the header even if there is no data selected by the report?

    Good,
    Sometimes I answer these questions and completly miss it....
    ( lack of understanding on my part )   

  • Ivé just recived logic and I wonder: can I use the registration for logic on all my computers or is it limited to just one?

    Ivé just recived logic and I wonder: can I use the registration for logic on all my computers or is it limited to just one?

    You can install it on 2 Apple computers

  • How can we specify the Mailbox for Notes?

    In Mail.app, how can we specify the Mailbox for Notes (where the new notes will be resided)? It is now 'On My Mac'. I wish to change to my IMAP Mailbox so it sync with my iPhone by just checking email (not by syncing on iTunes).
    Thanks in advance.
    Message was edited by: Ekapon

    You could use the DecimalFormat or NumberFormat to do the job.
    double number 1234.567;
    DecimalForamt df = new DecimalFormat("###.##");
    String s = df.format(number);or
    double number 1234.567;
    NumberFormat nf = NumberFormat.getNumberInstance();
    nf.setMaximumFractionDigits(2);
    /* if needed.
       nf.setMaximumIntegerDigits(value);
       nf.setMinimumFractionDigits(value);
       nf.setMinimumIntegerDigits(value); */
    String s = nf.format(number);I didn't test the codes but they should work. For more information, please consult the documentations.

  • I no longer want to merge my work laptop with my icloud account on other devices.  How can I change the setting for the laptop?

    I accidentally agreed to set up my work laptop icloud account to merge with my other devices and want to keep the work information separate.  How can I change the setting for the PC at work?

    Sign out of iCloud.

  • How can I change the password for the USER in SAP.

    How can I change the password for the USER in SAP?
    also I want to change the Language and  date Format b/c it's displaying in German language..

    Hi,
    Assuming that User has already his/her user-id and password, and now he/ she wants to change it.
    select the client and provide Log-in credentials. Now, instead of 'ENTER' there is one Tab: 'New Password' (up, left hand). Click it.
    Now, system will ask for new password to change.
    If you are asking from Basis point of view, then T.code: SU01 - User Maintenance.
    Enter User's id and Click Change icon.
    It will lead to Page: Maintain User.
    Here, Select tab: Logon Data
    There is a Sub-Tab: Password.
    Here, key-in change password and SAVE.
    For Language and Date format, contact your Basis-Personnel.
    Best regards,
    Amit

Maybe you are looking for