How to create Variants in Web Dynpro using ABAP
Can anyone please tell how to create and save variants in a Web DynPro application using ABAP.
Also state the steps involved in saving and loading the variants.
hi,
For calender control, there is Date Navigator under "complex tab". You can just click and drag it and provide calender control.
One more easy way is to create a input field. In the context, create a node and attribute of type "D"(which means DATE). And bind the context to your input field under "values" in property window. While running the program, you will see an calender attached to lt on the input field.
Regards,
Jithin
Similar Messages
-
How to create calendar in web dynpro abap
Hi ,
how to create calendra in web dynpro abap.
Thanks in advance.
Regards, Chetanhi,
For calender control, there is Date Navigator under "complex tab". You can just click and drag it and provide calender control.
One more easy way is to create a input field. In the context, create a node and attribute of type "D"(which means DATE). And bind the context to your input field under "values" in property window. While running the program, you will see an calender attached to lt on the input field.
Regards,
Jithin -
How to Create and Deploy Web Services Using Oracle 9i JDeveloper
Hi,
My Question is how to create and deploy Web Services using Oracle 9i JDeveloper.Anybody please give me a detailed Reply.Please Reply to [email protected]
Hopr to Hear From you,
Regards,
G SreekumarYou could use datasources. You should do this in your BC4J Configuration. Then when deploying your applicaiton use the command -installDataSource (from admin.jar) to create the right datasource.
You could probably use the name of your connection + "DS" so you can also use it locally in JDeveloper as JDev seesm to create this automaticly for your Connections. -
How to create PopUps in Web dynpro
Hi,
How can I create Popup window in web dynpro's.
Regards,
VenkatHello Venkat,
Refer these links
<a href="http://sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f1cfe990-0201-0010-22ac-dbe4cbdef504">http://sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f1cfe990-0201-0010-22ac-dbe4cbdef504</a><a href="http://sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1208c2cd-0401-0010-4ab6-f4736074acc6">http://sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1208c2cd-0401-0010-4ab6-f4736074acc6</a>
Hope the information helps.
Regards,
Sudeep. -
How to create JAX-WS web services using providers?
I am looking at WebLogic web services, because we are investigating the possibility of migrating our web services from Apache CXF to WegLogic web services. Our web services are implemented using JAX-WS providers. However, I browsed through the Oracle Fusion Middleware document library, but I couldn't find any documents for implementing JAX-WS web services using providers.
Is there any document, tutorial, or examples of that?
Thanks in advance!
TaoOk just as I expected. So I guess I am left with the following two options
1) either I switched to using JAXB in my apps instaed of xmlbeans....
2) or if I still wanna use the old JAX-RPC web services to deploy on the Weblogic 10gR3 server i will have to create my own ant task jwsc directly......as shown below in your docs
Programming Web Services for WebLogic Server (ant tasks)
http://download.oracle.com/docs/cd/E13222_01/wls/docs92/webserv/anttasks.html
Getting Started With WebLogic Web Services Using JAX-RPC
http://download.oracle.com/docs/cd/E12840_01/wls/docs103/webserv_rpc/index.html
Will OEPE be supporting the old JAX-RPC anytime in the near future release? or have to create own build ant task to call jwsc ant task directly to compile JAX-RPC web services?? -
How to call method in web dynpro for ABAP
Hi All,
I created a z class and two methods to get the data.
I created a WE4A application. Now i want to call these methods from my Z calss in the web dynpro ,but i am getting amessage saying 'type zclass is unknown".
when i am trying to declare
data: cl_class type ref to zclass . i am getting above message.
can anyone explain how to call zcalss methods in my application.Hi,
You can call any global class method in WDA via. Wizard.
Even more you can make your class as assistance class and call their methods by wd_assist.
Thanks
Pradeep -
Showing Image in Web Dynpro using ABAP
Hi All,
I am new to Web Dynpro ABAP , basically my requirement is to show a image , could any one please tell me the steps to do that , i have already uploaded the image in application server using T-code smw0 , and in the layout i have taken the element IMAGE.
I have also made the context node as Image and under that i have made three attributes named as :-
IMAGE (Context Node)
source (Attibute type string)
tooltip (Attribute type string)
visible (Attribute type WDUI_VISIBILITY)
In the WDDOINIT method i have written the following code.
DATA:
context_node TYPE REF TO if_wd_context_node,
context_elem TYPE REF TO if_wd_context_element,
stru_image TYPE if_image_view=>element_image.
fill structure with values
stru_image-source = 'abc.gif'.
stru_image-tooltip = 'Image Tooltip!!'.
stru_image-visible = '02'. "=visible
navigate to <IMAGE> via lead selection
context_node = wd_context->get_child_node( name = `IMAGE` ).
get element via lead selection
context_elem = context_node->get_element( ).
bind structure to context element image
CALL METHOD context_elem->set_static_attributes
EXPORTING
static_attributes = stru_image.
But I am getting the error if_image_view does not exist.
Please help me and guide me if I am proceeding in a wrong way.
Thanks and Regards,
Rachit KhannaHi ,
Its very simple ....
Dont use any transaction to upload image.
right click on component and select
create->mime_object->import
suppose ur image is on desktop...
So select the path of desktop select the image and click ok.
U will see an MIMEs named folder in ur component and under which u will have ur image.
now add image element into UI and there u will have source name property ...just write the name of ur image file and test ur application.
U can see the image in output..
(Also there are different properties of image element to set the position and other things)
any queries ..feel free to ask
regards
panky -
How to create user in UME when using ABAP as datasource
hi, everyone
We are using ABAP as EP user datasource, when create user in EP, it says "Current user has user creation permissions in the UME, but cannot create users in the back-end system (data source). The original and possibly untranslated message was: "No active writeable datasource found for user creation, check your Persistence Configuration."
But we can not create in UME neither, anyone know how to do this?
LeeHi,
Solution would be to disconnect the UME from ABAP and reboot the portal, create the user in UME, and revert back to the UME/ABAP connection again... but this is not supported:
Changing Data Source
Once you have chosen this data source configuration, you cannot change to any other data source configuration. For details, see SAP Note 718383.
Source: http://help.sap.com/saphelp_nw70ehp1/helpdata/en/45/af3ac012d32e78e10000000a155369/frameset.htm
Ask the autorisation team of the ABAP stack that is connected to you UME to create the user for you is the only solution.
Cheers,
Benjamin -
How to Handle Exceptions in Web Dynpro for ABAP?
Is there a simple method inside a try/catch/endcatch/endtry using the code wizard. If anyone has any documentation or suggestions I am learning and open to all.
Thank-You.Hi Thomas,
is there also a way to globally handle all exceptions for a wd application or a wd component?
We would like to always show a popup window and write the exception (including stack trace) to the log file.
Thanks,
Christoph -
Hoe top create summary and detail report using ABAP QUERY
Hi ,
Can any one suggest me how to create summary and detailed report using ABAP Quey.
Regards,
Raghu.Hi,
Table Declaration
tables:mara,mast.
*Declaring the internal table
data: begin of itab_new occurs 0,
matnr like mara-matnr, "Material No
ernam like mara-ernam, "Material Created by
mtart like mara-mtart, "Material Type
matkl like mara-matkl, "Material Desc
werks like mast-werks, "Plant
aenam like mast-aenam, "BOM created
stlal like mast-stlal, "Alternative BOM
end of itab_new.
select-options: p_matnr for mara-matnr.
CODE A : Retrieving the data from the database
select f~matnr f~ernam f~mtart f~matkl m~werks m~aenam m~stlal
into table itab_new
from mara as f inner join mast as m
on f~matnr = m~matnr
where f~matnr in p_matnr.
CODE B : Retrieving the data from the database.
SELECT FMATNR FERNAM FMTART FMATKL MWERKS MAENAM M~STLAL
INTO TABLE ITAB_NEW
FROM MARA AS F INNER JOIN MAST AS M
ON FMATNR = MMATNR
WHERE F~MATNR = P_MATNR.
SORT ITAB_NEW BY ERNAM.
loop at itab_new.
write:/5 itab_new-matnr,itab_new-ernam,itab_new-mtart,itab_new-matkl,itab_new-werks,itab_new-aenam,itab_new-stlal.
endloop.
*TABLES: MARA , MAST.
*DATA:BEGIN OF ITAB_NEW OCCURS 0,
MATNR LIKE MARA-MATNR,
ERNAM LIKE MARA-ERNAM,
MTART LIKE MARA-MTART,
MATKL LIKE MARA-MATKL,
END OF ITAB_NEW.
SELECT MATNR ERNAM MTART MATKL
INTO TABLE ITAB_NEW
FROM MARA
WHERE MTART = 'T'
ORDER BY MATNR ERNAM MTART MATKL.
*DATA: BEGIN OF ITAB OCCURS 0,
MATNR LIKE MARA-MATNR,
END OF ITAB.
Thank U,
Jay.... -
How to create the Dynamic UI element table in web dynpro in abap
Hi All,
Does anybody have reference note or teach me how to create dynamic UI element table in web dynpro in abap ?
Regards,
LukeHI LukeWong ,
for creating any UI dynamically you shoul use their runtime class that always start with cl_wd_* ui element name*
so for the Table UI element the runtime class is CL_WD_TABLE
now reffer the below code for creating the Table UI dynamically
METHOD wddomodifyview.
DATA lr_table TYPE REF TO cl_wd_table.
DATA lr_flow_data TYPE REF TO cl_wd_flow_data.
DATA lr_container TYPE REF TO cl_wd_uielement_container.
DATA lr_column_name TYPE REF TO cl_wd_table_column.
DATA lr_text_view TYPE REF TO cl_wd_text_view.
DATA lr_table_header TYPE REF TO cl_wd_caption.
DATA lr_column_name_header TYPE REF TO cl_wd_caption.
IF first_time EQ abap_true.
lr_container ?= view->get_element( 'ROOTUIELEMENTCONTAINER' ).
lr_table = cl_wd_table=>new_table(
id = 'TBL_TABLE'
bind_data_source = 'TABLE'
design = cl_wd_table=>e_design-alternating
visible_row_count = 3
lr_flow_data = cl_wd_flow_data=>new_flow_data( element =
lr_table ).
lr_container->add_child( lr_table ).
lr_column_name = cl_wd_table_column=>new_table_column(
id = 'TBL_EXAMPLE_NAME'
lr_table_header ?= cl_wd_caption=>new_caption( text = 'Table UI elem
ent - example').
lr_table->add_column( the_column = lr_column_name ).
lr_table->set_header( lr_table_header ).
lr_text_view = cl_wd_text_view=>new_text_view(
id = 'TXV_NAME'
bind_text = 'TABLE.NAME'
lr_column_name_header ?= cl_wd_caption=>new_caption( text = 'Name').
lr_column_name->set_table_cell_editor( the_table_cell_editor = lr_text_view).
lr_column_name->set_header( lr_column_name_header ).
ENDIF.
ENDMETHOD.
Regards
Chinnaiya P
Edited by: chinnaiya pandiyan on Sep 17, 2010 12:01 PM -
Creating a report in Web dynpro using OOPS concept
Hi all,
Iam new to web Dynpro, i need to create a report in Web Dynpro using oops concept. can any one guide me regarding it.
Regads,
EasterHi,
Please refer to these links -
DEMO_COMMON_ASSISTANCE1 -Example for standard component
http://help.sap.com/saphelp_nw04s/helpdata/EN/43/1f6442a3d9e72ce10000000a1550b0/content.htm
http://help.sap.com/saphelp_nw04s/helpdata/EN/43/1f6442a3d9e72ce10000000a1550b0/content.htm
Regards,
Lekha. -
Web dynpro for abap how to create a customize search help in alv column
hi:
Web dynpro for abap how to create a customize search help in alv column and put search help value into alv column?
Are there specific examples ?
thanks!!HI:
I want to created a freely programed help which include date&time,and put help value to alv column.
I have created a freely programed help in web dynpro for abpa application,I refer:
**************** - WebDynpro for ABAP
but have a problem!
If you focus on the the input field in the first row, you get the value help
However if I go to the second row and focus on the same input field in this column, I don't get the value help:
What is a good way to solve similar problems?
thanks -
Setting a variant in WEB-DYNPRO application
Hi expert,
I want to set a variant in WEB DYNPRO ABAP application so how it is possible could you give me a any example. ASAP.
REGARD'S
VIKASHHI Vikash,
If your problem of variants is still there check this link for customize variant.......
This is for creating variant.......
/people/sharad.agrawal/blog/2008/08/25/creating-and-using-variant-in-select-options-with-web-dynpro-for-abap-2
This is for getting variants.........
/people/sharad.agrawal/blog/2008/08/26/creating-and-using-variant-in-select-options-with-web-dynpro-for-abap-3
regards
Pranav -
Source code for "Creating an Extended Web Dynpro Application"?
Hello!
I'm a rookie in the field of SAP Netweaver and I'm justing getting started with some tutorials. My problems with "Creating an Extended Web Dynpro Application" are to massive to be posted on this forum in this stage. What I want to have some help with is to find the source code for that tutorial so I can get som guidence from there.
Following text is cut out of this page:
http://help.sap.com/saphelp_nw70/helpdata/EN/5d/f42fef2eec724597a03b6bcc670c2c/frameset.htm
Creating an Extended Web Dynpro Application
You can download the Web Dynpro project for the current tutorial from the Software Developer Network SDN (http://sdn.sap.com -> Web Application Server -> Web Dynpro -> Sample Applications and Tutorials) in two versions: one skeleton version you can use for exercises and one final version (solution) for an immediate build, deployment and run on the Java engine of the SAP Web Application Server.
How hard I try I can't find the specific source code on sdn.sap.com
Does anyone have a clue where it is?
Thanks!
Best regards
/Johan Månsson LindströHi!
I did what you said but I seem to miss the IDE folder. This is what it looks in my Explorer
C: > Program Files > SAP > IDE > CE > eclipse > (no folder called "examples")
I also did a search in this eclipse folder for "examples" but I did'nt find the example I'm looking for
I am running a newer version of NWDS:
SAP NetWeaver Developer Studio
SAP NetWeaver 7.1 Composition Environment SP03 PAT0000
Maybe that's why things don't look the same?
Maybe you are looking for
-
Error in Installing From Creative Cloud
installing from Creative Cloud I get this errors Exit Code: 7 Please see specific errors and warnings below for troubleshooting. For example, WARNING: DW020 ... -------------------------------------- Summary -------------------------------------- -
-
my old computer crashed. I bought a new one. I installed Itunes, with a new account. I cannot get my music from my ipod touch to the new computer. It is all music I had downloaded from cd's I have purchased through the years. Every time I try to auth
-
Re: Cannot receive Skype contacts.
I am having a similar problem with my Skype account. I am running version 5.7 on my iPhone and the latest version (I downloaded it on Nov. 13th) my laptop. On neither one am I recieving contact request from a friend nor is he recieving any of mine. T
-
Print preview in color (sapscript)
hello does anybody know if it's possible that the print preview of an invoice (vf03) is in color ? we are using sapscipt for out output the logo is uploaded as color but it shows black/white on the print preview screen any idea's ? regards
-
I have issues.. with the usb superdrive I bought for macbook pro w/retina I put the cd in, and it worked properly at first. As soon as I started downloading the programs, the process got cancelled. Then I tried to eject the cd out of the drive, but I