版權(quán)說(shuō)明:本文檔由用戶(hù)提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
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. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶(hù)所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶(hù)上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶(hù)上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶(hù)因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 科研機(jī)構(gòu)行業(yè)實(shí)驗(yàn)室安全保障
- 咨詢(xún)服務(wù)保安員工作總結(jié)
- 公司注冊(cè)代理合同三篇
- 動(dòng)漫游戲行業(yè)會(huì)計(jì)的特點(diǎn)總結(jié)
- 2023年浙江省杭州市公開(kāi)招聘警務(wù)輔助人員輔警筆試自考題2卷含答案
- 《合理使用中成藥》課件
- 高三學(xué)習(xí)計(jì)劃書(shū)
- 河北省唐山市(2024年-2025年小學(xué)六年級(jí)語(yǔ)文)統(tǒng)編版隨堂測(cè)試(下學(xué)期)試卷及答案
- 2024年防沉劑項(xiàng)目資金籌措計(jì)劃書(shū)
- 顧客檢查表(完整版)
- 生物化學(xué)期末考試題庫(kù)與答案
- 山東昌樂(lè)二中的“271高效課堂”
- 人教版高中物理新舊教材知識(shí)對(duì)比
- 國(guó)際結(jié)算期末復(fù)習(xí)試卷5套及參考答案
- 六年級(jí)上冊(cè)數(shù)學(xué)圓中方方中圓經(jīng)典題練習(xí)
- 現(xiàn)場(chǎng)組織機(jī)構(gòu)框圖及說(shuō)明
- 《城鎮(zhèn)燃?xì)夤芾項(xiàng)l例》解讀
- 七年級(jí)數(shù)學(xué)幾何證明題(典型)
- X62W萬(wàn)能銑床電氣原理圖解析(共18頁(yè))
- 小康煤礦水文地質(zhì)類(lèi)型劃分報(bào)告
- (完整版)中央空調(diào)現(xiàn)場(chǎng)勘察信息表
評(píng)論
0/150
提交評(píng)論