Skip to Content
author's profile photo Former Member
Former Member

User Notification Message on Portal using Web Dynpro Java

Hi All,

I am working on adding user notification message (error message) on Portal Application.If user is locked in SAP backend,users should be able to see error message on Portal.

And development team has added ABAP code in Function Module in SAP backend.Please find below the same.

ABAP code in SAP:

IF wa_tab-ustyp EQ 'A'.

IF wa_tab-uflag EQ c_1 OR wa_tab-uflag EQ c_2 OR wa_tab-uflag EQ c_3

OR wa_tab-uflag EQ c_4 OR wa_tab-uflag EQ c_5 OR wa_tab-uflag EQ c_6.

wa_return-type = 'E'.

wa_return-message = text-019.

wa_return-parameter = p_userid.

APPEND wa_return TO return.


We have done testing in SAP backend and it is working fine.

But when we are trying to read this message on Portal using Web dynpro Java-SAP Netweaver Developer Studio,we are not able to see the message (text-019) on Portal from SAP Backend..

Please help me to resolve this issue.

Thanks and Regards,

Snehal Raghoji

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jul 10, 2015 at 06:50 PM

    wdj code please.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      Use another RFC using JCo destination configured for predefined user(e.g admin)

      This RFC(with input as user id and output as lock status) will have ABAP code to return status of user (ie whether it is locked or not).

      Call this RFC in init() method of WD Java component controller. If you get success result then go ahead with your routine code else Print error message.




  • Posted on Nov 11, 2015 at 05:17 PM


    Check the languaje you are executing the function module and the configuired for portal user. It is possible that this language are "hardcoded" in JCo configuration.

    Hope it help

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.