How to display popup, if we click on Create Confirmation icon

Hi Friends,
Can any one help me
I have requirement. In "Confirm Goods Receipt/Services Performed" Screen all the purchase Orders are listed out. and we can see the create confirmation icon at the end of each line of purchase order. If we click on that icon to create confirmation for that PO, it should check whether that PO exists in z-table or not. If it exists, it should give popup like "This PO cannot be confirmed manually".
can anybody help me regarding this

Hi
Which SRM version are you using ?
Till the time your Functional Person suggests any other alternative, Please try this approach ->
Use BBP_PD_SC_GETDETAIL -> to get the Shopping cart data - SC number,  SC GUID, POrg ID and Vendor(Supplier Number)
Use BBP_PO_GET_DETAIL -> to get the Local SRM Purchase Order details, PO Number, PO GUID, POrg ID and Vendor(Supplier Number)
Try to use BBP_ITEM_CHECK_BADI / BBP_DOC_CHECK_BADI -> incase the POrg ID and Supplier number does not match with the Z-table entry.
BBP_WFL_LIST_BADI also might help.
Regards
- Atul

Similar Messages

  • Press Alt to popup Menu Toolbar, Click on a Custom Icon and the item does not come up AND the Tool Bar closes

    Options-->Menu Bar is Unchecked(off) (so, TABS are at the top of the screen):
    Press Alt to popup Menu Bar, Click on a Custom Icon and the item clicked on does not come up -and- the Menu Bar closes.
    So, Alt->Popup Menu Bar->Click a Custom Icon does not function properly.
    see Troubleshooting Info below-->

    First off if you have Firefox4 you probably also have an earlier version such as firefox 3.6.15 installed. By default firefox installs these in slightly different locations, but it leaves it up to you to create a separate profile for each version. The profile is where firefox stores data and settings. I am not sure that firefox explains this clearly, but you will run into problems if you do not have a separate profile for each version of firefox. See http://kb.mozillazine.org/Testing_pre-release_versions
    To try to get the toolbars working correctly, after you have ensured you have separate profiles in use for each version ( the following action will make changes)
    # use the restore default set from the customise / customize toolbars dialogue
    # if that does not work then
    #* use [safe mode] and the option [X] reset toolbars and controls

  • Nothing happen when clicking button create confirmation

    Dear SAP gurus,
    Our company is using SRM server 5.5 with SP08. During the development, I found something strange. When I use "Confirm centrally" i search for a PO and i can find it. And as I understand to create confirmation, I just need to click button "Create Confirmation". However when I do this nothing happen.
    Then curiously, I use id for the actual Goods Recipient for this PO. And using menu "confirm" i able to find the PO. But still, when I click "Create Confirmation" nothing happen as well.
    Can you advice me where to look to solve this issue?
    Best regards,
    Yosea

    Hi
    <b>Please go through the following pointers, which will definitely help.</b>
    Confirmation
    confirmation creation
    Re: Unable to find PO to do confirmation!!!
    Error while creating confirmation
    CONFIRMATION PROBLEM
    Re: SRM - Delete confirmation
    Return delivery error while displaying the confirmation in EBP
    Re: GR/PO Confirmation Workflow
    Re: Confirmation screen field to be mapped to backend field
    Regards
    - Atul

  • How to display a seperate right click menu for each item of a tree control?

    Hi I want to display a specific right click menu when a particular tree item is selected. I know how to create a menu and how to display it. I am using the function GetLabelFromIndex() to get the active tree item and then compare the label and based on the result display a manu for that item. Now my problem is that when I use the above function in the EVENT_RIGHT_CLICK it gives me the error "the Index passed is out of range" while using the same function with the same arguments in EVENT_SELECTION_CHANGE it gives no error...below is the part of my code
    case EVENT_RIGHT_CLICK:
    GetLabelFromIndex(panelHandle, PANEL_TREE, eventData2, label1);
    //The function gives the stated error here
    if(eventData1)//after it I compare the result and display the menu
    case EVENT_SELECTION_CHANGE:
    GetLabelFromIndex (panelHandle, PANEL_TREE, eventData2, label1);
    //The function works fine here
    if (eventData1)
     If any one have any idea whats going on or alternate way of doing this Please share knowledge...Thanks
    If you are young work to Learn, not to earn.

    Hi,
    one possible approach of solving this problem is looking closer at the error message: The error "the Index passed is out of range" tells you that something is wrong with the index, either it is too small or too large So why don't you set a breakpoint and check the index value, it might be useful information...
    The other hint is to check the meaning of eventdata2 (using the help): It is different for different events! For the event_right_click it gives the horizontal mouse position, not the index as event_selection_change does...

  • 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&#65288;package&#65289;-->   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----

  • How to place popup menu on clicking a Component

    Hi everybody.
    I have a swing application where I have JFrame and so many components in that. I want to open Popup menu on clicking a button. The menu should have three menu items into that. It looks very simple but I am not sure how should I do that.
    If possible, try to explain it with small piece of code.
    Thanks in advance.

    yourJbutton.addMouseListener(new MouseAdapter() { //Listen for mouse events
      public void mousePressed(MouseEvent e) {
        if (SwingUtilities.isRightMouseButton(e) == true && e.isMetaDown() == true) {
          JPopupMenu popup = new JPopupMenu();
          JMenuItem mItem = new JMenuItem("Something");
          mItem.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
              // do your thing
          popup.add(mItem);
          popup.addSeparator();
          mItem = new JMenuItem("Close Popup");
          mItem.addActionListener(new ActionListener() {public void actionPerformed(ActionEvent e) {}});
          popup.add(mItem);
          popup.show(e.getComponent(), e.getX(), e.getY());
    });

  • How to Display a Calender upon clicking the dropdown list inside a table co

    Hi,
    I have a Listbox inside my table control and I need to Display a Calender upon clicking the dropdown list.
    Can any body help.
    Srinivas

    Hi,
    Try this:
    On your customizing screen,
    PROCESS ON VALUE-REQUEST.          
        Field T_ZT-SDATE
          module create_dateselect.
    In your main program:
    module create_dateselect.
    data:p_date like sy-datum.
    CALL FUNCTION 'F4_DATE'
       EXPORTING
         holiday_calendar_id = 'CN'                   
         display = ' '
       IMPORTING
         select_date = p_date
       EXCEPTIONS
         OTHERS = 4.
    t_zt-sdate = p_date.
    endmodule.
    Regards,
    Pole

  • 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

  • How to display a window in clicking a button in abap web dynpro(popup wind)

    Hi i am using a button 'click'  in view1 ,
    if i click the button then a new window should be popup.

    Hi
    You ca use this function to Create a new window..
      CALL METHOD wd_window->create_window
          EXPORTING
            modal             = abap_true
            window_name       = 'MMPUR_CPPR_RFQ_WDW'
            title             = lv_otr_text
            close_button      = abap_true
            button_kind       = 3
            close_in_any_case = abap_true
          RECEIVING
            window            = wd_comp_controller->window.
        wd_comp_controller->window->open( ).
    here you acn impliment buttons, if you want to subcribe window button please use this window subcribe method.
        CALL METHOD wd_comp_controller->window->subscribe_to_button_event
          EXPORTING
            button            = if_wd_window=>co_button_ok
            action_name       = 'RFQ_WT_VENDOR'
            action_view       = l_api
            is_default_button = abap_false
            button_text       = lv_otr_text
            tooltip           = lv_otr_text.
        wd_comp_controller->window->open( ).
    Please let me know if you have any issue. Please reword if its solve your problem.
    Regards
    Satrajit

  • How to display popup at the web interface side while checking a sh cart

    Hi Experts,
    I have a requirement to get the popup while checking the shopping cart..
    I have implemented the badi BBP_DOC_CHECK_BADI..(Classic scenario)
    In this badi , i am using one RFC FM to check the item details availability in the backend..I am getting the desired functionality. But I have a specific requirement to show popup when the items in the shopping cart are not available in the inventory that is maintained the backend R/3 system..
    Can you please advise me how to write a popup in the web interface when stock is not available for a perticular item? Any HTML code available for the same?
    Please advise me?
    2) How to change status of an shopping cart item or else need to display some customized information for the item like 'This Item is in back order status '.
        The above situation arises when we are trying to check a shopping cart item status after ordering the shopping cart.
    thank you!!

    Hi Ravindranath,
    Try to add a standard message like:
    message e100(ZBBP_SC) into lf_dummy.
    clear ls_message.
    ls_message-msgty       = sy-msgty.
            ls_message-msgid         = sy-msgid.
            ls_message-msgno     = sy-msgno.
            shift ls_message-msgv1 left deleting leading '0'.
            select single text from t100 into ls_message-message
                                        where sprsl = sy-langu
                                          and arbgb = sy-msgid
                                          and msgnr = sy-msgno.
            append ls_message to et_messages.
    Regards,
    Marcin Gajewski

  • HELP! how to display an image when clicking on JLabel?

    hi. new to the forums. anyway, i need help in displaying an image.
    what i'm trying to do is when clicking on a JLabel using mouseClicked, an image will show and when the image is clicked it will disappear. i've searched and searched and have not found anything useful. thanks...

    thanks.
    searched on the setIcon, didn't find anything. btw, i know how to set the icon on the JLabel. i'm trying to figure out how i can get it that when i click on the JLabel by using the mouseClicked (or maybe even mousePressed) listener, the image pops up and when i click on the image, it closes or disappears.
    btw, i'm using the netBeans GUI builder for this. thanks again.

  • How to display images for right click menu items

    I am trying to display some image to the left of my right click menu items.I have searched the help but did't find anything wich can add an image to the menu items. If anyone knows how to do it, Please share 
    Thank to all.
    If you are young work to Learn, not to earn.

    Hi Mr,
    you should have searched the topic 'Programming with Menu Bars'
    Use the ATTR_SHOW_IMAGES attribute to add a column in the menu in which images can be placed. Then use the ATTR_ITEM_BITMAP attribute to specify an image to use for a submenu or menu item

  • How to display a table after clicking on a chart in ssrs?

    Hi all experts,
    I need to display a table control after clicking on a chart. 
    I was looking for the visibility property of the table which can be set based upon click on the bar chart.
    Please respond asap...

    Hi Manisha,
    If I understand correctly, you want to control the table visibility through clicking the chart. In this case, please refer to the detailed steps below:
    1. Create the parameter named Control, check the Boolean option in the drop-down list of the Data Type, and select Hidden in the parameter visibility tab.
    2. Specify the default value of the parameter to True.
    3. Click the series in the chart and select “Action” in the Properties pane and click the ellipsis as follows:
    4. Select the “Go to report” tab, and select the self-report in the “Specify a report” tab.
    5. Pass the parameter as bellows:
      Name:Control  Vaule:false
    6. Right click the table control, select Tablix Properties and select the Visiblity property.
    7. Select the tab of Show or hide based on an expression, and add the expression below:
    =iif(Parameters!Control.Value=true,true,false)
    If you need more assistance, please feel free to let me know.
    Regards,
    Heidi Duan

  • How to display jpeg until user click play?

    I am new to Flash 8 and am trying to get up to speed. I have
    a flash video (inside a swf) on a website that displays a blank
    screen until the view presses play. Instead of the blan screen, how
    could I display a jpeg on the screen (via URL) until the user
    presses play, at which point the jpeg dissappears and the movie
    starts.
    I would appreciate anyone who could point me to an example of
    how to do this. Thanks!

    I am new to Flash 8 and am trying to get up to speed. I have
    a flash video (inside a swf) on a website that displays a blank
    screen until the view presses play. Instead of the blan screen, how
    could I display a jpeg on the screen (via URL) until the user
    presses play, at which point the jpeg dissappears and the movie
    starts.
    I would appreciate anyone who could point me to an example of
    how to do this. Thanks!

  • How to display image when we click the mouse.

    Hi i am new java programming . And i need your help to slove my problem.
    I am asked to write a program which displays 2 images in a window.And when i click any one them ,that image should be displayed in a new window in full screen.Any kind of help is appreciated.Thanks in advance.

    We'd be glad to help, but first our prerequisites are that you post your current code and ask a very specific question concerning this code. These questions are answerable while "And i need your help to slove my problem." aren't. They're too overly broad to pin down.
    Much luck!

Maybe you are looking for

  • Function and Procedure

    Hi Friends, My Question is : At what time we will use function and Procedure.? How i can prefer it? Regards, Anu

  • Can OUT parameters be used in 10g's PL/SQL

    Hi: Are OUT parameters supported in the PL/SQL version that comes with 10g (Forms and Database)? Thanks for your help, Thomas

  • Verizon 411 Business Listing: White or Yellow pages?

    Hi- This is first post and I hope I can get some help. I have started a new emergncey business and I want to get on the Verizon 411 National Database. Almost all of my calls would be first time customers because it is emergncy calls and people would

  • DW CS3 site cache problem

    I upgraded to CS3 with no problems except I now find that if I attempt to delete a word of pdf file that I know is linked to an htm page, DW no longer gives me a warning message. This means that If I do a sync. any updated word or pdf files do not ge

  • Color Format in calssical Report

    hi experts, I want in tne output of the report suppose first record(whole row, not only the characters) will b displayed in one particular color second row in some other color and like wise alternate roes have same color in classical report. Ravi