Set A Message Respond via WF API

Hi,
In  E-Business Suite R12 we are asked to develop an ADF application where users can manage all notifications through WebCenter portal without navigating to EBS Notification pages so without leaving portal, users will be able to manage all their notifications. All the functionalities presented by EBS are expected to be implemented such as review message, respond a message,set attributes prompting users
First question: Does this approach make sense ? namely, developing fully customized notification page
Second Question: What api should i use to handle responses (look up codes) to get user prompted for transition purposes?
Regards
Ümit Sadegüzel

Looks like it, you need to set the response action on the 'RESULT' attribute then call respond, which will also close the notification. This would include not only the result (APPROVE/REJECT) but also notes. Then there is the forward/reassign...
Processing a Notification Response
After a recipient responds, the Notifications web page or a notification mailer assigns the response values to the notification response attributes and calls the notification Respond( ) API. The Respond( ) API first calls a notification callback function to execute the notification activity’s post–notification function (if it has one) in RESPOND mode.
The post–notification function may interpret the response and perform tightly–coupled post–response processing. If the post–notification function raises an exception, the response is aborted.
If no exception is raised, Respond( ) marks the notification as closed and then calls the notification callback function again in SET mode to
update the corresponding item attributes with the RESPOND notification attributes values. If the notification message prompts for a response that is specified in the Result tab of the message’s property page, that response value is also set as the result of the notification activity.
Finally, Respond( ) calls WF_ENGINE.CompleteActivity( ) to inform the engine that the notification activity is complete so it can transition to
the next qualified activity.

