WebDynpro ABAP Application - Use of REPORT_ELEMENT_T100_MESSAGE method

Hi all,
I have a WDA Application, in which I have to use the REPORT_ELEMENT_T100_MESSAGE method (class is if_wd_message_manager). I´ve created my message class at T100, the message test and so on.
My code (for example) is:
wa_message-MSGTY = 'E'.
    wa_message-MSGID = 'ZWM_GA01'.
    wa_message-MSGNO = '013'.
    CALL METHOD lo_message_manager->REPORT_ELEMENT_T100_MESSAGE
          EXPORTING
            MSG                       = wa_message
            ELEMENT                   = lo_el_drop_sociedad
*            ATTRIBUTES                =
*            MSG_USER_DATA             =
*            MESSAGE_TYPE              = CO_TYPE_ERROR
*            IS_PERMANENT              = ABAP_FALSE
*            SCOPE_PERMANENT_MSG       = CO_MSG_SCOPE_CTXT_ELEMENT
*            MSG_INDEX                 =
*            CANCEL_NAVIGATION         =
*            IS_VALIDATION_INDEPENDENT = ABAP_FALSE
But, at the screen I get "E:ZWM_GA01:013" instead the string I have at message 013 at ZWM_GA01 message class.
Does anyone know what should do to get it rightly?.
Thanks a lot for your help!!!

hi,
The code is perfect and it is working for me also. What you can do is check two things :
1. Type of wa_message.
It should be  data wa_message type SYMSG.
2. Check the message class whether any entry exists for 013 or not.
I have used this code and it is working :
DATA lo_el_context TYPE REF TO if_wd_context_element.
data message type SYMSG.
get message manager
DATA lo_api_controller     TYPE REF TO if_wd_controller.
DATA lo_message_manager    TYPE REF TO if_wd_message_manager.
lo_el_context = wd_context->get_element(  ).
lo_api_controller ?= wd_this->wd_get_api( ).
CALL METHOD lo_api_controller->get_message_manager
  RECEIVING
    message_manager = lo_message_manager.
    message-MSGTY = 'E'.
    message-MSGID = 'Z3AF_TM'.
    message-MSGNO = '001'.
report message
CALL METHOD lo_message_manager->report_element_t100_message
  EXPORTING
    msg                       = message
    element                   = lo_el_context.

