Can't get Z_EASYDMS_SHOWPOPUP to work

Hi all,
I'm working with a customer that uses EasyDMS. When changing s document to a certain status they would like a popup window to confirm this change.
The badi DOCUMENT_MAIN01 is allready implemented and so is the function module Z_EASYDMS_SHOWPOPUP. In the implemenation of DOCUMENT_MAIN01~BEFORE_SAVE the popup is used when creating a new document (when CV01 is called) and is working fine there. But I can't get the popup to work when changing document status (when CV02 is called). It then causes EasyDMS to quit responding.
There is also a function module Z_EASYDMS_INPUTFIELDS that can be used to give the user possibility to enter texts. If I use this one when changing status but without requesting any return values (no tables) it is working the way I want. Problem is that the popup window given by this function module is not as "good-looking"
So this code below is working...
IF  draw-dokst EQ 'SP' AND ( tcode EQ 'CV02' OR tcode EQ 'CV02N' ) AND api_flag EQ 'X' AND sy-title(4) EQ 'CPIC'.
   CALL FUNCTION 'Z_EASYDMS_INPUTFIELDS'
             DESTINATION 'BACK'
             EXPORTING
               wnd_title = lv_title
               wnd_text  = lv_wnd_text
             IMPORTING
               RESULT    = lv_res.
*             TABLES
*               values    = lt_values.
But this is not
IF  draw-dokst EQ 'SP' AND ( tcode EQ 'CV02' OR tcode EQ 'CV02N' ) AND api_flag EQ 'X' AND sy-title(4) EQ 'CPIC'.
        CALL FUNCTION 'Z_EASYDMS_SHOWPOPUP'
          destination 'BACK'
          EXPORTING
            title      = lv_mess_title
            MESSAGE    = lv_mess
            msgboxtype = lv_msgboxt
          IMPORTING
            RESULT     = lv_res.
I have also tried using Badi DOCUMENT_STATUS01 but with the same result.
I am really confused by this. Any help would be appreciated.
/Erik

Hello Eric,
Which version of EasyDMS are you using? Is this working with EasyDMS 6.0 SP12 Patch 01? Please try it. If yes, the upcoming SP15 might solve your problem of EasyDMS hanging while using Z_EasyDMS_SHOWPOPUP. Hope this helps.
Jomerce

Similar Messages

Maybe you are looking for

  • Need help for formating text output

    Is there a way to dynamically store special characters(eg. new line character) into a text field? This is because, the data is inserted into the DB from a textbox where the user divides the text into several lines but when it is viewed, it is just a

  • Monitoring SOAP Message Payload

    Hi, Can we monitor the message payload after the message is processed by the adapter? If so, where? I am doing a HTTP to SOAP scenario. I would want to check if the outgoing payload (after my receiver SOAP adapter finishes processing) is correct. Whe

  • AIR 1.5 Installer File Damaged(file size issue?)

    I am trying to publish a large air destop app. I have been trouble shooting the error and this is what I have found: 1. When I publish it and i have less than 27mb of inculded files, it publishes and can be installed. 2. When I add another 1.5mb of i

  • Adding a table to a linked server in SQL

    Hi I have a linked server in SQL server management studio. It has a list of oracle tables that can be reached through it. To add tables to the list do i need set up some permissions on the Oracle side? thanks a lot for any help

  • Bridge CS6 keyword search isn't working.

    CS6 on an iMac. I can see that my files have their keywords, but searching produces no results. (Used to work fine, but it's been quite a while since I've needed to do a keyword search so I don't know when it stopped working.)