You are on page 1of 7

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

What's New?

SAPBODS integration using IDOCS


ByPraveenAddanki,HCLAXON

1.Introduction:
ImagineyouwanttobuildaReportingSolution,notaDataWarehouseinpureterms.Sosomebodyopens
thebalancesheetreportanddoesnotlikethewayitlooks.SoabookinginSAPiscreatedtocorrectitand
then....hehastowaittheentirenightuntiltheDataWarehousegetsrefreshed.Anotheroptionwouldbeto
configureSAPsoitsendsallchangestothereportingdatabaseimmediately.AndthatiswhatIDOCsare
for.
On the downside though, to configure SAP to actually send changes is quite a challenge. If an IDOC is
providedbySAPalreadyitisnotthatbad,butifyouwanttodistributechangesfordataSAPneverthought
about,youhavetowriteyourIDOCfromscratchandhookitintoeverysingleapplicationdealingwiththat
data.
The basic problem is the IDOC design. It is not like a database triggers that is independent from all the
applicationsandfiresnomatterwhoandhowachangehappened.Itishappeningonapplicationlevel,so
thereisacommonABAPcallthathastobedoneateverysingleapplication.
InsideSAP, a couple of settings have to be made, this configuration is mandatory for both sending and
receivingIDOCs.ThefollowingconfigurationsstepsareinvolvedtosendIDOCsfromBODStoSAPECC.
1.DefineLogicalSystems
2.DefineRFCDestination
3.DefiningRFCPort(TransactionalRFC)

ABAPTestCockpitHOT
SAPABAPPragmas
UnderstandingSE32(ABAPText
ElementMaintenance)
CreatinganIDocFileonSAP
ApplicationServer
UnderstandingAdvancewith
dialogoptionofSAPWorkflow

4.DefinePartnerProfile
Letusseeinbriefhowtoconfiguretheabovesteps:

SAPWorkflowScenario:
MaintenanceNotification
Approval
Enhancementstoastandard
class
WorkingwithFloatingFieldin
AdobeForms
InsertingdatafromInternalTable
intothestepSendMail
DisplayGLAccountlongtext
usingenhancementframework
Differencesbetween
polymorphisminJAVAandABAP
Passingmultilineparameters
fromanABAPClasseventtoa
Workflowcontainer
ConceptofReevaluateagentsfor
activeworkitemsinSAP
Workflow
Dynamiccreationofcomponent
usageinABAPWebDynpro
AdobeForms:Displaysymbols
likecopyrightandothers
DeactivateHoldfunctionalityin
Purchaseorder(ME21N)
QuizonOOABAP
AddfieldsinFBL5NusingBADIs
TutorialonWidecasting
DefiningaRangeinModulePool
Program
Copyfieldsfromone
structure/tableintoanother
structure/table
SidePanelUsageinNWBC

2.SAPConfigurationsettings:
2.1DefineLogicalSystems:
DefiningLogicalsystemsisdoneinSAPECCwiththetransactionSALE.
Note:ThisentiredocumentationreferstoSAPIDESsystemreferthebelowscreenshotfordetail.

Contribute?
Sample Specs

Enter the Transaction SALE to define logical system and its assignment. As this confirmation doesnt
haveauthorizationwewillrequestbasistocreateit.Henceweusedthefollowinglogicalsystemasshown
below.

What's Hot?
WebDynproforABAPTutorials

JointheMailingList
Enternameandemailaddressbelow:
Name:
Email:
Subscribe

Unsubscribe

GO

Clickontheaboveshowntodefinethelogicalsystem.Thebelowpopupcomejustcontinue

TheLogicalsystemcreatedbybasisisID3CLNT801asshownbelow.


2.2DefineRFCDestination:
EnterthetransactionSM59toconfiguretheRFCdestinationinSAPECCasshownbelow.

ClickonTCP/IPconnectionsasshownaboveandthecreateit.

OncetheRFCcreatedwithRegisteredServerProgram(ProgramID)asDI_RFCasshownhere.Withthe
definedprogramID,configurethisfromBODSsidefrommanagementconsoleasshownbelow.Logonon
toManagementconsoleandclickadministrator.

RFCserverconfigurationisdoneasshownbelow.

Theconfiguredservedneedtobestartedtheinterfaceasshownbelow.

Clickheretocontinue...

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

GraphicDesignbyRoundtheBendWizards

You might also like