Similar Messages

  • Setting logging.config.class via Preferences API

    The Javadoc for LogManager says:
    In addition, the LogManager uses two optional system properties that allow more control over reading the initial configuration:
    * "java.util.logging.config.class"
    * "java.util.logging.config.file"
    These two properties may be set via the Preferences API, or as command line property definitions to the "java" command, or as system property definitions passed to JNI_CreateJavaVM.
    http://java.sun.com/j2se/1.4/docs/api/java/util/logging/LogManager.html
    So, how can I set the "java.util.logging.config.class" system property via the Preferences API? How can I set any system property via the Preferences API? I think this is a documentation bug, but I would like to know how to do it, otherwise.
    http://java.sun.com/j2se/1.4/docs/api/java/util/prefs/Preferences.html

    I don't know why I couldn't find it when I looked before,
    but it is a filed bug.
    http://developer.java.sun.com/developer/bugParade/bugs/4691587.html
    This help me find a work-around.
    http://developer.java.sun.com/developer/bugParade/bugs/4506094.html

  • Setting Message Class via Content-Type for Faxes

    Hello,
    I am trying to set the message class for inbound email messages (with a fax attachment) from the internet.  The class that I am trying to set is IPM.Note.Microsoft.Fax.CA.  Exchange 2013 SP1 is being used.
    I have a transport rule set up which evaluates criteria on the incoming message, and then sets the Content-Class header to fax-ca.  Unfortunately, even though the content-class header is being set (I can see this is the headers when the message gets
    to Outlook), the message class is not changing and the message still has the IPM.Note class.
    On the other hand, if the transport rule is modified to set the Content-Class to voice-ca, the message class changes to IPM.Note.Microsoft.Voicemail.UM.CA.
    So it seems that it works for voice-ca, but not fax-ca.  Is there an Exchange setting that I have missed?  Is there a reason why this wouldn't work for fax?
    Thanks.

    Hello,
    Thank you for your question.
    I am trying to involve someone familiar with this topic to further look at this issue.
    Thanks,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]

  • Corrupt Credit Note created via DI API

    Hello,
    when i try to create a credit note via di api i get the error message "one of the base documents has been closed", even if the source document is not closed. But this is not the main problem. After this i have a corrupt credit memo in my system, that means a credit memo with out any detail lines. The error occurs only on one customer systems, on a lot of other systems the creation of credit notes works fine. Had anybody the same effect or clue what causes this problem.
    Regards

    Hello we found the problem, i can reproduce it on a belgium database.
    I want you to inform about a critical error in the SBO_SP_TransactionNotification.
    If you check the line data of a document and send an error for this data the front end works fine. But if you use the DI-API the header data of document will be saved and the lines will be not saved.
    if @object_type in ('14','19') and @transaction_type = 'A'
    begin
    declare @corrCRD as varchar(8)
    if @object_type = '14'
    set @corrCRD = (select distinct(correction) from ovtg where code in (select vatgroup from RIN1 where docentry = @list_of_cols_val_tab_del) and correction = 'N')
    else if @object_type = '19'
    set @corrCRD = (select distinct(correction) from ovtg where code in (select vatgroup from RPC1 where docentry = @list_of_cols_val_tab_del) and correction = 'N')
    if @corrCRD = 'N'
    begin
    set @error = 1
    set @error_message = 'You have entered a regular VAT Code on the document, this is not allowed'
    end
    end

  • How to determine host status in a task via python api

    Hello all,
    using the python api I am having some issues trying to determine the status of a host within a task. For example I have a job, with one task and 10 hosts associated with that task. Eight hosts finish the task, 2 fail. However via the api I can only seem to determine the status of the job and the task. What I want is to be able to generate a report that basically matches what you see via the gui (ie 8 hosts ok, 2 hosts failed). The data structure OnStageTaskData gives me a status and a list of hosts, but not a status for each host. (Note I am not using any of the depricated functions/data structures). Currently my code looks like (minus the api init, etc)...
    # list all the jobs for last week
    joblist = api.GetJobs()
    for job in joblist:
    # if the job occured in the last week
    if job.c_time > reportstarttime:
    print "\nJob name %s Time %s " %(job.name, time.ctime(job.c_time))
    try:
    jobdetails = api.GetOnStageJob(job.id)
    except COsApiJobNotFoundException:
    print "Can't find job %s details" %job.name
    continue
    for tasks in jobdetails.job_data.tasks:
    for hostid in tasks.task_data.target:
    try:
    hostinfo = api.GetHostGroup(hostid)
    except OsApiHostNotFoundException:
    print "Can't find host details %s" %tasks.task_data.name
    print "Hostname %s Status %s" %(hostinfo.name, tasks.status)
    which generates output like...
    Job name chg233146-sol9 Time Sun Jan 13 10:31:42 2008
    Hostname tacnomsrv02 Status Failed
    Hostname tacpthsrv01 Status Failed
    anyone have another way to doing this or suggestions? Or is this kind of info not available via the api? Thank you.

    Hi ConnectSolutions,
    As you correctly pointed out, there is some bug in our code
    that keeps the room active and you dont receive any events or
    notification if you are entering as guest and waiting and the host
    arrives. Also, since you havent entered yet i.e your role is still
    5 i.e. UserRoles.LOBBY , you can't access any of the UserManager's
    collections and will get a length of 0 always. We will be fixing
    this with priority .
    But you can get around the problem as of now, by having a
    small shared model of yours ( any collectionNode or sharedModel
    will do) where you create a node and publish a message on it from
    the Owner's side whenever the owner/host enters to notify everyone
    that he has entered. Just remember to set the accessmodel of
    NodeConfiguration of node on which you are publishing to LOBBY ie.
    role = 5 , and make the publishModel = 100 so that only owners can
    publish on this node. In this way , any users waiting will be
    receiving this message and will know the host has arrived. If you
    can't get this sharedModel concept to work, let me know. I will try
    to run on my side.
    And as of our side regarding actual fix, we will fix this use
    case and put in the next drop of SDK and also update in forum about
    it.
    On the host side though, he is always notified when he enters
    if there are pending users knocking to enter. See the KnockingQueue
    example in case you want to explore that.
    Thanks
    Hironmay Basu

  • Setting Risk message at bottom line of FBL5N, XD02

    Hi all
    I am changing credit limit in transaction FD32 to a customer and that customer reaches at very risk level. I want to set warning message at bottom line of transaction FBL5N or information message via popup window to some other transactions that it should be displayed as customer has reached risk level whenever i execute these transactions.
    is there any setting possible to such messages in SAP for some transaction codes like FBL5N, XD02......for your further information we have already set warning message at ordering point for such customers.

    Hello gzahedi,
    Thanks for using Apple Support Communities.
    If I understand your post correctly, a portion of your screen is not responding.  To troubleshoot this issue, I'd like you to please follow the steps outlined below.
    Fix your touchscreen
    Make sure your hands are clean and dry, then try these steps:
    If you have a case or screen protector on your device, try removing it.
    Clean the screen with a soft, slightly damp, lint-free cloth.
    Unplug your device.
    Restart your device. If you can't restart, reset your device.
    If your touchscreen still doesn't respond like it should, contact Apple Support or take your device to an Apple Retail Store or Apple Authorized Service Provider.
    If the screen on your iPhone, iPad, or iPod touch doesn't respond to touch - Apple Support
    Have a great weekend,
    Alex H.

  • How to set the message in the status bar...

    hai,
    how to set the message in the status bar...
    let us say "inserted data successfully, or opening page followed  by the link clicked on the screen....."
    kindly help me out

    sunil,
    do not use advise by Ashutosh with WebDynpro.
    Instead of placing message into browser status bar (and browser is not the only WD UI agent), use IWDMessageManager API to post messages of such kind:
    wdComponentAPI.getMessageManager().reportSucces("Record inserted"); 
    VS

  • PO from SO via DI API:Base document card and target document card do not ..

    HI All,
    I am trying to create Purchase Order from Sales Order. This is possible by GUI (on Sales Order on logistics tabs Click On Purcase Orders CheckBox.
    I got the error message: -5002-Base document card and target document card do not match.
    The message itself can be understandable, because the Customer and Supplier has a different CardCode.
    I am sure I am using a correct code
    oPo.Lines.BaseType = BoObjectTypes.oOrders
    oPo.Lines.BaseEntry = sDocEntry
    oPo.Lines.BaseLine = iLineNum
    Where oPo is a Purchase Order document.
    sDocEntry is a Sales Order docentry and iLineNum is a Line number of Sales Order
    For other A/R to A/R and A/P to A/P documents are working fine.
    Has anybody found this error or has anybody created application like this?
    I am using sbo2007PL46
    Regards,
    J.

    Hi guys,
    this is still on the suggestion page:
    Link existing Purchase Orders to (Sales) Orders via DI API : View Idea
    I tryed with 9.1 PL 4 and it didn't work.

  • Object variable or With block variable not set error message

    When processing the Rate application I get a "Object variable or With block variable not set error message" What is causing this error and how do I fix it?

    Hi Brian,
    I'm afraid that in some ways this reply won't be very helpful though it may help you save some time. 
    The error message you describe is a very generic one thrown by Microsoft .NET (the programming platform that SAP is written with, see the link at the bottom of this message) and not being 'handled' by SAP. 
    This means from a SAP perspective that any one of many unrelated things may be causing the error and that it gives you virtually no help in tracking the problem down in SAP.
    We've plagued by this message quite a bit, my advice is to look for clues at to what may be happening elsewhere, e.g. try:
    1. The windows event viewer, if you are in a multi-server environment then check the event log on all machines.
    2. The SQL Server event log (this can be found in Management Studio - Management - SQL Server Logs assuming you're using SQL Server 2005)
    3. IIS logs, usually these are text files in the following location -
    HTTP.SYS Error Log - %windir%\System32\LogFiles\HTTPERR
    IIS Website Log - %windir%\System32\LogFiles\W3SVC#
    It is dull work trawling through all these places looking for error events with a timestamp similar to the time your error was encountered, but by doing this we've been able to troubleshoot some issues that otherwise would have taken us ages to rectify via trial and error.
    Sorry that there is no definitive answer, but if itu2019s of any help there's many more of us out there who this error message causes trouble for.
    Regards,
    Iain
    Microsoft "Object variable or With block variable not set" error message link:
    http://support.microsoft.com/kb/316478

  • Troubleshoot-Adapter engine:Error Setting the message status to DLNG failed

    Dear Experts,
    We use SAP RFC- PI-JDBC(MSSQL).  here the Data(message) successfully transfered to mssql table but the status is been set to DLNG failed,  And it finally shown as SYSTEM ERROR.
    QoS required: ExactlyOnce ,  here The Message has got inserted in that particular table and in PI adapter the  status turned to  DLNG faild and the service again tries to send the same message which is not possible becoz the data is set for primary value.
    2010-09-15 09:59:48 Success Message successfully received by messaging system. Profile: XI URL: http://XXXXX:50000/MessagingSystem/receive/AFW/XI Credential (User): YYYY
    2010-09-15 09:59:48 Success Using connection JDBC_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
    2010-09-15 09:59:48 Success Message successfully put into the queue.
    2010-09-15 09:59:48 Success The message was successfully retrieved from the receive queue.
    2010-09-15 09:59:48 Error Setting the message status to TBDL failed, due to: com.sap.aii.af.ra.ms.api.DeliveryException: Error updating status..
    2010-09-15 09:59:48 Success Delivering to channel: CCR_JDBC_ZZZZZ
    2010-09-15 09:59:48 Success MP: Entering module processor
    2010-09-15 09:59:48 Success MP: Processing local module localejbs/CallSapAdapter
    2010-09-15 09:59:48 Success Receiver JDBC adapter: processing started; QoS required: ExactlyOnce
    2010-09-15 09:59:48 Success JDBC adapter receiver channel CCR_JDBC_ZZZZZ : processing started; party  , service BS_BCP_IMPLOG_ZZZZZ 
    2010-09-15 09:59:49 Success Database request processed successfully
    2010-09-15 09:59:49 Success MP: Leaving module processor
    2010-09-15 09:59:49 Success The message was successfully delivered to the application using connection JDBC_http://sap.com/xi/XI/System.
    2010-09-15 09:59:49 Error Setting the message status to DLNG failed, due to: com.sap.aii.af.ra.ms.api.DeliveryException: Error updating status..
    2010-09-15 10:37:01 Success The message was successfully retrieved from the receive queue.
    2010-09-15 10:37:01 Success The message status set to DLNG.
    2010-09-15 10:37:01 Success Delivering to channel: CCR_JDBC_ZZZZZ
    2010-09-15 10:37:01 Success MP: Entering module processor
    2010-09-15 10:37:01 Success MP: Processing local module localejbs/CallSapAdapter
    2010-09-15 10:37:01 Success Receiver JDBC adapter: processing started; QoS required: ExactlyOnce
    2010-09-15 10:37:01 Success JDBC adapter receiver channel CCR_JDBC_ZZZZZ : processing started; party  , service BS_BCP_IMPLOG_ZZZZZ
    2010-09-15 10:37:01 Error Unable to execute statement for table or stored procedure. 'imp_log' (Structure 'STATEMENT') due to com.microsoft.sqlserver.jdbc.SQLServerException: Violation of PRIMARY KEY constraint 'PK_XXX_log'. Cannot insert duplicate key in object 'dbo.XXX_log'.
    2010-09-15 10:37:01 Error JDBC message processing failed; reason Error processing request in sax parser: Error when executing statement for table/stored proc. 'imp_log' (structure 'STATEMENT'): com.microsoft.sqlserver.jdbc.SQLServerException: Violation of PRIMARY KEY constraint 'PK_XXX_log'. Cannot insert duplicate key in object 'dbo.XXX_log'.
    Thanks in advance for your valuable answer.

    Hi Vinaygam,
    2010-09-15 10:37:01 Error Unable to execute statement for table or stored procedure. 'imp_log' (Structure 'STATEMENT') due to com.microsoft.sqlserver.jdbc.SQLServerException: Violation of PRIMARY KEY constraint 'PK_XXX_log'. Cannot insert duplicate key in object 'dbo.XXX_log'.
    2010-09-15 10:37:01 Error JDBC message processing failed; reason Error processing request in sax parser: Error when executing statement for table/stored proc. 'imp_log' (structure 'STATEMENT'): com.microsoft.sqlserver.jdbc.SQLServerException: Violation of PRIMARY KEY constraint 'PK_XXX_log'. Cannot insert duplicate key in object 'dbo.XXX_log'.
    See above error, It cannot the Duplicate Key in your log table. Duplicate means repeated as a same data.So kindly check once your data.
    IF,I assume your scenario is Synchronous, If you are using any sender JDBC adapter  just check with your Quality of Service and set it to "Exactly once".
    so kindly do it.
    Thank you,
    Sateesh
    Edited by: sateesh kumar .N on Sep 17, 2010 8:17 AM

  • How can I set up auto respond for email

    How can I set up auto respond for email?

    Hey there jimmac169,
    It sounds like you want to have the Mail app automatically reply to emails that come in. You can do this in the app itself, but in order for the function to work, Mail needs to be open. Take a look at this info from the following article:
    Mail (Yosemite): Reply to, forward, or redirect messages
    Automatically reply to or forward messages
    Mail must be open before it can automatically forward or reply to messages. If you want to send automatic replies when Mail isn’t open—like when you’re on vacation—check with the provider of your email account. 
    Choose Mail > Preferences, then click Rules.
    Click Add Rule, then type a name for the rule.
    Indicate whether any or all of the conditions must be true for the rule to be applied.
    Set the conditions that determine which messages to automatically reply to or forward.
    Choose options from the “Perform the following actions” pop-up menu.
    Forward messages: Choose Forward Message from the first pop-up menu, then enter the email addresses where you want to receive the forwarded messages. Click Message, then enter any text you want to include with the forwarded message. For example, you could explain that you’re automatically forwarding messages. 
    Reply to messages: Choose “Reply to Message” from the first pop-up menu, click “Reply message text,” then enter your reply. Mail includes the full text of the original message in your reply. 
    Click OK.
    Carefully consider the rules you create. If they’re too broad, messages can be sent inadvertently or create loops (replies to replies you sent). If possible, test the rules. 
    Thank you for using Apple Support Communities.
    All the very best,
    Sterling

  • Duplicate a BO via DI API

    Hello,
    as far as I know the only possible way to duplicate a document (for example a Sales Order) via DI API is to save it as xml and then to open it again. but it doesn't work properly, because I get a message "bad value RDR1.BaseLine line: 1". And if I change the property to one manually, the new document can be saved, but it can't be changed any more. I get a message "table rdr1 was changed by another user". What shall I do, so that it works properly?
    Best Regards,
    Alexander

    Hi,
    anfortunatly there is nothing I could omit. I need the same Document and also links to the base documents. There is a code below I used to duplicate a document.
    Private Function CopyDocument(ByVal oDoc As SAPbobsCOM.Documents) As SAPbobsCOM.Documents
            Dim oXmlDoc As New XmlDocument()
            oXmlDoc.LoadXml(oDoc.GetAsXML())
            For Each oNode As XmlNode In oXmlDoc.SelectNodes("//DocEntry")
                oNode.InnerText = ""
            Next
            oXmlDoc.SelectSingleNode("//DocNum").InnerText = ""
            oXmlDoc.SelectSingleNode("//JrnlMemo").InnerText = ""
            oXmlDoc.Save(Application.StartupPath & "\Document_" & oDoc.DocEntry.ToString() & ".xml")
            CopyDocument = moSBOCompany.GetBusinessObjectFromXML(Application.StartupPath & "\Document_" & oDoc.DocEntry.ToString() & ".xml", 0)
        End Function
    Can somebody help me?
    Best Regards,
    Alexander

  • Extract image and Features from the Catalog via JAVA API

    Hello,
    I would like to Extract image from the Catalog via JAVA API, Can anybody help on that? I also tried to extract the Features field form the Catalog but results in the error "Features field not found" Any ideas what could have wrong?
    Many thanks,
    Dharmi

    Hello,
    Can anybody tell me where i can find the latest JAVAAPI reference guide? I found the one for MDM 5.5 SP 1 but that also refers to the last parameter of the CatalogCache.Init as int and not string.
    I looked up in service.sap.com/instguides -> SAP Netweaver -> Release 4 -> Installation and there only following 3 files are there for MDM 5.5 SP2
    MDM 5.5 SP02 - Configuration Guide  SAP MDM
    MDM 5.5 SP02 - Installation Guide   SAP MDM
    MDM 5.5 SP02 – ERP-MDM Field Mapping and Check Tables
    Regards,
    Dharmi
    Message was edited by: Dharmi Tanna
    Message was edited by: Dharmi Tanna

  • Statistics (overview) for Synchronous messages processed via AAE

    Hello,
    We are on PI 7.11
    Is there any way to get synchronous messages processed via AAE displayed on RWB Message Monitor Overview view?
    Maybe there is some parameter available similar to messaging.syncMessageRemover.removeBody for persisting payloads for sync messages.
    Thanks!
    Best Regards,
    Artsiom Anichenka

    Mark,
    But I think there is already (PI 7.11) a possibility to persist payloads for java-only sync messages. I was mentioning this parameter in my original post:
    messaging.syncMessageRemover.removeBody
    this parameter is true by default and if you set it to false payloads will not be deleted, but this is not our aim. We want payloads to be deleted from sync messages, but we also want to see those messages on RWB MessageMonitor for overview.
    For me this is somekind of frustrating that the overview page doesn't really give you overview of what is happening on your system, like what and how many messages where processed...
    So can you please specify what is really planned for 7.31. Did you meant that parameter I am mentioning above or we will really get sync java-only messages to overview?
    Best Regards,
    Artsiom Anichenka

  • Setting a Freight by the UI API ?

    Set a freight by the UI API on the Sales Order form
    Do I really have to code so I click on the Linked button then enter the value in the Freight  Charges form then click OK all this by the UI ?

    okey Marc.
    I dont have any c# code but the following thing should work as it does for vb.net. your code gets into endless loop because you haven't checked that the freight on the base form (invoice form) matches the total of the amount column in the freight form. if it matches, you should not again open the freight form, instead, you should programmatically click the 'Add' button .
    I assume that , before you open the freight form, you already know thru your function, what is going to be your freight value. because then only, you will get to match and decide.
    If pVal.FormType = "133" And pVal.ItemUID = "1" And pVal.Before_Action = False Then
                Try
                    Dim str As String
                    oForm = sbo_Application.Forms.GetForm("133", formcount)
                    If oForm.Items.Item("89").Specific.value = "currency_and_fright" Then 'should be something like 'USD 56.78'
                        Exit Sub
                    Else
                        oform.Items.Item("91").Click(SAPbouiCOM.BoCellClickType.ct_Regular)
                        oform = sbo_Application.Forms.ActiveForm
                        oMatrix = oform.Items.Item("3").Specific
                        oMatrix.Columns.Item("3").Cells.Item(1).Specific.value = 'freight value coming from your function
                        oform.Items.Item("1").Click(SAPbouiCOM.BoCellClickType.ct_Regular)
                        oform.Items.Item("1").Click(SAPbouiCOM.BoCellClickType.ct_Regular) 'have to do it twice
                        oform = sbo_Application.Forms.GetFormByTypeAndCount("133", formcount)
                        str = oform.Items.Item("89").Specific.value
                        If oform.Items.Item("89").Specific.value = "currency_and_amount_total" Then 'again some work to concate it
                            oform.Items.Item("1").Click(SAPbouiCOM.BoCellClickType.ct_Regular) 'add click on invoice form
                        End If
                    End If
                Catch ex As Exception
                    MsgBox(ex.Message)
                End Try
            End If
    you will have to work on the how you are going to club currency and freight amount to match with variable 89 i.e freight.
    a lot of work on your part, before you get insane any more
    HTH.
    regards,
    Binita

Maybe you are looking for

  • "Asset will not be deactivated, it has a net book valueu201D after Revaluation

    Hello All, I am looking for some assistance on an issue that I am having with trying to retire an asset using transaction ABAVN.  The message that we are receiving is u201CAsset 10 ###########-0 will not be deactivated, it has a net book valueu201D. 

  • Not able to clear the cenvat suspense account

    Hi Experts, Is there any T.code or short-cut method to find out the clearing documents for every open items in cenvat suspense account. Is it possible to run in the automatic clearing method through T.code:F.13 in the absence of month end processing.

  • Is there a way set up a tooltip popup that displays alternate text on an image rollover in DW CC?

    I would like to set up a tooltip popup that displays alternate text on an image rollover. I am using Dreamweaver CC. Used to be a Spry widget, but those options seem to be gone. Not looking for anything elaborate, just a simple tooltip message box.

  • Measure Values are not shown in the pivot tables

    Measures without aggregation (in rpd) are not shown in pivot table. Im trying to add multiple columns in the fact table as measures,one which is summable had has the SUM function and three which are not summable. The initial report will be as follows

  • Copying frames between fla's freezes program

    Flash newb. Trying to make a news flash ad banner. I have constructed the rectangle now I need to make the cube, hopefully with the same timing of animations and tweens. I have made this first .fla AS 2.0, player 6 and imported a large number of elem