Display popup message on SRM portal

Hi,
I need to display a popup message on the SRM portal while doing a PO confirmation. Can you please guide me how to do it?
Do I need to modify the templates or can it be done using a BADI?
Thanks in advance.

Hi,
Try using CHANGE badi.
See these related threads also for more pointers:
Error in pop up (dialog box)
Customized Pop-up window in Shopping Cart
POPUP window in shopping cart during Order
BR,
Disha.

Similar Messages

  • How to display Popup message in ABAP Web Dynpro

    Hi All,
    Is it possible to display popup messages like SAP to collect information from the user? is it possible to display information messages like SAP? If possible, Please let me know how to handle in Web Dynpro.
    Thanks & Regards,
    IA Kumar.

    Agree with the two firend on my head :).
    you can find a demo from:   SWDP_TEST(package)-->   WDR_TEST_POPUPS also.
    I have a lazy idea, two step:
    1. create a popup function module;
    2.call the function module;
    function module:--Begin--
    FUNCTION ZFUNM_CONFIRM .
    ""Local interface:
    *"  IMPORTING
    *"     REFERENCE(P_API) TYPE REF TO  IF_WD_VIEW_CONTROLLER
    *"     REFERENCE(P_CMP_API) TYPE REF TO  IF_WD_COMPONENT
      DATA:
        L_WINDOW_MANAGER      TYPE REF TO IF_WD_WINDOW_MANAGER,
        L_CMP_API             TYPE REF TO IF_WD_COMPONENT,
        L_API_MAIN            TYPE REF TO IF_WD_VIEW_CONTROLLER,
        L_POPUP               TYPE REF TO IF_WD_WINDOW,
        L_TEXT                TYPE STRING_TABLE.
       wd_this               type ref to IF_MAIN,
       wd_comp_controller    TYPE REF TO IG_COMPONENTCONTROLLER.
       l_api_main = wd_this->wd_get_api( ).
    l_cmp_api = wd_comp_controller->wd_get_api( ).
      L_WINDOW_MANAGER = P_CMP_API->GET_WINDOW_MANAGER( ).
      APPEND 'POPUP text' TO L_TEXT.
      L_POPUP = L_WINDOW_MANAGER->CREATE_POPUP_TO_CONFIRM(
                  TEXT                   =  L_TEXT
                  BUTTON_KIND            = 4
                  MESSAGE_TYPE           = 1
                  CLOSE_BUTTON           = ''
                  WINDOW_TITLE           = 'messagebox Title'
                 WINDOW_LEFT_POSITION   = L_CONF_CONTEXT-WINDOW_LEFT_POSITION
                 WINDOW_TOP_POSITION    = L_CONF_CONTEXT-WINDOW_TOP_POSITION
                 WINDOW_POSITION        = L_CONF_CONTEXT-WINDOW_POSITION
                 WINDOW_WIDTH           = L_CONF_CONTEXT-WINDOW_WIDTH
                 WINDOW_HEIGHT          = L_CONF_CONTEXT-WINDOW_HEIGHT
      L_POPUP->SUBSCRIBE_TO_BUTTON_EVENT(
              BUTTON             = IF_WD_WINDOW=>CO_BUTTON_YES
              ACTION_NAME        = 'YES'
              ACTION_VIEW        = P_API
              IS_DEFAULT_BUTTON  = ABAP_TRUE ).
      L_POPUP->SUBSCRIBE_TO_BUTTON_EVENT(
              BUTTON             = IF_WD_WINDOW=>CO_BUTTON_NO
              ACTION_NAME        = 'NO'
              ACTION_VIEW        = P_API
              IS_DEFAULT_BUTTON  = ABAP_FALSE ).
      L_POPUP->OPEN( ).
    ENDFUNCTION.
    function module:--End--
    call the function module  Begin----
    METHOD ONACTIONDELETE .
      DATA:
        L_API                               TYPE REF TO IF_WD_VIEW_CONTROLLER,
        L_CMP_API                           TYPE REF TO IF_WD_COMPONENT,
        NODE_ZTAB_PROJ                      TYPE REF TO IF_WD_CONTEXT_NODE,
        ELEM_ZTAB_PROJ                      TYPE REF TO IF_WD_CONTEXT_ELEMENT,
        STRU_ZTAB_PROJ                      TYPE IF_ZV_PROJ_DISPLAY=>ELEMENT_ZTAB_PROJ,
        SELECTED_ELEM                       TYPE  WDR_CONTEXT_ELEMENT_SET .
      navigate from <CONTEXT> to <ZTAB_PROJ> via lead selection
      L_API = WD_THIS->WD_GET_API( ).
      L_CMP_API = WD_COMP_CONTROLLER->WD_GET_API( ).
      CALL FUNCTION 'ZFUNM_CONFIRM'
        EXPORTING
          P_API     = L_API
          P_CMP_API = L_CMP_API.
      IF WD_THIS->A_DEL = ''.
        EXIT.
      ENDIF.
      NODE_ZTAB_PROJ = WD_CONTEXT->GET_CHILD_NODE( NAME = IF_ZV_PROJ_DISPLAY=>WDCTX_ZTAB_PROJ ).
      IF ( NODE_ZTAB_PROJ IS INITIAL ).
        EXIT.
      ENDIF.
      ELEM_ZTAB_PROJ = NODE_ZTAB_PROJ->GET_LEAD_SELECTION( ).
      ELEM_ZTAB_PROJ->GET_STATIC_ATTRIBUTES(
        IMPORTING
          STATIC_ATTRIBUTES = STRU_ZTAB_PROJ ).
      DELETE FROM ZTAB_PROJ
      WHERE COMCODE = STRU_ZTAB_PROJ-COMCODE
        AND PROJID  = STRU_ZTAB_PROJ-PROJID.
      WD_THIS->ONACTIONSELECT(
        WDEVENT = WDEVENT                        " Ref to cl_Wd_Custom_Event
    LOOP AT selected_elem .
    ENDLOOP.
      ELEM_ZTAB_PROJ
      @TODO handle not set lead selection
      alternative access  via index
      Elem_Ztab_Proj = Node_Ztab_Proj->get_Element( Index = 1 ).
      @TODO handle non existant child
      if ( Elem_Ztab_Proj is initial ).
      endif.
      get all declared attributes
    ELEM_ZTAB_PROJ->GET_STATIC_ATTRIBUTES(
       IMPORTING
         STATIC_ATTRIBUTES = STRU_ZTAB_PROJ ).
    ENDMETHOD.
    call the function module  End----

  • Message on SRM portal

    Hi ..
    When i am trying to modify employee data on SRM portal, i am getting this message
    "Resource is currently being used by another user" . Pls try later.
    i am trying to bind an employee to a purchase organisation.
    Please let me know how go to about resolving this .thx

    yes it is assigned to another partner. how can i remove it.
    i'll give you the whole scenario:
    In PPOMA_BBP, i moved a user from an organisational unit to another one manually.
    2) while creating a shopping cart with this user, i get the following errors:
    i) No data found for partner '000000134', inform system admin
    ii) No address found....
    iii) Fill in the supplier.
    I launched the transaction BP to find the cause. i found out that my partner is still related to the old organisational unit. You have the Relations button on the top right in the transaction BP which shows this.
    I tried to modify the relationship in the SRM portal by Modifying partner data to the new organisational unit but i get the message 'resource is being used.....'
    i have also run a report to delete the relation with the old purchase org: BUPRELDI

  • Displaying error message on XRPM Portal on changing the status of  Project

    Hi All,
    I want to display an error message on the Portal when user tries to change the status of the Project from 'CREATED' to 'RELEASE' and clicks on SAVE.
    I have checked the following BADI's but i am not able to retrieve the newly selected status.
    DPR_ATTRIBUTES -> Methods 1) CHECK 2) CHANGE_CHECK
    RPM_PROJ_CUST_FIELDS
    Any help will be highly appreciated!
    Thanks.
    Runal.

    Hi Runal,
    I think, the reason is that the status is not attribute of the project, rather a linked object. That is why the Badi method is not get called.
    Please check with the Badi DRP_EVENTS, this Badi is typically called, if the status of object is changed.
    Kind regards,
    Zhenbo

  • 5800 Keeps Displaying Popup "Message: number"

    Hi,
    I've had a 5800 for nearly a year now, and love it. However, for the past 2 days, its been doing something weird, and I'm not sure why. Randomly, and for no reason at all, it will get a popup message on the screen which says 'Message: 0771xxxxx' (my mobile number). Anyone know why? I've not asked it to display, or request my number from Vodafone or anything, this just randomly pops up!
    Any suggestions on how to stop this?
    Cheers
    Ben

    does ure country have something like .. STOP or STOP ALL and send to a specific gateway? .. if so, try tat, u can disable any notification msgs from ure telco.
    I'm an Xploit - Please feel free to post your issues, feedbacks in this discussion forum and I'll do my level best to help, otherwise my knowledged friends whom are around willing to help you. Thank you !

  • Problem while displaying popup message while using inputfile component

    Hi
    I am using JDEV 11.1.1.2.0, using ADF i developed and application
    in my page i have a input file component, from which i am taking a csv file and reading it through valuechangeevent of inputfile component. I have used myfaces.trinidad-UploadedFile to get the selected file and read it using inputstream.
    I have put some validation check (validation check is done while reading the file using valuechangeevent of the inputfile component), while reading the file and incase i receive any error (validation mismatch), the reading of file stops ... and before doing that i used to display error message using below method:-
    public String ValidationCheck(String attrname, String attrvalue, int rownumber) {
    String msg="Validation error found in "+attrname+" with value "+attrvalue+" of row "+rownumber+" in the file. Please correct the file and retry/";
    FacesContext ctx = getFacesContext();
    FacesMessage fm = new FacesMessage(FacesMessage.SEVERITY_ERROR, msg, "");
    ctx.addMessage(null,fm);
    return null;
    i have used the same method to display message in other places where its showing correctly but fails in inputfile component.
    Please help me out how can display messages from inputfile component??
    Thanks
    Sudeep
    Edited by: SKD on Feb 21, 2012 12:02 PM
    Edited by: SKD on Feb 21, 2012 4:08 PM
    Edited by: SKD on Feb 21, 2012 4:11 PM

    It works fine for me (albeit on 11.1.2.1). Here is my complete test case:
    FileUploadTest.jspx:
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <af:document title="FileUploadTest.jsf" id="d1">
        <af:form id="f1" usesUpload="true">
          <af:inputFile label="Label 1" id="if1" valueChangeListener="#{TestBean.vcl}"/>
          <af:commandButton text="commandButton 1" id="cb1"/>
        </af:form>
        <af:messages id="m1"/>
      </af:document>
    </f:view>TestBean.java:
    package view;
    import javax.faces.application.FacesMessage;
    import javax.faces.context.FacesContext;
    import javax.faces.event.ValueChangeEvent;
    import oracle.adf.share.logging.ADFLogger;
    public class TestBean
      private static final ADFLogger _LOG = ADFLogger.createADFLogger("view.TestBean");
      public TestBean()
      public void vcl(ValueChangeEvent valueChangeEvent)
        _LOG.severe("in the value change event");
        FacesContext ctx = FacesContext.getCurrentInstance();
        FacesMessage fm = new FacesMessage(FacesMessage.SEVERITY_ERROR, "This is a message", "Message");
        ctx.addMessage(null, fm);
    }adfc-config.xml:
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <managed-bean id="__1">
        <managed-bean-name>TestBean</managed-bean-name>
        <managed-bean-class>view.TestBean</managed-bean-class>
        <managed-bean-scope>request</managed-bean-scope>
      </managed-bean>
    </adfc-config>John

  • Display popup messages

    hi,
    i am using adf11g,jdeveloper 11g.in form i drag and drop one vo.
    in that form,for one attribute which is used as LOV,i have written valuechangelistener method.
    in that method i wrote some code for validaiton.when validaiton occur i am able to show popup messages regarding particular error.
    when any validaiton occur,popup message is coming,but my data is partially submitting to form after showing that error message.
    it should not submitted to form in case of any error.
    please give me the solution.
    IN JSFF page
    <af:panelFormLayout id="pfl8" fieldWidth="100" labelWidth="150"
    binding="#{GLPolicyBean.bindFormEvent}">
    <af:inputListOfValues id="GlstpAcDesc"
    popupTitle="Search and Select: #{bindings.GlstpAcDesc.hints.label}"
    value="#{bindings.GlstpAcDesc.inputValue}"
    label="#{bindings.GlstpAcDesc.hints.label}"
    model="#{bindings.GlstpAcDesc.listOfValuesModel}"
    required="#{bindings.GlstpAcDesc.hints.mandatory}"
    columns="#{bindings.GlstpAcDesc.hints.displayWidth}"
    shortDesc="#{bindings.GlstpAcDesc.hints.tooltip}"
    autoSubmit="true"
    partialTriggers="GlstpGlCode"
    valueChangeListener="#{GLPolicyBean.glACDescChanged}">
    <f:validator binding="#{bindings.GlstpAcDesc.validator}"/>
    </af:inputListOfValues>
    </af:panelFormLayout>
    in glpolicybean.java
    public void glACDescChanged(ValueChangeEvent valueChangeEvent) throws TransactionException{
    // Add event code here...
    System.out.println("account desc new value----------->"+valueChangeEvent.getNewValue().toString());
    String accDesc=valueChangeEvent.getNewValue().toString();
    System.out.println("account description1----------->"+accDesc);
    System.out.println("account desc old value----------->"+valueChangeEvent.getOldValue());
    ADFUtils.setBoundAttributeValue("GlstpGlSubcd", "");
    XBSystemMastersServiceImpl systemImpl=(XBSystemMastersServiceImpl)ADFUtils.getDCBindingContainer().getDataControl().getDataProvider();
    ViewObjectImpl glPolicyAddVO=systemImpl.getGLPolicyAddVO1();
    try {
    for (Row row : glPolicyAddVO.getAllRowsInRange()) {
    String accDesc1 = (String)row.getAttribute("GlstpAcDesc");
    System.out.println("account description1----------->"+accDesc1);
    if (accDesc.equals(accDesc1)) {
    throw new TransactionException("A/C Desc already entered for this setup");
    }catch (TransactionException e) {
    JsfUtils.addContextMessage(JsfUtils.getStringFromBundle("A/C Desc already entered for this setup"),FacesMessage.SEVERITY_WARN); }
    thanks in advance,
    Edited by: sravanthi on Dec 14, 2011 6:12 AM

    Hi,
    Try using validator.
    See
    http://docs.oracle.com/cd/E17904_01/apirefs.1111/e12419/tagdoc/af_inputListOfValues.html

  • How to issue an error message in SRM portal?

    Subject...
    I've tried using FM BBP_PD_MSG_ADD in BADI implementation BBP_DOC_CHANGE_BADI but it's not working. There's always an exception LOG_NOT_FOUND.
    Please advise.

    Hi,
      Any error generated from SRM will be visible in Portal view. No additional configurations or developments are required for that purpose.
    In order for messages to generate, you will ve to use BBP_DOC_CHECK_BADI.
    DOC Change BADI is meant for changing the SRM application documents based on customer's own criteria.
    Regards
    Virender Singh

  • Display Popup/message when refresh/close browser window

    Hi all,
    In normal ABAP programing when we exit from any transaction, a popup display with text "Are you sure to exit". I have some doubt to get this functionality in WDA.
    I am calling a popup in WDDOEXIT method of the Comp controller and when I do refresh/close the application, this method will triggered, but it does not opens a popup as the application relaod.
    Is there any way to get this functionality?
    I have also checked the thread [ABAP WebDynPro Refresh (F5) issue|ABAP WebDynPro Refresh (F5) issue;.

    >
    SANKET SETHI wrote:
    > Thanks for the reply. I have already checked this help page. Is there something in WDA iteself?
    Short answer - no.  Only the work proctect functionaltiy that can be used in the portal or the NetWeaver Business Client.  By the time WDDOEXIT fires, it is too late to produce any rendering output or stop the browser from closing.

  • How to display popup messages in webdynpro

    Hi all,
                I have an application which has continue button.if the userclicks on this button a pop has to come with the msg as "Do u want to continue" ..followed by Yes and No....
    how to show popup msgs in my webdynpro application
    Regards
    Padma N

    Hi! padma,
      please go through the following tutorial, you will get a good idea..
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#23">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#23</a>
    you need to create an object of IWDConfirmationDialog and also the eventHandle.
    regards,
    Mithileshwar Sahu

  • Error Message Displaying the status Bar not like popup message

    Hi all,
    My Requirement is while creating  invoice if pricing conditons is repeted , system should thorough the error message like (uplicate Condition Types Are Not Possible  in the status Bar but Im getting poup Error message So I want to display the same message in the status Bar.
    Please Help me any one.
    Regards,
    Prathap

    I dont want to Display the popup, I want to Display in Status Bar as a Error Message.
    Like this .
    If I put  message type 'E' its Displaying popup message , MESSAGE ' Duplicate Condition Types Are Not Possible.' TYPE 'E'.
    If I Put messge type 'I' its Displaying in Status Bar .
    Regards,
    Prathap
    Edited by: giri prathap on Sep 13, 2011 12:35 PM

  • RZ20 error message to be displayed on SRM Portal

    Hello Gurus,
         Can you someone provide me the idea of , how to display the error message of RZ20 on SRM Portal. We want to display the error message BP603 PO *** Item 001 Order **** budget exceeded.
    I want this message to be displayed on the SRM portal . Basically I want to do the validation for both SC as well as PO. I checked the DOC_CHECK_BADI and its already Z implemented . Please do find the attached screenshot.
    Thanks
    Gaurav

    Hi Gautham,
    If you can replicate the issue, please put an external break point in the following functiona module.
    FM: BBP_PD_MSG_ADD
    Line in FM: IF <bypass_log> IS ASSIGNED.
    This FM would be triggered for all the errors which are populated in SRM.
    When the break-point is triggered look for values in the fields: I_MSGID, I_MSGNO and I_MSGV*.
    In this way you can identify the message application and number after which we can backtrack the code which is doing this budget check in the transaction SE91 and same logic can be implemented in BBP_DOC_CHECK_BADI to display the error in a purchasing document.
    Let me know your findings.
    Regads,
    Raghu.

  • Display error message in portal

    Hi,
    I am working on SRM Netweaver portal. Can you please tell me how to display an error message in the portal. I tried using the function module BBP_PD_MSG_ADD. But it fails as it is not able to find the log.
    Thanks,
    Hema.

    Hi Rajani,
    Yes. Its std. I want the code to be written in the BADI BBP_WF_LIST. If the search does not provide any result, I want the standard message to be overwritten with a custom msg.
    Thanks,
    Hema.

  • How to add Popup message as soon as user logins to portal system?

    Hi,
    I want to display a popup message as soon as user logs on to the portal system.
    Regards,
    Anagha

    Anagha Bhat wrote:
    what do you mean by  "iView with the popup as the entry point" ?
    I think this means, iView's 'Launch in new window' property should be accordingly set..

  • SRM Portal Reports display problem

    Hi,
    Our SRM & Portal integration is working fine. But when we try to display resports like (login with an organizational purchaser or strategic purchaser) Purchasing --> Reports --> Overview of Approvals
    Absolutely nothing happens. No error, no log, no message.
    It seems like the GUI is not working.
    Du you have any ideas ?

    What is the SRM version? Any other system details would be helpful to answer the query.
    Thanks,
    -Devi Swain

Maybe you are looking for

  • How start XA log in Oracle Server 8.1.7

    I'd like to activate Oracle Server XA log while using Oracle 8.1.7 oci driver for connecting to a 8.1.7 Server. The JDBC log is already active. Oracle Documentation states that you must add in the openinfo string of the TM de following info: DbgFl=15

  • More DECIMAL places for MM price-Not Global

    I have read the <u>many</u> postings on decimals. However, I have not seen the exact scenario I'm inquiring about. I want to increase the decimal places from 2 to 4 for the cost of materials we purchase (i.e. supplier price), but I do NOT want to set

  • Blocking Plant for Specific Materials

    HI, Consider i have 10 materials which are extended to Plant 1 and Plant 2 and Sales Org1 and Sales Org2. I want to restrict those materials for Plant1 i.e. when you try to create order in VA01 by that material and Plant1 it shall throw an error. The

  • First sync with desktop manager for mac: only 300 contacts synced instead of the 1100

    I have a Curve 8310. version 4  I have a brand new mac with NO CONTACTS or calendar.  I have preciously very successfully synced with my windows computer for 2 years. I have just tried for the first time to sync with desktop manager,.only 315 contact

  • FRM-92101 when scrolling through a data block on a form

    Folks, We recently converted a Forms 6i application to Forms 10g (re-compiled, little changes were requested). Running against an Oracle 10g database (10.1.2.3) on a Solaris server. When users scroll through the data block on a canavas after about 2