Академический Документы
Профессиональный Документы
Культура Документы
TransactionVariantAStepbyStepGuideforCreationCodeGallerySCNWiki
GettingStarted Newsletters
Welcome,Guest
Login
Register
Store
SearchtheCommunity
Products
Services&Support
AboutSCN
Downloads
Industries
Training&Education
Partnership
DeveloperCenter
LinesofBusiness
UniversityAlliances
Events&Webinars
Innovation
CodeGallery
TransactionVariantAStepbyStepGuideforCreation
AddedbyGuest,lasteditedbyLeonardoSchmidtonAug18,2011
Author:AshimChowdhury
Submitted:April30,2008
RelatedLinks:
http://help.sap.com/saphelp_nw04/helpdata/en/67/232037ebf1cc09e10000009b38f889/frameset.htm
http://www.sapbasisabap.com/sapbs010.htm
http://www.erpgenie.com/abap/tvar.htm
Summary
TransactionvariantisaveryefficientmethodtocreatesometailoredversionofstandardSAPtransactionwithoutanyactualmodification.Thisarticleexplainsinastepwisemannerhowtodothat.The
transactionchosenisCO01CreateProductionorder.
Introduction
TransactionvariantsarecreatedtopersonalizeanystandardSAPtransaction.Atransactionvariantsimplifiestheusageofatransactionbytailoringsomeofthefeaturesasperthebusinessneed.Itcan
beusedtohidefields,menufunctions,screens,tosupplyindividualfieldswithdefaultvaluesortochangethereadyforinputstatusofoneormorefields.
ThisdocumentdescribesthestepbystepprocesstocreateatransactionvariantforstandardSAPtransactionCO01createproductionorder.Thetransactionvariantshouldhavethefollowingrestriction:
Ordertypeisnotvisibleintheinitialscreen.
MenupathOrder>CreatefromPlannedOrderisdeactivated
Therearetwosteps,firstcreatethetransactionvariantandthenattachthetransactionvarianttoatransaction.
CreationofTransactionVariant
TransactionvariantcanbecreatedbythroughtransactioncodeSHD0.Thestepstocreateatransactionvariantasfollows:
1.GototransactionSHD0.Intheinitialscreenenterthetransactioncode(inthiscaseCO01)forwhichwearegoingtocreatethetransactionvariant.Enterthenameofthetransactionvariant(say
YCO01)inthe"TransactionVariant"fieldandthenclickthe"Create"button.
2.InthenextscreentransactionCO01willbeopenedinrecordingmode.Aswearegoingtohidethefield"Ordertype",entersomedefaultvalue(sayPP01)inthatfield.Forotherswemayormaynot
entervalues.Click"Enter".Apopupscreenwillappear.
http://wiki.scn.sap.com/wiki/display/Snippets/Transaction+Variant++A+Step+by+Step+Guide+for+Creation?original_fqdn=wiki.sdn.sap.com
1/6
6/13/2015
TransactionVariantAStepbyStepGuideforCreationCodeGallerySCNWiki
3.Inthe"ConfirmScreenEntries"popupscreenwecancustomizethefields.Enterthescreenvariantname(sayYCO01_0100)andshorttext(Testscreenvariant)here.Alsoforthefield"Ordertype"
checktheInvisiblecheckboxtohidethisfieldfromthescreen.
4.Todeactivatesomeofthemenufunctionclickthebutton"Menufunctions".Apopupscreenwillappear.Inthepopupselectthemenuitem"Order>Createfromplannedorder"andclickthedeactivate
button.
5.Themenuitemwillbedeactivated(itwillbehighlightedinyellow).Click"Enter"tocomebacktotheoriginalscreenentriespopup.
http://wiki.scn.sap.com/wiki/display/Snippets/Transaction+Variant++A+Step+by+Step+Guide+for+Creation?original_fqdn=wiki.sdn.sap.com
2/6
6/13/2015
TransactionVariantAStepbyStepGuideforCreationCodeGallerySCNWiki
6.Click"ExitandSave"buttontosavetheTransactionvariant.Systemwillpopupforatransportrequest.Wecansaveitasalocaltransportorsaveitinsometransportrequest.
7.Wecantestthetransactionvariantbyclickingthe"Test"buttonintheinitialscreen.
http://wiki.scn.sap.com/wiki/display/Snippets/Transaction+Variant++A+Step+by+Step+Guide+for+Creation?original_fqdn=wiki.sdn.sap.com
3/6
6/13/2015
TransactionVariantAStepbyStepGuideforCreationCodeGallerySCNWiki
AssigningTransactionVarianttoTransactionCode
Aftercreatingthetransactionvariantweneedtoassignittoatransaction.Thetransactioncanbeusedbytheusertogettherequiredtailoredversionoftheoriginaltransaction.Thestepsareasfollows:
1.GototransactionSE93.Enterthenameofthetransactioncode(sayYCO01_TCODE)tobecreatedandclickthebutton"Create".
2.Inthenextpopupscreenentertheshorttext,selecttheradiobuttonvarianttransactionandclickenter.
3.Inthenextscreenenterthetransaction(CO01)andtransactionvariant(YCO01)createdinthepreviousstep.Clickthe"save"buttontosavethevarianttransaction.
Thevarianttransaction(YCO01_TCODE)isnowreadyanditcanbeusedtogetthetailoredversionoftheoriginalproductionordercreation(CO01)transactioncode.
http://wiki.scn.sap.com/wiki/display/Snippets/Transaction+Variant++A+Step+by+Step+Guide+for+Creation?original_fqdn=wiki.sdn.sap.com
4/6
6/13/2015
TransactionVariantAStepbyStepGuideforCreationCodeGallerySCNWiki
Result:
InitialScreen:Field"Ordertype"isnotvisible
Menu:Menuitem"Createfromplannedorder"isdisabled
RelatedContent
http://help.sap.com/saphelp_nw04/helpdata/en/67/232037ebf1cc09e10000009b38f889/frameset.htm
http://www.sapbasisabap.com/sapbs010.htm
http://www.erpgenie.com/abap/tvar.htm
transaction
variant
step
by
10Comments
Guest
Goodexplanation
Guest
it'sveryclearstepsthanksAshim
Guest
goodwork...likeit
Guest
Goodarticle...itsgiveclearpictureonconcept..
Guest
Nicearticle
http://wiki.scn.sap.com/wiki/display/Snippets/Transaction+Variant++A+Step+by+Step+Guide+for+Creation?original_fqdn=wiki.sdn.sap.com
5/6
6/13/2015
TransactionVariantAStepbyStepGuideforCreationCodeGallerySCNWiki
SteveOldner
Thanks!Haven'tdoneonein8yearssoIgoogledSAPtransactionvariant.Thislooksthebest!
HariAndluru
ThanksfortheNicedocument...
SenthilNathan
Thankyouverymuch
Youdoneagoodjob
DanSullivan
Thanks!Thisisveryhelpful.
IsthereawaytotransportsuchchangesfromdevelopmenttoQAtoproduction?
KazuS
Thisexplanationiseasytounderstand.
Iappreciatethisauthor.
ContactUs
Privacy
SAPHelpPortal
TermsofUse
LegalDisclosure
Copyright
http://wiki.scn.sap.com/wiki/display/Snippets/Transaction+Variant++A+Step+by+Step+Guide+for+Creation?original_fqdn=wiki.sdn.sap.com
FollowSCN
6/6