How to trigger action dynamically in Web Dynpro ABAP?
Hi,
I need to trigger an action dynamically. How do I do that?
Eg. I have Search Tab where I input Purchase Order Number and press Find button to get the PO details.
Now I have an Overview Tab where I have listed all the Purchase Orders, after selecting a purchase order I click the Transfer button on the Overview Tab, on clicking on transfer button I navigate to the Search Tab and the PO number selected in Overview Tab is binded and appears in the Search Tab.
In the same flow I also want to trigger the action without clicking on Find button of Search Tab so that I get the search results.
Please let me know how to go about doing this.
Thanks
Samekshaa
fire plugs in Search Tab as it has multiple UI view containers which displays different views in the Search tab.
can you elaborate on that ... a clear explaination of what u intend to do will be of great help.
Outbound Plugs can have Parameters. so you can still decide what plug to fire , further when in the details view.
i dont think there is option of raising ONACTION automatically because framework create an EVENT object for each action, at the most you can transfer this EVENT as Parameter to other methods.
Greetings
Prashant
Similar Messages
-
How to put water mark in web dynpro abap Adobe forms
Hi
Can any body tell me how to put water mark in web dynpro Abap adobe forms ,
actually I need to print water mark as back ground in gray color.
Points will be rewarded of Helpful answer..!
Regards,
SidramHi,
for more information about layout options in forms, go to your form in transaction SFP, layout view and choose Help -> Adobe LifeCycle Designer Help. There you find information on page layout, e.g. " Objects can be placed anywhere on a master page, inside or outside the content area. As a general rule, do not place objects inside the content area unless your intention is to have other objects laid down on top of the master page objects when the form is rendered. If you are setting up a watermark, place it inside the content area. "
Besides, there's an Adobe forum where you might get more information for such Adobe questions.
Regards, Heidi -
How to decrease performane of a web dynpro abap application
Hi Folks,
I am new to web dynpro abap .pls tell me how to decrease performane of a web dynpro abap application but dont say by using icm tracking and wd_trace_tool.that are used to find out errors?>You mean to say we can use Runtime analysis and SQL trace in WDABAP?
Yes, that is exactly what I mean.
>I Thomas i need e learning tutorials created by you.I am new to WDABAP.if possible try to send URL of your e learning tutorials
They are all available here on SCN in the Web Dynpro ABAP eLearning library:
http://www.sdn.sap.com/irj/scn/webdynpro-elearning -
How to use HR Macros in Web Dynpro ABAP
Hai All,
Am new to Web dynpro Abap working in HR req.
Can u pls help me how to import HR Macros in webdy ABAP.
It will be very much helpful to me. Pls provide any link or doc if available.
Thanks in Advance,
Nalla.BHi Nalla,
if you can't find any Function Modules or BAPIs as Kris suggested, you would basically do this (conceptionally):
1. What is your business logic supposed to do (output) and what information does it need (input) for processing.
2. Build a class in se24 and implement static public methods with the business logic you defined in (1.).
3. Call the static methods in your WD4A-Framework.
If you are unfamiliar with the class builder, make a local class first in se80, in a test program or alike.
Does this help you a bit?
regards, Lukas -
How to call standard report in web dynpro abap.
Hi All,
I need the output of one standard report e.g RHXSTR00 on web dynpro abap.
How can I achieve this?
Please help!!! Points will be rewarded.
Thanks in advance!
Cheers,
Darshna.Hi Darshna,
The report result is ALV and in most of the cases we generally do not have function modules or any other easy way to get the output.
In such cases the best approach which we follow is, to run this in background mode and generate the spool and display the ouput in PDF.
But if intertactive form is not present in your requirement then we need to debug the logic of the report (if no FM or class present) and get the results and display it in the View.
Best regards,
Suresh -
How to Hide ADOBE Toolbar in Web Dynpro ABAP
Hi Team,
I have an ADOBE form (Display Only) coded in my Web Dynpro ABAP application which displays data from the context of a view. I want to hide and disable the PDF toolbar. How to achieve this. I saw a method SET_HIDE_TOOLBAR, but don't know where to write code for this. The form is NOT interactive (want this only for printing). We are on Support pack 10.
Any ideas?
Thanks for your timeHi Sanjay,
Welcome to SAP Interactive Forms by Adobe
Rgds,
Anto. -
How to fill BI cube with Web Dynpro ABAP Program UI
Hello,
I am new in web dynpro ABAP and need zour help. How can i write aABAP web dynpro program, which allows the user to enter transactional data and saved in the real time infocube.
I know that such a functionality exist in the integrated planning where a real time infocube, changeable query, data provider and web template are created, and through which a user can enter or change for sepecific master data combination transactional data and save them in the info cube.
Have you an experience in the way of implementing an user interface in connection with the real time cube. Do i have to use the BIAPPLICATIONFRAME UI element or is there a better way.
Many thanks
Arnaud
Edited by: Arnaud on Jul 28, 2010 3:32 PMHi Rajpal,
Please go through this..
calling BI report
Cheers,
Kris. -
How to call custom themes for Web Dynpro ABAP Application?
Hi,
I need to change the appearance of Web Dynpro ABAP application. So far I followed below steps,
1. Created theme folder u2018testngou2019 (SE80->MIME Repositoty -> SAP->PUBLIC->BC->UR->nw5->themes -> u2018testngou2019 ).
2. used program BSP_UPDATE_MIMEREPOS to dowmloaod content of u2018sap_tradeshowu2019 (SE80->MIME Repositoty -> SAP->PUBLIC->BC->UR->nw5->themes -> sap_tradeshowu2019) to desktop.
3. Modified the themes using Eclipse Theme Editor.
4. used program BSP_UPDATE_MIMEREPOS to upload modified themes to MIME repository u2018testngou2019 (SE80->MIME Repositoty -> SAP->PUBLIC->BC->UR->nw5->themes -> u2018testngou2019) .
My current URL is like http://server.name:XXXX/sap/bc/webdynpro/sap/hrrcf_a_startpage_int_cand?sap-client=XXX.
Now I want to know how custom themes called for Web Dynpro ABAP Application.
Is my approach correct?
...NaddyHi Naddy,
What you used is one way and even I failed when tried that method,
Instead go to SE38 - WD_THEMES - and you need to upload the zip file and you need to follow a folder structure.
it is case sensitive, atleast the zip file.
Make a zip file by name "Project.zip" -
Create a Folder Project and have the below folder structure,
1 data - all the properties files and also the designinfo file, below is the code
2 themes - (to get all the files download the theme from portal and you will have all the folders)
2.1 ur
2.1.1 name of the theme
2.1.1.1 common
2.1.1.2 csf
2.1.1.3 r
2.1.1.4 ur - all the css files (would be good if you can get the files from the server.)
2.1.1.5 WSRP
3 war - empty folder
*.designinfo
isVisible=true
version=7.0.14.1.0
isDefault=false
isSapDesign=false
designName=**** name of the theme
Once done create a zip file and click on Start Import and give the path and will ask for transport request, it will take a while to upload once done as mentioned in the use the parameter sap-ep-themeroot="path"
This will resolve the issue.
Cheers-
Pramod
reward points if helpful -
How to open print dialog from web dynpro abap application
Hi experts,
I have a web dynpro application with several views and onone of the view there is a button that should open print dialog with printers list and all other options (standard print dialog we see in windows). I did reserach on SDN and came to now that this is a limitation of web dynpro abap. I did find some code also but unfortunately our current version of ABAP(7.0) do not support the code I found. I am not able to find any proper solution for this. Could someone please let me know how I can open a print dialog by clicking on a button in web dynpro abap? Any sample code or any information would be greatky appreciated.
Thanks.
MithunHi Mithun,
Have you check this?
http://help.sap.com/saphelp_nw70ehp2/helpdata/en/f8/872806981d4411b5ce51a00207ed31/content.htm
and also go through..
How to print in a web dynpro application
Print button
Cheers,
Kris. -
How to create value help in web-dynpro-abap
Hi ,
can anybody tell me detailed step for creating value help in web-dynpro-abap .Hi,
Web Dynpro provides two types of pre-implemented search helps :
1. ABAP Dictionary Search help
2. OVS
Input Help for WDA
http://help.sap.com/saphelp_nw04s/helpdata/en/b3/4d3642eca5033be10000000a1550b0/frameset.htm
There is a blog on implementing OVS help in WDA. You can refer below link for sample code.
/people/shruti.rathour/blog/2008/05/05/ovs-help-in-web-dynpro-abap
In addition, you can also provide help through Drop Downs and Select options.
Working with Select options in WDA
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c09fec07-0dab-2a10-dbbe-c9a26bdff03e
Plz reward if helpful.
Thanks.
Raj. -
How to send Variable from a web dynpro abap application to anthor
HI all:
I have two web dynpro abap applications .
I want to send a Variable from a web dynpro abap application to another web dynpro abap application using post method.
Because, now I have used append_field_url to send Variable,but this method will display the Variable in the URL.
I do not need this result.
I need the Variable from a web dynpro abap application to another web dynpro abap application and the Variable will not display in the URL.
Can you give me an example?
Thanks.HI Nawal Kishor Mittal :
I have tried your method,but I can not get the value of variable.
My code is as follows:
The first web dynpro abap application:
DATA:BEGIN OF l_send,
l_value TYPE string,
END OF l_send.
l_send-l_value = '400001'.
EXPORT l_send-l_value FROM l_send TO SHARED MEMORY indx(aa) ID 'YTEST_MATNR'.
The second web dynpro abap application:
DATA:BEGIN OF m_send,
s_value TYPE string,
END OF m_send.
IMPORT m_send-s_value TO m_send FROM SHARED BUFFER indx(aa) ID 'YTEST_MATNR'.
DELETE FROM MEMORY ID 'YTEST_MATNR'.
Thanks. -
How to enable/disable the input fields based on the data entered in the web dynpro application abap? If the user enters data in one input field then only the next input field should be enabled else it should be in disabled state. Please guide.
Hi,
Try this code.
First create a attribute with the name readonly of type wdy_boolean and bind it read_only property of input field of which is you want to enable or disable.
Next go to Init method.
Set the readonly value as 'X'.
DATA lo_el_context TYPE REF TO if_wd_context_element.
DATA ls_context TYPE wd_this->element_context.
DATA lv_visible TYPE wd_this->element_context-visible.
* get element via lead selection
lo_el_context = wd_context->get_element( ).
* @TODO handle not set lead selection
IF lo_el_context IS INITIAL.
ENDIF.
* @TODO fill attribute
* lv_visible = 1.
* set single attribute
lo_el_context->set_attribute(
name = `READONLY`
value = 'X').
After that Go to the Action ENTER.
First read the input field ( first input field, which is value entered field) , next give a condition
if input value is not initial then set the readonly value is ' '.
DATA lo_nd_input TYPE REF TO if_wd_context_node.
DATA lo_el_input TYPE REF TO if_wd_context_element.
DATA ls_input TYPE wd_this->element_input.
DATA lv_vbeln TYPE wd_this->element_input-vbeln.
* navigate from <CONTEXT> to <INPUT> via lead selection
lo_nd_input = wd_context->get_child_node( name = wd_this->wdctx_input ).
* @TODO handle non existant child
* IF lo_nd_input IS INITIAL.
* ENDIF.
* get element via lead selection
lo_el_input = lo_nd_input->get_element( ).
* @TODO handle not set lead selection
IF lo_el_input IS INITIAL.
ENDIF.
* get single attribute
lo_el_input->get_attribute(
EXPORTING
name = `VBELN`
IMPORTING
value = lv_vbeln ).
if lv_vbeln IS not INITIAL.
DATA lo_el_context TYPE REF TO if_wd_context_element.
DATA ls_context TYPE wd_this->element_context.
DATA lv_visible TYPE wd_this->element_context-visible.
* get element via lead selection
lo_el_context = wd_context->get_element( ).
* @TODO handle not set lead selection
IF lo_el_context IS INITIAL.
ENDIF.
* @TODO fill attribute
* lv_visible = 1.
* set single attribute
lo_el_context->set_attribute(
name = `READONLY`
value = ' ' ). -
How to get role check in web dynpro abap
Hi,
I am creating an web dynpro application and i need to perform certain functions based on the verification of role name .
To the users which are been assigned to the particular role only they can perform the desired application.
But i dont know what condition should be given in order to get the role name from the sap gui as well as from the netweaver portal.
I would also like to ask how can we import the roles from netweaver portal to sap gui or how can we set authorisations on those roles which are been created in netweaver portalHi,
There is no support for using portal API to get the roles in webdynpro ABAP.
So the best way to achieve this would be create an iview for your webdynpro ABAP application and control the user access by assigning them permission and placing the content in "Security zones" which makes the content non-accessible to the user if he is assigned with the role and intill he has required zone assigned to him.
Thanks & Regards,
Lokesh Kamana -
How to call t-code from web dynpro ABAP application
Dear Gurus,
I am new to ABAP web dynpros. I have to add a button and have to call a SAP standard t-code if user clicks on this button? How to accomplish this task? Any help or example would be appreciated.
Thanks,
GSMHi GSM,
You have to create a SAP transaction iView in your Portal, then obtain its URL in your webdynpro and call WDPortalNavigation.absolute() method.
Below are the same steps in more detail:
1) Create a SAP Transaction iView or an Internet Application Component iView (whichever you find convenient). While creating you can select whether you want to use SAP GUI for windows or SAP GUI for HTML. For the latter(GUI for HTML) ensure that your ITS is working fine and configured while creating the system in EP.
2) Open the properties of the SAP transaction iView created. In the OK code field you can give the ok code value just as you give in SAP R/3 in case you want to navigate to the second screen of SAP R/3 when you pass values from WebDynpro.
Example for the above would be say Transaction "VA03" for displaying Sales order. Suppose from Webdynpro i want to pass a parameter called "Order number" and when i click a button it should pass the order number to R/3 and skip the first screen required for inputting the sales order numbe.
It should directly go to the main display of sales order for that ordernumber.
3) Create your WebDynpro component and deploy it on the server. In your WebDynpro use the WDPortalNavigation.absolute() method and give the url of the SAP Transaction iView created as a parameter and also the required parameters that you would like to pass from WebDynpro.
4) Create a SAP WebDynpro iView in the Portal.
5) Now run the Component. It should open up your SAP Transaction iview.
Regards,
Uday -
How to call call transaction in web dynpro abap
hello experts,
i need to call one RFC in web dynpro.In RFC we maintained the BDC program. but while calling the same RFC in web dynpro through service call function, it is not working.Kindly suggest any way out.this is very urgent.
RegardsHi Rajat,
Please use the below mentioned link.May be it will help you:
The webdynpro/ABAP (WDA) calling RFC enabled FM of other ECC systems
Thanks and Regards,
Neha
Maybe you are looking for
-
Multiple address for the same customer code
Hi, Suppose we have a customer name XYZ LTD whose sap code is 123. Now user want to maintain multiple addresses for the same customer in the same code.So that during billing he can have option to chose one of the address in which he want to sent the
-
Error in Downloading iTunes 9 on G5
When downloading I get a message at the bottom of the Safari window that states an error occurred and to go to Window>Activity. iTunes continues to download. When I check Window>Activity, it states, "Frame Rate Interrupted." When iTunes completes the
-
Hi Team, sql query for Finding the Workflow name, type, product, creation & update dates order by Product in oracle apps Thanks, chandu
-
Strange SAP XI mapping UserDefine function - 'syncTexts' and 'first'
Hi, In the SAP standard OrderCreate_OrdersOrders05 XI map, there is a strange node logic at /ORDERS05/IDOC/E1EDP01/E1EDP19, the source is /OrderCreate/OrderCreateBody/OrderCreateDetails/OrderCreateProductLineItem/ProductIdentification. There are SAP
-
Component Pick Release - Lot, Serial and 'Lot & Serial' Controlled Items
Hi All, Please help understand how Component Pick Release handles Lot, Serial and 'Lot and Serial' Controlled component items. Regards, Abhishek