Creating dropdown by coding in Webdynpro ABAP
Hi experts,
I have a requirement to display a dropdown in the portal. But I cannot add it directly in the webdynpro layout as I am using standard WD component. So only through enhancement, it can be achieved. I am not sure how to create a dropdown by coding in the WD component.
Kindly throw your valuable inputs here.
Thanks in advance!!!
Regards
Raaam's
Hi.,
You have to enhance your standard WDA component.
Check this wiki: [Create UI Elements Dynamically in WDA|http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=141263105]
also check : [Dynamic Binding , Dynamic Mapping|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/201ddd3b-b4ce-2b10-8883-880ae8147f89]
and DEMODYNAMIC WDA Standard Component
hope this helps u.,
Thanks & Regards,
Kiran
Similar Messages
-
Creating a dynamic valuehelp in webdynpro abap
Hello,
I am doing some development in Webdynpro Abap.
At this point I am unable to use the standard valuehelp provided in the system for selecting some values in an SAP HR system. Would there be any code samples for coding a custom value help in Webdynpro for ABAP. One of the things I have to be able to do is to dynamically generate the values of the valuehelp based on the value of some other fields on the screen that I am coding.
Any code samples or links will be appreciated.
Thanks for your help.
Best Regards
Sumit Agarwal.hi,
Check out OVS Input help.
/people/shruti.rathour/blog/2008/05/05/ovs-help-in-web-dynpro-abap
http://help.sap.com/saphelp_nw04s/helpdata/en/47/9ef8c99b5e3c5ce10000000a421937/frameset.htm
I hope this will help you.
Thanx. -
Creating a PDF file in webdynpro abap.
Hi friends,
Can anybody tell me how to create PDF file in webdynpro abap and how to save and edit, copy etc., whatever you can do through normal pdf file?
I have checked with the standard application WDR_TEST_ADOBE and WDR_TEST_ADOBE_ONLY. But none of the applications are working...
Could anyone please suggest me how to do this?
Regards
Sireesha.Hello Sireesha,
Good places to start are the online help and tutorials, which you can find here:
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/interactiveforms-elearning">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/interactiveforms-elearning</a>
<a href="http://help.sap.com/saphelp_erp2005/helpdata/en/2c/241a427ff6db2ce10000000a1550b0/frameset.htm">http://help.sap.com/saphelp_erp2005/helpdata/en/2c/241a427ff6db2ce10000000a1550b0/frameset.htm</a>
Best regards,
Thomas -
Validation of login screen in WebDynpro ABAP
Dear All,
I have created a login screen using WebDynpro ABAP, but am not able to validate user name and password.
Please help in this with coding and if possible with samll example.
Thanks & Regards,
Tazeer KS.Hi Tazeer, i have posted on scribd this document, step by step webdynpro login application,
pls go through the following link
http://www.scribd.com/doc/50261280/Login-Application-in-webdynpro
Step1:
Create 1 node in component controller and bind the attributes of dictionary structure USR02
Step 2: Select the required fields, bname and bcode,
Step3: Create Main View as shown, and bind the context view and component node and bind the input fields.
Step4:
Create second view for navigation.
Note:
First main view is outbound.
Second view is inbound.
method ONACTIONLOGIN .
TYPES : BEGIN OF ty_usr02,
bname TYPE USR02-bname,
bcode TYPE USR02-BCODE,
END OF ty_usr02.
DATA it_usr02 TYPE TABLE OF ty_usr02.
DATA lo_nd_login TYPE REF TO if_wd_context_node.
DATA lo_el_login TYPE REF TO if_wd_context_element.
DATA ls_login TYPE wd_this->Element_login.
DATA lv_bname TYPE wd_this->Element_login-bname.
DATA lv_bcode TYPE wd_this->Element_login-bcode.
navigate from <CONTEXT> to <LOGIN> via lead selection
lo_nd_login = wd_context->get_child_node( name = wd_this->wdctx_login ).
@TODO handle non existant child
IF lo_nd_login IS INITIAL.
ENDIF.
get element via lead selection
lo_el_login = lo_nd_login->get_element( ).
alternative access via index
lo_el_login = lo_nd_login->get_element( index = 1 ).
@TODO handle not set lead selection
IF lo_el_login IS INITIAL.
ENDIF.
get single attribute
lo_el_login->get_attribute(
EXPORTING
name = `BNAME`
IMPORTING
value = lv_bname ).
get single attribute
lo_el_login->get_attribute(
EXPORTING
name = `BCODE`
IMPORTING
value = lv_bcode ).
IF lv_bname is INITIAL and lv_bcode is INITIAL.
else.
SELECT bname bcode from usr02 INTO TABLE it_usr02 WHERE bname = lv_bname
and bcode = lv_bcode.
ENDIF.
wd_this->fire_out1_plg(
endmethod.
Hope it might help you,
Get back to me if your issue is not solved.
Thank you -
Error in webdynpro(ABAP) application development
Hi,
I am very new in webdynpro (ABAP) application development. I want to create some application based on webdynpro ABAP for few Z- Report. What is the prerequisite to develop a application based on webdynpro( ABAP ) .Because when I am trying to create application in se80 and giving the related functional model name in wedynpro component field , I am getting the error like Web Dynpro Comp./Intf. ZOS_xxx_FM does not exist. How to proceed further?
Thanks,
KundanHi,
Can you be more clear...
Please refer this link for Personalization-
http://help.sap.com/saphelp_nw2004s/helpdata/en/22/719f42f2ff7e5fe10000000a155106/content.htm
Regards,
Lekha. -
WebDynpro ABAP iView not opening in new window
Hi,
I have created an iView for a WebDynpro ABAP application and I am having a link in a home page from where the iView should open in a new page. I have set the properties "Launch in new Window" and "Show open in new window option" of the iView but still it doesn't open up in a new window.
Can someone suggest me what's going wrong?
Will reward points for helpful answer.
Regards
MukeshHi Volker,
Thanks for your reply.
I think, I have set the properties of the iView right. I have tried with all the options for the property "Launch in new window" property of the iView but it didn't work.
"By home page framework" I mean that the link of the iView in portal has been created using the "Home page framework" i.e. from "SPRO" transaction in the backend.
Please let me know if you need any other input from me.
Regards
Mukesh -
How can I change column name in ALV table in WebDynpro ABAP?
Hi Everyone,
I have created an ALV table in WebDynpro ABAP. I have created a context node and added the required attributes there - for the ALV display.
Now I want to change one columnn name of the ALV table.... Currently it is showing the description of the data element, which I don't want to show. I cannot create a new DE only for this purpose.
Please let me know how can I change the name of the column.
RegardsHi,
This may help you to define your own column text in the ALV Table of webdynpro.
see the below code.
Here 'STATUS_ICON' is the column of the the output display of the ALV Table of webdynpro.
"change the label of the report.
DATA: lr_weeknum TYPE REF TO cl_salv_wd_column.
CALL METHOD l_value->if_salv_wd_column_settings~get_column
EXPORTING
id = 'STATUS_ICON'
RECEIVING
value = lr_weeknum.
SET THE LABEL OF THE COLUMN
DATA: hr_weeknum TYPE REF TO cl_salv_wd_column_header.
CALL METHOD lr_weeknum->get_header
RECEIVING
value = hr_weeknum.
CALL METHOD lr_weeknum->set_resizable
EXPORTING
value = abap_false.
hr_weeknum->set_prop_ddic_binding_field(
property = if_salv_wd_c_ddic_binding=>bind_prop_text
value = if_salv_wd_c_ddic_binding=>ddic_bind_none ).
set the text of the column
CALL METHOD hr_weeknum->set_text
EXPORTING
value = 'C Form'.
regarads,
balu -
Display pdf file using webdynpro abap
Hi Friends,
My requirement is to display pdf file in the second page with the input text entered in the fisrt page when clicked on action
button( in the first page) using webdynpro abap.
Can anybody explain the step by step procedure as I am new to this area.
Thanks in advance.
Reagrds,
NagarajuHi,
Check this.,
Creating a PDF file in webdynpro abap.
Web Dynpro ABAP display pdf
hope this helps u.,
Thanks & Regards
Kiran -
Exit from Webdynpro abap application in portal environment
Hi,
I created one custom service in Webdynpro ABAP in ESS and also integrated in the portal environment
I need to put Exit button in every page ( OVERVIEW, EDIT, REVIEW). When user click on 'EXIT' button from any one of page , it should return back to PERSONAL INFORMATION in ESS Homepage.
I have used Exit plug in window , but i read in SAP Library Exit plugs will not work in portal environment.
Let me know which way i should proceed to acheive the Exit functionality.HI,
Add the following code in action of exit and also add the application parameter which gets the area page from the portal.
Apart from this, do the configuration settings in these screens ( Define resources, Define services ) in SPRO.
DATA: countrygrouping TYPE molga,
arealink TYPE rhxss_ser_linkinfo_s.
DATA:
node_settings TYPE REF TO if_wd_context_node,
elem_settings TYPE REF TO if_wd_context_element,
stru_settings TYPE if_componentcontroller=>element_settings .
navigate from <CONTEXT> to <SETTINGS> via lead selection
node_settings = wd_context->get_child_node( name = if_componentcontroller=>wdctx_settings ).
get element via lead selection
elem_settings = node_settings->get_element( ).
get all declared attributes
elem_settings->get_static_attributes(
IMPORTING
static_attributes = stru_settings ).
CALL FUNCTION 'RH_PM_GET_MOLGA_FROM_PERNR'
EXPORTING
pernr = stru_settings-personnelnumber
begda = sy-datum
endda = sy-datum
IMPORTING
molga = countrygrouping.
CALL FUNCTION 'HRXSS_SER_GETAREALINK'
EXPORTING
areagroupkey = stru_settings-home_service
areakey = stru_settings-area_service
portalcontext = 'X'
personnelnumber = stru_settings-personnelnumber
countrygrouping = countrygrouping
IMPORTING
arealink = arealink
EXCEPTIONS
areagroupkey_invalid = 1
areakey_invalid = 2.
DATA: l_portal_manager TYPE REF TO if_wd_portal_integration,
l_api type ref to IF_WD_COMPONENT.
l_api = wd_this->wd_get_api( ).
l_portal_manager = l_api->get_portal_manager( ).
l_portal_manager->navigate_absolute(
navigation_target = arealink-linkpcdpage
navigation_mode = if_wd_portal_integration=>co_show_inplace
history_mode = if_wd_portal_integration=>co_no_duplicates -
Iview for Webdynpro ABAP application with TimedTrigger
Hello,
I created an IView for a WebDynpro ABAP application. This application uses a UI element TimedTrigger. Without portal integration this TimedTrigger works fine. Inside an IView this TimedTrigger element does not work anymore. Did anyone have a similar problem? Does anyone have a solution for this?
Thanks and regards
Marchi,
Go through this link
[****************/Tutorials/WebDynproABAP/TransactionCode/Create.htm]
Hope it will help you.
Regards,
Rohit -
ADOBE FORMS with WEBDYNPRO ABAP
Hi Experts,
Can Anyone give me some examples how to create Adobe interactive form using Webdynpro ABAP...
Thanks and Regards,
Kriss.Kriss,
http://www.google.co.in/search?hl=en&source=hp&q=adobeformusingwebdynprofor+abap&meta=&aq=o&aqi=g10&aql=&oq=&gs_rfai=
search before posting the question
Thanks
Bala Duvvuri -
Create PMD (Clinical Document) Document from Webdynpro ABAP
Greetings everyone,
I have developed two PMD document category(Tcode :N2T6 ) for Clinical documents in SAP R/3 and somehow with the limitation of R/3 in terms of developing user friendly screens like Auto fill and image processing etc...,Users do not satisfy with it.So we are planning to develop in Webdynpro ABAP.But i am not sure how do we integrate the webdynpro development with IS-H PMD (clinical documents) documents ,also I am looking for BAPI's to create our customized parameterized documents.Any help will be really appreciated.
Thanks,
VigneshHi Vignesh,
You are right that certain features, such as auto-completion, are not supported in the PMD toolset. But as most of the data captured in those documents have a high importance for treatment process, you need to elobarate whether such a feature has any impact on patient safety. Just a quick one - user types An ... and the system determines matching diagnoses such Anorexia or Angina. In case the user picks the wrong one by accident the patient safety is an issue.
Other features such as image management can be used. For that you need to use a PMD link module which does provide the image integration. Siemens will ship in the next release EhP6 such a link module for a third party imaging software. Beforehand the link module use with custom development.
In general Siemens has started a product redesign program named "Smart UI". It's major aim is to provide an up-to-date user interface for all major application within i.s.h.med. The very first application we plan to ship is a web-based electronical medical record.
In case you still want to develop your application, I'm sorry to say, but there are no BAPIs or Web services in the standard delivery. For changes to existing documents you can utilize the PMD API of generator version 2. But be aware that document creation is not supported by the API. You need to have a document. Also certain user exit developments may brake a change without having the GUI running. For instance a popup in the save routine will cause a dump if no SAP GUI is available.
Hope this help.
Axel Biernat
Siemens AG
Product Commercialize -
Is there any way to create a folder in presentation server - webdynpro abap
Hello,
My requirement is to create a folder in presentation server using webdynpro abap..
I tried on this CL_GUI_FRONTEND_SERVICRES classes ..but its getting an short dump.
Is there any way to create folder using classes / FM..
Regards,
Praveen kumar reddy s.Hi PRaveen,
Check this.. WD_TEST_APPL_ACFEXECUTE
Check Thamos article..
http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/109b9b52-bc00-2c10-8786-e4c5e96d7e04
go for help..
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/b91539878a2d67e10000000a42189c/content.htm
Cheers,
Kris.
Edited by: kissnas on May 10, 2011 2:24 PM -
DMS Document not getting created thru Webdynpro ABAP Strange Problem
Dear all,
My requirement is that I have a Webdynpro ABAP application sitting on SAP Server1 and I am having a FileUploadUI Element in there for uploading files and we have SAP Server2 with the DMS configured. So, what we have done is we have an RFC in SAP Server2 and we are calling it from our webdynpro ABAP application sitting on SAP Server1. And we are calling BAPI_Create2 with all the necessary parameters in this RFC to create the DMS document with the file from webdynpro ABAP application. But its not working. I am passing the Presentation Server File Path of the File to the BAPI_create2.Even if I write the file to the application server of SAP Server2 and then pass this file path to the BAPI_Create2 then also it doesn't work but when I execute this RFC locally in the SAP Server2 with the presentation server file path It executes successfully.
I don't know what I am missing.
Please help.
Thanks and regards,
--SonalDear Thomas,
Suppose I have got the file copied to the application server in SAP Server2 using datasets from WDA in SAP server1.
Now I have an RFC say ZFILE_UPLOAD in SAP Server2 for which we have made an SAP ABAP RFC Connection from SAP Server1. In this RFC I am calling BAPI_create2 using the application server filepath(of SAP Server2) in docfile parameter along with ur suggested destination then also it doesn't work. Gives an error that "error in storing and checking file" i.e. Error 253.
One more query how to handle the file upload of different file types say I am uploading a pdf file from my webdynpro abap application in SAP server1. Then I get the xstring and pass it to ZFILE_UPLOAD and convert it into binary and write it there in SAP Server2 using datasets. Is it possible to upload any kind of file and then creating the DMS document out of it?
and how to call this RFC?
Thanksn and regards,
--Sonal -
Getting prob while creating view in webdynpro ABAP application
Hi Guys,
I am facing a problem while creating a view for webdynpro ABAP application. It is giving an error as "ICF service "/sap/public/bc/WebDynpro/ViewDesigner" inactive".
can anybody let me know how to solve this problem.
Thanks In Advance
Regards
RavikumarI think check Internet explorer Tools ->Internet Options ->Connections.>Lan Connections> if the proxy or anyting checkbox is clicked coz it doesn't work with Internet on .
Please reward if useful.
Maybe you are looking for
-
Hi Please help me to get a way to load the TIN number (already entered in - BusinessPartner master Data Form and saved in -CRD7 database table for customers) into the PLD Report as customers TIN number (means in the Report creation using Print Layout
-
My Ipod Mini is not detected in Itunes, Nor in Winamp pluggin.
The title above says it all, i would need some light on how to fix this awful problem. I had my ipod since last March and everything went fine until just recently. I tried all the repair step from the apple site, format ipod...Remove itunes/Ipod upda
-
My itunes opens 2-3 hrs after doubleclicking it to open;it happened once or twice with itunes 11.x , but its a constant problem after updating itunes to the latest 12.0.1....my operating system windows7;processor i5 intel haswell and 4gb ram...i ha
-
New ATV2. Setup according to directions. Hooked into a Sony Bravia (2 yrs old) system via HDMI. I get picture, YouTube, everything but sound! Turned off Dolby setting (thanx Apple tech support). Now I get sound only through the TV speakers, not the s
-
How do I get my Itunes on my laptop to sync with my new Ipad?
I just got a new ipad mini and I want be able to use my itunes that I have on my laptop on it - help please - im not good with technology :/