Similar Messages

  • Accessing Webdynpro ABAP application using Mobile Device..........

    Hi,
      Can any please let me know if we can access Webdynpro ABAP application using mobile device. If yes, what are the steps/procedure to be followed.
    Thanks.
    NP

    Hello,
    after 4 years in 2012, i bought a tablet pc (aldi lifetab), installed a firefox-browser, the add-on cert-manager, installed a client certificate. After doing this i can accces webdynpro for abap applications without any problems.

  • FPM Navigation - asking for Log on when calling WebDynpro ABAP Application

    Hi Experts,
    I want to call a Non FPM based WebDynpro ABAP Application from a FPM Component.
    I have followed the method showed in the following thread by Rajkumar to call WebDynpro Application using URL.
    [Launch transaction without launchpad|Re: Launch transaction without launchpad]
    I could successfully call my WebDynpro ABAP application using this approach,
    However when the application opens in new Browser , it asks for log on again.
    Can anyone help me to avoid this log in screen.
    P.S. --> Both the applications are in the same server.
    Regards,
    Ashish Shah

    Hi Ashish ,
    I am also facing the same problem , did you find any solution ?
    Thank You,
    Aman

  • Apply custom themes to WebDynpro ABAP application in Portal

    Hi,
    We have just upgraded the E-Recruitment to EHP4. We have two instances of ECC in which one acts as HR instance and the other one for E-Recruitmet. We have created custom themes for portal and need to apply the same for the WebDynpro ABAP applications for E-REcruitment. I have downloaded the theme and from portal and uploaded the same in MIME folder using SE80 transaction. I have also added the parameter sap-cssurl=/sap/public/themes/<my custom theme folder name>.
    Also tried giving the url in application parameter as
    SAP-EP-THEMEROOT=http://<hostname>/irj/portalapps/com.sap.portal.design.portaldesigndata/themes/portal/customer/<custom theme>
    Is there any other way to apply themes for WD ABAP applications. I dont want to customize the standard applications and just want to apply the themes.
    Any suggession on this is highly appreciated.
    Kind Regards,
    Vivek.

    Hi,
    to create theme for webdynpro abap application, use Eclipse Plugin.  Please remeber to check the version of theme file before using theme.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10d5ef40-465e-2c10-9ca9-f548bfc3f236
    setup custom theme for webdynpro abap application.
    FEATURED EVENTS
    Regards
    Baby

  • Modification in standard webdynpro abap application

    Hi
    In my portal for some of my ESS applications are used in webdynpro abap for example travel expense and travel request now i have a requirement like i have to make the create travel expense button disable based on the condition llike i only he has to click create travel expense after creating travel request .So can anybody let us know how to do modofications in the standard webdynpro abap application.
    Thanks in advance.

    Hi
    For making changes in the standard web dynpro compoenent, you need to create and implement enhancement.
    For this you can find many links in SDN  on how to create enhancement.
    Now coming to your specific requirement.
    Here what you can do is open the standard component.
    1. press ctrl +F4, It will open a popup there give some name to your enhancement.and desicrption . then press Enter.
         Assign it to teh package you want.
    2. Go to the view where you want to disable the button, There go to the layout and find the ID of the button. say it is 'BTN'.
    3. Now go to methods tab, scroll right and selct post exit method of wddomodifyview emthod.
    4. there write the code with the condition you want.
    if  flag  eq 'yes'.
    data  lv_btn type ref to cl_wd_button.
    lv_btn ?= view->get_element( 'BTN' ).
    lv_btn->set_enabled( abap_false ).
    endif.
    5. one last thing is you can create a attribute named flag of type string and set its value to 'yes' when you want the button to enable.
    Thanks
    Sarbjeet Singh

  • How to access SQL tables from WebDynPro ABAP application ?

    Hi,
    I am trying a scenario, where I need to send an user ID to SQL server table (update/modify/delete) from webDynpro ABAP application.
    Basically ,I am trying to know:---
    a>How to write a SQL Connection from ABAP code within webdynpro ABAP application
    b>What are the ways to do it.(by code or any other API/mechanism)
    I appreciate if anybody knows this.
    Thanks
    Praveen

    Hi,
    The EXEC CONNECT ... is usually used in the procedural ABAP code. For this you can refer to the ABAPDOCU.
    I dont have any sample code on the classes I listed try to check out them for the parameters and the methods they have.
    In WD for Java, we have these connection classes to connect to any databsae server.
    Or try to create an RFC with DESTINATION for this
    Pls check out this link for this -
    Pull data from another r3 server using abap dynpro
    Regards
    Lekha

  • Getting Pernr for WebDynpro ABAP application

    I am building a new WebDynpro ABAP application and I want to be able to get the PERNR for the user logged into the portal and this application.
    I have read some information on this forum about getting the URL or application parameters in order to get the userid or similiar parameters and to handle this within the Window in the HANDLEDEFAULT method of a WebDynpro ABAP application.
    I have looked into this and I don't think pulling information from the application parameters will work.  For example, I checked one of our current services for "Personal Data"  and when I go to the portal content administration,  application parameters, I don't see any reference to userid..etc.  I see Property ID, Property Category, Inheritance, End-User Personalization, and Property Description.  In addition, I do not see any information from the URL itself that I could use. 
    Here is the scenario.  The user logs into the portal using the 3 character Network id which in turn, I assume, gets their SAP userid and PERNR in order to retrieve all the HR infotype information for each service.  By the way, the service I mentioned above, "Personal Data", is written in JAVA, so I am not able to see how this particular service works or handles getting the userid and PERNR.
    Has anyone come across this scenario before and how was it handled in terms of getting the userid and PERNR?

    I was thinking that SY-UNAME would be available, but was not sure.  For some reason, I was thinking I was going to have to pass something from the applicaton parameters or some other method to my WebDynpro ABAP program..
    I am not the portal administrator so I have not yet added my WebDynpro ABAP program to the portal yet.  Once, it's added, I will check out the availablility of sy-uname.
    Thanks.

  • Deploy Webdynpro ABAP application without logon portal

    We have a Webdynpro ABAP application bulit in ECC to deploy.  User wants to access the application via an URL on their webpage instead of logon SAP portal.  They do not want the application to show the portal header and navigation area.
    With the help of portal support, we created an URL iView to access the application with parameter NavMode=3 (e.g. http: //portal.xxx:8280/irj/portal/index.html?navigationtarget=roles://portal_content/mycompany/application.iView
    /WDApplication&NavMode=3).  This method can fulfill user's requirement.  However, we have to hardcode the Webdynpro ABAP application URL in the iView (e.g. http: //devep.xxx:8000/sap/bc/webdynpro/sap/WDApplication).  This will be a disadvantage because the URL will be http: //qasys.xxx in QA environment and http: //prodsys.xxx in production environment.
    Can someone suggest a solution to me?  We do not use NWBC. Thanks.

    Hi.,
    I think only after moving to PRD., the client will use the application rite.!! so u can directly give PRD url in ur iView.,
    If it is in application ., we can get Host and Port., but we have to hardcode the url., So I am thinking better to give PRD Url in iView.
    Thanks & regards
    Kiran

  • User Roles & Authorization to run 'WebDynpro ABAP Application scenarios'

    Hi All,
    I am developer and my user ID is having developer roles, so when i am testing
    'WebDynpro ABAP Application scenarios' it is working fine.
    Problem is when I am executing with enduser portal WWID's (i.e. WWID's are also defined as sap
    user), 'WebDynpro ABAP Application scenarios' giving me dump in screen & in ST22.
    Pls guide me what roles or authorization we need to assign to user ID's
    who can use 'WebDynpro ABAP Application scenarios'.
    URL for Webdynpro application is like : https://xxxx.yyyy.zzzz:/sap/bc/webdynpro/sap/ZPA_EXTENSION_U?ZDATA=10028705591320090406
    ST22 Error when testing with portal WWID's
    Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED_NO
    Exception              CX_SY_REF_IS_INITIAL
    Short text
        Access via 'NULL' object reference not possible.
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "CL_WD_ADOBE_SERVICES==========CP" had to be
         terminated because it has
        come across a statement that unfortunately cannot be executed.
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
         caught in
        procedure "PARSE_XML_SCHEMA" "(METHOD)", nor was it propagated by a RAISING
         clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        You attempted to use a 'NULL' object reference (points to 'nothing')
        access a component.
        An object reference must point to an object (an instance of a class)
        before it can be used to access components.
        Either the reference was never set or it was set to 'NULL' using the
        CLEAR statement.
    Explorer screen error
    Error when processing your request
    What has happened?
    The URL https://xxxx.yyyy.zzzz:/sap/bc/webdynpro/sap/ZPA_EXTENSION_U/ was
    not called due to an error.   
    Note
    The following error text was processed in the system QJ1 : Access via 'NULL' object reference not
    possible.
    The error occurred on the application server sapqj1ci_QJ1_78 and in the work process 21 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: PARSE_XML_SCHEMA of program CL_WD_ADOBE_SERVICES==========CP
    Method: GET_SCHEMA_VERSION of program CL_WD_ADOBE_SERVICES==========CP
    Method: CONSTRUCTOR of program CL_WD_ADOBE_SERVICES==========CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L7STANDARD==============CP
    Method: CONV_VIEW_INTO_VE_ADAPTER_TREE of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
    Method: SET_CONTENT_BY_WINDOW of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
    Thx

    Please refer to thread [Authorization Error|WDA adobe error] where various solution to the problem specified by you are described.
    Regards
    Rohit Chowdhary
    Edited by: Rohit Chowdhary on Apr 7, 2009 9:41 PM

  • 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

  • Calling Portal iView from a WebdynPro ABAP application

    Hi ,
    I have a requirement where I need to call an iView in my portal from the Webdynpro application also existing in the portal.
    Can anyone provide me the method with source code( if possible ) to call an iView existing in the portal from the WebDynPro ABAP application.
    Best Regards
    Sid

    Hi Siddharth,
    Well, I think you can go for Portal Navigation concept.
    Please check the required source code in WDR_TEST_PORTAL_NAV Web Dynpro component. That will illustrate both Page based Navigation and Object based Navigation.
    Hope that should solve your problem.
    Regards
    <i><b>Raja Sekhar</b></i>

  • How to Call the RFC in Webdynpro abap application

    Dear Experts,
    Good Evening to all...
    I have to add two numbers using RFC in webdynpro abap application. If we give the numbers in the input screen then the RFC should add it and give it in the output screen. This is the application for that I have created the RFC.
    But the problem is i don't know how to call the RFC in that Webdynpro abap application and how to link the input view and output view with that RFC...? I am new to Webdynpro abap. Please kindly help me on this... I am struggled here... I need your help in this....
    Thank You.

    Hi Jaga,
    You asked the same question again.
    Without closing the [previous one|Re: Where SAP store the uploaded files?].
    I think Abhi has answered your question.
    If not please elaborate on the problem.
    The solution btw is to create a Service Call.
    Sumit

  • Getting prob while creating view in webdynpro ABAP application

    Hi Guys,
    I am facing a problem while creating a view for webdynpro ABAP application. It is giving an error as "ICF service "/sap/public/bc/WebDynpro/ViewDesigner" inactive".
    can anybody let me know how to solve this problem.
                   Thanks In Advance
    Regards
    Ravikumar

    I think check Internet explorer Tools ->Internet Options ->Connections.>Lan Connections> if the proxy or anyting checkbox is clicked coz it doesn't work with Internet on .
    Please reward if useful.

  • WebDynpro ABAP application issue from Portal after ECC 6 upgrade to SP14

    Hi,
       We have recently upgraded the Kernel, ABAP and Java stack of ECC 6.0 system to SP14. After the upgrade most of the WebDynpro ABAP applications doesn't load and just flickers when run from Portal as a WebDynpro iView, but they run perfectly fine when accessed directly using URL. These were running fine prior to the upgrade. Can someone suggest what can be going wrong.
       Will reward points for helpful answer.
    Regards
    Mukesh

    Hi Mukesh,
    As Gajendra said, restarting the service in SICF sometimes works for us, but not always.  We have also had to deactivate the entire Webdynpro node, and then reactivate it and all of the services below it.
    Obviously something changed in the SP, given that we now have to do this every time we create a new WDA application.
    Cheers,
    John

  • How to Integrate HCM Process with Webdynpro ABAP Application

    hi,
    I have issue regarding how to integrate HCM Process with Webdynpro abap application.
    I had created one HCM process for transfer using Hrasr_dt T code and also created form scenario and work flow.
    How to Integrate HCM Process with Webdynpro ABAP Application
    by
    Parthasarathi

    hi suhasini,
    Thanks for your reply,
    Can u explain in detail.. and Give any documents or links...
    by
    Parthasarathi

Maybe you are looking for

  • ADOBE I NEED HELP! - Cannot Update Suite

    Well it has been a fun day! I am having an issue and I originally posted my problem in the Creative Suite - Windows forum and gave it a few days and the one reply I received did not solve my issue. So I decided I would have to contact Adobe Support.

  • How to  calculate the monthly percentage of the goods delivered

    hi all, In my requirement i have to count the number of goods delivered to the customer per year and i have the calculate the percentage of goods delivered monthly.please help me .

  • Getting System Date Format...?

    How to get the system date in JSF in the format of 'dd/MM/yyyy' ???

  • PSC 2510 network settings

    The menus allow me to PRINT the network settings but not to SET them. The printer is connected to the router by ethernet, so presumably should get it's IP address by DHCP. It doesn't: it gets either 0.0.0.0 or self assigned. There is no way to set a

  • N82 shortcuts problem

    Hi, i have a problem with my N82, software 20.0.062 , product code 0566174 when you install new program on the microsd card - its shortcut is placed in the "Applications" menu. I move the shortcut to the "Games" menu, then i remove the memory card wi