OFFLINE APPROVAL EMAIL PROCESS

I need to create an e-mail (offline approval) format in the method MAIL_CREATE of Badi BBP_OFFLINE_APP_BADI. I need to send the format of the  email to ET_BDOY of the BADi as per the IS_EVENT-OBJECT_ID. I'm not sure how to append the e-mail format into ET_BDOY of TYPE BBPT_MAIL_TEXT. I could see format of type char 3 and text of type longtext, in ET_BDOY. but I dont know how to use them. please send me some sample code to get it done. Your help will be really appreciated.-David
Edited by: david santi on Apr 20, 2008 7:07 AM
Edited by: david santi on Apr 20, 2008 7:07 AM

Hi Monica,
in the offline approval job you have an input parameter Return Address/E-Mail Address.
It should be filled with your WF-BATCH email in the form
[email protected]
Regards
Konstantin

Similar Messages

  • Offline approval email for Workflow approver substitiutes

    Hi,
    We are on SRM 7.1 ECS.
    Does the substitute function work true for OFFLINE APPROVAL emails also??
    E.g. User B is a substitute of User A.If user A gest the offline approval emai,then should usre B also get the offline approval email?

    Hi,
       I do not think the report might have the functionality to handle the substitution. May be what you can try is take a copy of the standard report and then try to customize as per your requirement .
    Try some thing like below.
    1. I assume that to identify a substitute for a user you might be storing these details in some Z table.
    2. Take a copy of the standard offline report and then from this custom report read the try to read this table after the original agents are determined.
    3. Finally schedule this report. with the same set of parameters that used to schedule the standard report.
    But I I think this report actually reads the agents of the workitems and then it tries to send the notification to the same user. So first you have to check out that how the workitem is forwarded to the substitute . If the substitute is also a agent then this report directly sends the notification.
    Regards
    Pavan

  • Changing the Offline approval email in SRM 7.0

    Hi all,
    Im working on SRM 7.0(SP1).Im workng on customising the email content for the offine approval email for Shopping cart.The SAP help says the badi BBP_OFFLINE_APP_BADI needs to be used  for this.
    Now I need to make some changes to the main body of the email.However when i tried debugging this badi,I found out that I cannot read the main body o fthe email in this BADI(Only subject line is available and the first 3 openig lines).I mainly need to change the Item details(dislayed in tabular format) and a/c assignment details(also displayed in tabular format).However I cannot read these details(Item n a/c assignment) in this BADI...
    Has anybody worked on similar requirement?I have used this BADI previously in SRM 5.0 successfully.However in SRM 7.0,I found this problem in modifying the email contents for offline approval.
    Any inputs will be highly appreciated.
    Thanks!
    BR,
    SRM tech

    Hi
    Re: shopping cart rejection mail
    Re: SRM : Offline approval process
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10dfad5a-5398-2b10-568b-d3d999d49b5c
    which reports are using to send workitem ? since 2 rbbp and rsm  reports sends workitem so i think you must drill into the report how workitems are generated and that workitem needs to be modified.
    In sost you might seen content of the mail which you are gonna sent.
    http://help.sap.com/saphelp_srm70/helpdata/EN/31/ec423b4ac8d506e10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_srm70/helpdata/EN/31/47c6cb8e9249f2bc29444212e4704a/frameset.htm
    here they have discussed
    br
    muthu

  • Special characters added in offline approval email

    Hi all,
    We are on SRM 5.0 SP13 ,ECS
    We are facing an issue with the outbound emails sent out from SRM system for offline approval for both shopping carts and PO.
    In the main body of the  email,some some special characters like ^A are being added at the start of each line.
    We have been observing this issue lately after the upgrade of our mail server.
    Has anbody come across such an issue in SRM 5.0??Please advise /share your solution/provid some insights.
    Thanks!

    Take a look at the note and see if it applies to your case.
    1019942     wrong encoding for HTML formatted emails

  • Offline approval--inbound process

    Hi
    When I approve the shopping cart through the 'approve' link in the email, the shopping cart status still remains as 'awaiting approval' where as in the approval preview I can see it as approved by WF-BATCH.
    The workflow remains in 'in process' status and is not getting completed.
    Your comments and thoughts on this are highly appreciated.
    Thanks
    Rajeev

    Hello Rajeev,
    Please check FAQ for workflow troubleshooting.
    <a href="https://wiki.sdn.sap.com/wiki/display/SRM/SRMBusinessWorkflow">https://wiki.sdn.sap.com/wiki/display/SRM/SRMBusinessWorkflow</a>
    Check the SC status in BBP_PD transaction and some related errors in SM58 and ST22.
    Regards,
    Masa

  • Rejection email not sent for offline approval to requester

    Hi all,
    We are on SRM 7.1.
    We have configured the offline approval process for shopping cart.The issue we are fcaing is that in case of complete rejection of carts,the work item goes backto the requester to accept chnages but in our system,the work item does go back to the requester so that he can aceept the chanegs or re-order the cart.Howveer the offline approva email for the work item is not sent out so that the requester can aceept chnages from the email itself.
    Has anybody come across a similar issue?
    Pls advise.

    Hello,
    Please, have a look at wiki below:
    [Enabling WI returning to the requestor when document is fully rejected|http://wiki.sdn.sap.com/wiki/display/SRM/EnablingWIreturningtotherequestorwhendocumentisfullyrejected]
    Regards.
    Laurent.

  • URL links for Workflow Approval Email per user & others

    Hi all, we have upgraded to SRM7 and understand that we have to switch to using program /SAPSRM/OFFLINEAPPROVALSEND to generate the workflow notification emails. We have maintained the portal information in the SRM configuration to build the link. However, we have 2 issues here
    1. We currently output collective email so emails are sent out at specific timing on a per user rather than per work item basis. The URL link does not seem to work in this case (for shopping cart approval example) and we get an object GUID error. The URL looks something like this
    http://sap-ped.dev.xyz.com/irj/portal/?navigationtarget=obn://BOSystemAlias=SAP_SRM/BOTechnicalName=sc/Operation=detailprof&NavMode=3
    Also, even if I run the program for a PO approval example, the BOTechnicalName is still pointing to sc.
    However, if I do it on a per work item basis, the URL works.
    Does anyone know where the control this setting?
    2. External and internal portal
    We have some users connecting to the portal through more secured channel (external portal). In this case, I couldn't find a way to generate the appropriate URL for the external. In the past in the older SRM version, the program was using the attribute ITS_DEST in PPOPMA_BBP to build the URL link. Now, I do not know how the system knows which portal URL to take if the control is no longer at user level.
    Has anyone ever had this requirement before?
    My worse case scenario to resolve the above issues would be to use the BADI to alter the content of the email notification. The purpose of posting this message here is to ensure that I am not missing out any standard SAP functionality which could meet our requirements.
    Cheers!
    SF

    Hello,
    See hyper-links below:
    [How-To: Offline approval - Logon link does not work|http://wiki.sdn.sap.com/wiki/display/SRM/Offlineapproval-Logonlinkdoesnot+work]
    [KBA 1511180 - The hyperlink in the offline approval email is incorrect|https://service.sap.com/sap/support/notes/1511180]
    Regards.
    Laurent.

  • Offline approval: handheld device

    Dear SAP gurus,
    We have a requirement in which the approvers in our company will do offline approval through their handheld device. In here they dont want to logon to the system and doing approval and rejection in the system, rather they want to click on a button only in the email and this should be suffice.
    This is possible as SRM provides offline approval, in which when user click approve or reject essentially an email containing command to approve or reject will be sent to SRM. This is quite standard, but then they actually want this offline approval to become the same with online approval, in which they can also able to forward the work item.
    I dont think it is possible, however if you know that it is actually possible can you enlight me on how to do that?
    Best regards,
    Yosea

    Hi,
    there is a problem for the blackberrys and offline approval emails. A note is created as well: 1074757
    The problem is with the chars !?~&
    Use the report RBBP_NOTIFICATION_OFFAPP_ESC1
    I hope this helps. If did, please do not forget the reward points
    Daniel

  • SRM7 Offline Approval on PDA

    Hi All,
    Does SRM7.0 support offline approval on PDA? I've gone through several threads on configuring it on blackberry but not sure if that works with PDA.
    From the configuration settings, it looks like if a handheld device has an HTML compatible mail client and can receive / send emails from / to SRM system, the offline approval should work. Are there other things to consider? Has anyone done this before?
    Many Thanks.

    Hi,
    there is a problem for the blackberrys and offline approval emails. A note is created as well: 1074757
    The problem is with the chars !?~&
    Use the report RBBP_NOTIFICATION_OFFAPP_ESC1
    I hope this helps. If did, please do not forget the reward points
    Daniel

  • SRM - Offline approval of shopping baskets (avoid automatic email)

    Dear colleagues,
    We are implementing SRM 5.0 and one of the key functionalities is the so-called "offline approval": the authorizer receives an email with the information of the basket he/she has to approve or reject. This email actually contains 3 links: one for approval, one for rejection, and another one to access the system (SRM).
    When accepting or rejecting the shopping basket (that is, when clicking on any of the links for approval or rejection) the system automatically generates an email with a default text in the Subject and in the Body of the email. The user can INSERT some comments in the middle of the proposed character chain. Example of email generated:
    Send to: [email protected]
    Subject: #EBP_GEN_REPLY#Reject of a work item
    Body:
    #WFTECHINFOS#444244093D34D87D43D6572D4#WFTECHINFOE#You can write a note#NOTM#Regards.
    That is, the user can write a text replacing the "You can write a note". If, for whatever reason, the user deletes any of the other characters, or any character in the Subject, or writes the comments in the wrong position, deleting a "#", etc, the process will not work.
    On the other hand, it is quite unlikely that the user needs to write a comment. Normally, he/she just approves or rejects, without comments.
    Therefore, this email is unnecessary and dangerous indeed, as it is quite likely that the proposed characters will be deleted or overwritten by mistake, and the process (either approval or rejection) will not work.
    We want to avoid this email, ideally making it work in the background, so that the user does not even see it, and does not even have the possibility to modify those characters or overwrite them. This is absolutely business-critical.
    This is of course a modification to standard SAP. Do you have any idea what we have to do to avoid the email?
    THANKS in advance.
    Ray

    Hi Rick,
    Thanks for your message, but this is not really what I meant.
    We need the authorizer to receive an email with the message: "You have a shopping cart pending for approval, with these items ...item 1, item 2, etc... Do you want to approve? Yes / No".
    We have managed to turn on this message, which is fine. The problem, however, comes when pressing Yes or No (which can be either a link or a button, depending on your email service, e.g. in Lotus Notes we get links, but I know that in Outlook you would get buttons). When you press 'yes' or 'no' we would expect that the system automatically approves or rejects the basket in SRM with no intermediate email which may be manipulated by the user. That is: you press 'yes' and the system approves the basket in SRM, no matter if the communication is via email behind, but the goal is to avoid that the user may see or manipulate the email.
    The same with the rejection: the user should press 'No' and no intermediate email should be visible to the user.
    I know for certain that this requires a modification to the standard, but the question is where and how.
    Thanks again!
    Ray

  • Offline Approval Process

    Hi Gurus,
    We have implemented SAP SRM 7.0. Our Offline Approval Process is working smoothly. We have a requirement wherein the client would like to know:
    How many SCs have been approved by Offline Approval Process. Is there a way to find this out?
    Note:The client does not want to know the number of mails in SOIN.
    Thanks,
    Sohil

    Hi Sharad,
    This will help me to identify for the approvals made in future. But I want the data of the past. The need is to get the SCs approved via Offline Approval Process in last 3 months.
    Thanks,
    Sohil

  • Offline approval process in ECC

    Hello All,
    Is there any way to achieve offline approval process in ECC the way it is in SRM?
    We want to replicate the same process in ECC as in SRM, with mail being sent to the user with approve/reject buttons, and on clicking any of the options provided, the same need to be updated in SAP.
    Any help will be highly appreciated.
    Thanks in advance
    Regards,
    Razia Shaheen.

    Hi Jennifer,
    Since SRM PO will be leading PO in extended classic scenario, why donot you design the process controlled workflow in line with the existing release strategy that you are using for ECC PO?
    Thanks and regards,
    Ranjan
    Ranjan Sutradhar

  • Offline Approval Problem-format of email in lotus notes is not poplulationg

    Hi Gurus,
      I am working on a support project now i have a problem in Offline approval .
    the email in the approver  inbox is not populating the correct values and i checked in the workflow side
    in SWI1 it is populating correct values but in the lotus notes the email  format is not good .it some filed s are filled with zeros.and i don't know how to get the link from SAP to lotus notes .
    what are the transaction i can check?
    and i also checked is  they are using badi BBP_OFFLINE_APP_BADI but they are not using this badi and no implementation for this badi.can any one suggest me how to go foreword.
    thanks
    Channu Sajjan

    Hi,
    Use this Report
    RBBP_NOTIFICATION_OFFAPP.
    Regards,
    Sachin

  • Different offline approval processes?

    I was reading up on offline approval process and it seems that there are two methods of offline approval...one using the RBBP_NOTIFICATION_OFFAPP report and one using the RSWUWFMLEC report. Is that accurate? If so, what is the difference between the two methods?
    Thanks for your guidance,
    SN

    hi
    Offline Approval in SRM 5.0
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10dfad5a-5398-2b10-568b-d3d999d49b5c
    SRM : Offline approval process
    br
    muthu

  • Problem while receiving a mail in blackberry using offline approval

    Dear SRM Gurus,
    We are working with SRM Server 5.5, SP08.
    We are using offline approval functionality using <b>Blackberry</b> device. We
    have observed that in an approval mail sent to blackberry, the approver
    does not see hyperlink for "Approve by mail" or "Reject by mail" text.
    However, when the same approval mail is checked on any other mail
    application like gmail or yahoo, we are able to get an hyperlink and
    approve the work item.
    While execution of report "RBBP_NOTIFICATION_OFFAPP", we have selected
    a checkbox "with approval links".
    Kindly suggest, how can we rectify this problem. We will appreciate your immediate help.
    Thanks in advance,
    chandra sekhar
    0062 081510685482

    Hi
    Yes, but for this you need have SAP MI (mobile infrastructure) configured in the landscape. MI is part of SAP NW. Integration of MI is possible with SRM2.0 and upwards.
    <u>For details refer -</u>
    http://service.sap.com/mobile - mobile procurement
    Re: Shopping Cart approval process in SRM using Black Berry
    Shopping Basket Approvals Through Blackberry
    <b>To change standard email text</b>
    Re: How can we change the standard email text?
    <b>There is a former thread dealing with text modification in the <u>RBBP_NOTIFICATION_OFFAPP</u> .</b>
    https://forums.sdn.sap.com/click.jspa?searchID=3694563&messageID=3714821
    <u>Configuration of Approval mails to Blackberry - Refer to the HELP links -></u>
    http://help.sap.com/saphelp_srm40/helpdata/en/5a/af5eff85d011d2b42d006094b92d37/content.htm
    <b>Other related links -></b>
    WF does not restart when requester accept changes
    RBBP_NOTIFICATION_OFFAPP
    Offline Approval: RBBP_NOTIFICATION_OFFAPP Vs RSWUWFMLEC
    RBBP_NOTIFICATION_OFFAPP
    Re: Offline approval
    Re: Is it possible to action an approval  work item sent to Lotus Notes mail
    http://help.sap.com/saphelp_erp2005/helpdata/en/index_srmaddon.htm
    WF-BATCH or not WF-BATCH....
    Do let me know.
    Regards
    - Atul

Maybe you are looking for