You are on page 1of 10

http://www.FreeSAPTutorial.com ScenariosimplersmartformwhichdisplaysthePOheaderandItemleveldetails. 1) Gotosmartformstcodeandgivethenameofthesmartformthatistobecreated.

2) Saveitaftergivingitameaningfulname.

http://www.FreeSAPTutorial.com

http://www.FreeSAPTutorial.com 3) Executeit,youcanseeafunctionmodulegenerated.

4) Whenweexecutethisfunctionmodulewecanseethefollowingscreen.Aswedidnotdefine andcustominterfaceparametersyet,itdoesnotappearinthisscreen.Ifwedefineanysuch parameters,itwillappearinthisscreen.

http://www.FreeSAPTutorial.com

http://www.FreeSAPTutorial.com 5) Whenweexecuteit,itasksforaoutputdevice,enterLOCLandclickontheprintpreview.

6) Wegetanemptyscreenasthereisnodataflowintotheformandnologictodisplayanything. 7) Nowgobacktothesmartformanddoubleclickontheglobaldefinitions. 8) Oncewedefineanyparametershere,wecanusethemthroughouttheformforanyoperations. 9) Inthetypestab,enterthefollowingcode

http://www.FreeSAPTutorial.com

http://www.FreeSAPTutorial.com

10) NowgotoGlobalDatatabanddeclarethefollowingvariablesaswewanttoprintthepurchase orderdata

11) Nowintheinitializationtab,entertheoutputparametersasit_ekpoandit_ekko.Alsowritethe logicinthescreenprovidedasshownbelow.

http://www.FreeSAPTutorial.com

http://www.FreeSAPTutorial.com

12) Nowthedatawillbeavailableintheinternaltableit_ekkoandit_ekpo. 13) RightclickontheMainwindowinthepage1andfollowthepathasshownbelow.

http://www.FreeSAPTutorial.com

http://www.FreeSAPTutorial.com

14) Yougetthefollowingscreenandenterthefollowingdataasshown.

Whenyoudoubleclickonthe%TEXT1thatiscreatedautomatically,yougetthefollowingscreen.

http://www.FreeSAPTutorial.com

http://www.FreeSAPTutorial.com

Thefieldabovecanbeaddedbyclickingonthefollowingbutton. Onclickingthisbuttonwegetthispopupandwehavetogivethedatawith&atthebeginningandend.

15) NowtheloopIscreatedfortheheaderdata. 16) WewillnowprinttheitemleveldataforthePO.Clickonthetablebuttonbyfollowingthepath asshownbelow.

http://www.FreeSAPTutorial.com

http://www.FreeSAPTutorial.com Thescreenlookslikethis

Everytablehasaheader,mainareaandafooter.Differentdatacanbeprintedbasedonthe requirement. Themainareawillberepeatedherefortheitemleveldata.Wecanalsosplitthelinethatcomesby default.%LTYPE1.Theprocessisshownbelow

Allwehavetodoisrightclickontherowandclickoncellfollowingtheabovepath.

http://www.FreeSAPTutorial.com

http://www.FreeSAPTutorial.com

Rightclickonthecellandcreateatext.Insidethetextenterthefollowingdataasdoneinsidetheloop. HerewearedisplayingonthePOnumberandthelineitemnumberintheoutput. 17) Createacommandline

http://www.FreeSAPTutorial.com

http://www.FreeSAPTutorial.com 18) Inthecommandline,youcanselectthenextpagethathastobetriggeredwhenthispresent pageisfilled.

19) Executethesmartformasshowninthesteps15andyouseetheoutputlikethisforthisform.

http://www.FreeSAPTutorial.com

You might also like