Context system menu (Webdynpro Abap)
Hi Guru,
Help me!!! How can I disable/hide the context menu in webdynpro Abap for system user parameter, when I run a web application?
E.g.
- Setting
- Quick help On/Off
- More Field Help
Thanks
Hi,
please watch this [Thread|https://forums.sdn.sap.com/click.jspa?searchID=9590724&messageID=4706614]
grtz,
Koen
Edited by: Koen Labie on Mar 10, 2008 4:00 PM
corrected link
Similar Messages
-
Read file system from webdynpro ABAP
Hi All,
I wanted to check how the files in the client file system be read from a webdynpro ABAP.
I cannot use cl_guifrontend_services method directory_get_list as it gives dump sayin there is no proper GUI running.
-AbhishekHi Abhishek,
With file upload UI element you get, windows like OPEN file options. Below are the links of how to upload & Process a TAB delimeted file using the File Upload & reference from Thomas jung in reply to a similar query.
[file upload]
[Upload File in Mime Repository.]
[Save file in directory after upload with fileupload-element ?]
Greetings
Prashant -
Webdynpro ABAP or Webdynpro Java?
Hello experts.
I want to learn to develop WebDynpro's
Do you which of the two tools do you recommend? webdynpro java or webdynpro abap.
GreetingsHi Lupe ,
Although both technologies have same functionalities but even then they are not identical.
Following are some of the differences:
Language :- First difference is the programming language used as the names Webdynpro ABAP and Webdynpro JAVA reflect. In ABAP Webdynpro, along with ABAP coding, RFCu2019s are also supported via Service call. Unlike Webdynpro ABAP, we cannot do ABAP coding in Webdynpro JAVA. Instead RFCu2019s and Web services are created and used in it to serve this purpose. In addition to Web services and adaptive RFC, Java Beans is another model supported by Webdynpro JAVA.
Design Time Environment :- Webdynpro ABAP requires ABAP Workbench (SE80) while SAP Netweaver Developer Studio is necessary for designing Webdynpro JAVA applications. So, additional installation is required. This studio reduces the development effort and utilizes some visual tools for creating components which can be reused.
Storage :- Applications developed using Webdynpro ABAP are stored centrally in ABAP server whereas in case of Webdynpro JAVA, the code remains on the client machine that is developed using a tool called Netweaver Developer studio. So, due to the powerful version control system of Webdynpro ABAP, the load removes from the development machine which is not possible in case of Webdynpro JAVA.
Skills Required :- For Webdynpro ABAP, a developer should have knowledge of ABAP programming, Development tools, Database concepts, ABAP Objects. However, Webdynpro JAVA requires skill set comprising java programming, java development tools and object-oriented concept.
Performance:- Large scale applications that involve large number of web users canu2019t work well on ABAP server. So, for robust and scalable applications, Webdynpro JAVA is preferred because of powerful J2EE server as proved by Sun Microsystems. However, small-scale or applications involving small or medium users can go well with Webdynpro ABAP. Thus, performance varies depending on the number of web users and one can choose ABAP or JAVA accordingly.
So the decession is that its totaly based on your available skillsets and your scenario to be implemented.
Thanks & Regards,
Monishankar C -
Webdynpro/abap portal unable to call Remote functions?? HELP
<b>Scenario:</b>
webdynpro/abap system A talks to system B.
webdynpro Abap has a call as
call function 'BAPI_FLIGHT_GETLIST'
destination 'RFCB'....
At "A"
created SSL Server for https, created certificate request and imported it from SAPtest ticket.
imported certificates for the SSL from "mySAP" and "Server CA" downloaded from sap site
enabled the ACLs for the above 2 certificates on client '000"
The browser's http proxy tool shows that after login to system A with Http, further requests go through RFC destination to system B, called RFCB.
RFCB config to systemB as a specific user, everything is fine.
However, if RFCB is set to 'current user', it does not work.
So, SSO ticket is not used to login to system B, I guess.
How to set up the RFCB. If I change to 'trusted system', I get RFC authentication error. The sdn shows to setup S_RFC auth object into user profice with PFCG.
Can you help?
Thanks.Hi ,
I have used RFC's couple of time in WebDynpro ABAP .As I am doing WD Application for SRM where I require to fetch data from other R/3 servers .
Now do you want something like this . You will pass some parameters to RFC and based on that will updates data in that Remote R/3 and Also send results that you want show over WebDynpro Application .
Please see thread below .See that help you or not.
Re: RFC call Dumps with ***Ilegal reference***
Cheers
Parry -
Getting started to WebDynpro ABAP
Hi All,
I am new to this, i have got developer's Studio Installed and ECC 5.0 IDES installed in my system, is that enough for starting WebDynpro ABAP.
If no, then can anyone kindly tell me, from where i can get the necessary resources?
Regards
Siddhartha SenguptaHello Siddharth,
You dont need to have developer studio for webdynpro abap.
I am not sure if ECC 5.0 has webdynpro,, but positive that it should have...
Goto SE80 and in the repository browser check if you have webdypro component/interface option...along with others like package, class/interface etc...
if it there, then ur system has webdynpro abap and u can continue there.
Thanks,
Anand -
The webdynpro/ABAP (WDA) calling RFC enabled FM of other ECC systems
The webdynpro/ABAP (WDA) has problem calling RFC enabled FM of other ECC systems.
WDA expects all the ABAPs, RFC FMs of remote system(DEV, QA..) to reside inside its own instance.
It is hard to transport and maintain these ABAPs FMs into a portal ABAP WDA instance.
Proxy generation at WDA client:
=======================
1. If we can make an XI enable an ABAP or RFC enabled FM of the remote ECC,
I think the XI proxy classes can be generated at the client WDA system.
Other options?
How do I do it? Can you give some tips.
2. How do I manually code the RFC Call to BAPI/FM from Webdynpro controller or other interface?
I am stuck with the above as the webservice option is not available at our ECC server. It does not have a java engine installed for webservice to be available.
Can you help on the above 2 options?Hi Mike ,
<b><b> Answer of 2.</b></b>
How do I manually code the RFC Call to BAPI/FM from Webdynpro controller or other interface?
I am doing same thing for my current SRM implementation.I am taking data to SRM server from another R/3 server .
This is solution I have used
1) First of all I have made ABAP connection in SM59 .
Go to SM59 .In ABAP Connection creat ABAP connection with system with which u want communicate .
Eg I am connection with Systems PB1.
So i developed Connection call PB1CLNT800.
2) In my requirement I have taken data in my context from another r/3,
I have give called RFC in my supply function of node.
Call to RFC is as usual.
In my case,
CALL FUNCTION 'RFC_MATNR'
DESTINATION 'PB1CLNT800'
TABLES
IT_MATNR = IT_MATNR.
Onwards I have read my itab IT_MATNR and populated data to context.
Hope solution will serve your purpose.
Give point if it works .If any problem i have other ways.
Cheers
Parry B -
Webdynpro ABAP. read context TABLE
Hi,
i am trying to read a context in an webdynpro for ABAP where the context is an table. if I try to read a single attribute there is no problem:
get single attribute
elem_ex_mat_data->get_attribute(
EXPORTING
name = `MATNR`
IMPORTING
value = item_matnr ).
Now I see my value in the variable item_matnr.
But how can I get the whole context table EX_MAT_DATA into a internal table. I tried the the wizard with reading the context of this table EX_MAT_DATA and I get the following coding:
DATA:
node_changing TYPE REF TO if_wd_context_node,
node_ex_mat_data TYPE REF TO if_wd_context_node,
elem_ex_mat_data TYPE REF TO if_wd_context_element,
stru_ex_mat_data TYPE if_tree=>element_ex_mat_data .
navigate from <CONTEXT> to <CHANGING> via lead selection
node_changing = wd_context->get_child_node( name = if_tree=>wdctx_changing ).
navigate from <CHANGING> to <EX_MAT_DATA> via lead selection
node_ex_mat_data = node_changing->get_child_node( name = if_tree=>wdctx_ex_mat_data ).
@TODO handle not set lead selection
IF ( node_ex_mat_data IS INITIAL ).
ENDIF.
get element via lead selection
elem_ex_mat_data = node_ex_mat_data->get_element( ).
@TODO handle not set lead selection
IF ( elem_ex_mat_data IS INITIAL ).
ENDIF.
alternative access via index
Elem_Ex_Mat_Data = Node_Ex_Mat_Data->get_Element( Index = 1 ).
@TODO handle non existant child
if ( Elem_Ex_Mat_Data is initial ).
endif.
get all declared attributes
elem_ex_mat_data->get_static_attributes(
IMPORTING
static_attributes = stru_ex_mat_data ).
While debugging I find in node_ex_mat_data (CLASS=CL_WDR_CONTEXT_NODE_VAL) a attribute collection with 55 values (thats the number of values the context table should have) but I have no idea how to get the values for my internal table.
Please help.
regards
stefanHi Stefan,
You could call method get_static_attributes_table(). It returns the content of a node as an internal table. Only static attributes are considered of course.
Best regards,
Thomas -
Webdynpro abap- navigation to context node
Hello all,
I am a new user for Webdynpro - abap. I was trying to set a default value to a input field. I am using WDDOINIT method for navigation to context node FLIGHTINFO. But i am not getting the exact idea behind the navigation at code level. Also not clear about get element at lead selection for context node FLIGHTINFO.
Please provide inputs in this case.
Thanks,
YogeshHi
There can be many nodes in the context, and many elements in each node. In order to set the default value to one of the attributes, we need to proceed as follows:
1) Get the reference of node, whose attribute needs to be defaulted. Following is the code for the same:
DATA lo_nd_cn_node TYPE REF TO if_wd_context_node.
navigate from <CONTEXT> to <CN_NODE> via lead selection
lo_nd_cn_node = wd_context->get_child_node( name = wd_this->wdctx_cn_node ).
wd_context has the reference of context node (root node). It gives the reference of desired node (its child node) using method get_child_node. We pass the name of desired node as parameter of this method.
2) In similar way we proceed to get the reference of desired element using following code:
DATA lo_el_cn_node TYPE REF TO if_wd_context_element.
get element via lead selection
lo_el_cn_node = lo_nd_cn_node->get_element( ).
3) This element may have many attributes. We set the default value to attribute of selected node using following code:
set single attribute
lo_el_cn_node->set_attribute(
EXPORTING
name = `CA_TEST` " name of attribute where input field is bound
value = lv_ca_test ). "Value that you want to set as default
Follow the links for more help:
http://help.sap.com/erp2005_ehp_04/helpdata/EN/46/14cf058d484250e10000000a1553f6/content.htm
http://help.sap.com/erp2005_ehp_04/helpdata/EN/46/1b994f0c475a67e10000000a1553f7/content.htm.
Regards,
Saket. -
How to read some images from file system with webdynpro for abap?
Hi,experts,
I want to finish webdynpro for abap program to read some photos from file system. I may make MIMES in the webdynpro component and create photos in the MIMES, but my boss doesn't agree with me using this way. He wish me read these photos from file system.
How to read some images from file system with webdynpro for abap?
Thanks a lot!Hello Tao,
The parameter
icm/HTTP/file_access_<xx>
may help you to access the pictures without any db-access.
The following two links may help you to understand the other possibilities as well.
The threads are covering BSP, but it should be useful for WebDynpro as well.
/people/mark.finnern/blog/2003/09/23/bsp-programming-handling-of-non-html-documents
http://help.sap.com/saphelp_sm40/helpdata/de/c4/87153a1a5b4c2de10000000a114084/content.htm
Best regards
Christian -
How to bind webdynpro abap context attributes with interactive form table
hi,
I was created table in interactive form and add the all context attributues to each column of the table.
And add the table into the subform.
i want to bind the table using bapi values form Webdynpro abap.
please give the detailed explanation.
by
ParthasarathiHey Lingam,
Check out this link...
[Inserting a Table or Loop|http://help.sap.com/erp2005_ehp_04/helpdata/EN/4c/9cc19e5c874091a99790e540b06f3a/frameset.htm]
It's for EhP4, so I'm not sure if it would apply.
Hope this helps...
Cheers,
Kevin -
Hello,
I would like to call WebDynpro ABAP application from BPM.
I assume in order to get process data from BPM i must call some specific web service with process id which must be delegated to WD ABAP. Via call of a web service
it must be also possible to confirm the step as processed. Is it correct?
Of course it would be nice if SAP would offer an access to WD ABAP Components (context and events) directly from BPM like it is possible with WD Java.
Regards
PaulHi Krishnam,
We are currently working on a draft article for the SDN community on this... to give you the overview of what is needed for WebDynpro ABAP UIs in BPM:
1. You you need to create a Web Dynpro ABAP component with a CHIP (Collaborative Human Interface Part). BPM will use the CHIP to call the component and export/import data. This means your ABAP system must be at least on platform SAP NetWeaver 7.02 SP5 (e.g. a ECC 6.0 EHP5 system or similar) and your NetWeaver BPM needs to be 7.2 or higher.
2. In transaction SE80 use the context menu on your Web Dynpro ABAP to add the CHIP
3. In the CHIP you select the interface view and start-up plug to be exposed as CHIP. Existing views and plugs can be used.
4. You need exactly one interface component method with only one importing parameter to be used as the CHIP Inport. An existing interface method can be used if you have one. In the CHIP you select the method and which parameters to expose.
Note: The parameter is either a DDIC structure or table type. Within the parameter the data types currently supported by BPM for CHIPs are STRING, INT4, and WDY_BOOLEAN - so its best to stick to those and do any conversion in the mapping on the BPM side.
5. You need at least one interface event with an exporting parameter to used as the CHIP Outport. An existing interface event can be used if you have one. In the CHIP you select the event and the parameters to expose.
Note: Normally we create two events - a complete event and an error/cancel event (we can use the error event as a boundary event in BPM).
6. On the "Properties" tab of the CHIP, mark the chip as "Remote-enabled" and enter the Loading application "WDR_CHIP_LAUNCHER".
7. On the "Inports" tab of the CHIP, assign the tag CHIP_CONTRACT:PROCESS_STEP_START_POINT.
8. On the "Outports" tab of the CHIP, assign the tab CHIP_CONTRACT:PROCESS_STEP_END_POINT.
Note: if you forget to do steps 7 and 8, BPM will find your chip but complain that its not valid and won't let you assign it to your task.
9. Then go to BPM and Create a new task (do NOT use the UI generation template here - just start with an empty task). In the User Interface section of the task use the "Choose..." button and the UI Wizard "Online Technologies(Web Dynpro Java, Web Dynpro ABAP, Visual Composer). Select Web Dynpro ABAP and your SAP system (you can use SAP systems configured in your NWDS preferences or add them on the spot here with the "Configure R/3 Destinations" hyperlink).
10. Press the "Search" button to find your component. It will show the name of your CHIP - not its technical id - so make sure you know what you called it. By default it selects for only supported components (there's a checkbox to do this towards the bottom of the Select UI Component wizard window) - if you can't see your CHIP, try searching for all components and you will be able to see a brief message giving you some idea as to what is still missing from your CHIP.
11. Select your CHIP and complete the wizard.
We'll be putting screenshots in the article.
Hope that helps,
Regards,
Jocelyn -
Interactive Adobe Forms using WebDynpro ABAP
Hi,
I could able to design and execute my interactive adobe form using webdynpro ABAP. Here what i am doing is i am creating context with my structures and table types and pdfobject of type xstring and passing the proper inputs in interactive form properties, in template sources i am provinding the interface and form name of my own choice and it is getting created automatically by the system, every thing works fine here and i could able to execute my form from web dynpro application.
Here my requirement is i have already created structures and table types after that i went to transaction SFP and created an interace and by using that interface i have created form and i have designed the layout. Now what i want to do is i want to integrate this form in my webdynpro appliction and i want to execute it from webdynpro applicaton. When i try to do i am getting short dump, is my approach feasible or not . kindly suggest. If we can achieve this what is the way to achieve.
Please do send your suggestions.
Regards,
VenkatHi
When u click on button..u will have to get the data from node which is existing on the Intereactive form and pass it to other view via writing logic in button event handler.
The data can be displayed in other view as result.
I hope u got it.
Provide REWARD points..:-) -
Hi experts,
while executing webdynpro abap application, i am getting the following error.
The following error text was processed in the system I01 : User session (HTTP/SMTP/..) closed after timeout
The error occurred on the application server paritas_I01_10 and in the work process 1 .
The termination type was: ERROR_MESSAGE_STATE
The ABAP call stack was:
Method: PREPROCESS_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDRHi Satya,
Check your context node binding and method for executing database table.
Hope this will helps you,
BR
Arun Jaiswal -
Advantages of netweaver(webdynpro abap) comparing to sap(abap
plz tell me the advantages of netweaver(webdynpro abap)comparing sap
Hi,
Broken link removed
Also, I have the official Web Dynpro for ABAP documentation. Please let me know if I should send it to you.
Hope that the following also helps you.
Web Dynpro for ABAP (WD4A, WDA) is the SAP standard UI technology for developing Web
applications in the ABAP environment. It consists of a runtime environment and a graphical
development environment with special Web Dynpro tools that are integrated in the ABAP
Workbench (SE80).
Web Dynpro offers the following advantages for application developers:
● The use of declarative and graphical tools significantly reduces the implementation
effort
● Web Dynpro supports a structured design process
● Strict separation between layout and business data
● Reuse and better maintainability by using components
● The layout and navigation is easily changed using the Web Dynpro tools
● Stateful applications are supported that is, if the page is changed and the required
data remains intact so that you can access it at any time throughout the entire
application context.
Note that stateless applications are not possible.
● Automatic data transport using data binding
● Automatic input check
● Automatic operation of the Web Dynpro application using the keyboard
● User interface accessibility is supported
● Full integration in the reliable ABAP development environment
Web Dynpro Architecture
Definition
Web Dynpro is the SAP NetWeaver programming model for user interfaces (UIs).
The Web Dynpro model is based on the Model View Controller paradigm, and has the
following features that build on the classic dynpro model:
● Clear separation of business logic and display logic
● Uniform metamodel for all types of user interfaces
● Execution on a number of client platforms.
● Extensive platform independence of interfaces
Structure
Metamodel Concept
Web Dynpro provides support for developing Web representation of a business application.
You use specific tools to describe the properties of a Web Dynpro application in the form of
Web Dynpro metadata. The necessary source code is then generated automatically and
executed at runtime. In addition to the events offered by the framework, you can also define
your own events for a Web Dynpro application. However, the event handling must always be
programmed in separate source code areas which are executed automatically when the event
is triggered at runtime.
In Web Dynpro, each user interface is always made up of the same basic elements. These
elements of the metamodel can be statically declared using Web Dynpro tools.
It is also possible to implement elements of the metamodel at runtime and to change them or
reintegrate them at runtime. Using these implementations, you can make any changes or
enhancements to a user interface that has been created by declarative methods by
generating new interface structures at runtime.
This means that you can combine declarative processes and the implementation of source
code.
Graphical Development Tools
To support this declarative concept, both the SAP NetWeaver Developer Studio and the
ABAP Workbench contain a range of Web Dynpro tools. You can therefore generate a large
proportion of a Web Dynpro application using the tools provided, without having to create your
own source code. This applies to the following parts of the application:
● Data flow between the front end and back end
● Layout of the user interface
● Properties of user interface elements
The Web Dynpro tools enable you to create source text areas manually within generated
source texts. These areas are not changed if the source code is regenerated.
Separation of Business and Application Logic
Using Web Dynpro enables a clear separation of business logic and display logic. A Web
Dynpro application runs on the front end and has local or remote access to the back end
system via a service. This means that the display logic is contained in the Web Dynpro
application, while the business logic and the persistence of the business objects run in the
back end system. The following options are currently available for connecting Web Dynpro
applications and the back-end system:
● An interface generated using adaptive RFC, through which BAPIs of an SAP system
can be called
● An interface for calling Web services
● A self-generated interface
The source code required for connecting the Web Dynpro application can be generated
from a UML definition of the Web Dynpro interface. A UML definition can be imported
into the Web Dynpro tools as an XML file.
Conversion of the Model-View-Controller
Conversion of the Model-View-Controller Programming Model
Every Web Dynpro application is structured according to the Model View Controller
programming model:
● The model forms the interface to the back end system and thus enables the
Web Dynpro application access to data.
● The view is responsible for the representation of the data in the browser.
● The controller lies between the view and the model. The controller formats
the model data to be displayed in the view, processes the user entries made by the
user, and returns them to the model.
Web Dynpro ABAP Demonstration Videos
Regards,
Sree
Edited by: Jason Lax on Feb 2, 2012 4:44 PM -
Best way for binding tables from webdynpro Abap with FlashIsland
Hi,
We've found several ways to access ArrayCollection columns in a Flex application embedded in an Abap Webdynpro.
The SAP System is SAP Netweaver 7.01 SP7 and the flex application is compiled with SDK 3.0.
1/ Syntax like MyArrayCollection[n][Column1]. In this case, the GACProperty's name of the GACDataSource must be "Column1" and it is case sensitive
2/ Syntax like MyArrayCollection[n].COLUMN1 where COLUMN1 is the attribute's name in the webdynpro Abap context node. In this case, the GACProperty's name seems to not be important, and the column's names of the ArrayCollection must be upper case.
Do you know which is the best way to do the binding and why?Check the Explan Plans for indexes, join orders
and also check the link
http://forums.oracle.com/forums/thread.jspa?messageID=2222015�
Regards
Singh
Maybe you are looking for
-
How do I reinstall my Creative Suite 5 Design Premium without getting an error message?
I recently uninstalled Adobe Creative Suite 5 Design Premium from my old computer (Design Premium CS5 & Adobe Acrobat 9 Pro components) so that I can put it on my new computer (Windows 7 Home Premium). At first I forgot to uninstall Acrobat and tried
-
In the parent table has a ROWID of an index of the child table FK!
From the structure of the heap table is a problem. PK has a parent table. Child table has a FK. If you have FK to the parent table has a ROWID, I think in terms of speed to get the best performance. what do you think? Edited by: user5647868 on 2011.
-
Is it mandatory to shutdown oracle database before installing HTMLDB
Hi All, Is this is must to shutdown the all services like HTTP and others before installing HTMLDB 1.6?If this, then it will be huge impact to deploy the application finally in the production oracle database where parallely others processes and jobs
-
Exported Jpeg's when sent to photo lab print too dark
I have had consistent results with exported jpeg images that look fine on my monitor (as raw files)and show in the histogram in lightroom 2.5 as the highlights just starting to clip as printing too dark when sent to a photo lab in SRGB. Is this a fa
-
My iPod 4 generation's screen won't turn on.
I have an iPod touch (4th generation). The situation is that the screen is black and stays black even if I were to plug it in, or turn it on, even though it isn't dead or shut off because I can still hear the noises it makes, for example, I can hear