




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、Steps to Create and Call the adobe form1)Create a Table Type for a Table2) Create the Interface for the Adobe Form3)Create the Adobe Form and design the layout4)Write a Program to Call the Adobe FormStep by Step Approach1)Create aTable Type for a TableGo to the Transaction Code SE11 and give the Tab
2、le Type name as ZMARI_TBLThen click Create and a popup will appear as shown below.Select the radio button Table Type and press enterEnter the Table Name MARI in the line type.Then save it as Local Object and activate it.Activate the Table Type.2) Create the Interface for the Adobe FormGo to Transact
3、ion code SFP and create the Interface for the ADOBE FORMEnter the Interface Name as ZSUR_ADOBE_INTR and click CreateGive the Description and click save.Give Description and press enterSave as Local ObjectThen the below screen will appear.Then Click Append Row icon as indicated below.Then as new row
4、will inserted and assign the Table Type ZMARI_TBL value as shown below.Then activate it.Then go back and Give the Adobe Form name click Create.3) Create Adobe Form and design the layout in the Same Transaction Code SFPGive the Description and the Interface name, which just created as indicated below
5、.Then Save as Local Object.Then the below Screen will appear.Expand the import button and you can find the Table Parameter ZMARI.Then Drag and drop it to the Context as shown below.After Drag and Drop the Table type to Context, then below screen will appear.Then Click the Layout Tab and the Below Sc
6、reen will appear.Drag and Drop the table type ZMARI to Design View Layout as indicated below.Then adjust the Table in the Top center of the layout as shown below.Select the Text from the Library and drop it the Layout Design View and give a description to the Table as shown below.Then Activate the A
7、dobe form.4)4) Write a Program to Call the Adobe FormGo to Transaction code SE38 and Create a Test Program ZCALL_ADOBE_FORM.Save it as local Object.Then enter the Below Code.REPORT zcall_adobe_form.&-&*& Author : P Surjith Kumar*& Purpose : Call the Adobe form in the ABAP Program*&-DATA: fm_name TYP
8、E rs38l_fnam, CHAR 30 0 Name of Function Modulefp_docparams TYPE sfpdocparams, Structure SFPDOCPARAMS Short Description Form Parameters for Form Processingfp_outputparams TYPE sfpoutputparams, Structure SFPOUTPUTPARAMS Short Description Form Processing Output Parameterit_mari TYPE zmari_tbl. Table T
9、ype ZMARI_TBL MARI Table Tyoe* Sets the output parameters and opens the spool jobCALL FUNCTION FP_JOB_OPEN & Form Processing: Call FormCHANGINGie_outputparams = fp_outputparamsEXCEPTIONScancel = 1usage_error = 2system_error = 3internal_error = 4OTHERS = 5.IF sy-subrc 0.* ENDIF.*&- Get the name of th
10、e generated function moduleCALL FUNCTION FP_FUNCTION_MODULE_NAME & Form Processing GenerationEXPORTINGi_name = ZSUR_ADOBE_FORMIMPORTINGe_funcname = fm_name.IF sy-subrc 0.* ENDIF.*- Fetch the Data and store it in the Internal TableSELECT * FROM mari INTO TABLE it_mari UP TO 15 ROWS.* Language and cou
11、ntry setting (here US as an example)fp_docparams-langu = E.fp_docparams-country = US.*&- Call the generated function moduleCALL FUNCTION fm_nameEXPORTING/1bcdwb/docparams = fp_docparamszmari = it_mari* IMPORTING* /1BCDWB/FORMOUTPUT =EXCEPTIONSusage_error = 1system_error = 2internal_error = 3.IF sy-subrc 0.* ENDIF.*&- Close the spool jobCALL FUNCTION FP_JOB_CLOSE* IMPORTING* E_RESULT =EXCEPTIONSusage_error = 1system_error = 2
溫馨提示
- 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)容負責。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 二手房買賣合同糾紛案例
- 禮品銷售合同書
- 電梯安裝與維修工理論過關(guān)檢測試題大全附答案
- 三年級道德與法治主題班會工作計劃
- 幼兒園大班第二學(xué)期課程整合計劃
- 幼兒園大班第二學(xué)期環(huán)境創(chuàng)設(shè)計劃
- 門面房租賃合同的簽署注意事項
- 印染項目管理崗位職責解析
- 道路工程施工中的材料選擇措施
- 藝術(shù)節(jié)文藝演出流程概述
- 2024-2030年中國語言培訓(xùn)行業(yè)競爭分析及發(fā)展策略建議報告版
- 2024-2030年中國醫(yī)療器械維修設(shè)備行業(yè)供需狀況及發(fā)展策略分析報告
- 中國心力衰竭診斷和治療指南2024解讀(完整版)
- 女性健康知識講座課件
- DB11T 1787-2020 二氧化碳排放核算和報告要求 其他行業(yè)
- 企業(yè)網(wǎng)絡(luò)安全管理規(guī)范作業(yè)指導(dǎo)書
- 2024年大學(xué)試題(計算機科學(xué))-人工智能考試近5年真題集錦(頻考類試題)帶答案
- 高空作業(yè)的技術(shù)交底
- 稅收基礎(chǔ)知識考試題及答案
- 方太電烤箱KQD50F-01使用說明書
- 幼兒園教師資格考試面試2024年下半年試題及解答
評論
0/150
提交評論