Change message handling behavior in Activity

Hello,
when maintaining an Activity if not all mandatory fields are filled an error message is displayed in Web UI. The Activity can be saved. My requirement is to change the behavior in Activities so that if error messages occur saving the activity is not possible.
Has somebody worked on a similar requirement before and can therefore give me some hints on where to change settings?
Thank you!
Best regards,
Salvatore

Hi Salvatore,
For this you would need to implement the BADI ORDER_SAVE , method CHECK_BEFORE_SAVE.
Regards,
Venkat.

Similar Messages

  • HT4623 when turn imessage on there is a message saying waiting for activation but it doesnt change anybody knows why?

    when turn imessage on there is a message saying waiting for activation but it doesnt change anybody knows why?

    Hi guys,
    I keep getting "waiting for activation" on my iMessage. I can only send/receive iMessage from my email address, NOT my phone number.
    I have done all kind of fixing suggestions that I can find online, but nothing works so far.
    - Date & time set as automatic (I don't know why this matter, but mine was already set as automatic from the begining)
    - Reset network setting
    - Changing the DNS to 8.8.8.8.
    - Restore to factory setting (from back up & as new iPhone)
    - Turning on/off iMessage & facetime
    - Sign out/in of apple ID
    - Change location from apple ID
    - Hard reset/reboot
    And many others.
    ...me too. I'm in Portugal having the same issue!! Hopefuly Apple will give us a solution, shortly...

  • Active chat Message Handler is received twice, anybody know why?

    Hi Guys,
    Please can anyone help me with the below issue:
    Active Chat Message Handler in Applescript for Messages app runs twice, looks like it receives the message twice, has anyone else seen this issue?
    below is my code:
    global myBuddysName
    global textmsg
    on readFile(unixPath)
      set foo to (open for access (POSIX file unixPath))
      set txt to paragraphs of (read foo for (get eof foo))
      close access foo
      return txt
    end readFile
    on msgImage(unixPath)
      tell application "Finder"
      set randomFile to (some file of folder unixPath)
      set the clipboard to (randomFile as «class furl»)
      end tell
      tell application "System Events"
      keystroke "v" using command down
      key code 36 -- This is a 'return' which sends the message automatically.
      end tell
    end msgImage
    using terms from application "Messages"
      on message received theMessage from theBuddy for theChat
           set myBuddysName to 1st item of readFile("Users/username/Desktop/AutomatedTextReply/BuddyName.txt")
           set textmsg to some item of readFile("Users/username/Desktop/AutomatedTextReply/Texts.txt")
           if name of theBuddy is myBuddysName then
                if theMessage contains "text" then
                     send textmsg to theBuddy
                end if
                if theMessage contains "image" or theMessage contains "img" then
                     msgImage("Macintosh HD:Users:username:Desktop:AutomatedTextReply:Images")
                     delay (5)
                end if
                if theMessage contains "video" then
                     msgImage("Macintosh HD:Users:usernameDesktop:AutomatedTextReply:Videos")
                end if
           end if
       end message received
      on message sent theMessage with eventDescription
      end message sent
      on chat room message received with eventDescription
      end chat room message received
      on active chat message received theMessage from theBuddy
           set myBuddysName to 1st item of readFile("Users/username/Desktop/AutomatedTextReply/BuddyName.txt")
           set textmsg to some item of readFile("Users/username/Desktop/AutomatedTextReply/Texts.txt")
           if name of theBuddy is myBuddysName then
                if theMessage contains "text" then
                     send textmsg to theBuddy
                end if
                if theMessage contains "image" or theMessage contains "img" then
                     msgImage("Macintosh HD:Users:username:Desktop:AutomatedTextReply:Images")
                delay (5)
                end if
                if theMessage contains "video" then
                     msgImage("Macintosh HD:Users:username:Desktop:AutomatedTextReply:Videos")
                end if
            end if
      end active chat message received
      on addressed message received theMessage from theBuddy for theChat with eventDescription
      end addressed message received
      on received text invitation with eventDescription
      end received text invitation
      on received audio invitation theText from theBuddy for theChat with eventDescription
      end received audio invitation
      on received video invitation theText from theBuddy for theChat with eventDescription
      end received video invitation
      on received local screen sharing invitation from theBuddy for theChat with eventDescription
      end received local screen sharing invitation
      on buddy authorization requested with eventDescription
      end buddy authorization requested
      on addressed chat room message received with eventDescription
      end addressed chat room message received
      on received remote screen sharing invitation with eventDescription
      end received remote screen sharing invitation
      on login finished with eventDescription
      end login finished
      on logout finished with eventDescription
      end logout finished
      on buddy became available with eventDescription
      end buddy became available
      on buddy became unavailable with eventDescription
      end buddy became unavailable
      on received file transfer invitation theFileTransfer with eventDescription
      end received file transfer invitation
      on av chat started with eventDescription
      end av chat started
      on av chat ended with eventDescription
      end av chat ended
      on completed file transfer with eventDescription
      end completed file transfer
    end using terms from

    Sunil, I tried and no luck. I restarted weblogic server and here is the console output showing the parameter :
    C:\Oracle11\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPe
    rmSize=128m -Dweblogic.Name=AdminServer -Djava.security.policy=C:\Oracle11\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.polic
    y -Xverify:none -da -Dplatform.home=C:\Oracle11\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\Oracle11\MIDDLE~1\WLSERV~1.3\server
    -Dweblogic.home=C:\Oracle11\MIDDLE~1\WLSERV~1.3\server -Dweblogic.wsee.workarea.skipWorkAreaHeader=true -Dweblogic.mana
    gement.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\Oracle11\M
    But as usual, the message is not caught by the handler.
    thanks
    Jyothi

  • Receiver File adapter - 'Empty Message Handling' option to ignore not worki

    Hi,
      I am trying to create the Files in receiver based on condition.But I am gettiung error in communication channel when there is no payload. Receiver I am usuing FCC and processing tab I selected -'Empty Message Handling' option to ignore .
    one source -> Target 1 (0..1 occurance in signature tab changed, message mapping and operation mapping)
                 and Target 2 (0..1 occurance in signature tab changed)
    and I put the message type level condition. While creating first message If did not create the Message type in my maaping still my Receiver File communication channel is giving error. even thow I my receiver interface occurance is 0..1
    Right now I am in PI7.1 and SP7 is the bug for support pack do I am missing any thing. and do I need to upgrade any nwe patch. appreciate your help.
    Regards,
    Venu.

    Hi,
    here is the my requirment one source -> two target interfacess (0..1)
    If u have 2 target interfaces,then this is not suffice..... u should make it as 0..unbounded both in operation mapping and message mapping.
    But based on ur requirements posted above i guess u have only one inbound interface at a time based on some conditions....
    But,
    <messages>
    <messages1>
    based on condition first message type not created in mapping.
    <messgaes2>
    The error u r getting is because.... u want only one interface in target at a time....
    Then u should not generate Message1 also in the target.
    So avoid mapping to message1 if u want only message2.
    If both message1 and message2 are created in target means... it is triggering for two interfaces.... so avoid one message1 or message2... based on some conditions u have..
    Still nt solved do post...
    Babu

  • Empty-Message Handling is not working in receievr File Adapter

    Hi All,
    I have selected "Empty-Message Handling" = 'Ignore'in Receiver File adapter, but still empty files are creating in target directory.
    Message mapping generates output based on the conditon, if the condition is 'false' mapping will generate empty file (no data is being mapped).
    Why Receiver file adapter is processing empty fiels even i set 'ignore' empty fiels in configuration (ID)?
    Hoe can i manage not to place empty fiels in target directory?
    File type is '.txt'
    Your help would be appreiciated greatly.
    Thanks,
    Rajesh

    Not sure why is it not working. Make sure the channel is activated and cache is refreshed properly. But as a workaround you may use OS script checking for size of message and deleting it or configure a BPM to avoid the file creation. Or else an adapter module as shown
    /people/gowtham.kuchipudi2/blog/2006/01/13/stop-creation-of-an-empty-file-from-file-adapter-using-module
    Regards,
    Prateek

  • Recevier adapter empty message-handling ignore

    Hi all,
    I configured file receiver adapter with file content conversion (comma separated).
    In processing parameters Empty-message handling is set to Ignore.
    Payload that is in message generated from SAP is:
      <?xml version="1.0" encoding="utf-8" ?>
         <mt_ap_invoice xmlns:prx="urn:sap.com:proxy:DES:/1SAI/TAS128FC2C2C3C8E901DC22:700:20 08/06/25" />
    There are no any data that is filling structure (structure main node is defined as 0...unbounded) and still empty file with 0 bytes is created.
    Please can you tell what is wrong in this setup as In case of empty message I don't want that file is generated?
    Regards,
    Nenad

    - open Integration Builder
    - open your file receiver adapter
    - go to tab Processing
    - change Empty Message-Handling to 'Ignore'
    Cheers,
    André

  • Did anyone tried Rejection Message Handler via Queue based method?

    Dear All,
    I am presently doing a Rejected Message Handler process and successfully implemented with File based and Web Service based. But I am not getting the clue for Queue based. We can enqueue the rejected message into queue as a JMS message via this method. But the URI format they have given is *"jdbc:oracle:thin:@<host>:<port>:<sid>#<un>/<pw>#queue"*. Format includes jdbc connection string along with queue name. For this I have created JMS module with JDBC Persistent store and created queue in it. But still I am not able to enqueue the message inside the queue. Also, is there anyway to see the queue names inside the DB. Did anyone tried this method? Could you please share the info??

    WL JMS Queue consume>BPEL1 (One way) invoke>Mediator service (one way) route> BPLE2 (one way). Also I have added transaction properties in BPEL1 and 2 + References + Services.
    Now, if there is a fault in BPEL2 the transaction should be rolled back in BPEL1 and the message should be seen in the WL queue itself. But that is not happening in my case. Everything is getting rolled back upto a point just after the >recieve activity in BPEL1 except the message is not getting rolled back to queue.There will be 2 transactions in this scenario : 1) jms queue to soa hydration store 2) soa-hydration to bpel execution.
    This is the behaviour for 1 way or async interfaces , jms adapter thread completes its transaction work after persisitng to dehydration store and another bpel system thread starts work executing the bpel code after retrieving the message off the db in a separate transaction. So the rollback you are seeing is only applicable for 2nd transaction which roll backs to the dehydration store instead of the queue.
    For synchronous interfaces, the same adapter thread will be involved for complete message processing including bpel code execution. So I think if you want to get the jms queue within the same transaction you can try set up the interfaces to be sync, even with dummy responses. This might make jms adapter thread to start a transaction --> read message off queue within the same transaction --> execute bpel code within same transaction --> complete/rollback transaction based on bpel code execution.

  • "Contains Error" in the change history of the followup activity

    Hi Experts,
    In ic webclient(CRM 5.), In the change history of one followup activity, is showing as below.
    User status entered               In Progress
    System status entered           In Process
    System Status Entered          Contains Errors
    The same change history is there if i open the activity using CRMD_ORDER in sap gui. There is no error showing in the GUI and also in Web .
    I want to know what is the meaning of the "Contains Errors " in the change history. What is the reason its displaying in the change history.
    Kindly help me in understanding the above .
    Thanks
    sudhansu
    Edited by: sudhansu m on May 2, 2010 12:59 PM

    Hi,
    You should be able to see the error message when the sytem (either in SAP GUI or Web) display the red color. However if not, you can go in SAP GUI and check for the change history and have any idea what was the trigger for the error message.
    You can go to CRMD_ORDER Transaction and go to Extras --> Change Document .

  • Change Message printout -

    Hi,
    When we change a field relevant for a change message in a purchasing document such as the delivery date,  a change message is created. If we do not printout the change message but save the purchasing doc (eg. PO) and then change the same field again, the change message still displays the data from the first change and thus does not contain the correct value of the changed field in the Old value --> New value.
    Does anyone know of a way to ensure that the change message always reflects the current values?
    Tom

    hi
    Check this out by making the Version Management Active.
    u can trace out the Changes to the External Purchasing Documents.
    Also u can define the Fields that u want to see that are subjected to a change.
    go to
    spro >mm>pur> versionmang
    Set Up Version Management for External Purchasing Documents
    In this step, you set up the version management facility for external purchasing documents.
    For a combination of purchasing organization, document category, and document type, you can:
    Activate version management
    If version management is active, changes to a purchasing document are managed in versions.
    Define field selection for versions
    You can specify the attributes certain fields of the version are to have: mandatory entry, optional entry, display only, field suppressed.
    http://help.sap.com/saphelp_srm30/helpdata/en/46/882fdd8bfc1743bd5ef8b532f94402/frameset.htm
    regards
    kunal

  • Message Handling for Personal Information application on ESS Portal

    Dear Experts,
    JAVA webdynpro applications are attached on portal for Personal Information, Whenever employee changes his personal Information like personal details, address , Family details after pressing 'SAVE' button I want to display custom message.
    I have gone through this post Personal data changes in ESS portal 
    1) Class CL_HRESS_PER_DETAIL is not triggering.
    2) BADI  HRPAD00INFTYBL is triggering on 'REVIEW' button only & it is only showing error message , I want to show successful message.
    3) BADI  HRPAD00INFTYDB  is triggering on 'SAVE' button but method  IF_EX_HRPAD00INFTYDB~UPDATE_DB don't have any message handling parameter.
        I tried with class cl_hrpa_message_list  in UPDATE_DB  method   its not showing any message.
    Please Help.
    Thanks & Regards,
    Bhushan

    Hi Yugandhar,
    If possible I want to change message as shown in screen shot, If it is not possible to change it I have to show additional success message "The Changes you made were sent for HR approval".
    Thanks & Regards,
    Bhushan

  • Change the colour of critical activity

    Dear All,
    I want to change the colour of critical activity in project planning board (Date bar text). I am not able to find the solution for that. Kindly guide me on the same.
    Regards
    Abhishek Sinha

    Hi Abhishek ,
    as far as I known, you can set, when an activity should be marked as critial, not the note colour of the bar.
    See the 'Options'  in CJ2B,  item 'Planning board', tab 'Diagram area'.
    Kind regards,
    Zhenbo

  • Error message handling in BAPI...

    Hi Guys,
    I am working on documentation of a BAPI used SAP insurance module. Now I want to see all the error messages associated/ handled in that BAPI. How can I do that ? Is there a table in data dictionary where I can see error messages handled by a given Function module/ BAPI?
    Any inputs will be highly appreciated.
    Thanks.
    Regards,
    Tushar.

    Hi,
    here´s one possible solution:
      CALL FUNCTION 'MESSAGES_INITIALIZE'.
      LOOP AT it_return_bapi.
        CALL FUNCTION 'MESSAGE_STORE'
             EXPORTING
                  arbgb          = it_return_bapi-id
                  exception_if_not_active = ' '
                  msgty                = it_return_bapi-type
                  msgv1          = it_return_bapi-message_v1
                  msgv2          = it_return_bapi-message_v2
                  msgv3          = it_return_bapi-message_v3
                  msgv4          = it_return_bapi-message_v4
                  txtnr          = it_return_bapi-number
                  zeile          = ' '
             EXCEPTIONS
                  message_type_not_valid  = 1
                  not_active              = 2
                  OTHERS                  = 3.
      ENDLOOP.
      CALL FUNCTION 'MESSAGES_STOP'
           EXCEPTIONS
                a_message = 04
                e_message = 03
                i_message = 02
                w_message = 01.
      IF NOT sy-subrc IS INITIAL.
        CALL FUNCTION 'MESSAGES_SHOW'
             EXPORTING
                  i_use_grid         = 'X'
                  i_amodal_window    = i_amodal_window
             EXCEPTIONS
                  inconsistent_range = 1
                  no_messages        = 2
                  OTHERS             = 3.
      ENDIF.
    ENDFUNCTION.
    Best regards

  • Receiver file adapter creates empty files, Empty-Message Handling SP19

    Hello,
    We have just upgraded the system to SP19.
    One of the new features is that it should be possible to determine how XI messages with an empty main payload are to be handled in the receiver file adapter.
    If the parameter Empty-Message Handling is set to 'Ignore' no file should be created if the main payload is empty. In our case an empty file (size 0 kb) is still created even though the main payload is empty and the flag is set to 'Ignore'.
    Has anybody experienced the same problem?
    //  Best regards  Hans

    This should work:
    Use your own adapter module that parses incoming message and checks if it has any record sets in the document. If it does not have any record sets, then set the message to empty and then give this modified message to File receiver.
    For example, see the example code below:
    Module imports..
    Audit log import..
    DOM imports/SAX imports..
    public ModuleData process(ModuleContext moduleContext, ModuleData inputModuleData) throws ModuleException {
              try {
                   // get the XI message from the environment
                   Message msg = (Message) inputModuleData.getPrincipalData();
                   AuditMessageKey amk = new AuditMessageKey(msg.getMessageId(),AuditDirection.INBOUND);
                   Audit.addAuditLogEntry(amk, AuditLogStatus.SUCCESS,"RemoveRootTag: Module called");
                   XMLPayload payLoad = msg.getDocument();
                   Document doc = parseXmlFile(payLoad.getInputStream());
                   if(doc != null){
                        if(!doc.getDocumentElement().hasChildNodes()){
                             Audit.addAuditLogEntry(amk, AuditLogStatus.SUCCESS, "Document is empty!!");
                             payLoad.setContent("".getBytes());
                             msg.setDocument(payLoad);
                   // provide the XI message for returning
                   inputModuleData.setPrincipalData(msg);
                   } catch (Exception e) {
                   // raise exception, when an error occurred
                   ModuleException me = new ModuleException(e);
                   throw me;
                   // return XI message
              return inputModuleData;
         private Document parseXmlFile(InputStream xmlpayload) {
              try {
                   DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                   factory.setValidating(false);
                   //        Create the builder and parse the file
                   Document doc = factory.newDocumentBuilder().parse(xmlpayload);
                   return doc;
              } catch (SAXException e) {
              } catch (ParserConfigurationException e) {
              } catch(IOException e){
              return null;

  • MESSAGE HANDLER OF CLASS  if_hrpa_message_handler IS NOT WORKING

    WE HAVE WRITTEN THIS CODE AS BELOWS INSIDE BL BADI....THE ERROR MESSAGE IS GETTTING POPULATED IN THE MESSAGE_LIST BUT DOESN'T GET DISPLAYED WHILE CHECKING AND SENDING THE FORM FROM THE FRONT END.
    THE BELOW CODE IS JUST A SAMPLE CODE IN OUT BADI METHOD THERE ARE SEVERAL VALIDATIONS ON THE FAILURE OF EACH OF THEM A ERROR MESSAGE SHOULD GET TRIGERRED FROM THE FRONT END.MESSAGE_HANDLER IS ALREADY AVAILABLE INSIDE INITIAL COMPUTATIONS SO THERE IS NO REASON TO CREATE OBJECT BADI MESSAGE HANDLER
    [[ IF sy-uname = 'PGOSH' OR SY-UNAME EQ 'CGHOSH'.
       DATA badi_message_handler   TYPE REF TO cl_hrpa_message_list.
         DATA message_handler        TYPE REF TO if_hrpa_message_handler.
         DATA is_ok   TYPE boole_d.
        CREATE OBJECT badi_message_handler.
          message_handler = badi_message_handler.
            message-msgid = 'ZHPA'.
            message-msgty = 'E'.
           message-msgno = '010'.
           message-msgv1 = c_none_plans. "'Invalid Plan'(z09).
             CALL METHOD message_handler->add_message
                EXPORTING
                  message = message
                  cause   = space . "message_handler->ERROR . "infotype_specific . "unknown.
                  is_ok = 'X' ."space.
             badi_message_handler->add_messages( message_handler ).
             RAISE error_with_message.
      ENDIF.]]
    PLS PROVIDE YOUR INPUTS REGATRDING THE REASION WHY THE CODE IS NOT GETTING TRIGERRED.
    Edited by: PRIYANKUSH GHOSH on Jun 18, 2010 4:01 PM

    Moderator message - Welcome to SCN.
    Please do not use all caos in your posts. It makes it hard to read..
    Also, Please read Please read "The Forum Rules of Engagement" before posting!  HOT NEWS!! and How to post code in SCN, and some things NOT to do... and [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers] before posting again.
    Rob

  • I get a message when trying to activation imessage says check network connection

    When I try to log on to imessage I get a message that says  Imessage activation  could not sign in. Please check your network connection and try again.
    My network setting are the same for my iphone as well as my ipod touch and I am able to log on on the iphone but not on the ipod. I recently did a restore from backup and that is when the problem started. Can somebody please tell me how to enable this app.

    C:\Users\<user>\AppData\Local\Mozilla\Firefox\Profiles\xuab2q88.default is the location of the cache folder for your default profile. If the updates folder isn't there then it looks that Firefox hasn't downloaded an update.
    You can download the full version from http://www.mozilla.com/firefox/all.html
    Delete the Firefox program folder: C:\Program Files\Mozilla Firefox
    That will remove all Firefox program files in case some are locked or protected by security software.<br />
    That should allow you to install a full version of Firefox 3.6.10
    Your Firefox profile data is stored elsewhere and won't be affected.

Maybe you are looking for

  • Radio Group read-only bug?

    I appologize if this has already been posted - I couldn't find it in a search. It seems that when a radio group is set to read-only, the input elements have an empty name attribute. This causes all but the last radio group to have no checked value. I

  • Nano star RATINGS not reflected in iTunes 7.4.1 (2) - manual sync

    Aloha, I rated several tunes while walking. I don't have enough room on my 4gb iPod to carry everything at once. I would like to temporarily remove those tunes that I have already rated and put some others on. I use the star ratings as my own persona

  • Podcast Export. Garageband 3.0.2. OS X 10.3.9

    This topic has been passed around a few times here. But I just want to add my experience. On the box for iLife 6 it clearly says that system requirements for iLife 6 to work are OS 10.3.9 or 10.4.4 or higher. Well it doesn't work properly under 10.3.

  • 3 g iphone rthat did not connect with bmw bluetooth in 3.1.2 and also 3.1.3

    hi there can you please tell me why my iphone has stooped working with my bmw bluetooth? I have a 3g model and it was updated today to 3.1.3... and i was hoping that any bugs would have been resolved from version 3.1.2... which has not allowed me to

  • How to put configurable material in finished stock???

    Hi How to put configurable material in finished stock?? wt is transaction code??or is there  any different process for that?????????//