on 09-07-2010 2:31 PM
Hi everyone,
We have create a WDA Object which Calls a OCI Catalog and passes the control to catalog using resume plug.
Once the the materials from catalog are selected and we click on submit button controls return back to a SICF Service which contains a Handler class.
In this handler class we are reading the selected Materials using statement-
server->request->get_form_fields( CHANGING fields = lt_cat_fields ).
i am able to get the materials here, now i want to attach these materials & there details to the WDA URL as parameters.
So that we can read the selected maerial details in WDA from URL parameters in the resume plug handler of WDA using-
wdr_task=>server->request->get_form_fields( CHANGING fields = lt_fields ).
How can we achieve this in SICF handler class.
Regards,
Akash Rana
You shouldn't use WDR_TASK directly in WDA. It isn't release for customer/partner usage. Plus these wouldnt' be form fields, but instead header fields if they are URL parameters. Instead of access WDR_TASK and the request/response object directly, you can get the url paramters of a start or resume plug via the WDEVENT importing parameter of the DEFAULT inbound plug (and its handler method).
From the online help:
Suspend and resume plugs can have user-defined parameters. For more information, see Window: Inbound and Outbound Plugs.
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/45/2233b60c21072ce10000000a155369/frameset.htm
method HANDLEDEFAULT .
data: l_url_parameters type tihttpnvp.
wdevent->get_data(
exporting
name = if_wd_application=>all_url_parameters
importing
value = l_url_parameters ).
endmethod.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.