HI Hitesh,
Thanks for suggestion,
I will explain my problem in detail.
I have developed and wd component :ZWD_MFGRITS , Application: ZWD_MFGRITS_APP which need to be called when user clicks on BUTTON (tech name B1) of std feeder class of POWL.
In ZWD_RITS I have 8 fields where business logic is dependent on order num which comes from powl ( ALV lead selection)
Feeder class:CL_RPLM_QIMT_POWL_ORDER_PM
Copied to ZCL_RPLM_QIMT_POWL_ORDER_PM
Changes made as below.
I have created BUTTON (tech name B1 ) in method method get_actions_order_pm
working as expected.
Under Method IF_POWL_FEEDER~HANDLE_ACTION.
I_USERNAME
I_APPLID
I_TYPE
I_ACTIONID
I_CHANGED
I_ACTION_INDEX
I_ACTION_CONF
I_LANGU
I_ADDITIONAL_DATA
I_VISIBLE_FIELDS
E_PORTAL_ACTIONS
E_MESSAGES
E_DO_REFRESH
E_RESULT_LINES_CHANGED
E_CHANGES_PROCESSED
E_SELECTED_CHANGED
E_ACTIONS_CHANGED
C_SELECTED
C_RESULT_TAB
C_WORKFLOW_RESULT_COUNT
C_ACTION_DEFS
C_FIRST_VISIBLE_ROW
C_FIRST_VISIBLE_SCROLL_COL
Now I have written code.
If i_actionid = 'B1'.
READ TABLE c_selected INTO ls_index INDEX 1.
READ TABLE c_result_tab INTO ls_result INDEX ls_index-tabix.
I got the lead selected data in variable l_ordernum = ls_result-aufnr.
l_ordernum
Now problem is here-----------------------------
until every thing is working fine I got the order num.
how to pass l_ordernum to ZWD_MFGRITS compoenet and call the ZWD_MFGRITS in new screen or window.
Endmethod.
I found some useful link, It would be grateful if you could help me in finding the solution.
In the above link .
We can sent the selected data to portal through e_portal_actions-parameters.
ls_parameter-key = field name
ls_parameter-value = value
append to e_portal_actions
Now to how to call my custom wd ZWD_MFGRITS component and import the value from e_portal_actions.
can you suggest me how to Proceed.
Thanks gopal.