

下載本文檔
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、 3/3WebDypro兩個頁面之間傳值 WebDypro兩個頁面之間傳值 WebDynpro for ABAP TM Scenario: To create and run a simple WebDynpro Application. We would accept an input value from the user on first screen and display the value entered on the second screen. Note:Please refer to the SAP? help for detailed information of the
2、components used in this document. Procedure: 1.Go to transaction SE80. Please note that there is no separate transaction for creation of WebDynpro application other than SE80. 2.Select “WebDynpro Comp./Intf” from t he list (as shown below) 3.Create a new WebDynpro component by the name ZSAPTECHNICAL
3、_DEMO. Assign it to the local object. 4.Right click on the WebDynpro component “ZSAPTECHNICAL_DEMO” and create a view. Save the application 5.Double-click on the COMPONENTCONTROLLER. 6.Check if the application is in change mode. 7.Create a node as shown below: 8.Create an attribute for the node as s
4、hown below: Save the application. 9.Double-click on the view, FIRST_VIEW, created earlier. In this step, we would be designing the first screen of our application with the following elements: ?Label for the input field ?Input field ?Button (for Submit) Drag and drop the element “Label” onto the layo
5、ut. After dragging and dropping onto the layout, change the text of the “Label” to “Username” in the right side bottom of the window. Now drag and drop the “input field” onto the layout. Now click on the Label element created earlier and set the property of “LabelFor” to “INPUT_FIELD”. Finally, drag
6、 and drop the element “Button” on to the layout. In the properties window of the Button, do the following: Change the text to “Submit” Click on “Create” for the property “OnAction”. Enter the Action and the Outbound Plug name. Press “OK” for the creation prompt of Outbound Plug. Click on “Context”ta
7、b. Drag and drop the Node on the right side to the context on the left side. Click on YES for the prompt for the node to copied and mapped. Save the application. Click on Layout tab now. Double-cl ick on the “Input_field” and in the properties: a)For the property “Value”, select the attribute “Name”
8、 by clicking on the binding button. We are done with designing of the first screen. 10.In this step, we would design the second screen of our application. Right-Click on the WebDynpro component and create another view, SECOND_VIEW. Create a label, “Entered Name” as mentioned in the earlier step. We
9、would display the value entered on the first screen in an element called “text view”. Drag and drop the element “Text View” onto the layout. Click on “Context” tab and map the nodes as in our earlier step. Go to Tab “Inbound Plugs” and create an inbound plug as shown below: Go back to the layout now
10、. Now double-click on the element “TextView” to open the properti es. For the property “Text”, click on the binding button and select “Name” 11. In this step, we would embed the above created views in the window created in the first step. a)Double-click on the window “MAIN_WINDOW”. b)Right-click on
11、the window name and select “EMBED VIEW”. c)Embed both the views created earlier. Do not select the view “EMPTYVIEW” which is created by default. d)Expand the tree. e)Now right-click on “SUBMIT” and select “Create Navigation”. f)Select “SECOND_VIEW” for the des t.view. g)Now select the FIRST_VIEW and
12、 make it as default. Save and activate the application (When activating, select all the six components related to this webdynpro application. If all six components are activated, only then your application executes) Now your application is ready to execute. Lets look at the method of testing this application.
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 藥品庫存abc管理辦法
- 董事、監(jiān)事委派管理辦法
- 虹口區(qū)廠房工程管理辦法
- 融資租賃企業(yè)監(jiān)督管理辦法
- 衢江區(qū)小額工程管理辦法
- 衡水公積金管理辦法細則
- 裕安區(qū)扶貧項目管理辦法
- 西安物業(yè)管理收費管理辦法
- 視頻監(jiān)控室值守管理辦法
- 評標專家評審期間管理暫行辦法
- Q∕SY 1836-2015 鍋爐 加熱爐燃油(氣)燃燒器及安全聯(lián)鎖保護裝置檢測規(guī)范
- 北京輸變電工程標準工藝應(yīng)用圖冊(圖文并茂)
- 儀器使用記錄表
- 石河子大學(xué)化學(xué)化工學(xué)院學(xué)院綜合測評方案-理學(xué)院
- 《汽車電工電子技術(shù)》全套教案(完整版)
- 國家職業(yè)技能標準 (2021年版) 嬰幼兒發(fā)展引導(dǎo)員
- (高清正版)JJF(浙)1091—2014內(nèi)測卡尺校準規(guī)范
- 伯杰氏細菌系統(tǒng)分類學(xué)手冊
- 國際結(jié)算業(yè)務(wù)系列培訓(xùn)-福費廷業(yè)務(wù)課件
- 班組計件承包協(xié)議書
- 幕墻安全技術(shù)交底
評論
0/150
提交評論