Customizing POAPPRV: PO_PO_APPROVE notification to a role

Hi gurus,
I'm customizing POAPPRV workflow because I want to send PO_PO_APPROVE notification to a role.
I've created a role (let's say 'FND_RESP|PO|MY_ROLE_NAME|STANDARD')and assigned user to this role.
I've also created a custom workflow attributes and placed this attribute as notification's performer.
This seems to work because notifications is displayed to all the users assigned to the new role but whatever action I try to perform (Approve or Reject) workflow is stuck at notification activity and I get the following error message:
ORA-06512: a "APPS.WF_NOTIFICATION", line 4422 ORA-06512: a line 1
Can anyone help?
Thanks in advance,
Corrado

Hi Ravi
Convert the smart form in to PDF using FM CONVERT_OTF b4 this FM call the smart form where the import parameter JOB_OUTPUT_INFO is getting the file then you convert this into binary formate using FM SCMS_BINARY_TO_XSTRING and then add the attachment with the FM SAP_WAPI_ATTACHMENT_ADD. Now it will get attached.
Here u should convert into the smart form in xstring because the FM SAP_WAPI_ATTACHMENT_ADD here is in xstring so u should convert untile final output of the smart form should be in xstring.
Regards
vijay

Similar Messages

  • Making Customer Pricing procedure mandatory in BP Role-CRM 5.0

    Hi
    Our requirement is to make Customer Pricing procedure mandatory in BP Role "Sold to Party"-CRM 5.0. I have configured for the same in IMG Field Grouping. Now when a end user goes for BP creation & goes to Sales area maintenance then an error message is displayed for the same.
    But if only general data is maintained then this message is not displayed. Now requirement is to display an error message if a person leaves without maintaining sales data.
    Please help me in resolving this.
    Thanx in advance.
    Cheers
    Hits

    In the completeness procedure detail, use the object Pricing and field Customer pricing procedure. relevance header / item or both, message category - Error
    Hope this helps
    <b> <i> IceCube </i> </b>

  • Add a custom button on notification page and open a oaf page after button

    Hi All,
    My Requirement is add a custom button on notification page and after button click with take some parameter from notification page like supplier_id and org_id then open a new oaf page and show supplier credit and debit balance but problem is that button is only enable to a ap invoices notification not for other type of notification.
    how to take approach/action i don't know.
    it is possible through OAF personalization/customization or it is part of work flow customization.
    Navigation path - payable->worklist->open notification and Type of notification also there
    Type should be matched with AP_Invoices type notification then custom button enable.
    Please Let me know is it possible or not. If possible how to achieve this. ...................................it's argent...plz help me
    Edited by: 815572 on Nov 25, 2010 1:15 AM

    Hi Irk,
    My notification came in given below format (in table) but my custom button only enable for Contract Approval Type not for others..........i hv attach a button on notification page (subject-Contract 21969-R17......)
    From Type Subject Sent
    Taylor, Phillip Contract Approval Contract 21969 - R17-AUG-07 06:19:27 has been approved by Taylor, Phillip 22-Aug-2007
    Taylor, Phillip OKS Contract Process Contract 21975 - R17-AUG-07 06:22:18 for AT&T Universal Card (52,500.00 USD) has been published online 19-Aug-2007
    Taylor, Phillip OKS Contract Process Contract 21969 - R17-AUG-07 06:19:27 for AT&T Universal Card (15,000.00 USD) has been published online 19-Aug-2007
    If I just put a button SHOW BALANCE just like notification button APPROVE, REJECT, REASSIGN but this button shows all types of notification and my req. is this button show only for Contract Approval type notification. how to handled this issuesss ?
    if extend the co of notification page then how to handle TYPE value from worklist page ....please write proper code if u hv any idea...........
    Thanks,

  • Is it possible to create a custom E-mail Notification?

    Dear all,
    We have a requirement where the customer would like an additional email notification in the RFx process which is not available in the E-Sourcing system.
    What they want to do is send an email to Vendors who did not get awarded in the RFx Process and let them know.
    Is it possible to create a custom email notification in any way, perhaps using the javax.mail classes?
    import javax.mail.*;
    import javax.mail.internet.*;
    If anyone has prior experience with this, please let me know. I would appreciate pointers on this.
    Thanks & Regards,
    Reshma

    Hi Thashin,
    I understand you have done custom jar email notification for Transnet. I need to do this now for another component, Task Escalation. please contact me regarding correct way to do this. I have developed the custom java code to access Task info. What I need to know is that, does e-sourcing use its own queing mechanism to send out emails, if so what packages in IAPI does this use, or does it use normal java mail api to send out mails?
    Assistance will be highly appreciated.
    Thanks
    Tebogo

  • Customizing / Creating Email Notifications

    Ok, so I have asked this question already in an earlier post. About creating/formulating E-mail Notifications, based on Information gathered/input in a Customized User Form.
    Here is a copy of my previous posting
    =============================================================================================================================================
    I am in the process of customizing User Forms, and I would like to implement a trigger (if that's the right name for it) in the XML script, which will execute a Rule (or some code) that will result in an email being sent.
    For example, the following simple script (selection from a dropdown menu) :
    *<Field name='orderlunch'>*
    *<Display class='Select' action='true'>*
    *<Property name='title' value='Order Lunch'/>*
    *<Property name='allowedValues'>*
    *<List>*
    *<String>- Please Select -</String>*
    *<String>Yes</String>*
    *<String>No</String>*
    *</List>*
    *</Property>*
    *</Display>*
    *</Field>*
    A small XML code, to indicate an order for lunch.
    naturally, if the user selects "No", then nothing happens.
    But, if he selects "Yes", then I would like to automatically send an Email Notification to the appropriate person, notifying him that lunch has been ordered. (of course, I would need to indicate such things as WHO ordered the lunch, WHEN, etc, etc. But, I will get into that later)
    Does anyone know how this can be done?
    *(a) Could I insert the trigger/condition/whatever right into the main XML script itself?*
    Or
    *(b) should I write a code which will call on/invoke a separate Rule, which will subsequently send the email?*
    If (b) is the right answer, then how would I go about creating such a Rule, and linking it to the main XML script?
    ================================================================================================================================================================
    Apparently, my question is too difficult, since there were only a couple of replies, and nobody seemed to have a solution to the problem.
    So, I'll try to ask something much simpler : Is there ANY way to customize/create custom "E-mail Notifications"  in IDM ?

    >
    You should have read my answer to your previous post. Several people answered you already.
    *(a) Could I insert the trigger/condition/whatever right into the main XML script itself?*Yes. You need to call the rule. I'd do it on the validation stage but there's multiple ways of doing it and it really depends on your specific needs.
    *(b) should I write a code which will call on/invoke a separate Rule, which will subsequently send the email?*
    If (b) is the right answer, then how would I go about creating such a Rule, and linking it to the main XML script? See my previous post. It shows you how to call the rule. Defining a rule is relatively simple and is pretty well documented and there are existing examples in a default install of IDM that you can check-out and use as reference templates.
    Apparently, my question is too difficult, since there were only a couple of replies, and nobody seemed to have a solution to the problem.The question isn't difficult. It's just very broad. Lets see what you're asking:
    - rule definition
    - rule execution
    - an explanation of the various stages of form processing
    - an explanation of the various stages of workflow processing
    - how to call sub-tasks
    - how to customize sub-tasks
    - how to define email templates
    There's a lot there. You need to take some of what has been told to you in the forum and use that to guide your search in the existing documentation.
    >
    So, I'll try to ask something much simpler : Is there ANY way to customize/create custom "E-mail Notifications"  in IDM ?
    The answer is yes, but you're on your own in determining how to do that. You've become quite the jerk in this forum. Read the docs, go on some training if you can afford it. What you need to know about how to implement rules, email templates and custom notifications is all there.

  • How to send notification to mutiple roles.

    Hi,
    I have created 3 notifications. If the 1st notifcation approved, the approved notification (2nd) should go to 'X Role' .
    If the 1st notifcation got rejected, the rejected notification (3rd) should go to 'Y Role' and 'Z' role.
    Is it possible to send same notification to multiple roles.
    Pl.help.
    Thanks in advance.
    Kavi.

    I'm not sure how much clearer it can be, without actually doing the work for you :D
    1 - customize the workflow to set the recipient role to role Y.
    2 - send the notification to the role.
    3 - Loop back.
    4 - Set the recipient role to Z.
    5 - send the notification to the role.
    Strictly speaking, you don't even need to loop - just include the notification twice and send it to Y and then to Z.
    Depending on what you really want it to do, you may be better off with a linear rather than a looping approach. Alternatively, as I said earlier, I would create a new role and notify that role. This would allow the greatest future flexibility in case the process changes in the future. For example, if notification 3 changes so that a response is needed, then you would need to notify everyone in one go rather than sending the notification twice. For that reason alone, I would go with a consolidated role and notify that.
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://www.workflowfaq.com/blog ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • Action Box customizing for Quality notifications

    Hi all,
    In the customizing Quality Notifications ->Qualyty Notifications->Notification processing->Aditional Notification Funtions->Define Action Box.  Inside of de Action definitions, a field for Workflows or Standard Task is avalilable. (in specific details for task).
    Any one know how it works? No Binding defined?
    I mean, in the customizing of Quality notification Actions,  Workflow (or TS) could be included in the specific detail. I do not understand how that could work since no binding is defined.
    Thanks in advance.

    Hi,
    Finally after a lot of tests, looks like the Workflow is trigered when save and recieve a Task object for inport parameter (I mean, my Workflow has as input object QMSM and it is been populated - Create Workitem in error if I add Notification as input too).
    I hope this would be usefull if someone more has the same doubt in the future and look for some help in this foro.
    Regards,
    Paco
    PD: Yo me lo guiso, yo me lo como. (yo pregunto, yo me respondo).
    PPD: I have answered my self....I do not obtain points for that?  XD.

  • Custom code in Notification Action box

    Hi All,
    I have called a custom FM through Notification action box configuration.One custom screen is also called from th ecustom FM. Now when I am trying to save the Notification through IW52 transaction then it is giving the dump. 
    If I execute the FM individually, it is working fine.
    Please let me know what else I need to add to avoid this dump. 
    If the issue got resolved reward points must be given....earlt response apprecited.
    Regards,

    Hi,
    What is the dump message you are getting, can you share some details ?
    Regards,

  • Customizing the "Recent Notifications" iView

    Hey folks
    Our client wants to change the SAP standard "Recent Notifications" iView.  He thinks (justifiably) that the headers "subscriptions" and "subscribed items" are a bit vague, so we want to change them to more specific titles, like "subscription management" and "subscription alerts".
    Two questions:
    1. Is there an easy way of doing this?
    2. If not, how do I customize the iView?  According to the iView properties, it's based on com.sap.km.cm.actioninbox, but I can't find this in a PAR file anywhere...
    We're still on EP6SP14.
    Thanks,
    Chris

    Hi Christopher,
    With such modifications you always have to choose between "bad" and "worse" - it's just the question which is which...
    Of course you could create a new component with a new name based on the original one and also change the role content to refer to the modified application. On the other side, new SPs have new features and removed bugs, and normally you will like to use these advantages. But if you create a modification in a new namespace, the new PARs aren't referenced.
    So, as said, you have to decide what would be more important for you - to have the possibility to upgrade with no extra admin tasks to get your old solution running or to use the new version and to redo the modifications. As in this case "redo" primarily means copy the property files to some place, I would definitely advise to go the way described.
    When modifying Java code, this question is harder to answer (and there is no general answer at all). It also can make sense to try to only create some small part of a PAR and from within that, to reference the standard implementation - not always possible and at least initially more work. But to decide what makes most sense is really project and customer dependent.
    Hope it helps
    Detlev

  • Work Manager 6.1: Adding custom field for notification creation

    Hi,
    I already added new fields in the past, and also in WM6.1 for fetch BAPIs, but now I'm trying to do it for the NotificationAdd Transaction and I'm not able to make it work. I guess I forgot some step but I don't know which, so I will describe what I did:
    Agentry:
    Added new field to the Notification object
    Added new field to the NotificationAdd Transaction
    Added new field to the NotificationAdd Detail Screen
    Java:
    Created class Notification.java extending com.syclo.sap.component.lam.notification.object.Notification
    Added new field to the new Notifciation class
    Copied constructors calling super method.
    Override method setProperties(User u, NotificationPostBAPI bapi). Now is calling the super method and afterwards setting the new field. Here is where I have the error when I debug, the u.getString("transaction.Z_NewField")) i returning an empty string because it's not finding the value when reading from the transaction.
    Created class NotificaitonPostBAPI extending from com.syclo.sap.component.lam.notification.bapi.NotificationPostBAPI.Override method setHeaderParameters to set the value in the ABAP structure for the new field after calling the super method.
    Configuration Portal:
    Changed global parameter to assign the customer NotificationPostBAPI class
    Created global parameter to assign a BAPI wrapper to the new customer NotificationPostBAPI class
    Change the global parameter to assign the class for Notification object in order to use the new customer class
    Do you know why during the setProperties method created in Java, Step1 the transaction value for the Z field is empty? It seems I'm forgetting something quite simple here.
    Thanks in advance.

    Hi,
    May be the setter and getter methods, the value from transaction is not captured in the properties
    public void setProperties(User u, NotificationPostBAPI bapi)
    throws Exception
       setABC(u.getString("transaction.notification.ABC"));
    public String getABC()
      return this.ABC;
    public void setABC(String ABC)
         this.ABC= ABC;
    Regards,
    Sravanthi

  • Custom Report: the list of IT ROLES of one or more users

    Hi all,
    I want to do a custom report that gives me the list of IT ROLES of one or more users. Anyone could give me some guidelines?
    Thanks

    according to the docs... if I interpret them right
    getRoles returns roles assigned to the context given, this is wise since it is usualy used to check if the current user invoking the call has the rights in a form, workflow or similiar...
    Adding the "accountId" string as a second argument would invoke this form of the getRoles
    getRoles
    public static java.util.List getRoles(LighthouseContext s, java.lang.String current) throws WavesetException
    This variant allows a specific name to be included in the returned list. Used to ensure that the current value of a role may continue to be assigned even though the current admin may not have access to that role.
    I believe you should get the users view and get your info from there...
    if you try using the debug page and getObject User and the accountId, you will see the user in its full glory...
    there you can see what you might want to do I hope

  • Not able to send email notification to adhoc role created

    Hi All,
    Have a requirement to send email notification to multiple emails from workflow. As per the given requirements have derived the emails and concatenated with comma (,) and passed to the API createadhocrole to create.
    lRoleEmail has value as [email protected],[email protected]
    wf_directory.CreateAdHocRole(role_name => lRoleName,
    role_display_name => lDisplayName,
    language => 'AMERICAN',
    territory => 'AMERICA',
    role_description => NULL,
    notification_preference => 'MAILHTML',
    role_users => NULL,
    email_address => lRoleEmail);
    A new role is getting created but there is no email sent.
    Created a new attribute of role type and in the notification function have assigned the same as the performer.
    The NOTIFICATION_PREFERENCE in WF_ROLES table is DISABLED for the new role.
    If anyone came across same issue please let me know to to achieve this.
    Thanks in advance.
    MJ

    You need to provide the correct email address but not the dummy address like '[email protected],[email protected]'. One more thing you can give only email address per one user or role. You cannot assign multiple addresses, if you do also it treats the entire string as one email address only.
    After changing the email address, modify the notification preference to MAIL* and then send a notification.

  • Adding custom fields to notifications-approval tab alv grid

    Transaction IW21 - Create PM Notifications.
    on the Approval Tab - there is an ALV grid that contains lots of fields. I know that i can click on the upper right hand corner and modifiy the layout by hidding fields. I want to add some custom fields to this grid.
    I added my fields to view QMSM and now when I look at the database table using SE16 - i can see my new fields.
    But how do I add them to this ALV grid?
    Please and Thank you,
    Julia Ramos
    Orange County Public Schools.

    I have read SAP OSS NOTE:  586523 Customer-defined fields in list editing. This note helped me add these same fields to many of the standard reporting transactions. IQS8, IW28, IW29, IW38, IW39
    I added my fields to
    QMEL - Quality Notification
    RIHQMEL_LIST - Display structure reporting for QMEL
    RQMQMEL - Quality notification - header data
    RQMQMSM - Quality notification - measures (reporting)
    Then i ran SAP program BALVBUFDEL. This program refreshs the alv buffer. This was very cool in that it allows us to access and report on all of my custom fields thru the standard reporting transactions!
    I thought this same logic might work for transaction IW21. I found the structure used by the approval tab alv program, QMSM,  and created an append structure, ZAQMSM with my fields - ran the balvbufdel program to refresh the alv buffers - but i still can not see my fields in the approval tab. I believe that there must be a way to do this - i will keep trying different things and read thru move OSS notes. If you have any sugestions or ideas - they would be greatly appreciated.
    Thanks

  • Customer Master - Debit Notification Preferences

    In the Customer master, on the Payment Details tab, there is a section at the bottom called "Debit Notification Preferences", under which I can choose a delivery method (email, fax, printed) and then enter the corresponding information (email address, fax #).
    Is this information actually used anywhere? It leads me to believe that there's a tool that will look at this information and automatically email or fax an invoice. Or is it purely for reference purposes (and for building your own delivery/transmission tool)?
    I've been unable to find any information in the AR user/reference/imp guide, TCA guides, etc. Any information would be much appreciated.
    Thanks

    The debit notification preferences specify the mode of communication to the customers about the payments received from them.
    I have requirement that, based on this field I have to do bursting. if its email , copy should be emailed and if its fax we should be Faxing it.
    Though I am having difficulty finding the table which stores it. any help?

  • CUP: Notification Mail after Role Approval

    Dear SAP Experts
    We are running GRC AC 5.3 SP11.2  and facing a problem with the CUP workflow behavior.
    Each time we change a existing user in the system and assign him at least two new roles with diffrent role owners, we get some problems at the role owner approval stage.
    As soon as the first role owner provides his role approval a message is sent out to the requestor, manager and user that all changes to the user profile are done. This behavior repeats for each role owner which has to provide a approval to that request. The roles it self are assigned to the user account when the last role owner approved the request.
    Under AC 5.2 we had only one mail beeing sent out to the requestor, manager and user when all roles were approved.
    The role owner stage has following settings:
    Approval Type --> All Approvers
    Do we have to customize some more settings as well?
    Many thanks for your help Jeffrey

    Hi Frank
    Following settings are implemented at the role owner stage (last stage before auto provisioning):
    Notification Configuration:
    Approved --> User / Requestor / Manager
    Rejected --> Requestor / Manager
    Different text for mails are maintained
    Additional Configuration
    Risk Analysis Mandatory -> No
    Change Request Content --> Yes
    Add Role --> No
    Path Revaluation for New Roles --> All Roles in Evaluation Path
    Approval Level --> Role
    Rejection Level  --> Role
    Approval Type --> All Approvers
    E-mail Group --> BLank
    Comments Mandatory --> Yes / Rejected
    Request Rejection --> No
    Reroute --> No
    Confirm Approval --> No
    Confirm Rejection --> No
    Reject by E-mail --> No
    Approve by E-mail --> No
    Forward Allowed --> No
    Approve Request Despite Risks -> Yes
    Display Review Screen--> Yes
    Additional Security Configuration (Approval Reaffirm)
    Approve --> No
    Reject --> No
    Create User --> No
    Under AC 5.2 we used the Notification Configuration / Approved Mail to inform the defined persons that the request is approved and provisioning is done. This mail has been sent out only once to the persons after all role owners worked on the request. Obviously AC 5.3 behaves different after we have done the migration:-))
    Jeffrey

