Customizing Notifications - Adding Attributes

Hello Experts!
Got a question about working with Notification Templates.  I'd like to be able to add some customized information to a template in the form of a custom attribute.  Is there a way I can do this? The only custom items I seem to be able to add are the "PAR_..." ones.
Thanks!
Matt

Since you asked and I was involved in the development of that notification task thing I thought I'd put together a blog on the topic, but as a quick answer to you:
One solution is to add an action that sets the additional context variables named #MSG_PAR_<something> before the approval task that kicks off the Notification task. Any context variables that exist are inherited by the child task (Assignment Notification in this case). These can be used as PAR_<SOMETHING> in the template file without any other changes:
The Add custom message variables action has a To Generic task that looks like this:
And the script does this:
// Main function: setCTXVARS 
function setCTXVARS(Par){ 
  tmp = Par.get("MSGVARS"); 
  ctxVars = uSplitString(tmp,"!!");  
  for (ctxvar = ctxVars.iterator(); ctxvar.hasNext();dummy=1) 
  tmp = ctxvar.next(); 
  vals = tmp.split("="); 
  ctxVarToSet = "#MSG_"+vals[0]; 
  ctxValToSet = vals[1]; 
  OutString = uSetContextVar(ctxVarToSet, ctxValToSet); 
As a result I can use something like this in the template file. Just remember to run the job that imports the modifed template file...
Hi PAR_RECIPIENTSDISPLAYNAME
You have an approval waiting in IDM. You should also remember to buy PAR_SHOPPINGLIST on your way home after work.
Also, some important guy said PAR_QOTD
Hope this helps,
Chris

Similar Messages

  • Error when Refresh Planning after adding attribute V9.2.1

    Has anyone encountered this and what is the solution:
    Added new attribute dimension in planning web and added attribute members. When I try to do incremental or full refresh, receive error message:
    Errors detected (AssocAttrDimension, 1060057) Could not associate attribute with member (attribute,member) Decanatura, Career -2147218881
    Career is the dimension and Decanatura is the attribute added
    Using 9.2.1
    Thanks
    Jeff

    Hi Jeff,
    please find some findings from planning DBAG which may be useful to resolve your issue:
    You can assign attributes only to sparse dimensions.
    You cannot assign attributes to label-only members.
    After you create attributes and attribute values, you can assign attribute values to each member of the dimension.
    You must assign attribute values to dimension members at the same member level within a dimension.
    You can define attribute values for Entity, user-defined custom dimensions, and Account
    members if the Account dimension is designated as a sparse dimension in all plan types. You
    can then assign attribute values to members of a dimension.
    Attribute values for an attribute must be assigned to the same-level sparse dimension members.
    Assigning an attribute value to another level causes an error during the application refresh.
    hope this helps.
    www.dornakal.blogspot.com
    Edited by: Dornakal on May 28, 2009 5:55 AM

  • Custom report Extended Attribute

    Hi,
    On my user selection screen I just need a multiple selection box and user related data needs to be populated in it, can anybody guide me on this.
    Thanx

    Open BPE --
    click File - >
    --> OpenRepository Object
    ---> Forms
    --->EndUserMenu
    you can have a look at EndUserMenu
    if you want to display custom forms then you need
    login as configurator to administrator module
    Click configure Tab
    --->Forms and Process Mapping
    you can find EndUserMenu
    change the name of the EndUserMenu to your form name(should be uploaded to the IDM)
    for adding attributes to your User Object
    login to your http:\\localhost:8080\idm\debug pages then select
    ListObjects -->configuraton
    from the list of values select the User Extended Attributes for edit
    then you can add your Extended Attributes here. eg PassportNo
    <List>
    <String>firstname</String>
    <String>PassportNo</String>
    </List>
    </List>

  • IDoc - Custom segments added?

    Hi,
    I am new to IDOC and working on Sales Order BOM inbound interface. Using BOMORD01 Idoc and filling E1STZUM, E1KDSTM and E1STPON segments. Getting a message saying "Segment cannot be identified" (ZE1FIKP) and also "Custom segments added" but actually my intention is not to add any custom segments, why I am getting this message and how to correct it.
    Thanks in advance.
    Regards,
    Balaji Viswanath.

    Hi,
    Just For your understanding...
    There are basically two types of IDOCs.
    Basic IDOCs
    Extended IDOCs
    Idoc Components
    Basic Idoc
    Basic IDOC type defines the structure and format of the business document that is to be exchanged between two systems.
    Extension Idoc
    Extending the functionality by adding more segments to existing Basic IDOCs.
    Creation of IDoc
    To Create Idoc we need to follow these steps:
    Create Segment ( WE31)
    Create Idoc Type ( WE30)
    Create Message Type ( WE81)
    Assign Idoc Type to Message Type ( WE82)
    creating a Segment
    Go to transaction code WE31
    Enter the name for your segment type and click on the Create icon
    Type the short text
    Enter the variable names and data elements
    Save it and go back
    Go to Edit -> Set Release
    Follow steps to create more number of segments
    Create IDOC Type
    Go to transaction code WE30
    Enter the Object Name, select Basic type and click Create icon
    Select the create new option and enter a description for your basic IDOC type and press enter
    Select the IDOC Name and click Create icon
    The system prompts us to enter a segment type and its attributes
    Choose the appropriate values and press Enter
    The system transfers the name of the segment type to the IDOC editor.
    create IDOC Type
    Follow these steps to add more number of segments to Parent or as Parent-child relation
    Save it and go back
    Go to Edit -> Set release
    Create Message Type
    Go to transaction code WE81
    Change the details from Display mode to Change mode
    After selection, the system will give this message “The table is cross-client (see Help for further info)”. Press Enter
    Click New Entries to create new Message Type
    Fill details
    Save it and go back
    Assign Message Type to IDoc Type
    Go to transaction code WE82
    Change the details from Display mode to Change mode
    After selection, the system will give this message “The table is cross-client (see Help for further info)”. Press Enter.
    Click New Entries to create new Message Type.
    Fill details
    Save it and go back
    for futher info check the below links
    http://www.allsaplinks.com/idoc_sample.html
    http://www.allsaplinks.com/
    http://www.sap-img.com/
    http://www.sappoint.com/abap.html
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEIO/BCMIDALEIO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEPRO/BCMIDALEPRO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFAALEQS/CABFAALEQS.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDISC/CAEDISCAP_STC.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDI/CAEDI.pdf
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseCategory/0,295197,sid63_tax296858_idx0_off50,00.html
    http://sap.ittoolbox.com/documents/popular-q-and-a/extending-a-basic-idoc-type-2358
    http://help.sap.com/saphelp_47x200/helpdata/en/dc/6b7eee43d711d1893e0000e8323c4f/frameset.htm
    <b>if u find it useful plz mark the points</b>

  • Custom Notification on approval of a change in a PO

    Hello,
    My requirement is to track the changes in a Purchase Order and notify the same to the user.
    Example:
    PO#1001, Revision# 0
           Line1: Unit Price= 100
           PO Approved and notification sent to user with standard information.
    PO#1001, Revision# 1
           Line1: Unit Price= 200
          PO Approved and ....
    Standard Behavior: Notification is sent to user with standard information.
    Required Behavior: Notification to be sent with standard information as well as it should show the changes (similar to the date we can see in 'PO Change History' in EBS)
    Also I need to send this customized notification to the requester of the PO. But I learnt that for a standard PO, the attribute 'REQUESTER_ID' is populated only if the line type is 'Temp Labor'. So, I am not able to use this attribute.
    So to summarize my requirements:
    The Changes in a PO should also be displayed in the notification, once the revised PO is approved.
    The custom notification should be sent to the 'Requester'.
    I would really be grateful for your help and suggestion on this.
    Thanks in advance!
    Regards,
    Sam

    Yeap...
    1 - I have a SC in avalible in SOCO of a PR.
    2 - Select the line of item and insert of work area to create a follow-on document
    3 - Select the line and push the button "Create Purchase Order" (In this momento I would like to create a flow of approval)
    PR (ECC) >>> SC (SRM) >>> Approval (SRM) >>> PO (ECC)
    Rgs,
    Pedro Marques

  • Populating the custom filed - added in BOM item.

    Hello Friends,
    I have a requirement like, for the custom field added in BOM item data, it should come filled while executing the CS02/CS03/CS12/CS73....transactions.
    I have added a field which is one of the field from MARA table. what I have to do is to pass the MARA record into the custom field added based on IDNRK.
    This should happen as soon as enter button is pressed after entering material, plant, bom usage value.
    Please let me know if any exit is there wherein I can put the code OR if any other way!
    Thanks.

    i have solved this issue by doing some R&D.

  • How to handle Custom field added in BP : Role Bill Account

    Hi Friends,
    I am working on an interface which creates Bill Account role for a BP but the problem is there are about 15 Custom fields added to standard BP transaction in BA role.
    As I am using BAPI_BUPA_FS_CREATE_FROM_DATA2 for creating the BP and
    BAPI_BUPA_CENTRAL_CHANGE for changing the BP role Bill Account?
    Can anyone tell me how to handle those custom fields in the existing BAPIs or there is some other way of doing it?
    Thanks in advance,
    Pradeep
    Note : Helpful answers will be rewarded.

    Hi,
    I have seen these BAPIs but are they used with normal BAPIs for BP creation and change.
    For example : I create the BP using BAPI_BUPA_FS_CREATE_FROM_DATA2 and for the Custom fields I should use these BAPIs as suggested by you alongwith the create BAPI.
    And will it work for Changing the BP also.
    Kindly clarify.
    Regards,
    Pradeep

  • How to manage data in a custom table added in SBO?

    Hello,
    I'm developing a addon for one client that needs to control an aditional step, after each Invoice is posted.
    Since SBO does not allow me to add additional fields to Invoice header table (OINV), I thought to add a custom table to SBO database to control the process for each Invoice (simple table with 2 columns: DocNum to hold the Invoice number, and Status to keep track if the Invoice was processed or not).
    When I added a Custom Table in SBO and checked the table definition in SQL Manager, I found that SBO added automatically 2 new columns (Code and Name).
    Since the PK is defined at Code column (and not the DocNum has I wanted), I found that it not very handy to manage data (insert, delete & update) with this table definition.
    I tried to find a DI object that could manage easily the data of this table type but had no sucess.
    Then I thought in adding the custom table directly in SQL Manager, and manage it directly with Recordet objects.
    However this seems not a standard process to manage data since it interacts directly with the DBMS, which can be dangerous...
    Is there any way or DI object to manage this custom tables added in SBO?
    Thanks all!
    Manuel Dias

    Hi Manuel,
    What do you mean by SBO does not allow me to add additional fields to Invoice header table (OINV).
    Have you tried it add a UDF to OINV,if so what is the exception you got while adding.
    If you Have not tried Use the following code to create.
    Dim oUserFieldMD As SAPbobsCOM.UserFieldsMD
            oUserFieldMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields)
            If (Not isColumnExist(TableName, ColumnName)) Then
                oUserFieldMD.TableName = "OINV"
                oUserFieldMD.Name = ColumnName
                oUserFieldMD.Description = Description
                oUserFieldMD.Type = SAPbobsCOM.BoFieldTypes.db_Alpha
                oUserFieldMD.EditSize = Size
                (objUserFieldMD.Add() )
            End If
    if the field is added successfully.
    Then open the Invoice screen and goto View menu and click on user defined fields then it will show you one form which contains the field you added,
    You can access this field using DIAPI of Invoice object
    regards
    Vishnu

  • I want to create a query to send auto email to customer while adding AR Invoice

    Hi
    Friends
    I want to create a query to send auto email to customer while adding AR Invoice in SAP Business One 8.82.
    using the following fields & Text like
    email ID from - BP Master
    ' Dear Sir '
    Invoice is generated on the name  ---  BPName
    Quantity                                     ---  22.5 Tones
    Invoice Value                              ---   85,000/-
    date & Time                               ---  12-07-2014 : 16:18
    Thanks & Regards
    XXXXXXXXXX
    Please tell me how to set this in SAP B1.
    Srinivas

    I want to to send email to customer automatically the current invoice details while adding AR Invoice in SAP Business One 8.82.
    using the following fields & Text like
    email ID from - BP Master
    ' Dear Sir '
    Invoice is generated on the name  ---  BPName
    Quantity                                     ---  22.5 Tones
    Invoice Value                              ---   85,000/-
    date & Time                               ---  12-07-2014 : 16:18
    Thanks & Regards
    XXXXXXXXXX
    Please tell me how to write query in stored procedure to send email automatically.
    Srinivas

  • How to make fields mandatory in Message Address for Custom Notification.

    Hi Experts,
    We have created a new custom Notification Type and we were in the process of configuring it. I want to know, if I want to make a few fields obligatory in Message Address, can that be achieved through configurations. I am basically an ABAPer so please pardon my ignorance if the question looks basic.
    In our implementation, I have seen different Work Orders with different mandatory fields in Message Addresses. I hope the same is achievable for notification as well.
    Thanks for your help.
    Regards,
    Subhrangsu

    There are 2 ways to make any Notification filed mandatory.
    1. Configuration route:
    Here Under Plant Maintenance->Maintenance and Service Processing>Maintenance & Service Notifications>Notification Creation>Notification types> Set Field selection for Notifications:
    You select influencing button and your notification type then select the Radio button under Required column (against the 
    field you want to make mandatory)
    2. User Exit Route: Through SMOD -->User Exit QQMA0014 -->Cutsomer Exit EXIT_SAPMIWO0_020 -->Include ZXQQMU20.
    Then put your code in this include.
    Code Sample:
    IF I_VIQMEL-QMART= 'AC'.
    IF T_VIQMSM-MNGRP IS INITIAL.
    MESSAGE ID 'IW' TYPE 'I' NUMBER 464 WITH 'Tasks'.
    RAISE EXIT_FROM_SAVE.
    ENDIF.
    ENDIF.
    (The above Code makes the 'Tasks' filling mandatory in the Notification type 'AC')
    Hope this answers your query.
    Regards
    Jogeswara Rao
    Edited by: K Jogeswara Rao on Oct 8, 2010 9:21 AM

  • Adding Attributes to Approval Form

    Hi,
    I've customised IDM 8.1 to fire off an approval to IdmManager if a user updates their own attributes. I want to customise the Approval Form displayed to the approver to show only the attributes that have been updated by the user.
    I see the Approval Form has an "approvalAttributes" variable which can be passed in to define which attributes are displayed. I also see that this list can be configured by adding attributes on the "Server Tasks -> Configure Tasks -> Update User Template -> Approvals" tab. What I can't see is where this list of attributes is stored when you add new ones. Does anybody know? If I knew this I hope I could customise the object to push out a dynamically generated list of attributes, rather than a static list.
    Thanks,
    Paul

    Solved - they're kept, somewhat unsurprisingly, in the "Update User Template" object. I was confused by the "Template Library Repository" appearing to store a very similar list which gets polled every time the form is loaded, but editing this appears to have no bearing on anything.

  • You are not recognized as a user in the SAP customer notification system

    Hello,
    we are in OSS registered as CCC. I am able to send notifications from our SolMan to OSS with components(instalations) which are registered under out SAP customer number(our SolMan instalation etc.).
    When I want to sned notification for our customers to OSS but with component of our customer(he has another SAP number, his instalation) then I got an error message
    You are not recognized as a user in the SAP customer notification system:
    You are not recognized as a user in the SAP customer notification system
    Message no. DNO158
    Diagnosis
    No address data exists for this logon user in the SAP problem notification system.
    The function you activated could not be executed.
    Activated function Diagnosis
    Send notification to SAP The notification was saved, but could
    not be sent to SAP.
    Update notification at SAP The notification was not updated to
    reflect the SAP version.
    Check for changes The system cannot compare the notification
    with the current version at SAP.
    Request list of the The notifications that you sent to SAP
    notifications contained cannot be updated.
    in the SAP problem notification system.
    Procedure
    Contact your system administrators.
    Could you help me please?
    view V_AISAPCUSTNOS ist filled with our customer numbers, I am in AISUSER...
    Thanks Miloslav Pudil

    Hello Miloslav,
    We have the same problem.
    Somebody knows how can we resolve this?
    Thanks,
    Diego.

  • 10.3.1 Update - custom notifications still broken

    I have a z10 and since I purchased it over a year ago, my custom notifications set for contacts for text messages are ignored.
    Whenever a text message comes in, the phone plays the default tone not the custom tone I have set for that user. The other custom tones work (for BBM and phonecalls).
    This has been several updates and this function - included in the original rollout of BB10 - has never worked.
    Any one have any solutions or explanations.
    (Please, do not recommend I buy an app for a feature that I paid for with the included OS. I am asking for solutions to the problem in OS 10.3.1. Thank you.)

    Nor do I have any way to know which is causal...at an internet distance, all I can do is try to evaluate what you say and make sense of it. If the OS isn't working correctly for you, then it is possible that the version you are now on is somehow corrupt. Or perhaps that the update process itself caused error. Both are possible, but we can't really tell you which it is (if either, for that matter).
    So, what I would suggest is a very clean OS reload, and not do any restore from backup unless and until you find a version that works as you expect. You can use LINK to reload what your carrier has approved, or you can use AutoLoader to load any version that you desire.
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Custom screen for attribute BP relationship (t-code: BUBA)

    Dear experts,
    It is possible to create custom screen for attribute BP Relationship (t-code: BUBA)?
    any document for this case?
    (Go to t-code: BUBA -> Block BP Relationship Type -> Click BP Views)
    Need your response...
    Thanks and Regards,

    Dear experts,
    any updated for this case???
    Need your response..
    Thanks and regards,

  • SAP GRC AC 10 - Unintentional line break inserted into custom notification email

    Hello
    We are having a strange cosmetic issue with one of our custom notification templates. When the notification is sent two sentences in different parts of the email are being cut off and sent to the next line. We tried to review in Word to see if there were any hidden breaks or margins. We also tried to manually type in the information as well as paste into notepad then back into SE61. We cannot seem to figure out where these breaks are coming from. I've included a few screen shots below. Any help is appreciated!
    SE61 DOCUMENT TEXT
    EMAIL NOTIFICATION TEXT
    NOTE: The sentence breaks after training in the sentence beginning with "For additional information about GRC..." and "(This email was generated by an automated..."

    Hi Stacey
    From the screen shot you cannot see any issues (can understand confusion)
    Are you able to try to remove the paragraph and save. Exit SE61 completely to free up any buffer and then go back in and re-add it?
    Possibly look in other SCN communities as it's SE61
    Regards
    Colleen

Maybe you are looking for