Escolar Documentos
Profissional Documentos
Cultura Documentos
UnlashingSXDAandLSMWPart2Execution|SCN
GettingStarted Newsletters
Hi,Guest
LogOn
JoinUs
Store
SearchtheCommunity
Products
Services&Support
AboutSCN
Downloads
Industries
Training&Education
Partnership
DeveloperCenter
Activity
LinesofBusiness
UniversityAlliances
Events&Webinars
Innovation
Browse
Communications
Actions
CustomerRelationshipManagement(SAPCRM)
UnlashingSXDAandLSMWPart2Execution
PostedbyLusPrezGrauinCustomerRelationshipManagement(SAPCRM)onOct9,20144:18:37PM
Share
Tweet
Like
Hi!
Thisisthesecondpartofmyserieaboutimprovingthemassdatatransfer(insert,update,delete)experienceusing
LSMWandSXDAandwillbefocusedonthedefinitionofthewholeproject.
Forthedefinitionpleasecheckmypreviousblog:
UnlashingSXDAandLSMWPart1Definition
Step7:Runninganexecution
ToshowhowtheerrorishandledIcreateasmallinputfilewithsomerecordsOK,andsomeotherrecordswitherrors
(16records6errors).
Step7.1:Loadthefiletotheserver
HowmanyofusknowabouttheexistenceofthetransactionCG3Z?Unfortunatelythistransactionbelongstothe
ECCnottoCRM,sowhatwecando?IhearddevelopacustomreporttoperformtheGUI_UPLOAD?NO,becausewe
haveourbelovedSXDA(orviatransactionSXDA_TOOLS)
ThisisanotherverynicefeaturefromSXDA(SXDA_TOOLS)
AsyoualreadyseeIthasmorefunctionalitiesbutIwillfocusonthefilemanagement,soIllcompletethemandatory
datajusttobeallowedtopresstheCopybutton.
http://scn.sap.com/community/crm/blog/2014/10/09/unlashingsxdaandlsmwpart2execution
1/9
4/25/2016
UnlashingSXDAandLSMWPart2Execution|SCN
RemembertousethesamenameliketheoneyoudefinedasinputfileintheLSMW(thefilenameiscase
sensitive)
AnybodyisstillmissingCG3ZandCG3Y?
Step7.2:Executingthedatatransferrundefinition
WecaneasilyexecutethedatatransferonlineorprogrammingaBackgroundJob.
http://scn.sap.com/community/crm/blog/2014/10/09/unlashingsxdaandlsmwpart2execution
2/9
4/25/2016
UnlashingSXDAandLSMWPart2Execution|SCN
Onourscenario,wearetalkingabout16recordsoIwillexecuteitonline.
Step7.3:Analyzingtheresults
Asyoucansee10recordswherecorrectlyprocessedand6witherror,becarefulhere,becausethenumberscan
confuseyou,inthistestIchangedthepackagesizeto1,sowillbe1commitpertransaction,butIfchangedthe
packagesizeto3,willcountthenumberofpacketswitherror,notthetotalamountoferrors,soyouneedtogointothe
detailtoseetheexactamountoferrors.
Step7.4:Fixtheerrors.
AnotheradvantageofusingSXDAwiththeoptionWriteIDoctoerrorfilescheckedistheoptiontomodifydirectlythe
IDocformatfileandreprocessthedatatransferwithonlytheonesyoufixed,thisisprettycool,theonlythingI
dontlikeisforeachstep,oneSAPGUIsessionisopen,soensureyouonlyhavemandatorysessionsopenedand
closetheotherones,evenwiththat,maybeyou'llendwithoneactivesession(SXDAscreen),dependshowyour
systemisconfigured
http://scn.sap.com/community/crm/blog/2014/10/09/unlashingsxdaandlsmwpart2execution
3/9
4/25/2016
UnlashingSXDAandLSMWPart2Execution|SCN
WewilldealwiththeErrorfileoptionsinordertofixthedataandreprocessitagain,theerrorfilewillopenthewhole
errorfileinALVformat,theerrorfilelinewillopenthesegmentwheretheerrorwasdetected,thisoptionisnotalways
availableforalltheinterfaces,forexamplewiththeBusinessPartnerdatatransferitonlyappearedtheInputFileand
theErrorfileoptions.
http://scn.sap.com/community/crm/blog/2014/10/09/unlashingsxdaandlsmwpart2execution
4/9
4/25/2016
UnlashingSXDAandLSMWPart2Execution|SCN
TheIDocsareseparatedbycolors(redtheErroneousIDocweselectedintheprevioussteps,greenseparateseach
IDoc,yellowtheIDocdata)attheendisaliteversionoftheWE19,youcanadd,remove,duplicate,segments,andof
courseyoucaneditthevalues,thelatestwillbediscussedbelow.
Doubleclickonthewrongsegment,thisisthemostpainfulpart,howyoucanknowthewrongIDocsegment?,
rememberyounotalwayshavetheoptionoftheErrorfileLine,youshouldknowthereasonoftheerror,thiscanbe
foundinthesecondstepofthelognavigationviatheerrormessage,sometimesismoreintuitive,sometimesisless,
youknowwhatImtalkingabout.
OnceyoufiguredoutwhatcanbewrongyouneedtochecktheIDocsegments,butwhichone?Onewayischeckthe
segmentnameintheLSMWorusingWE30andfinditinthelistusingthesearch(CTRL+F).
http://scn.sap.com/community/crm/blog/2014/10/09/unlashingsxdaandlsmwpart2execution
5/9
4/25/2016
UnlashingSXDAandLSMWPart2Execution|SCN
http://scn.sap.com/community/crm/blog/2014/10/09/unlashingsxdaandlsmwpart2execution
6/9
4/25/2016
UnlashingSXDAandLSMWPart2Execution|SCN
Oncethechangesaremade,remembertosaveandensurethesuccessmessagepopsup,otherwiseyoucan
wastesomeprecioustimeinstupiderrors.
Step7.4:Resumetherunningexecution
http://scn.sap.com/community/crm/blog/2014/10/09/unlashingsxdaandlsmwpart2execution
7/9
4/25/2016
UnlashingSXDAandLSMWPart2Execution|SCN
Step7.4:Resumetherunningexecution
Sourcesofinterest:
HelpSAPdocuments:
DataTransferWorkbenchSAPLibrary
LegacySystemMigrationWorkbenchSAPLibrary
SCNblogs:
LSMWLongtextloadbyDirectInputmethod
LSMWandXIFIdocmethod
LSMWMaterialmasterbyBAPImethodPart1
LSMWmigrationwithIDOCmethodandusingIDOCassourcePart2:Import
andalongetc.
Endofpart2:
http://scn.sap.com/community/crm/blog/2014/10/09/unlashingsxdaandlsmwpart2execution
8/9
4/25/2016
UnlashingSXDAandLSMWPart2Execution|SCN
Endofpart2:
Ihopeyouenjoyedtheblogsandlookingforwardtoyourfeedback
Cheers!
Luis
837Views
Topics:customer_relationship_managementTags:lsmw,data_transfer,sxda
AverageUserRating
(7ratings)
Share
Tweet
Like
0Comments
Therearenocommentsonthispost
SiteIndex
Privacy
ContactUs
TermsofUse
SAPHelpPortal
LegalDisclosure
Copyright
http://scn.sap.com/community/crm/blog/2014/10/09/unlashingsxdaandlsmwpart2execution
FollowSCN
9/9