Error in WebDynpro Application in accessing "MIME Repository"

Hi All,
I am writing a XML file to Mime Repository from WebDynpro Application.
To do this, I developed the below code:
  DATA mime_repository TYPE REF TO if_mr_api.
  DATA url TYPE string VALUE
'/SAP/BC/WebDynpro/SAP/PUBLIC/BC/SSR/uuielibs/example.xml'.
  mime_repository = cl_mime_repository_api=>get_api( ).
  CALL METHOD mime_repository->put
    EXPORTING
      i_url                     = url
      i_content                 = content
      i_suppress_package_dialog = 'X'.
In execution process,I am getting an error,
"Screen output without connection to user" and "DYNPRO_SEND_IN_BACKGROUND"
In calling the method IF_MR_API~PUT, I have passed "X" to I_SUPPRESS_PACKAGE_DIALOG to avoid Transport Request screen.
Can you please suugest how can I overcoem this issue.

Leha,
Is this RFC expecting any mandatory parameters ? if that is the case make sure that you are sending the expected type mandatory parameter.  (you can print a message on the screen and verify this)
If you are sure that you are sending the correct details to execute RFC, Please turn on the debiug session for the portal user in the backend and see whether the values are passing from the portal or not.
How to switch on Debug mode in the backend for the specific user:
Requirements:
1. Make sure the user id existed in Portal and SAP Backend.
2. Setup the debug mode for the user in the backend
3. Run the application from the portal
4. While executing the application from the portal , The backend stops the execution to debug, so from here you have to execute the FM step by step and verify whether you are getting the values from the portal or not.
Steps to switch on Debug mode in the backend:
Logon to ECC System>> To access the function module use SE37 tcode from the SAP Easy access menu>>Enter the Function Module name and click on Display>>From the SAP Menu click on Utilities>>Settings >>Debugging >>Enter the user ID to switch on the debug mode and Enter.
Now the user ID is switched on for Debug. Go to the Function module Source Code>> palce the cursor at the start of the soruce code>>From the Menu go to Utilities>>BreakPoint>>Set?Delete Break Point
This will set the break point for the mentioned user id and now you can veryfy the values on the backend.
Once you complete the debug process please turnoff the debug mode.
Thanks
Krishna

