




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rè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)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 行政管理???025年全方位試題及答案
- 2025年護(hù)士執(zhí)業(yè)考試心理素質(zhì)試題及答案
- 藥品評估中的臨床證據(jù)應(yīng)用試題及答案
- 行政法與社會公眾參與試題及答案
- 醫(yī)學(xué)倫理與法律問題的試題及答案解析
- 護(hù)理素養(yǎng)提升課程建議試題及答案
- 行政法與社會公平的關(guān)系試題及答案
- 行政管理文化概論學(xué)習(xí)階段中的試題及答案
- 2025年執(zhí)業(yè)醫(yī)師考試呼吸系統(tǒng)疾病試題及答案
- 中醫(yī)內(nèi)科學(xué)-肺癰課件
- 鄉(xiāng)村振興面試題及答案
- 注冊驗(yàn)船師通關(guān)秘籍2025
- 第十四屆全國交通運(yùn)輸行業(yè)職業(yè)技能大賽(橋隧工賽項(xiàng))備考試題庫(附答案)
- 2025初級社會工作師-《社會工作實(shí)務(wù)》考前沖刺備考速記速練300題-含詳解
- 全媒體運(yùn)營師內(nèi)容創(chuàng)作考題
- 《大學(xué)英語(二)》課件-The Pride of China
- GB/T 45251-2025互聯(lián)網(wǎng)金融個人網(wǎng)絡(luò)消費(fèi)信貸貸后催收風(fēng)控指引
- 道路交通安全評估體系-深度研究
- 體育產(chǎn)業(yè)信息技術(shù)應(yīng)用提升計(jì)劃
- 2025年山東魯商誠正教育科技有限公司招聘筆試參考題庫含答案解析
- 《性別平等探討》課件
評論
0/150
提交評論