Skip to Content
avatar image
Former Member

Call custom wd into standdard POWL

Hi All,

Please answer if worked on WD POWL

I have requirement to enhance   standard WD component which is using POWL concept.

Requirement: Need to add button  “ BUTTON1” I std .

When button is pressed call one custom screen (WD) with some fields.

I have some idea of webdynpro but how to achieve this in feeder class of POWL concept.

My question is:

1) can I call normal WD in feeder class when button "BUTTON1"  pressed if yes how .

2) Or I need to build WD component using  POWL_UI_COMPONET  like FPM (OIF component) .

OIF concept link

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b52e13c3-0901-0010-8fa6-d11a51821b7c?QuickLink=index&overridelayout=true&5003637737419

I searched many sites but did not get full idea how to build a POWL end to end.

Powl sites i have visited the below sites.

http://scn.sap.com/docs/DOC-36037

http://benxbrain.com/en/APB_LPD_T_PARAMS-Custom-WD-application-from-POWL-Action-Button-thread-1-3282712.htm

http://scn.sap.com/thread/3282712

http://scn.sap.com/thread/1245628

http://wiki.scn.sap.com/wiki/display/WDABAP/POWL

http://help.sap.com/saphelp_nw73ehp1/helpdata/en/a1/de054179214c4593a3b129ecf57f3d/content.htm

http://www.consolut.com/en/s/sap-ides-access/d/s/doc/N-CL_POWL_EASY_FEEDER

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60f1d5ee-84ab-2c10-ce97-97dfd89bc238?quicklink=index&overridelayout=true

IF any one worked in the issue kindly guide me how to proceed.

My main question is how to call the WD component in feeder class  or any suggestions.

help full answers will be rewarded.

Thanks

GOPAL

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Nov 22, 2013 at 04:10 AM

    Hi Gopal,

    In LPD_CUST, create a launchpad for the WD application which you want to call on click on button.

    In your POWL feeder class enhance method 'GET_ACTIONS' and write code in Post-Exit of the method to add your custom button.

    In Post-Exit of method 'HANDLE_ACTION' check if the action id is of the button you have added and

    then launch WD by calling method 'NAVIGATE' of class 'CL_HR_NAVIGATION_SERVICES'.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi  Hitesh thanks very much for your suggestion it’s worked out and very sorry for late remarks.

      Just one more step to meet the requirement.

      1)created  Role  with WD component  and  OBN type  with a method order num ,when I press custom button in NWBC screen action is triggered and opend ZWD component in new "TAB"  all fine .

      2) Under ZWD component (implemented interfaces)

      Added : POWL_DETAIL_COMP_IF and  re-implemented.

      Now the problem is I need to carry order num form STD NWBC to my custom ZWD component which is not happening , can please suggest me how to get order num .

  • Nov 22, 2013 at 07:05 AM

    Hi Gopal,

    You can use the interface IF_FPM_NAVIGATE_TO to navigate to any another webdynpro application.

    To get an instance, use this coding:

        lo_fpm = cl_fpm_factory=>get_instance( ).

        lo_navigate_to = lo_fpm->get_navigate_to( ).

    Then call the LAUNCH_WEBDYNPRO_ABAP method and provide the details of your application to navigate to it.

    Please note that the launched WD application is launched in a new window. But I believe that is conform requirement if I understand your question correctly.

    Good luck!

    Kind regards,

    Rudy.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 27, 2013 at 10:19 AM

    Hi Gopal,

    Incase if you still looking for solution then you can refer the below thread.

    http://scn.sap.com/thread/3459258

    At the end @Daniele Jennarelli has mentioned how after getting the url of the wd application he opened

    it without using LPD_CUST.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Hitesh,

      thanks for your suggestion, when I implement the code it’s throwing an error

      Error:"Method  get_powl_controller does not exist .There is, however, a method with similar name   set_powl_controller."

      when i see  get_powl_controller of  CL_POWL_RUNTIME_SERVICES (final class) it is  in  protected mode . so its throwing the above error as of my knowledge we cannot access "get_powl_controller " out side the class.

  • avatar image
    Former Member
    Jan 20, 2015 at 03:06 PM

    Hello Gopal,

    You might have solved it by now. But here is the simple way to achieve this:

    1. In feeder class implement method GET_DETAIL_COMP. here provide the WD component name.

    2. In the WD component, implement WD interface POWL_DETAIL_COMP_IF. In the COMPONENTCONTROLLER you will have the method UPDATE_DETAIL_DATA. you have the POWL lead selection here.

    Thanks & Regards

    Deepankar

    Add comment
    10|10000 characters needed characters exceeded