Similar Messages

  • Access MIME repository by URL

    Hi !
    For an automated test I need to deploy some text or HTML files to a Web AS ABAP.
    Planned to use the mime repository for this, BUT ... Is there any possibility to access a folder of the MIME repository by a public URL (no login required) ? If yes, how do I build the URL (depending on the path in the MIME repository) ?
    If no, anyone got an idea how else I could publish public html or text files so that they can be delivered like a "normal" ABAP application ?
    Any help will be appreciated ...
    Best regards,
    Axel

    OK, here is an exemple :
    This the URL of my company's logo which is used on the logon page of one of our BSP application. As the logo is displayed, before you are logged in, the URL needs to work with no authentication (which means with user SAPSYS).
    http://my_server.my_domain/sap/public/bsp/sap/zlm_hds_system/logo.jpg
    In SICF, we have created a link /sap/public/bsp/sap/zlm_hds_system which points toward /sap/bc/bsp/sap/zlm_hds_system
    Regards,
    Olivier

  • Error in webdynpro application using RFC's

    Hii,
    I have a webdynpro application where i use RFC to add a new customer to the database.I have used datacust and Uicust to do the corresponding coding.While running the application, values are not getting added from the front-end...giving an error "Error in adding customer".While i execute the RFC at R3 and enter new customer values,values are getting saved successfully.
    I am not getting to solve the problem.Please do help out.
    Thanks,
    Parama.

    Leha,
    Is this RFC expecting any mandatory parameters ? if that is the case make sure that you are sending the expected type mandatory parameter.  (you can print a message on the screen and verify this)
    If you are sure that you are sending the correct details to execute RFC, Please turn on the debiug session for the portal user in the backend and see whether the values are passing from the portal or not.
    How to switch on Debug mode in the backend for the specific user:
    Requirements:
    1. Make sure the user id existed in Portal and SAP Backend.
    2. Setup the debug mode for the user in the backend
    3. Run the application from the portal
    4. While executing the application from the portal , The backend stops the execution to debug, so from here you have to execute the FM step by step and verify whether you are getting the values from the portal or not.
    Steps to switch on Debug mode in the backend:
    Logon to ECC System>> To access the function module use SE37 tcode from the SAP Easy access menu>>Enter the Function Module name and click on Display>>From the SAP Menu click on Utilities>>Settings >>Debugging >>Enter the user ID to switch on the debug mode and Enter.
    Now the user ID is switched on for Debug. Go to the Function module Source Code>> palce the cursor at the start of the soruce code>>From the Menu go to Utilities>>BreakPoint>>Set?Delete Break Point
    This will set the break point for the mentioned user id and now you can veryfy the values on the backend.
    Once you complete the debug process please turnoff the debug mode.
    Thanks
    Krishna

  • Webdynpro Application not displaying mimes once deployed to Portal

    Dear Thomas,
    As per the reply to one of the threads with similar issue, we applied the SAP OSS Note No: 0001342713.
    It worked pretty fine once the Note was applied. Unfortunately, after some few operatonal hours, we could not see the images or mimes like check boxes, radio buttons, Search Helps shapes etc.
    The Role to which the Iview is attached is the EREC Recruiter (Standard) / Recruiter New(Customized).
    The Webdynpro Application would be popping up after the user clicks on the Create Requisition Button of the Maintenance Tab of the EREC Recruiter Role. The link to this WDA is provided under the Standard BSP -- HRRCF_REQ_LST.
    Method > DO_HANDLE_EVENT> ON_NEWENTRY().
    Can you please guide me as how to resolve the issue.
    Regards,
    -Syed.

    Dear Thomas Jhung/The GURUS of SAP,
    We are actually facing lot of issues because of this problem. Kindly please let us know what can be done further or any other alternative for the same.
    Regards,
    -Syed.

  • Heapdump error in WebDynPro application

    Hi All,
    I’ve developed webdynpro application involves calling RFCs…etc.While executing the application it’s giving heapdump on server.
    Please any one of you suggest why I am getting such heapdump  and when we will get heapdump errors?
    Thanks in advance.
    ~Adams

    Hi Adam,
              You might be getting heap size error because at the server the heap size declared is less or the server cache memory is geting filled.
    Re: Problem in Starting the J2EE Server
    java.lang.OutOfMemoryError: Java heap space
    Check above link.
    Regards,
    Vaibhav

  • Error in webdynpro application

    Dear gurus.
    Im getting following error how to rectify it ?
    we don't have Basis guy so im also doing the basis stuff and im new in it .
    Error when processing your request
    What has happened?
    The URL http://sapr3dq:8000/sap/bc/webdynpro/sap/zsaptechnical_demo was not called due to an error.
    Note
    The following error text was processed in the system R3D : Die URL enthält keine vollständige Domainangabe (sapr3dq statt sapr3dq.<domain>.<ext>).
    The error occurred on the application server sapr3dq_R3D_00 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 R3D 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 sapr3dq_R3D_00 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 sapr3dq_R3D_00 . 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: 100 -u: ABAPDEV -l: E -s: R3D -i: sapr3dq_R3D_00 -w: 0 -d: 20100225 -t: 140212 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team

    |Error analysis                                                                                |
    |    An exception occurred which is explained in detail below.                                     |
    |    The exception, which is assigned to class 'CX_FQDN', was not caught and                       |
    |    therefore caused a runtime error.                                                             |
    |    The reason for the exception is:                                                              |
    |    Die URL enthält keine vollständige Domainangabe (sapr3dq statt                                |
    |    sapr3dq.<domain>.<ext>).                                                                      |
    |                                                                                |
    |Information on where terminated                                                                   |
    |    Termination occurred in the ABAP program "CX_FQDN=======================CP" -                 |
    |     in "CHECK".                                                                                |
    |    The main program was "SAPMHTTP ".                                                             |
    |                                                                                |
    |    In the source code you have the termination point in line 10                                  |
    |    of the (Include) program "CX_FQDN=======================CM002".                               |

  • Page not found error in webdynpro Application

    Hi All,
    While we are opening a links getting Page not found error. This is  webdynpro ABAP application ,through Launch pad it is configured.
    We have recently upgarded our portal , previously it was working fine.
    R/3 is not upgraded .
    Regards,
    Krishna.

    Hi Krishna,
    Hope you are doing good.
    Kindly run the web diag tool as outlined in  note 1045019 or SAP Note No. 1332726 (depending on your version) and reproduce the issue.
    This will give you the exact reason why the issue occurs. Attach it here if you have any issues.
    Thank you!
    Kind Regards,
    Hemanth
    SAP AGS

  • BAPI_Material_get_Detail  Function Module Error in WEBDYNPRO application

    Hi All,
    I am trying to get the material info from SAP by webDynPro.
    My Input Parameter is Material(IMPORT PARAMETER) and out put is Matrial_general_data(EXPORT PARAMETER).
    In the implementation of method in
    wdDoInit().
    Bapi_Material_Get_Detail_Input input = new Bapi_Material_Get_Detail_Input();
        wdContext.nodeBapi_Material_Get_Detail_Input().bind(input);
    what is the object I have to initiate for material Parameter.
    //for input data Material     
        Matnr bapimat = new Matnr();
    I tried in different way I am getting error.
    Thanks & Regards,
    Ram

    Hi Ram,
    looking at the corresponding XML interface specification at <a href="http://ifr.sap.com/catalog/query.asp">the SAP interface repository</a> there are only simple import parameters for Material.GetDetail. According to Web Dynpro model creation conventions, you should be able to set the parameters directly in the Bapi_Material_Get_Detail_Input instance like:
    Bapi_Material_Get_Detail_Input input = new Bapi_Material_Get_Detail_Input();
    wdContext.nodeBapi_Material_Get_Detail_Input().bind(input);
    input.setPlant("yourPlant");
    input.setValuationArea(...);
    Hope that helps.
    Regards
    Stefan

  • Classpath error in webdynpro application

    Hi All,
    Currently I am using NWDS7.0.16, and I created webdypro application which connect to BI System by make use of BI-  XMLA connector. for that I added all required jar file in JavaBuild path. but when i try to build the application I am getting  error like:
    The project was not built since its classpath is incomplete. Cannot find the class file for javax.resource.cci.Connection. Fix the classpath then try rebuilding this project.          
    This compilation unit indirectly references the missing type javax.resource.cci.Connection (typically some required class file is referencing a type outside the classpath)     TestView.java     test/gen_wdp/packages/com/test     
    Could anybody help me please......
    Regards,
    Suresh

    Hi Seelam,
    The reference location of jar file has been changed, so reimport that jar file and build your application.
    if problem still exits restart your NWDS.
    Thanks

  • Regarding WebDynPro  Application Development Problem

    Hi,
       I have created a WebDynPro application to access the BackEnd System.I have Used BABI_MATERIAL_SAVEDATA functional Module.In my appln I Used 2 views , first view has fields like material name,desc,unitof measure .In 2nd view it will display the message which is from Backend .it  the fields are i have created system and successfully connected with Server. But while running this application its displaying as " Trying to create X: -
    (dash) "
    x is the material Name .
    whr is the actual problem ,in Server or Coding ? How to solve it ?
    Please Help Me ..
    Thanks in Advance.

    Hi,
    It seems not an Error.In second the View thr is a TextView . I bind that  with a context node-MESSAGE which is derived from Bapi_material_savedata  Module.. While executing that appln
    ,"TRYING TO CREAT " message shows in the text view.. i want to Know that whether i would b a server Pblm  or In coding ?..

  • WebDynpro applications not responding in HTTPS environment

    Hi all
    I have developed WebDynpro applications which accesses the backend RFCs.
    We have deployed these applications to portal. The applications are working fine if we access them through HTTP link.
    But when we access it through HTTPS , the applications arenot responding.
    There is no error coming but the applications are not visible at all.
    <b>Same application in Quality phase we accessed through both HTTP and HTTPS links.</b>
    Please suggest.

    Hi,
    when you are accesing webdynpro using url in http environment
    http://host:50000/webdynpro/dispatcher/local/Proj/your App
    use this below url to access in https environment
    https://host:<b>50001</b>/webdynpro/dispatcher/local/Proj/your App
    you need use https port while running in https environment
    regards,
    Naga

  • WebDynpro applications not responding in HTTPS

    Hi all
    I have developed WebDynpro applications which accesses the backend RFCs.
    We have deployed these applications to portal. The applications are working fine if we access them through HTTP link.
    But when we access it through HTTPS , the applications arenot responding.
    There is no error coming but the applications are not visible at all.
    <b>Same application in Quality phase we accessed through both HTTP and HTTPS links.</b>
    Please suggest.

    Hi,
    when you are accesing webdynpro using url in http environment
    http://host:50000/webdynpro/dispatcher/local/Proj/your App
    use this below url to access in https environment
    https://host:<b>50001</b>/webdynpro/dispatcher/local/Proj/your App
    you need use https port while running in https environment
    regards,
    Naga

  • Calling servlet in a webdynpro application

    Hi,
    I have created a servlet for Authentication , and i have to call this servlet in the webdynpro application(on accessing a link)
    Such that it will automatically take care if authentocation
    Servlet is residing in a Java application and the View is residing in WebDynpro application
    when i call the servlet i have to pass two parameters 1)URL and 2)Filename
    Could anyone please help me out in doing this?
    Thanks & Regards
    Swetha

    Hi Anagha,
    Thank you for the information, i would like share my vague idea on resolving this.....please let me know will it be a possible approach
    Here ew have two projects
    1)WebProject(War file)
    2)EarProject(where webproject is integrated
    Steps
    1)Get the EAR file
    2)Create a portal application
    3)Consume the EAR in the Portal application(by passing parameters)
    4)Create a WebDynpro DC
    5)Here call the portal Application( URL and URL parameters)
    6)Get the URL
    7)Finally we can call the servlet
    Will these steps help in solving this issue
    Thanks & Regards
    Swetha

  • Webdynpro application has expired

    In our XI 7.0 system we started to get the below error message suddenly.
    500 internal server error
    The webdynpro application has expired.Restart the application using the application or the following link "webadminapp'.
    I would appreciate all your suggestion.

    Please check oss note 842635.It may help.
    Regards
    Amit

  • Error occured while accessing WebDynpro Application

    Hi,
    I am getting below mentioned error when i am trying to access WebDynpro application through Portal.
    Appropriate roles have been assigned to me in Portal as well Dynpro.
    What is the cause of this error message ?
    Is this something to do with Authorization or User Mapping ?
    #/System/Server#Plain###com.sap.engine.services.jmx.exception.JmxSecurityException: Caller GTMLMLF not authorized, only role adminis
    trators is allowed to access JMX#
    Pls Guide!!!
    Answers will be rewarded.
    Regards,
    Rohan

    Hi Rohan,
    Might be the user you are using is not in the Admin group.
    You can assign the user into that group using the Visual admin or
    User management by logging using the j2ee_admin user.
    Reward points if helpfull.
    Regards,
    Vamshi.

Maybe you are looking for

  • Faded-Out / Trimmed DDL's Selected Text  in Adobe Reader X(10)

    Hi folks, My PDF form look good in all the preceding versions of Adobe Reader, but after upgrading to Adobe Reader X(10), the drop-down list box's selected text is getting faded-out/trimmed from it's right-side as you can see in the enclosed image. B

  • TS3274 is there any problem to update my software to ios 6?

    is there any problem to update my software to ios 6

  • Newly created index not being used

    Hello friends, I am observing that a newly created index on a z table with mandt & a new field is not being used. I have already rebuild index & updated stats for table. when we query on this table with where clause having same 2 fields mandt & other

  • Batch Programs

    Hi There, We're currently investigating compiling our Batch Runs for better performance. I'd be very interested to know how other people are handling their batch programs. Our server operating system is NT 4., and our forte version is v 2.0f. We deci

  • The Invisible Shield

    I just got my Invisible Shield. I hate it. Application was ****, and to lift up and re-apply leaves lines / fingerprints. I'm sending it back, and they will send me a new one free of charge. If it doesn't look well, it's going back. When / if my iPod