You are on page 1of 2

Search

Home Trai ni ngs Qui z Ti ps Tutori al s Functi onal Cert Q's I ntervi ew Q's Jobs Testi moni al s Adverti se Contact Us

SAP Virtual/Onsite
Trainings
Document Categories:
ABAPTM
AdobeForms
ABAPHR
ALE&IDocs
ALV
BAPI
BASIS
BSP
BusinessObjects
BusinessWorkflow
CRMNEW
LSMW
SAPScript/SmartForms
BI/BW
eXchangeInfrastructure(XI)
EnterprisePortals(EP)
eCATT
ObjectOrientedProgramming
SAPQuery
Userexits/BADIs
WebDynproforJava/ABAPTM
Others

TradeStock
CFDsOnline

Rugby
World
Cup
Products

TradeOnlinewithZero
CommissionSignup&Get
$25FreeBonus

Calling Smart Form using Driver Program


BySunitha
Let us prepare a driver program for the Smart Form that displays the address
(Click here to for the demo on ADDRESS). This is a simple demo and doesnt
containanyparameterpassinginthisexample.

Check the function module that is generated when the Smart Form is activated
byclickingonEnvironmentFunctionModuleName.

What's New?
ABAPTestCockpitHOT
SAPABAPPragmas
UnderstandingSE32(ABAPText
ElementMaintenance)
CreatinganIDocFileonSAP
ApplicationServer
UnderstandingAdvancewith
dialogoptionofSAPWorkflow
SAPWorkflowScenario:
MaintenanceNotification
Approval
Enhancementstoastandard
class
WorkingwithFloatingFieldin
AdobeForms
InsertingdatafromInternalTable
intothestepSendMail
DisplayGLAccountlongtext
usingenhancementframework
Differencesbetween
polymorphisminJAVAandABAP
Passingmultilineparametersfrom
anABAPClasseventtoa
Workflowcontainer
ConceptofReevaluateagentsfor
activeworkitemsinSAP
Workflow
Dynamiccreationofcomponent
usageinABAPWebDynpro
AdobeForms:Displaysymbols
likecopyrightandothers
DeactivateHoldfunctionalityin
Purchaseorder(ME21N)
QuizonOOABAP
AddfieldsinFBL5NusingBADIs
TutorialonWidecasting
DefiningaRangeinModulePool
Program
Copyfieldsfromone
structure/tableintoanother
structure/table
SidePanelUsageinNWBC

Contribute?
Sample Specs
What's Hot?
WebDynproforABAPTutorials

JointheMailingList
Enternameandemailaddressbelow:
Name:

Apopupwouldappeardisplayingthefunctionmodulename.

We would use this function module in our driver program to call this function
module.
Letuscreateadriverprogramwithasimplecalltotheabovegeneratedfunction
module:
REPORTZcall_smartform.
*Tocallasmartform,wewouldneedtocallthefunctionmodulethat
*isgenerated.
*Callingthegeneratedfunctionmoduledirectlyisnotanefficient
*method.Forefficientmethod,clickhere.
CALLFUNCTION'/1BCDWB/SF00000359'
*EXPORTING
*ARCHIVE_INDEX=
*ARCHIVE_INDEX_TAB=
*ARCHIVE_PARAMETERS=
*CONTROL_PARAMETERS=
*MAIL_APPL_OBJ=
*MAIL_RECIPIENT=
*MAIL_SENDER=
*OUTPUT_OPTIONS=
*USER_SETTINGS='X'
*IMPORTING
*DOCUMENT_OUTPUT_INFO=
*JOB_OUTPUT_INFO=
*JOB_OUTPUT_OPTIONS=
*EXCEPTIONS
*FORMATTING_ERROR=1
*INTERNAL_ERROR=2
*SEND_ERROR=3
*USER_CANCELED=4
*OTHERS=5
.
IFsysubrc<>0.
*MESSAGEIDSYMSGIDTYPESYMSGTYNUMBERSYMSGNO

Bethe
Ultimate
Supporter
&Order
Rugby
WorldCup
Essentials
Online!

Email:
Subscribe

Unsubscribe

*WITHSYMSGV1SYMSGV2SYMSGV3SYMSGV4.
ENDIF.
Executetheprogramfortheoutput.

GO

Android4.4TV
BOX
TopSellingAndroid4.4TV
BOX.Upto58%Off,Free
Shipping,BuyNow.

Pleasesendusyourfeedback/suggestionsatwebmaster@SAPTechnical.COM
HomeContributeAboutUsPrivacyTermsOfUseDisclaimerSafeCompanies:AdvertiseonSAPTechnical.COM|PostJobContactUs
20062007SAPTechnical.COM.Allrightsreserved.
Allproductnamesaretrademarksoftheirrespectivecompanies.SAPTechnical.COMisinnowayaffiliatedwithSAPAG.
SAP,SAPR/3,R/3software,mySAP,ABAP,BAPI,xApps,SAPNetWeaver,andandanyotherSAPtrademarksareregisteredtrademarksofSAPAGinGermanyandinseveralothercountries.
Everyeffortismadetoensurecontentintegrity.Useinformationonthissiteatyourownrisk.

GraphicDesignbyRoundtheBendWizards

You might also like