on 05-26-2015 10:53 AM
Hi Experts,
I have created a chip, where in it has a link to action element.
When we click on the element it should open some transaction for example MMBE.
For that I have created a CHIP and used in the PAGE BUILDER Creation and when I tried executing in the NWBC It is opening in GUI for HTML, Where In I need the transaction to be opened by GUI for Windows instead of GUI for HTML - Is this possible.
Let me know your suggestions and solutions.
Thank You.
Prathyusha
Hi Munoz,
Can you be little clear!
Like I have one more requirement (Screen shot -1 ), where we give the Delivery Number and click on "GO" Button it opens GUI For HTML, We need the same to be opened GUI for Windows in NWBC.
After click on on "GO" currently transaction VL03N is opened as below screenshot-2 by taking the input from Webdynrpo
Where in we need to display the same as below in NWBC
Can you please let me know your suggestions for achieving this and also it would be great if you can send step by step to achieve this.
Thank You.
Prathyusha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok...Let's go..
1- In your PFCG Role, create a new entry for your transaction:
2. Hide this entry from NWBC menu:
3. I usually give following properties for this kind of nodes:
4. Create OBN for this entry - ('OD' is a id to identify your Outbound Delivery element, and 'DISPLAY' is a id for the action):
5. Add new parameter assignment for your OBN:
6. Save changes in your Role...
7. Modify your action for button GO like this:
Regards.
Luis
Hi Munoz,
I tried it but its not triggering anything.
Please find below screenshots for reference.
On the action "GO" , I have wrote the below code.
method ONACTIONON_GO .
DATA lo_el_context TYPE REF TO if_wd_context_element.
DATA ls_context TYPE wd_this->element_context.
DATA lv_del_num TYPE wd_this->element_context-del_num.
************************************************************
DATA: lo_api_controller type ref to if_wd_controller,
lo_message_manager type ref to if_wd_message_manager,
lr_port_manager type ref to if_wd_portal_integration,
lr_componentcontroller type ref to ig_componentcontroller,
l_api_componentcontroller type ref to if_wd_component,
ls_namevalue type powl_namevalue_sty,
it_key_value type powl_namevalue_tty.
* get element via lead selection
lo_el_context = wd_context->get_element( ).
* get single attribute
lo_el_context->get_attribute(
EXPORTING
name = `DEL_NUM`
IMPORTING
value = lv_del_num ).
***To outbound delivery navigation
ls_namevalue-key = 'LIKP-VBELN'.
ls_namevalue-value = lv_del_num.
insert ls_namevalue into table it_key_value.
lr_componentcontroller = wd_this->get_componentcontroller_ctr( ).
l_api_componentcontroller = lr_componentcontroller->wd_get_api( ).
lr_port_manager = l_api_componentcontroller->get_portal_manager( ).
call method lr_port_manager->navigate_to_object
EXPORTING
system = cl_iwp_constants=>sc_system_erp
object_type = 'OD'
operation = 'DISPLAY'
business_parameters = it_key_value.
endmethod.
and i have created this as a CHIP.
As suggested by you, I have created the role in PFCG Role and assigned for my user.
But when I Clicked on the Go button while testing the Application Configuration of NWBC , As shown in the above screen shot - 2 , nothing is happening.
Please kindly suggest me if I have missed out anything.
Thanks So much!
If needed you can also contact me on my email: prathyu71088@gmail.com
Thanks,
Prathyusha.
Hi Munoz,
I have below link
http://<systemdetails.local:<portno>;/sap/bc/gui/sap/its/webgui?~transaction=MMBE
I Am calling it in this way by calling the external window.
Thanks,
Prathyusha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try the next:
1. Create a new entry in a Role, Transaction type for 'MMBE' (see following example for other transaction and modify OBN parameters for your purpose.)
2. In your code, when you click on link, you must reference with OBN, see this example:
data lo_api_controller type ref to if_wd_controller.
data lo_message_manager type ref to if_wd_message_manager.
data lr_port_manager type ref to if_wd_portal_integration.
data lr_componentcontroller type ref to ig_componentcontroller .
data l_api_componentcontroller type ref to if_wd_component.
ls_namevalue-key = 'IFMCIDY-FIPEX'.
ls_namevalue-value = ls_commitment-fipex.
insert ls_namevalue into table it_key_value.
lr_componentcontroller = wd_this->get_componentcontroller_ctr( ).
l_api_componentcontroller = lr_componentcontroller->wd_get_api( ).
lr_port_manager = l_api_componentcontroller->get_portal_manager( ).
call method lr_port_manager->navigate_to_object
exporting
system = cl_iwp_constants=>sc_system_erp
object_type = 'CI'
operation = 'OPEN'
business_parameters = it_key_value.
Object Type and Operation will be those you had configured in previous step. If you only want navigate to Initial screen in '' transaction, you don't need add any business_parameters. Previous example is for navigate to display a commitment item in 'FMCIC' transaction, where value is taken from a Web Dynpro.
Regards.
Hello Prathyusha,
How are you calling 'MMBE' transaction? Are you using Object Based Navigation (''OBN") for your purpose?
Regards.
Luis.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.