WebDynPro ABAP Scrren Shot Problem

Dear All,
I have a scenario to  upload the screen shot in .Doc format in the database table in webdynpro application and the same senario like i need to download the screenshot in .DOC Format in the System.
Please let me know how can I acheive this task.
Thanks&regards,
Aditya.

Hi
Try to use thid below code I think it will solve your problem.
Code for File download in action method
  DATA lr_conv   TYPE REF TO cl_abap_conv_out_ce.
  DATA lv_data   TYPE        string.
  DATA lv_xfile  TYPE        xstring.
  lv_data = 'Example text, which will be opened in MS Word.'.
  cl_abap_conv_out_ce=>create( RECEIVING conv = lr_conv ).
  lr_conv->convert( EXPORTING data   = lv_data
                    IMPORTING buffer = lv_xfile ).
  cl_wd_runtime_services=>attach_file_to_response(
                     EXPORTING i_filename  = 'wd4a.doc'
                               i_content   = lv_xfile
                               i_mime_type = u2018applicaton/mswordu2019)
Thanks & Regards,
Ravi Kiran.

Similar Messages

  • WebDynpro ABAP iview display problems

    Hi everybody,
    I am new to Portal and need some help with the display of a webdynpro iview in the portal. We use portal 7.0 and wish to insert a new webdynpro iview for ABAP in the portal. The webdynpro application displays well the first time, clicking on all options within the applications returns everything as intended and everything looks great. However the second time when we click on a particular option in the application, some icons do not get displayed.
    It is as if the second time the iview gets the contents from cache or something. We switched off all cache options within the iview, but it doesn't seem to have any effect.
    Has anyone had any experience with this? Does anyone know the solution?
    Thank you.
    Vedad

    Hi Vedad,
    can you tell us your portal and R/3 ERP version?
    Read the following notes :
    979479, 1033496, 970850, 1052625
    Also :
    Re: wda stylesheet via sap-cssurl parameter
    Brad

  • Webdynpro Abap Office control problem

    Hi Gurus,
    I'am using the office control to display stored word document and I'm facing the following problem :
    when I visualize a word document from my webdynpropage, I got access to the toolbar menu(print save and all the tools displayed on the top of the control) but once I open another page to visualize another word document I loose the access to the toolbar menu in my first page, but I can do so in my second opened page.
    It seems that I can not use the office control toolbar in multipple document. and once I open a page this feature is disabled on the previews pages.
    any idea please?
    Regards,
    Simo

    Hi
    Try to use thid below code I think it will solve your problem.
    Code for File download in action method
      DATA lr_conv   TYPE REF TO cl_abap_conv_out_ce.
      DATA lv_data   TYPE        string.
      DATA lv_xfile  TYPE        xstring.
      lv_data = 'Example text, which will be opened in MS Word.'.
      cl_abap_conv_out_ce=>create( RECEIVING conv = lr_conv ).
      lr_conv->convert( EXPORTING data   = lv_data
                        IMPORTING buffer = lv_xfile ).
      cl_wd_runtime_services=>attach_file_to_response(
                         EXPORTING i_filename  = 'wd4a.doc'
                                   i_content   = lv_xfile
                                   i_mime_type = u2018applicaton/mswordu2019)
    Thanks & Regards,
    Ravi Kiran.

  • The webdynpro/ABAP (WDA) calling RFC enabled FM of other ECC systems

    The webdynpro/ABAP (WDA) has problem calling RFC enabled FM of other ECC systems.
    WDA expects all the ABAPs, RFC FMs  of remote system(DEV, QA..) to reside inside its own instance.
    It is hard to transport and maintain these ABAPs FMs into a portal ABAP WDA instance.
    Proxy generation at WDA client:
    =======================
    1. If we can make an XI enable  an ABAP or RFC enabled FM of the remote ECC,
    I think the XI proxy classes can be generated at the client WDA system.
    Other options?
    How do I do it?  Can you give some tips.
    2. How do I manually code the RFC Call to BAPI/FM from Webdynpro controller or other interface?
    I am stuck with the above as the webservice option is not available at our ECC server.  It does not have a java engine installed for webservice to be available.
    Can you help on the above 2 options?

    Hi Mike ,
    <b><b> Answer of 2.</b></b>
    How do I manually code the RFC Call to BAPI/FM from Webdynpro controller or other interface?
    I am doing same thing for my current SRM implementation.I am taking data to SRM server from another R/3 server .
    This is solution I have used
    1) First of all I have made ABAP connection in SM59 .
    Go to SM59 .In ABAP Connection creat ABAP connection with system with which u want communicate .
    Eg I am connection with Systems PB1.
    So i developed Connection call PB1CLNT800.
    2) In my requirement I have taken data in my context from another r/3,
    I have give called RFC in my supply function of node.
    Call to RFC is as usual.
    In my case,
    CALL FUNCTION 'RFC_MATNR'
    DESTINATION 'PB1CLNT800'
    TABLES
    IT_MATNR = IT_MATNR.
    Onwards I have read my itab IT_MATNR and populated data to context.
    Hope solution will serve your purpose.
    Give point if it works .If any problem i have other ways.
    Cheers
    Parry B

  • Webdynpro ABAP & JAVA step by step example with screen shots

    hi experts,
    i am new in webdynpro. i want to learn webdynpro so any one plz help me how to create,how to install,connect,and how to execute plz send any documents for webdynpro ABAP & JAVA step by step examples with screen shots.it's really helpful for my carrier.
    thanks and regards,
    sapbbm.

    hi bala,
      check out this URL you have 41 sample codes and PDF of Webdynpro for JAVA.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d
    Thanks
    Gopi

  • Webdynpro ABAP Caching Problem in Portal

    Hi All,
    We have developed custom applications using Webdynpro - ABAP, using FPM and accessing those applications through SAP Netweaver Portal 7.0. I have deactivated all the caching techniquies in Portal @ iview level and Page level, Portal Runtime and ContentFetch side, But still causing the same problem.
    I have a doubt, wether this is happening because of SAP Logon Caching @ SAP WAS system level. I have checked the SSO parameter settings in RZ10 Profile parameters. Our basis people have set both accept and create parameter value = 1. Is this causing issue?
    Or Is there any other settings which is required to do in Portal or SAP system level. Please let us know , really appreciate your value suggestions and help.
    Please find the below links, which im referring to...
    http://help.sap.com/saphelp_nwmobile71/helpdata/en/d2/91553b4d53273de10000000a114084/frameset.htm
    http://help.sap.com/SAPHELP_NWPI71/helpdata/EN/48/69eb40e8a607d6e10000000a42189c/content.htm
    Thanks in Advance
    PRadeep
    Edited by: Pradeep on Jan 28, 2009 9:10 AM

    The delete icon will not show up in the line of the favorite/templates, if no hours are recorded on it. There is no transfer to the backend either, unless hours are recorded on these working time attributes. also ensure note 1986356 is implemented for details column check CAC2 for the CATS profile attached to the user in CVR in Su3

  • Webdynpro abap ALV export to excel with images problem

    Hello experts,
    I'm having problems with standard excel export functionality in webdynpro abap ALV.
    In my table i have images taken from content server (employee photos) linked with URL to a table_cell Image, when i export the table to excel using standard function the images is showed as a broken picture with the following text:
    "The linked image cannot displayed. The file may have been moved, or deleted. Verify that the link points to the correct file and location."
    I'm running on sap basis 7.02 SP13 and implemented the notes 1975765 and 1985288 but not resolved this issue.
    Do you have any ideas?
    Thank you.

    Hi Jorge,
    Are you able to download the ICONs from alv table? try to use some icon source '~Icon/Add' and check out if you can download it to excel successfully.
    FYR:
    Regards,
    Rama

  • Problem in developing webdynpro ABAP ?

    Hi all,
    I have a problem in execution of my first webdynpro ABAP application.
    I did my program based on the instructions given in the given link.
    http://www.octavia.de/fileadmin/octavia_files/content_bilder/Hauptnavigation/SAP_NetWeaver/WebDynpro/Web_Dynpro_Part_I.pdf
    In doing that program i didn't get any errors,
    but while executing its giving error that http:500 internal error.
    If any body know how to resolve this issue .
    Plz help me in this issue.
    Thanks

    Error when processing your request
    What has happened?
    The URL http://sapserver:8001/sap/bc/webdynpro/sap/zwd_hellosr was not called due to an error.
    Note
         The following error text was processed in the system DM0 : Die URL enthält keine vollständige Domainangabe (sapserver statt sapserver.).
         The error occurred on the application server sapserver_DM0_01 and in the work process 0 .
         The termination type was: RABAX_STATE
         The ABAP call stack was:
    Method: CHECK of program CX_FQDN=======================CP
    Method: LATE_CONSTRUCTOR of program CL_WDR_UCF====================CP
    Method: HANDLE_REQUEST of program CL_WDR_UCF====================CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP
    What can I do?
         If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system DM0 in transaction ST22.
         If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server sapserver_DM0_01 in transaction SM21.
         If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server sapserver_DM0_01 . In some situations, you may also need to analyze the trace files of other work processes.
         If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 800 -u: NEELIMAK -l: E -s: DM0 -i: sapserver_DM0_01 -w: 0 -d: 20101207 -t: 130320 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team

  • DMS Document not getting created thru Webdynpro ABAP Strange Problem

    Dear all,
    My requirement is that I have a Webdynpro ABAP application sitting on SAP Server1 and I am having a FileUploadUI Element in there for uploading files and we have SAP Server2 with the DMS configured. So, what we have done is we have an RFC in SAP Server2 and we are calling it from our webdynpro ABAP application sitting on SAP Server1. And we are calling BAPI_Create2 with all the necessary parameters in this RFC to create the DMS document with the file from webdynpro ABAP application. But its not working. I am passing the Presentation Server File Path of the File to the BAPI_create2.Even if I write the file to the application server of SAP Server2 and then pass this file path to the BAPI_Create2 then also it doesn't work but when I execute this RFC locally in the SAP Server2 with the presentation server file path It executes successfully.
    I don't know what I am missing.
    Please help.
    Thanks and regards,
    --Sonal

    Dear Thomas,
    Suppose I have got the file copied to the application server in SAP Server2 using datasets from WDA in SAP server1.
    Now I have an RFC say ZFILE_UPLOAD in SAP Server2 for which we have made an SAP ABAP RFC Connection from SAP Server1. In this RFC I am calling BAPI_create2 using the application server filepath(of SAP Server2) in docfile parameter along with ur suggested destination then also it doesn't work. Gives an error that "error in storing and checking file" i.e. Error 253.
    One more query how to handle the file upload of different file types say I am uploading a pdf file from my webdynpro abap application in SAP server1. Then I get the xstring and pass it to ZFILE_UPLOAD and convert it into binary and write it there in SAP Server2 using datasets. Is it possible to upload any kind of file and then creating the DMS document out of it?
    and how to call this RFC?
    Thanksn and regards,
    --Sonal

  • ECatt Webdynpro ABAP problems

    Hello everbody,
    we are trying to script a webdynpro ABAP application with eCatt.
    We have completed the system configuration steps (see below), but still when trying to record we are getting the error message:
    "An error probably occurred during the logon to the Web Dynpro target system. Check user and password in the target system."
    We have set up a HTTP connection to the target system with a preset username / password combination in the authentication details. We also log into the target system with this username / password combination directly just fine.
    What could we be missing?
    Some more questions:
    Is eCatt supposed to execute the webdynpro on the target system as the user defined in the http connection or as the user executing / recording the script?
    What user should be set in the http connection in the first place? I'm assuming its not the ecatt_http user because that one doesnt even exist in the target system (the guides only ask for this user to be created in the ecatt system)
    Regards & Thanks in advance,
    Thomas

    Thomas Stoffels wrote:
    > We have set up a HTTP connection to the target system with a preset username / password combination in the authentication details. We also log into the target system with this username / password combination directly just fine.
    Just check, if HTTPS is off on this connection.
    Thomas Stoffels wrote:
    > Some more questions:
    > Is eCatt supposed to execute the webdynpro on the target system as the user defined in the http connection or as the user executing / recording the script?
    > What user should be set in the http connection in the first place? I'm assuming its not the ecatt_http user because that one doesnt even exist in the target system (the guides only ask for this user to be created in the ecatt system)
    Please take a deeper look into saphelp for RFC connections, to clearify, which user credentials are used with RFC connections.
    Kind regards,
    Christoph

  • Debugging is not working in R/3 from WebDynpro-ABAP developed webpage input

    Dear Friends,
    We are facing a serious problem for debugging. Expecting valuable input for the same.
    Debugging is not working in R/3 from WebDynpro-ABAP developed webpage input in Production Server.
    The debugging (for WebDynpro-ABAP application) is working in Dev. Server for
    1st ] Within R/3
    Ex. debug for bapi within R/3. i.e. value enter as input in R/3 only.
    2nd ] From webpage to R/3
    Ex. Some input given on the internet web page developed through WebDynpro and external breakpoint set in R/3 it works. It directs to R/3 code through debugging.
    In Prod. Server the 1st case above is working but the 2nd case is not working.
    In Prod. Server the WebDynpro developed applications are running successfully through internet explorer webpage inputs. So running the application is not a problem in prod. Server but debugging of the same is the problem.
    The setting which are done in Prod. server are,
    1] RZ10 in parameters are set for port and host name.
    2.1] In SMICM check for ICM.
    2.2] Host file updated in Windows-System 32.
    3] In SICF following services are active,
    3.1] default_host/sap/bc/webdynpro
    3.2] default_host/sap/public/bc
    3.3] default_host/sap/public/bc/webdynpro/viewdesigner
    3.4] default_host/sap/bc/wdvd
    3.5] default_host/sap/public/icman
    3.6] default_host/sap/bc/gui/sap/its/webgui
    3.7] default_host/sap/public/ping
    3.8] default_host/sap/bc/error
    3.9] default_host/sap/bc/echo
    4] In SE80
    4.1] Internet services-System-are published
    4.2] Internet services-WEBGUI-are published
    4.3] Utilities-Setting-ABAP Editor-Debugging-Username & New Debugger set.
    4.4] Utilities-Setting-ABAP Editor-Editor-Front-End Editor(New) set.
    5] In Su01 for user profiles sap_all & sap_new is assigned and role  SAP_BC_WEBSERVICE_DEBUGGER is assigned.
    6] The support packages are also updated to latest level.
    7] Gone through following links but not getting any clues.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/74d50bd1431b5ae10000000a42189c/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/EN/77/3545415ea6f523e10000000a155106/frameset.htm
    Thanks in Advance.
    Best Regards,
    Abhijit.

    No cross posting
    Read the "Rules of Engagament"
    Regards
    Juan

  • Error when Interative Adobe Form is called from Webdynpro ABAP.

    Hi Experts,
    I trying to call a Interactive adobe form from ABAP Webdynpro application but I am facing the below error.
    Line: -
    The following error text was processed in the system GJD : User session (HTTP/SMTP/..) closed after timeout
    The error occurred on the application server az18u021_GJD_01 and in the work process 0 .
    The termination type was: ERROR_MESSAGE_STATE
    The ABAP call stack was:
    Method: PREPROCESS_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Method: EXECUTE_REQUEST_FROM_MEMORY of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP
    Line: -
    When I uncheck the enabled property of the Interactive From in the Page of the WebDynpro I am able to execute the application successfully.But the Adobe form behaves as a Static Form when I uncheck the enabled property.
    So kindly provide your valuable suggestions to avoid the above error when I am calling a Interactive adobe form from Webdynpro ABAP.
    Thanks in Advance.
    Regards,
    Arun.

    Hello,
    Hello, are you sure you have your ADS credentials configured correctly and valid? I guess you know that is the only difference between clicking enabled on true or false. If you are not sure, you can use SE38, search for FP_* and pick some reports to check the licencing. The names of the reports are good enough to recognize the right one.
    Or maybe that is a security problem? Have you checked the ADS_ERROR string? Did you use the ADS trace?
    check: http://help.sap.com/saphelp_nw70/helpdata/en/2c/241a427ff6db2ce10000000a1550b0/content.htm
    and especially note 999998
    Regards, Otto

  • Error in opening webdynpro abap application

    hi All,
    I am facing below issue in opening webdynpro abap application, this is first WDA application in production system, please help me in resolving this issue.
    ============================================================================
    Error when processing your request
    What has happened?
    The URL http://grp.mysap.pg.com:9500/sap/bc/webdynpro/sap/zgpuvstapp/~ucfLOADING was not called due to an error.
    Note
    The following error text was processed in the system GRP : A request for server adln5412 has been sent to server adln5411; see Note 1364846
    The error occurred on the application server adln5411_GRP_10 and in the work process 3 .
    The termination type was: ERROR_MESSAGE_STATE
    The ABAP call stack was:
    Method: PREPROCESS_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system GRP in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server adln5411_GRP_10 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 3 in transaction ST11 on the application server adln5411_GRP_10 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 400 -u: BS6402 -l: E -s: GRP -i: adln5411_GRP_10 -w: 3 -d: 20100929 -t: 140306 -v: ERROR_MESSAGE_STATE -e: A request for server adln5412 has been sent to server adln5411; see Note 1364846
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    ============================================================================
    Edited by: brahmanandam ausali on Sep 30, 2010 4:11 AM

    Hi Shibli,
    I'm facing the same issue with the POWL only if called from a part of the network outside our country (Italy) so I think it would be a network configuration problem as you suppose. Can you explain us the configuration of the balancer and dispatcher to solve the issue?
    Thanks
    Mattia

  • How to insert the image or logo into the table as a field in webdynpro abap

    Hi Friends,
    Please tell me how to insert the image or logo into the table as a field in webdynpro abap.........

    Hi Alagappan ,
          In your view layout you take table UI element and then you bind it with some context nodes.
    The attributes of your nodes comes as a field.
    Now in these fields you can set various properties and image is one of them.
    Go to ->
    1. View Layout -> Right Click on ROOTUIELEMENTCONTAINER -> INSERT ELEMENT -> TABLE
    2. Right click on table -> Create Binding.
       Here you have to bind it with the appropriate context node.
    You will get two properties here
    a- Standard Cell Editor :- ( make it image )
    b- Standard properties :- ( If required set image properties ).
    3. If you want put image from out side then import it as a mime object and set the source of your table field ( used as a image )
    also have a look :-
    [Image Properties|http://help.sap.com/saphelp_nw04/helpdata/en/f3/1a61a9dc7f2e4199458e964e76b4ba/content.htm]
    Hope this will solve your problem.
    Reply if any case of any issue.
    Thanks & Regards,
    Monishankar C

  • I was gettiing runtime error while executing a Webdynpro-ABAP application

    Hi,
    I am working on Webdynpro-ABAP and created a ALV report using Service call BAPI method in IDES version. After creating component and designed view and created Webdynpro application. While executing application I am getting some error in explorer.
    For any application I am getting same error.
    I think some setting in explorer..I am not sure. If yes how can I rectify ?
    waiting for quick response.
    I am giving details error below what I faced.
    Error when processing your request
    What has happened?
    The URL http://sapserver:8001/sap/bc/webdynpro/sap/zz_00_bapiflight was not called due to an error.
    Note
         The following error text was processed in the system DM0 : Die URL enthält keine vollständige Domainangabe (sapserver statt sapserver.).
         The error occurred on the application server sapserver_DM0_01 and in the work process 0 .
         The termination type was: RABAX_STATE
         The ABAP call stack was:
    Method: CHECK of program CX_FQDN=======================CP
    Method: LATE_CONSTRUCTOR of program CL_WDR_UCF====================CP
    Method: HANDLE_REQUEST of program CL_WDR_UCF====================CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP
    What can I do?
         If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system DM0 in transaction ST22.
         If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server sapserver_DM0_01 in transaction SM21.
         If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server sapserver_DM0_01 . In some situations, you may also need to analyze the trace files of other work processes.
         If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 800 -u: SAPUSER -l: E -s: DM0 -i: sapserver_DM0_01 -w: 0 -d: 20091226 -t: 135942 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    Best Regards,
    BDP

    hi
    It is the Fully Qualified Domain Name (FQDN) error . Refer SAP online help :
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/67/be9442572e1231e10000000a1550b0/frameset.htm
    refer the similar thread :
    Problem executing sample Webdynpro application
    regards,
    amit

Maybe you are looking for

  • Critique my Setup - suggestions please!!!

    Hi all. I'm new to this forum and hopefully some of you can help me. We have a photography business and recently bought a new custom built PC. It has the following specs: Intel Core 2 Duo (Extreme Performance) Platform Asus P5KC Core 2 Quad/ Intel P3

  • Not working youtube after updating software

    i am not able to use youtube after upgrading iphone 3g software to os 3.1.2 now when i click on youtube icon it was shows pls login and geting user id and password menu, when i enter user id and password of google id , it was says cannot login any on

  • Process Type - Delete overlapping requests from an Info Cube

    I have read many threads on this topic, still have some questions. To give you background, I will be doing delta load (“delta” process chain). But before delta, I want to do setup initialization (“init” process chain). I want to use this process type

  • Sync Issue between iPad & Macbook Pro

    Ok so here is the issue... My iCloud settings have been enabled for both the Macbook Pro and my iPad2 for everything except for mail and photostream. I mainly need iCloud for my iCalendar Calendars and documents through Pages, Keynote, and Numbers. F

  • Removing Items From Array Collection

    Hi. I have an array collection which is made up of items defined in class PlayListEntry. I want to remove all the items that have the value of property select set to false. This is what i have come up with, it works fine, but only removes half the it