Maybe you are looking for

  • How to get the search function to find the correct files

    i have long wondered if it was me or the system, but i am very clear finally that the search function *****. 1) i try to find a word in a document. 2) the system shows me several possibilities. chapters 16, 18, 21, etc... 3) i then bring up each one

  • Error in Adapter engine in RWB

    Hi, I'm facing 2 type of issues in RWB, Issue 1) Adapter Engine is in Red State in Component monitoring, Error: Details for 'Is the Adapter Engine Running?' Response from Adapter Engine: Fatal ArchiveJob (Archiving) failed.(Details: Code: MS.JOB.ARCH

  • Dynamic class loading when CODEBASE is unreachable. A bug?

    Let us suppose that we have a large-scale distributed application with ca. 1000 participants communicating via RMI and utilizing dynamic class loading. As we all know, a HTTP code server must be available for this purpose in order to provide dynamica

  • JSP AND EJB

    how to deploy EJB with JSP? can any body tell me how to connect JSP with EJB while deploying? I am using J2EE system application PE server8.0 Thanks in advance

  • Calendar Synchronization Fails 0x80040fb3

    Ok I just purchased the BB Bold and so far I've spent a considerable amount of time trying to debug why the calendar items will not synchronize.  I'm getting the same generic error that appears when contact information is incomplete.  My contacts syn