Anda di halaman 1dari 54

SAP

MANUALADMINISTRADORACISAP

BASIS

Marzo2011
EnglishEspaol

BASIS MANUAL
ANALISTAS

2011ACISAP
Page1of54

PARA

CONSULTORES

SAP

MANUALADMINISTRADORACISAP

2011ACISAP
Page2of54

SAP

MANUALADMINISTRADORACISAP

Icon

Meaning
Precaucin

Ejemplo

Nota
Recomendacin

2011ACISAP
Page3of54

SAP

MANUALADMINISTRADORACISAP

Contenido

Introduccin
1

GestindeTablas
1.1

Anlisisdetiempodeejecucin

1.2

Gestindendicesdelastablas

1.3

Backup

Gestindecopiasdelmandante

GestindelaSPAM,laSPDDySPAU

ProgramadeActualizacintrasImportdeMandanteoSubidadeParches.

ProgramaSNIF

GestindeParchesysuvueltaatrs

GestindeVersiones
7.1

ConocerlaversindelSAPGUI

7.2

NiveldeParches

Abrirunaaccindecustomizingenproductivo:NotaOSS135028
8.1

Ejemplodetabladecustomizingquesepermiteactualizardirectamente.

8.2

PermisosdeActualizacinalasTablas

8.3

AadirunaentradaenlaIMGdeparametrizacin.

8.4

IntegratingaconfigtableintothestandardIMG

Activarellogdemodificacionesdeunatabla.

10

GestindeServidores

11

MtododeActuacinenTerminacindeActualizacin

12

AuditoradeseguridadAUDIT

13

ModificarelEstadodeunBatchInputErrneo

14

GestindelArchivado

14.1
15

BorradodeArchivado
GestindeJobs

15.1

Debuggingunjob/procesolanzadoenfondo

15.2

GestindePrioridadadesdelosjobs

15.3

Borradodeunjobqueestcorriendo

15.4

Verificarqueunjobnoestcolgandoyestactualizandodatos

16

GestinderdenesdeTransporte

16.1

Cambiarestatusdeunaordendetransporte

16.2

Cambiarmandanteorigenparaobjetostocadosenproduccin

16.3

Eliminarcamindetransportedetodaslasrdenes

16.4

Cmotransportarentredossistemassingestindeltransporte

16.5

Modificarprogramasconelbloqueodeeditoractivado

16.6

Programaparasimulareltransportedeunaordenaproduccin.

2011ACISAP
Page4of54

SAP

MANUALADMINISTRADORACISAP

16.7

Transportarunaordensintenerqueliberarla.

17

Copiarcontenidodetabla

18

Accesoaunmandantedesdeotromandante.

19

Eltiempoderespuestadelsistemaesmuylento

20

Gestindelosusuarios

21

TransaccinSTAD

22

Gestindelaimpresora

23

Gestindelosbloqueosdelsistema

24

SubirybajarficherosdeSAPaldiscoduro

24.1

RFCEXEC

25

Configuracindelmandante

26

Gestindelsistemalgico

27

TableSettings

28
Transaccionesmsutilizadasporunconsultor,programadoryanalistadentrodelrea
deBasis.

Introduccin

Unosconocimientosbsicosdelmdulodeadministracinsonnecesariosparalaprctica
profesionaldeunmiembrodeACISAP.Enestedocumentosetratanlospuntosmsutilizadospor
losconsultoresyanalistas.
11

GestindeTablas

2011ACISAP
Page5of54

SAP

MANUALADMINISTRADORACISAP

1.1

Anlisisdetiempodeejecucin

Paraconocerlastablasqueestautilizandounadeterminadatransaccinprogramasepuede
utilizarla
transaccinSE30
Introducirlatransaccinsequedeseeanalizar.
Enrestriccinmedida/Variante.IntroducirlaTMP.
SeaprietaelbotndeModificar(ellpiz).

EnlapestaadeDuracin+Clase
Seleccionarningunaagregacin
Segrabalavarianteyseejecuta.
Seintroducenlosdatosdelatransaccinysevuelveala
transaccinSE30
SeaprietaelbotndeEvaluar.
EnPasara/Listaaciertos()/SeeligelaopcindeTablasdebasededatos

2011ACISAP
Page6of54

SAP

MANUALADMINISTRADORACISAP

Semuestraelcdigodelatabla,consutipodetablaydescripcin.
EnestatransaccinseencuentralaopcindeTips&Tricksqueesmuyrecomendablepara
abaperos.

Otraopcinparadetectarlastablasrelevantes,esutilizarla
transaccinST05
conobjetode
realizarunatrazadeSQL.
Enunasesinseactualizalatrazayenotratransaccinseejecutalatransaccin.
Sedebeactivarlatrazaconelfiltrodenuestrousuariolatransaccindeseada.
Unavezquehemosterminadodeejecutarlatransaccinhayquepararlatraza.

Gestindendicesdelastablas

1.2

Muchasvecespensamosquealgenerarunndiceaunatablaelsistemasiemprepasarpor
nuestrondiceperoestonoesasparaverificarsobrequndiceestpasando.

Lanicaformaconocidaqueunprogramaofuncinpaseporelndiceesrealizarlaselect
2011ACISAP
Page7of54

SAP

MANUALADMINISTRADORACISAP

correctamente,esdecirquesellameporloscamposdelndiceyenelmismoorden.
Normalmentenohayunmximodendicespermitidoydependermuchodelusodelatablayde
loscamposdelamisma,peronoesrecomendablemsde5ndices,yaqueestopenalizara
mucholainsercinderegistros.

Efectivamente,nosepuedeusarningncomando/sentenciaparaforzarelusodeunndiceen
concreto.Aveces,inclusoponiendolosmismoscampos,esposiblequeutiliceotrondice,yaque
lavaloracindelusodelndice,lohaceelgestordebasededatosentiempodeejecucin.

1.3

Backup

Esposiblerealizarunabackupslodeunatablaounastablasdeterminadasynotodoelbackup?
Loserroresdeestetipo(lgicos)sonmuycomplejosdesolucionar.
Qupasasilatablaesuncluster.Imaginemosqueelsistemahaquedadocorruptoysedesea
recuperarelbackupdeayer?
Losusuariosslohicieronpedidosdeventas.Esposiblerecuperarunaparte,porejemplolos
pedidosdeventasynotodoelresto?Recuperaramoslastablasdepedidos:VBAK,VBAP,
VBEPylasestructurasinfonadams?
Laformadeactuarserarealizarun
restore
enotramquinayhacerun
export
yun
import
dela
tablanecesaria.
Noesposibleun
backup
selectivodetablascomotal.Elprocedimientoanteriorslofuncionaria
contablasmuyconcretasquenoestnrelacionadas,yaquemuchasvecesundatopuedeestar
distribuidoporvariastablas,siunadeellasnosevuelveaintroducirsegeneraraninconsistencias.
21

Gestindecopiasdelmandante

Cuandosecopiaunmandanterespectoaotrosepuedencopiar:
Datos
Customizing
Usuarios

Todoloquees
workbench
esindependientedemandante.
Simachacamoslosusuarios,seborrantodoslosusuariosnocoincidentesqueestabanen
mandantedestinoynoenelmandanteorigen
Silosrolesdelosusuarioserandiferentessepierdetodoloquetenanenelmandantedestinoy
pasanatenertodoloquetenanenelmandanteorigen.

31

GestindelaSPAM,laSPDDySPAU

Paradetectarmodificacionesenelsistemaestndarseutilizanestastransacciones.

La
transaccinSPDD
seejecutacuandosesubealgnparcheysonmodificacionesenel
diccionariodedatos.Suelensermodificacioneseneltamaodelelementodedatos,porloque
hayquetenercuidadoalaplicarlos,siseaplicanenunatablaconmuchosregistrospuedeprovocar
quelaactivacindelatablapuedatardardas.
Trasimportarun
supportpackage
oLCPla
transaccinSPAU
verificalasmodificacionesa
ajustartantoporrdenesdetransportequecreaquesonrelevantescomoparanotasdeSAPque
hayansidopasadasyquesedebenajustar.

2011ACISAP
Page8of54

SAP

MANUALADMINISTRADORACISAP

EstasnotasdanmuchosproblemaspueslaSPAUpuedeponerlasendiferentesestadosyse
fuerzaarepasarsuscambiosysinoseandaconmuchocuidadosepuedenrealizarrepeticiones
detrozosdecdigo,erroresdesintaxisotodavapeor,escogercdigoantiguo.

ElorigendelproblemaeselmbitodeaplicacinelegidoporSAPparaestasnotas,esdecir,son
aplicablesatodoslosnivelesdesupportpackageodesdeunciertonivelenadelante.Parasabersi
estonospuedesucedersemiraenlanotasilosobjetostienenelcomentario'allsupport
packages'o'fromSAPK..'.EstossonloscasosproblemticospuesSAPliberasussupport
packageconcambiosrespectodeestasnotasynospuedecrearlosproblemascomentados.

LaSPAUnospondrunaseriedeproblemassurgidostraselimportdelsupportpackage.Tenemos
porlogeneraldoscasos:

Notas

Objetos.

Primerovamosavercomosedebeprocederalrepasoycomointerpretarlosmensajesenelcaso
delasnotas.Lasnotaspuedenestarenvariosestados,asaber,luzroja,verde,amarillaoen
interrogante.Entodosloscasosdebemospincharsobreelsemforoparatratarlanota.Enelcaso
deluzverdetansolopasaraserunamarcaverdequenosdirquetodoestOK.Enelcasode
luzrojaesmscomplejoyhayquetomarnotadelosconsejosdadosporpantalla.Enelcasode
interrogantedebemosactualizarelestadodelaSPAUcomosenosaconsejeporpantallamediante
unjobdefondoyvolveraejecutarlaSPAUcuandoterminedichojob.Enelcasodeluzamarilla
debemosrepasarlanota,

Explicamosacontinuacincomohacerlosintenerproblemas.

Repasarunnotaconsisteenaplicarlateniendocuidadodenometercambiosnodeseados,para
elloseraconvenientetenerotromodomsabiertoconlaSE38.Cadanotaalrepasarlasacaruna
listadeobjetosmodificadosquepuedenaparecerconluzamarillaoverdeycondiferentes
mensajes.Segnelmensajeactuaremosdeunaformauotra.Losmensajessonlossiguientes:

Verdeymensajedenohaberrealizadocambios.Estosignificaqueloscambiosya
existan,demaneraquenonosafectaelaplicarlanotaparaesteobjeto.

Verdeymensajedecambios.Enestecasoloscambiossehanaplicadoyno
estabanrealizados.Tenemosquerevisarsiestecambioparaestanotaesaplicableparanuestro
niveldelsupportpackage.AsumiremosloscambiosdelasnotasquetenganAllsupportpackages
obienelniveldesupportpackageseasuperioralqueaplicamos(
cosaimprobable).

Enelcasodesercambiosdeotronivelesposiblequenoshayarepetidocodigofuente,entonces
habrqueeditaryversiloscambiosestabanyencasodeserasdesaplicarlos.

Amarilloymensajedecambiosrealizadosperoincompletos.Estosucedecuando
sehanrealizadoalgunoscambiosyotrosnosehapodidopornohaberencontradoelcontextode
losmismos.Hacemoslomismoqueenelpuntoanterior,conlaaadiduradequesiloscambios
quenosehanrealizadosedebenaplicardebemoshacerlomanualmente.

Siunavezrepasadalasnotastenemosobjetosenamarilloorojo,debemosverquerdenesnoslo
bloqueanohanrealizadocambiosdestacables,concuidadoderespetarlasordenesquehayan
cambiadoelestndarapropsito.LaSPAUpara solucionarnosharunsplitscreenpara
compararlaversindelsupportpackageconlanuestraypodremoscopiarlostrozosquenos
convengan.Estoessumamentedelicadoysenecesitardeayudadeconsultoresdelmdulo
afectadoparasabersimanteneronociertoscambios.
2011ACISAP
Page9of54

SAP

MANUALADMINISTRADORACISAP

41

ProgramadeActualizacintrasImportdeMandante
oSubidadeParches.

Despusderealizarunimport,unacopiaounasubidadeparches,puedenaparecererroresen
tiempodeejecucin,deprogramasestndar,noencuentranrutinasetc.
SolucinEjecutar
el
programaRGUGBR00
marcartodoslospinchossalvoelltimo.
51

ProgramaSNIF

SiintuimosquesehamodificadoelestndarperonoestamossegurodedondeSAPhacreadoel
programaSNIFquemuestralosAppends,BAdI,BAPI,BTE,CI_INCLUDE,CUSTOMEREXIT,
FIELDEXITydemsopcionesdisponiblesparamodificarelcomportamientoestndar.

61

GestindeParchesysuvueltaatrs

Lanicaformadeecharatrsunparcheesrecorrersetodoslosprogramas,funcionesytablasque
hamodificadoyrecuperarunaversinanterior.

Hacerunbackupantesdelosparches,sinofuncionanrecuperarelbackup.

Sedeberanhaberprobadoantes,porloquenosedeberadarnuncaestacircunstancia,almenos
enproductivo.

71

GestindeVersiones

7.1

ConocerlaversindelSAPGUI

Siempreapareceenlapartesuperiorizquierdacuandohacemoselloginsobrenuestramquina

2011ACISAP
Page10of54

SAP

MANUALADMINISTRADORACISAP

ParaobtenerelniveldeparchedelSAPGUIpulsamossobrelaesquinasuperiorizquierda

YelegimosAcercadeSAPLogon

2011ACISAP
Page11of54

SAP

MANUALADMINISTRADORACISAP

7.2

NiveldeParches

ParaconocerelniveldeparcheshayqueiraSistema/Status

2011ACISAP
Page12of54

SAP

MANUALADMINISTRADORACISAP

BsicodeBasis
SAPMANUALESTCNICOS
2010ACISAP
20

Yluegohayquedarlealalupadelapartesuperiorderecha.
Desdeahsenavegaatodosloscomponentes.Ennuestrocasoenconcretosisebuscael
SAP_APPLhayquerealizarunavancepgina.

Esmuyimportanteverificarelniveldecompatibilidadalahoradeaplicarnotas.

2011ACISAP
Page13of54

SAP

MANUALADMINISTRADORACISAP

Antesdeaplicarlasnotasolosparches,sinocumpleslosrequisitoselsistemaavisa.

Paradeterminarelniveldekernel:
transacionsm51
relatesnotes.

81

Abrirunaaccindecustomizingenproductivo:Nota
OSS135028

IMGactivitiesthatarefrequentlyrequiredinthedailyoperation(forexample,maintainingexchange
rates.Youmaintainthesecurrentsettingsdirectlyintheproductionsystemtoavoidtheworkinany
transportthatmightberequired.
SAPalreadydefinesIMGactivitiesascurrentsettingswithinthestandarddelivery.However,itis
possiblethatanactivityisnotdefinedasacurrentsettinginthestandardsystem,butthatthe
customerwantstouseitassuch.Youcanthenproceedasdescribedbelowtoincludethisactivity
inthecurrentsettings.
Fortechnicalorcontentreasons,itmaynotbepossibletodefineanindividualIMGactivityasa
currentsetting.Inthiscase,carryoutmaintenanceaccordingtothestandardprocedureinthe
customizingsystemandtransportthesettingsintotheproductionsystem.
CustomizingTransactionSPRO,TK430
Note:Theonlycaseinwhichtheusualchecksonwhethertheclientsettingpermitsmaintenance
wouldnotbecarriedout,isifaclientisdefinedasaproductionclient.
ProcedureasofRelease4.6(sehaomitidolasversionesanterioresperosepuedeconsultar
directamentesobrelanota).
AsofRelease4.6,thecorrespondingindicatorcanbemaintaineddirectlyfromtheIMG.
Todothis,opentheIMGanddisplaytheIMGstructure.Positionthecursoronthecorresponding
IMGactivityandselectthemenupath"Edit>DisplayIMGactivity".Onthefollowingscreen,select
theTab"Maint.objects".AlistoftheassignedCustomizingobjectsisdisplayed.Bydoubleclicking
onthecorrespondingrow,navigatetotheCustomizingobjectandsettheIndicator"Current
settings"directly.
Alternatively,call
TransactionSOBJ.
Here,youentertheCustomizingobjectandsettheindicator
directly.

IfyouwanttoincludeIMGactivitiesthatarecurrentsettings,intheeasyaccessmenu,enterthem
directlyintothesystem.InIMGintheupperareaofthescreenoftheIMGactivitydisplay,a
transactioncodeassignedtotheactivityisdisplayed,assoonastheIMGactivityisacurrent
setting.Using
TransactionSE43
,insertthistransactionintheappropriatemenu.

:
1.Tousecurrentsettingsinthetestsystem,refertoNote356483.

2.IfyouuseanIMGactivityasacurrentsettingintheproductionsystem,check
whetherthemaintenanceandautomaticrecordingofchangesinatransportorderofthesamedata
isstilltobepermittedinthecustomizingsystem/customizingclient.Byimportingcustomizing
settingsfromthecustomizingsystem,valuesthatweremaintainedviathecurrentsettingsinthe
productionsystemareoverwritten.
Therefore,checkwhetheritmakessensetoturnoffautomaticrecordingforthisspecificactivity.To
turnrecordingoff,proceedasdescribedinNote356483.Notetherestrictiongiventocertainobject
types.Fortype"T"objectsinparticular,itmightnotbepossibletoturnautomaticrecordingoff.

2011ACISAP
Page14of54

SAP

MANUALADMINISTRADORACISAP

8.1

Ejemplodetabladecustomizingquesepermite
actualizardirectamente.

Enocasionesciertosusuariosfinalesdebenteneraccesoaactualizartablas,queconpocos
registros,necesitarandeuntransporteparacadaactualizacin.Paraelloseabreelpermisode
escrituraalasvistasdeactualizacindedichastablas.

PararealizarestoacudimosalatransaccinSOBJdondepodemosvisualizar,actualizaro
transportarcaractersticasdelastablasysusvistas.Pinchamosenactualizar,senosadvierteque
debemostenerabiertoelmandanteparamodificaciones,pueslatabladondesealmacenanlos
valoresesindependientedemandante.Unavezquenosdejaactualizarbuscamoslatablayal
editarladebemosdejarmarcadalaopcinparmetrosactuales.

Porotroladoenlageneracindeactualizacinlatablaengrupodeautorizacionesponesungrupo
alquetengasacceso amodificarpordefectosale&NC&alqueyonoledoypermisospara
modificaranadie,parapodermodificarlatablatienesquetenerelobjetodeautorizacin
S_TABU_DISPconelgrupodeautorizacinquehayaspuestoaqu.
Enla
transaccinSE54
sepuedemodificarlaasignacindelgrupodeautorizacin.
UnejemploeslatablaV_T042A
Seleccindebancosparaprogramapagos

8.2

PermisosdeActualizacinalasTablas

Secreaungrupodeautorizacinysemodificalaasignacinenlatabla
transaccinSE54
.Se
incluyeelgrupodeautorizacinalusuario.S_TABU_DIS.
Conelpermisoyasepuedeacudirala
transaccinSOBJ
ymarcarparmetrosactuales.Verel
puntoanterior.

2011ACISAP
Page15of54

SAP

MANUALADMINISTRADORACISAP

8.3

AadirunaentradaenlaIMGde
parametrizacin.

TransaccinSIMGH

IwanttoaddsomeofmyowncustomizingintotheSAPReferenceIMGTree.

Icreatedwith
transactionSIMGH
anewstructureformythings.

ButhowwilligetthisstructureintotheSAPReferenceIMGTree?
Iwanttohaveitunderthenode"LogisticExecution>Shipping>Picking"

Iwanttodothisinmydevelopingsystem,andtransportittocustomers.

Wheniuse
transactionS_IMG_EXTENSION
,itwarnsmethatiwilldoamodification,isthisthe
rightway??canitransportthismodificationtocustomersystems?

ItispossibletoaddyourownCustomizingtoIMGwithoutdoingamodification.

Use
transactionS_IMG_EXTENSION.

ChoosetheIMGpathyouwanttoenhanceinIMGstructure.

CreateanownEnhancementID(e.g."ZOWN_CUST").

ThenclickontheButtonEnhanceStructureandeverythingshouldwork.

8.4

IntegratingaconfigtableintothestandardIMG

Addingconfigtablesyou'vecreatedyourselftotheIMGhasitsadvantages.Firstlyit'seasierto
find,particularlybythepeoplewhowillneedtomaintaintheentries(possiblylongafterthe
developerhasmovedon)anditcanbeintegratedwith
SolutionManager
.

Youcandothisin
transactionS_IMG_EXTENSION

Don'tbeputoffbythefactallthefieldsaredisplayonly,usingthedropdownonthefield'IMG
Structure'selecttheIMGyouwanttoextend(mostlikelythe'SAPCustomizingImplementation
Guide').IfyouwanttoaddyourownelementstoexistinglowerlevelIMGstructuresratherthan
directintotheSAPIMGyou'llneedtospecifythestructureofinterest.

Usingthedropdownonthefield'EnhancementID'selecteitheranexistingenhancementorcreate
anewone.

OncetheIMGStructureandEnhancementIDfieldsarebothpopulatedchoosethe'Enhance
Structure'button.ThiswilldisplaytheIMGstructure.

Firstyouwillneedtocreateastructureelement(orelements)andit'sbettertodesignthisupfront.
Youcoulduseonefoldertoidentifyallcustomerchanges,thenasubfolderbymoduleorby
development.SelectanexistingnodeandchooseeitherEdit>Nodes>InsertStructureNode>
2011ACISAP
Page16of54

SAP

MANUALADMINISTRADORACISAP

OnSameLevelor>AsSubnode,dependingonthecursorposition.Inthepopupenteratextfor
thestructureelementandhitenter.

Oncethestructureisinplaceyouwillwanttoaddactivitiestothestructureelements.Selectan
existingstructureelementandchooseEdit>Nodes>InsertIMGActivity>OnSameLevelor>
AsSubnode,dependingonthecursorposition.

EnteranIDnameanddescription(thenameandtitleofthetableyouintendtoaddmakesthemost
senseifyou'replanningonenodeforeachtable).ThetabsintheAssignedobjectsframecanbe
usedasfollows

DocumentEnteraDocumentname(againthenodenameisagoodplacetostart)thenclickon
'Create'tolaunchthetexteditorandenterdocumentationtoexplainthepurposeoftheIMGactivity.

AttributeEnteranattributeID(againthenodenameanddescriptionisfine)thentherequiredIMG
attributes.Alternatively,clickonAssignotherattributesandreusetheattributesofanexistingIMG
activity.

Maint.objectsEnteramaintenanceobjectID(againthenodenameanddescriptionisfine).Inthe
assignedobjectsframeyoucanenteratablename(whichwillbeTypeS),aviewname(whichwill
beTypeV)oraviewcluster(whichwillbeTypeC)inthe'Customisingobject'column.Enter'SM30'
inthetransactioncolumnandchecktheskipcolumn(thiswillskipthefirstscreenandtakeus
straightintotheconfig).

Thensaveeverything.

The'Document'and'Attribute'settingsareoptional,buttheactivitydoesn'tmakemuchsense
withouttheMaintenanceobject.

So,nowintransactionSPRO,intheSAPreferenceIMGIhaveastructureformyconfigactivities.
Ifwe'reusingaProjectIMGonceanewconfigurationobjecthasbeenaddedtheProjectIMGneeds
toberegenerated.From
transactionSPRO_ADMIN
selecttherelevantprojectandchose
Change.OntheScopetabselect'GenerateprojectIMG'.TheIMGnodescannowbelinkedand
launchedfromsolutionmanager.

91

Activarellogdemodificacionesdeunatabla.

EnlatransaccinSCU3sepuedenvertodosloslogsdecambiosdelosobjetosmodificados.
Silatablaencuestinnotieneellogactivadoelsistemaarrojaunmensajeinformativo.
EstaparticularoperacinpuedeserhechaenIMG/BasisComponents/SystemAdministration/
Tableschangesrecording

Thisparticularsettingcanbechangedinthefollowingpath:
IMG>BasisComponents>SystemAdministration>Tableschangesrecording

Youcanlogchangesmadetothefollowingtables:

Controltables(systemlogiccontrol)
Customizingtables
Whatisrecordedisalwaysintheformofcomplete"before"images,thatis,allentriesasthey
appearbeforethechanges.
Therecordeddataiscompressedwithoutbuffering,andthisisnotanappropriatemethodfor
2011ACISAP
Page17of54

SAP

MANUALADMINISTRADORACISAP

recordingandmanaginglargeamountsofdata.Activatingloggingimpactsonperformanceasit
entailstwiceasmanydatabaseupdatesaswouldotherwisebethecase,andthedatabasestorage
loadisalsoincreasedsubstantially.

ItisrecommendthatyouuseloggingforyourproductionclientsandCustomizingclientssothatyou
canseeexactlywhereCustomizingtableshavebeenchanged.Otherthanthereasonsabove,itis
notrecommendedthatyouusethistoolforapplicationtables.

Twoconditionshavetobemetforatabletobelogged:

1.ThetablehastobeselectedforloggingintheDictionary(seeDictionary>Tablemaintenance>
Technicalconfiguration).

2.Loggingalsohastobesetinthesystemprofile
Settherec/client(notetheuseoflowercasecharacters)profileparametertooneofthefollowing
values:
OFF:nologgingatall(effectivelyacentralsystemswitch)
nnn:logsclientspecifictablesinclientnnnonly
mmm,nnn,ppp,...:logsclientspecifictablesinthenamedclients
ALL:logsallclientspecifictablesinallclients.

Caution:Onlyinexceptionalcircumstancesisitappropriatetousethe'ALL'setting.If,forexample,
theprofileparameterissetto'ALL'whenyouupgradealltestclients(including000,theSAPclient),
thesechangesarerecordedinthesystemlogfile.Thisreducesperformanceandrequiresalotof
databasespace.

ElvalorpordefectoesOFF(loscambiosnosonguardados).

IfloggingissetintheABAPDictionary,changestoclientindepedenttablesarealwayslogged
unlessrec/clientissetto'OFF'

SepuedenutilizarlosprogramasRSTBHISToRSVTPROTparaanalizarloscambiosdelas
tablas.

ProgramRSVTPROTallowsyoutoanalyzechangelogsbothattablelevelandwithreferenceto
Customizingobjects.Toaccesstheprogram,selectanexecutableCustomizingactivityinIMGand
chooseGoto>Changelog.

ProgramaRDDPRCHK

Tambinestla
transaccinAUT10

2011ACISAP
Page18of54

SAP

MANUALADMINISTRADORACISAP

101

GestindeServidores

Siempiezapor\\esunservidordelareddeWindowsysiempiezaporunabarra/(ladel7)esuna
rutadelservidordeUnix.
TantoporlatransaccinAL11comoporlaFILEsepuedenasignarlasrutasdelosservidores
LareddeWindowsalomejornosirveparaprocesosbatch,sielusuarionotieneacceso.
SinohaypermisolaAL11loindicaysiseusaunprogramadevuelveelcdigocorrespondiente
distintode0.
Sepuedeleer/chupar/uploadunficheroqueestenlocal?Porlogeneralno,tendraqueestar
siempreencendidoelPCconunaIPfijaparadarleunadireccinderedquesiempresealamisma.
Mejornocogerloenlocal
Sepuedebajar/downloadelresultadooutputdeunprogramaaunficherolocal?No,perolodejas
enunaordendespoolqueseidentificaconunnmeroyconunafuncinlapuedesconvertiren
PDF.Elproblemaesquesepuedemodificarelformatodelainformacin.
2011ACISAP
Page19of54

SAP

MANUALADMINISTRADORACISAP

Otraopcinesrealizareldatatransferaunaunidaddered.
ProgramarunprocesoquetomaunficherodeUnixylolleveaaldiscodurotodoslosdas.

ProgramamedianteelcualsepuedesubirybajarficheroaunservidorUnix.

*&*
*&ReportZDOWNLOAD*
*&*
*&*
*&ThisprogramusesthenewfunctionGUI_DOWNLOAD*
*&OutputwillbeTABdelimitedandincludeMANDT*
*&ItcanbeopeneddirectlybyMicrosoftExcel*
*&TousethisprogramforanyDatabaseTablereplaceZTESTwith*
*&newtablename.*
*&*
*&AUTHOR:SheilaTitchenerabapaticonetltd.co.uk*
*&Date:February2004*
*&*

REPORTzdownloadMESSAGEIDbd.

DATA:w_tabTYPEztest.
DATA:i_tabTYPESTANDARDTABLEOFztest.

DATA:v_subrc(2),
v_recswritten(6).

PARAMETERS:p_file(80)
DEFAULT'D:\\ICONET\\SAP\\ZTEST.DAT'.

DATA:filenameTYPEstring.

filename=p_file.

SELECT*FROMztestINTOTABLEI_TAB.

2011ACISAP
Page20of54

SAP

MANUALADMINISTRADORACISAP

*Iftextfieldsappearrightjustifiedorcolumnsnotlinedupinoutputset
*TRUNC_TRAILING_BLANKStoX

CALLFUNCTION'GUI_DOWNLOAD'
EXPORTING
*BIN_FILESIZE=
filename=filename
*FILETYPE='ASC'
*APPEND=''
WRITE_FIELD_SEPARATOR='X'
*HEADER='00'
TRUNC_TRAILING_BLANKS='X'
*WRITE_LF='X'
*COL_SELECT=''
*COL_SELECT_MASK=''
*IMPORTING
*FILELENGTH=
tables
data_tab=I_TAB
EXCEPTIONS
FILE_WRITE_ERROR=1
NO_BATCH=2
GUI_REFUSE_FILETRANSFER=3
INVALID_TYPE=4
NO_AUTHORITY=5
UNKNOWN_ERROR=6
HEADER_NOT_ALLOWED=7
SEPARATOR_NOT_ALLOWED=8
FILESIZE_NOT_ALLOWED=9
HEADER_TOO_LONG=10
DP_ERROR_CREATE=11
DP_ERROR_SEND=12
DP_ERROR_WRITE=13
UNKNOWN_DP_ERROR=14
ACCESS_DENIED=15
DP_OUT_OF_MEMORY=16
DISK_FULL=17
DP_TIMEOUT=18
FILE_NOT_FOUND=19
DATAPROVIDER_EXCEPTION=20
CONTROL_FLUSH_ERROR=21
2011ACISAP
Page21of54

SAP

MANUALADMINISTRADORACISAP

OTHERS=22
.

*SYSTFIELDSARENOTSETBYTHISFUNCTIONSODISPLAYTHE
ERRORCODE*

IFsysubrc<>0.
v_subrc=sysubrc.
MESSAGEe899WITH'FileOpenError'v_subrc.
ENDIF.

DESCRIBETABLEi_tabLINESv_recswritten.

MESSAGEi899WITHv_recswritten'RecordsWrittenfromZTEST'.

111

MtododeActuacinenTerminacinde
Actualizacin

Lasactualizacionesinterrumpidasnosedebenrelanzarnuncasinantescontactarconelusuario,y
comprobarquenoharepetidolaoperacinenelsistema.

ExistendostiposdeprocesosdeactualizacinV1yV2.LostipoV1sonlosprocesoscrticos
delaactualizacinylosV2lossecundarios.LoscomponentesV2nopuedenactualizarlaBDsi
elcomponenteV1nosehaejecutadocorrectamente,elprocesodeactualizacinserealizade
formaasncrona,loquepermitequetodoslosprocesoV2deunapeticinsepuedanejecutaral
mismotiempo.

EncasodeerrorenunaactualizacinV1elsistemadamarchaatrsyanulatodala
actualizacin,sinembargosielerrorseproduceenunaactualizacinV2seanulanicamentela
partecorrespondienteaestetipodeactualizacin.

Paragestionarestetipodeerroressedebeutilizarla
transaccinSM13
quearrojalasiguiente
informacin:

Mdulosdeactualizacin(seobtinerealizandoundobleclicsobreelregistro).

Datostransferidos,porejemploelnmerodedocumento,sepuedemostrareste
datoalubicarseenelmdulodeactualizacinyseleccionarlaslentes(Ira/mostrardatos)

CausadelerrordesdeelpuntodevistadeABAPIV.Sepuedeverrealizandoun
dobleclicsobreelmdulo.

Estatusdeactualizacin:
OK:Laactualizacinfueejecutadasinerrores
2011ACISAP
Page22of54

SAP

MANUALADMINISTRADORACISAP

V1:V1partedelaactualizacinfueejecutadasinerrores
Del:laactualizacinfueborrada
Run:Laactualizacinseestejecutando
Auto:Laactualizacinesautomticamenteactualizada.
Init:Laactualizacinnohasidoejecutada.
Err:Unerrorocurridurantelaejecucin.

Posiblessoluciones
1)
SepuedeactualizarelregistrovatransaccinSM13enmodotest.
Registrosdeactualizacin/Test
2)LasactualizacionesV2puedensernormalmenteactualizadasotravez.
3)EnelcasodeactualizacionesV1,sedebechequearparacasoindividualsilaactualizacines
posible.Silanuevaactualizacinnoestpermitida,elregistrodeactualizacindeberaser
documentadoydespuseliminado.EnelmdulodeFI,lossiguientesreportsestndisponibles
paradocumentacin:RFVBER00(documentupdateterminations)
RFBNUM00(determiningnumberrangegaps)
4)Anlisisdellogdelsistema(
transaccinSM21
)enelmomentodelaterminacin:la
terminacinpuedeserdebidaaproblemasenladatabase.Criteriosdebsquedaadecuadosson:

updatedetermination
Errornumber
Updatemodule
Transaction

121

AuditoradeseguridadAUDIT

Paratenerlasiempreactivasedebeactivalelparmetrorsau/enable.
Sepuedeactivarodesactivar,online,conlatransaccinSM19.
ConlatransaccinSM18sepuedenborrarlosficherosantiguosdeauditora.
ConlatransaccinSM20sepuedeverellogdeauditora.
Loslogsequedanen/usr/sap/<SID>/DVEBMGSxx/log.

Ojo!Conlostamaosdelosficheros:VernotaOSS539404.

ElSecurityAuditLogesunaherramientaparaauditoresquenecesitanverdeformadetalladala
actividaddelsistema.Activandoelaudit,mantenemosunregistrosdelasactividadesdelsistema
queseconsiderenrelevantes.

Elobjetivodelauditesalmacenar:

CambiosdeseguridadenelentornoSAP(ej.Cambioenlosregistrosmaestrosde
usuarios)

Informacinquesuministraaltoniveldetransparencia(ej.Intentosdelogonpermitidosy
fallidos)

Informacinquepermitereconstruirunaseriedeeventos(ej.Ejecucionespermitidaso
fallidasdetransacciones

Sepuedealmacenarlasiguienteinformacinenellogdeauditora:

Accesoscorrectoseincorrectosalsistema

AccesoscorrectoseincorrectosalsistemamedianteRFC

MdulosdefuncionesllamadosatravsdeRFC
2011ACISAP
Page23of54

SAP

MANUALADMINISTRADORACISAP

Ejecucindetransaccionesautorizadasynoautorizadas

Ejecucindeprogramasautorizadosynoautorizados.

Cambiosenelregistromaestrodeusuario.

Cambiosenlaconfiguracindelaudit.

Encuantoalfuncionamientoelauditgeneraunficheroanivelsistemaoperativo,enelquese
puedeparametrizarlaruta,eltamaoyelnombre.HayqueentrarenlatransaccinSM19para
activarelauditeindicarlosfiltrosdeseados.ConlatransaccinSM18sepuedenborrarloslogde
auditorayconlatransaccinSM20sepuedenver.

Elimpactoenelrendimientohayqueverlocuandosedefina,yaquedependerdelosfiltrosde
seguridadquesecreen.

131

ModificarelEstadodeunBatchInputErrneo

stoseutilizacuandounbatchinputsequedaenestadoerrneoporquesehaejecutadoonliney
sehacortadolacomunicacincuandoseestabaejecutando.

Enelmandantedondeexisteelbatchinputseejecutaelreport:ZFAPQIBI

Pideelnombredeljuegodedatos(EjRABUCH0101)(GROUPID)ylaclavedeidentificacin(QID).

Estatusnuevo.Siestentratamiento(estadoR)sedebeponerenerrneo(E).

LaclavedeidentificacinesnicayapareceenlaSM35.TambinestenlatransaccinSE16en
latablaAPQI.Esnico.Sedebeseleccionarporelcdigodeusuario(USERID),oestadoR
(QSTATE)ytomareldatodecolaparalaidentificacin(QID).

Esconvenienteejecutarloprimeroenmodotestparaasegurarnosqueeljuegodedatosquevamos
aponerenmodoerrneoeselquequeremos.Luegoloejecutamosenmodonotest.

Finalmentecomprobamosqueelbatchinputestenestadoerrneo:Sistema>Servicios>Batch
input>Carpetas(SM35).

SinosequiereutilizarelprogramasebuscaenlatablaAPQIpornombredegrupoycola.
Siestentratamiento(estadoR)mediantedeguggingsedebeponerenestadoerrneo(E).

141
14.1

GestindelArchivado

BorradodeArchivado

Paraborrarlasejecucionesdearchivadoantiguasoincompletas,seentraenlatransaccinSARA
ysepulsadobleclicsobrelafechadeejecucindearchivado.Enlapantallaqueaparecese
2011ACISAP
Page24of54

SAP

MANUALADMINISTRADORACISAP

marcaelpinchodeArchivingnote,ydeestamaneraelobjetosequedamarcadoparaborrado.
Sisequiereborrardefinitivamentedelsistema,serealizaunarchivadoconelobjetoBC_ARCHIVE.
MsinformacinenlaNotaOSS70813

Archivingnoteforadministrativedata
Thisfieldisusedtoflagarchivemanagementrecordstobearchived.
Flaggedmanagementrecordsaredeletedfromthedatabasebythearchivingwiththearchiving
objectBC_ARCHIVE.

Deletedmanagementrecordscanbereloadedintothedatabaseviathearchivingobject
BC_ARCHIVE.

Losficherosdeesasesinnoseborranyhayquehacerlomanualmente.
NotaOSS70813

151

GestindeJobs

15.1

Debuggingunjob/procesolanzadoenfondo

Losjobsy/oprocesoslanzadosenfondosingenerarjobproejemplolosextractoresdeBW,
tambinpuedensersusceptiblesdesufrirnuestrodebugging.Tansolonecesitamosciertos
permisosincluidosenelobjetoS_ADMI_FCD(PADMProcessadministrationusingtransaccin.
SM04,SM50).
A) Sieljobestcorriendo,hayqueirala
transaccinSM50
ymarcarelcheckboxde
nuestroproceso.LuegohayquehacerProgram/ModeProgramDebugging.

2011ACISAP
Page25of54

SAP

MANUALADMINISTRADORACISAP

TambinsirvepararealizardebuggingafuncionesquesemandanllamarvaRFC.

B) Sieljobyafinaliz.SepuederealizardebuggingdesdelaSM37.Seleccionandoeljoby
escribiendola
transaccinJDGB.
C)
Tambinsepuedeutilizarestatransaccincuandoeljobnosehainiciado:plannedoscheduled.
PodemosmeterunbreakpointennuestroprogramayluegolanzareljobconlatransaccinJDGB.
Estejobactualizarlabasededatos.

C)SieljobesdemasiadorpidosepuedetomarconlaSM50.
C.1)UnaopcinesprogramareljobenlaSM36usandodospasosysiendoelprimerpasoel
reportdebucleestndarBTCLOOP.Alcomenzareldebugslotendremosquesalirdelbuclede
estereport.

TendremosquecambiarelvalordelavariableI.

C.2)Otraopcinescambiarelcdigodelprogramaeintroducirunbuclesinsalida(endlessloop)
enelpuntodelcdigoquesequieraempezararealizardebugging.Despushayqueirala
transaccinSM50.

Elprocesosequedarcolgado.
Hayquecambiarlavariablew_flag='X'.Ysecontinuarealizandodebugging.

Cdigodeejemplo1:

do.

clearw_flag.

Ifw_flag='X'.

Exit.

Endif.
Enddo.

Cdigodeejemplo2:
data:
htypei.

h=1.

whileh=0.
endwhile.

AsaparecercolgadoenlaSM51.
HaciendolodeProgram/Program/Debugging,cambiamoseneldebuggerelvalor
deha0yeldebugcorreronline.

2011ACISAP
Page26of54

SAP

MANUALADMINISTRADORACISAP

Cdigodeejemplo3

1.CreatevariantcalledBACKGROUNDforprogramtobedebugged.
2.ExecuteZDEBUGBG(pgmcodebelow)inbackgroundforimmediate
processing.
3.ExecutetransactionSM50.
4.SelectprocessthatrunsZDEBUGBG.
5.Goto'Program/Session''Program''Debugging'.
Ase80debugsessionwillopen.
6.ChangevariableW_EXITto'E'.
7.Stepthru(F6)untilZWBTESTcomesup.

*&*
*&ReportZDEBUGBG*
*&*
*&*
*&*
*&*
*&*

REPORTzdebugbg.

DATA:
w_exitTYPEc.

FIELDSYMBOLS<fs>TYPEANY.

SELECTIONSCREENBEGINOFBLOCKone.
PARAMETERS:p_repidLIKEtrdirnameDEFAULT'ZWBTEST'.
SELECTIONSCREENENDOFBLOCKone.

STARTOFSELECTION.
PERFORMloop_time.
PERFORMsubmit_time.

ENDOFSELECTION.

**
*FORMloop_time*
**
*........*
**
FORMloop_time.
DO.
IFw_exit='E'.
EXIT.
ENDIF.
ENDDO.
ENDFORM.

**
*FORMsubmit_time*
2011ACISAP
Page27of54

SAP

MANUALADMINISTRADORACISAP

**
*........*
**
FORMsubmit_time.
ASSIGNp_repidTO<fs>.
SUBMIT(<fs>)
USINGSELECTIONSET'BACKGROUND'.
ENDFORM.

Otraopcinesdesdela
transaccinSM66
seleccionarnuestroprocesoyluegoapretarelbotn
dedebugging.
SiesunprogramaZinclusopodemosintroducirawaitstatementenelcdigodelprogramapara
darnosmstiempo.
Despustendremosqueirala
transaccinSM50
comoenlasotrasopciones.
Ademsdeporla
transaccinSM50
desdeelmismojobtambinsepuederealizarcapturndolo.

Senecesitalasiguienteautorizacin:

2011ACISAP
Page28of54

SAP

MANUALADMINISTRADORACISAP

15.2

GestindePrioridadadesdelosjobs

Siqueremosdarprioridadaunjobsobreotropuedeserqueelmandantedeproductivotenga
variasmquinasoservidoressepuedeutilizarlapriorizacindejobsyelegirelservidoren
concreto.

Perosloensistemasmuylentosyconvariasinstanciasserecomiendaasignarvalores.

Enlneasgeneraleselsistemadebetenersuficientesrecursosparagestionarlosjobs.

Slosedebenasignarjobsfijosamaquinassiexistealgunadependenciaaniveldesistema
operativo,comoporejemploqueexistaunficherooundeterminadodirectorio.

Elsistemaporsisoloseencargadedistribuirlacargadelosjobs,ygeneralmentesisolohayun
servidor,estodejadetenersentido.

2011ACISAP
Page29of54

SAP

MANUALADMINISTRADORACISAP

Borradodeunjobqueestcorriendo

15.3

Aunqueenalgunasocasionestardeuntiempoencancelarsefinalmenteslohace.

15.4

Verificarqueunjobnoestcolgandoyest
actualizandodatos

Lomejoresirala
transaccinSM50
yhacerdobleclicsobreelprocesoyverificarqueest
llevandoacaboalgunaaccin.

161
16.1

GestinderdenesdeTransporte
Cambiarestatusdeunaordendetransporte

Sihemosliberadounaordenotareaporerroroqueremosvolverahacerlamodificable,
procederemosdelasiguienteforma.
Anotamoslaordenysustareas.
NosdirigimosalatablaE070conlatransaccinSE16

Unavezintroducidosenlatabla,seleccionamoslasrdenesytareasamodificarenelcampo
TRKORR

2011ACISAP
Page30of54

SAP

MANUALADMINISTRADORACISAP

MarcamoslaordenylastareasymodificamoselcampoTRSTATUSdelestadoR(Liberado)al
estadoD(Modificable).
Paramodificarelestatus,seprocedercomoseindicaenelpuntodeldocumentoModificarel
valorenunatablavadebuggingdelmanualdeABAP.
Unavezhechoesto,laordenvolveraparecerenellistadodemodificablesypodremosseguir
aadiendoobjetos.
Lautilidadqueselepuededarfundamentalmenteaestamodificacin,resideenlaposibilidadque
hayamosliberadounaordendetransporteynoshayamosdadocuentaquenosfaltaalgnobjeto
enesaordensinelcual,laordendevolveraun8(porejemplo,meterenunaordenunreportque
llameaunatablaynoincluirlatabla)deestaforma,silaordennohasidotransportada,esposible
incluirelobjetofaltante.

16.2

Cambiarmandanteorigenparaobjetostocados
enproduccin

Cuandomodificamosunobjetoenproduccin,estequedaregistradocomomodificadoenel
mandantedestino,deformaquesimodificamosdichoobjetoendesarrolloylotransportamos,el
transportenosproporcionaunerrorindicandoqueelobjetohasidomodificadoenelmandante
destino.
Paraarreglaresteerrorhaydosopciones,unaesmarcarlaopcinsobrescribiroriginalesy
sobrescribirobjetosenreparacinsinconfirmarenlasopcionesdetransportedelaordenenla
transaccinSTMS.

2011ACISAP
Page31of54

SAP

MANUALADMINISTRADORACISAP

Enestaopcin,sinosomosnosotroslosquetransportamoslaordenyeselcliente,pasamospor
queelclientedescubrequehemosmodificadoobjetosenproduccindirectamente.
Paraevitaresto,procederemosconelpaso2.
NosintroducimosenlatablaTADIRconla
transaccinSE11
o
transaccinSE16

SeleccionamoselobjetoquehemosmodificadoenelcampoOBJ_NAME:
2011ACISAP
Page32of54

SAP

MANUALADMINISTRADORACISAP

EnelcampoSRCSYSTEMaparecerelidentificadordelmandantedondelohemosmodificado.
SeleccionamoselregistroymodificamoselcampoSRCSYSTEMporelidentificadordelmandante
dedesarrolloyeltransportenodarerror.
Paramodificarelregistro,seprocedercomoseindicaenelpuntodeldocumentoModificarel
valorenunatablavadebugging.
Medianteestetruco,tambinpodemosmonitorizarqueobjetossehanmodificadoenproduccin
realizandoelfiltroenlatablaTADIRporelidentificativosdelmandanteencuestin.

Estautilidadseutilizacuandonoestamosautorizadosatransportarperohemostenidoquetocar
algodirectamenteenproduccin.

Normalmentesisevuelveatransportarunaordenelsistemaavisa.
Sisecambiaelmandanteorigen,nogenerawarning,porloqueeltransportenodaraproblemasy
sieladministradornoinvestigamuchoynotieneauditora,niseentera.

Eliminarcamindetransportedetodaslas

16.3

rdenes

CuandonosintroducimosenlatransaccindetransporteSTMSparaejecutareltransportedelas
rdenes,pordefectoelsistemanosmuestradostiposdetransporte,unoenelquetransportatoda
lacoladeimportyotroquetransportalaordenseleccionada.Laprimeraopcin,sueleser
bastantepeligrosa,yaqueelsistematomatodaslasrdenesdelimportylasvuelveatransportar
denuevo,conelconsiguienteriesgo.Paraevitardarleporerroraestaopcin,seprocederdela
2011ACISAP
Page33of54

SAP

MANUALADMINISTRADORACISAP

siguienteforma:
Entrarenla
transaccinSTMS

SepulsaenelmenResumen>Sistemas

Seseleccionaelentornodesdeelquesegeneranlasrdenes(normalmente
desarrollo).

2011ACISAP
Page34of54

SAP

MANUALADMINISTRADORACISAP

SeaadeelparmetroNO_IMPORT_ALL=1

Elcamindetransporteglobal,habrdesaparecido.

2011ACISAP
Page35of54

SAP

MANUALADMINISTRADORACISAP

16.4

Cmotransportarentredossistemassingestindel
transporte

Seliberalaorden.
Enelsistemaorigen:ECDK903894.Secomponededosficheros:
Irala
transaccinAL11

2011ACISAP
Page36of54

SAP

MANUALADMINISTRADORACISAP

TomarelnombredelficherocofilesK903894.ECDdeldirectorio:/usr/sap/trans/cofiles
Ylomismodelficherodata:R903894.ECDdeldirectorio/usr/sap/trans/data
SeejecutalatransaccinCG3Yparahacerundownloaddelficheroaundirectoriolocal
Enelficherofuentesepone:/usr/sap/trans/cofiles/K903894.ECD
Enficherodestinosepone:C:\Users\Cristina\Desktop\K903894.ECD

Enelsistemadestinoseimportanlosficheros:
Mediantela
transaccinCG3Z
.Hayquemirarenla
transaccinAL11
comosellamanlos
directoriosdataycofiles.
Irala
transaccinSTMS
.Pulsarelcamioncito

2011ACISAP
Page37of54

SAP

MANUALADMINISTRADORACISAP

Hacerdobleclicsobreelsistemadestino
.

Paraimportarlaordensepulsaelcamioncito

2011ACISAP
Page38of54

SAP

MANUALADMINISTRADORACISAP

2011ACISAP
Page39of54

SAP

MANUALADMINISTRADORACISAP

16.5

Modificarprogramasconelbloqueodeeditoractivado

Qu hacer cuando necesitamosmodificar unprograma que tiene el bloqueode editoractivado?


Porlogeneral,lepedimos aquienlohayaactivado,quelolibere.Elproblemaesqueporlogeneral
(casisiempre)esapersonayanoestenelproyectooenellugardondeestamos.
En ese caso, existe un truco para poder quitar el bloqueo. DesdelaSE16, ingresamos a latabla
PROGDIR. En el campo NAMEponemos el nombre delprograma que queremos desbloquear. Al
traerlos registros quecumplen connuestra seleccin (F8) aparecerunregistroconelnombrede
nuestro programa. Lo seleccionamos y presionamosellapizparamodificar elregistro.Borramosla
XquehayenelcampoEDTX(queindicaqueestactivadoelbloqueoldeeditor)ygrabamos.
Ahorapodemosmodificarelprogramanormalmente

16.6

Programaparasimulareltransportedeunaordena
produccin.

Conobjetodeevitarerrorescuandosetransportanrdenesdeworkbench,existeesteprograma.

http://wiki.sdn.sap.com/wiki/display/ABAP/ABAP+program+to+simulate+transports

16.7

Transportarunaordensintenerqueliberarla.

Conla
transaccinSCC1
sepuedetransportaramandantesdelamismamquinasinnecesidad
deliberarlaorden.

Copiarcontenidodetabla

171

SepuedehacercreandountransportemanualObjetoT3TR.TABU.<NombreTabla>ysehace
dobleclicyseaadelaclave<NombreTabla>.*

Accesoaunmandantedesdeotromandante.

181

Serealizamediantela
transaccinSM59

Eltiempoderespuestadelsistemaesmuy

191

lento

Elsistemavamuylento.Cmopodemosayudaralosadministradores?
2011ACISAP
Page40of54

SAP

MANUALADMINISTRADORACISAP

ParamejorarelrendimientohaydosparmetrosdelaRZ10quepuedensertiles.
rdisp/max_alt_modes>controlaelnmerodesesionesdeunnicousuarioala
vez.
rdisp/gui_auto_logout(optional)>Tiempoquepermaneceelsistemasin
expulsaraunusuarioqueestinactivo.

Consultarla
transaccinSM50
yhacerunpantallazodelosprocesoscuyotiempoessuperiora
los3segundos.

201

Gestindelosusuarios

Listadetodoslosusuariosenelsistemapormquina:
transaccinAL08
Listadeusuariosconopcindeexpulsin
transaccinSM04.
Bloquearunatransaccinparatodoslosusuariosesla
transaccinSM01
Enviarunmensajeatodoslosusuariosesla
transaccinSM02

Ponereltraceaudit,ralentizaelsistema,solosedeberutilizarencasosespecialesycomo
mtododedebugdeproblemas
211

TransaccinSTAD

Paraaveriguarlasltimasaccionesdeunusuarioosiunaespecficatransaccinestenusooen
desusoseutilizaestatransaccin

221

Gestindelaimpresora

Seutilizala
transaccinSPAD.
Porla
transaccinSM50
tambinsepuedehacerunseguimientodeunprocesodeimpresin.

231

Gestindelosbloqueosdelsistema

Siunusuarioounprocesohabloqueadounatabla,paradesbloquearlaselanza
latransaccin
SM12.
Hayquetenercuidadoconestatransaccinporquesepuedeexpulsaraunusuarioqueest
trabajandoenesemomentoenelsistema.
SepuedeverporlatransaccinAL08siunusuariollevamuchotiempoconlamismatransaccin.
podemosversiestonlineuoffline?Normalmenteseproducenbloqueosconlascadasdered.
SAPpermitediferentestiposdebloqueos.

S(sharedLock):Variosusuariospuedenaccederaldatobloqueadoalmismotiempoen
modovisualizar.
Peticionesadicionalessonaceptadasinclusosisondenuevosusuarios.Estonoocurre
conelbloqueodetipoE.
ConeltipoE(Exclusive)sloelmismousuariopuedeliberarelbloqueo

ProfileParameters:Seadjuntanlosprofileparametersrelevantesparalagestindebloqueos:
2011ACISAP
Page41of54

SAP

MANUALADMINISTRADORACISAP

enque/table_size:
Sizeofthelocktablemanagedbytheenqueueserverinthemainmemory.The
locktablecontainsinformationonwhichlocksarecurrentlyheldbywhom.

Inthiscase,youshouldcheckwhethertheupdateserverisfunctioningcorrectly,sincethelock
tablecangrowveryfastiftheupdatefunctionstops.Ifnoupdateproblemsexist,youcanusethis
parametertoincreasethesizeofthelocktable.
TheComputingCenterManagementSystem(CCMS)monitorsthestatusofthelocktable
constantlyandoutputswarningsifthespaceavailableisnotadequate.Defaultvalue:4096kb

rdisp/wp_no_enq
:Numberofenqueueworkprocessesthataretorunonthisinstance.

rdisp/enqname
:Nameoftheapplicationserverthatprovidestheenqueueservice.

241

SubirybajarficherosdeSAPaldiscoduro

Traduccindeundocumentode
Kaphoon
para
AbapCafe
tomadodesapabap.
Todoelmundohatenidoproblemasparasubir/bajarficherosdesde/haciaunPCsielprograma
ABAPestsiendoejecutadoenbatch,porqueWS_UPLOAD/WS_DOWNLOADnofunciona.Pero
existeunaalternatiautilizandoRFCEXEC.EsteesunprogramaproporcionadoporSAPquedebe
serinstaladolocalmenteentuPC.AdemsdedefinirunaconexinenSAPalmismo.Entu
programaABAP,debesinvocaralafuncionRFC_REMOTE_FILEdelassiguienteforma:CALL
'RFC_REMOTE_FILE'DESINATIOND_DESTI...

24.1

RFCEXEC

1.)InstalaenlocalelRFCsourcedevelopmentkit(rfcsdk)entuPC

EnalgnsitioenelCDdelSAPGUIexisteundirectoriollamadorfcsdk.Deestedirectoriocopiael
ficherorfc.caraltuPCC:\SAP.EnelmismoCD,existeunficherocar.exe.Buscaestefichero(si
noloencuentrasdescargalodesdesapservxodesdeinternet)ycopialoentudirectorioC:\SAP,
Descomprimeelficherorfc.carconelcomando:carxvfrfc.car.Crearunsubidrectoriorfcsdk
automticamente.CopiaelficheroC:\SAP\rfcsdk\text\saprfc.iniaC:\SAP\rfcsdk\bin\saprfc.ini.

AhorasedebeaadirunavariableatuentornollamadaRFC_INI.Sieststrabajandobajo
WindowsNT/2000,vesalpaneldecontrolyhazdobleclicsobreeliconoSistema.Pinchaen
EntornoycrearunavariableconRFC_INIyvalorC:\SAP\rfcsdk\bin\saprfc.ini.

2011ACISAP
Page42of54

SAP

MANUALADMINISTRADORACISAP

SisetrabajaenWindows98/SE/MEentoncesaadeunaentradaentuautoexec.ba:
SETRFC_INI=C:\SAP\rfcsdk\bin\saprfc.ini

Enunaventanadecomando,editaelficherosaprfcini.

Aadelossiguientescampos
DESTcon,porejemplo,<SID>_Rdonde<SID>eselIDdetusistema
TYPEconR
2011ACISAP
Page43of54

SAP

MANUALADMINISTRADORACISAP

<1>
PROGIDconelnombredetuPCseguidoporunpuntoylapalabrarfcexec
GWSERVconsapgw<inst#>inst#eselnumerodeinstanciadetusistemaSAP
R/3system.
RFC_TRACEcon0

Guardaelficheroyejecutarfcexecconelcomando:rfcexecD<destinolgico>.Destinolgicoes
laentradaque
definisteensaprfc.ini!EnmicasoesDGL_R.

Asegratedequeelprogramaestejecutndoseynoregresealaventanadecomando.

2.)ConfiguraundestinoRFCenSAPR/3
Seaccedeala
transaccinSM59

2011ACISAP
Page44of54

SAP

MANUALADMINISTRADORACISAP

Pulsaen
Create

IntroduceeneldestinoRFCtunombredePC,comodefinistelocalmenteenuficherohostseguido
porunpuntoylapalabrarfcexec.Estoesunarecomendacin,puedesintroducirtupropioformato
denombre.

SeleccionaTcomotipodeconexin
2011ACISAP
Page45of54

SAP

MANUALADMINISTRADORACISAP

Alaceptarlapantallacambiara

Irahoraa
Registration

2011ACISAP
Page46of54

SAP

MANUALADMINISTRADORACISAP

RellenaelcampoProgramIDconelPROGIDqueespecificasteensaprfc.ini.Enmicasoes
ESB00803.rfcexec.

<3>

PulsaenSAVEyrecibirsunmensajecomo::DestinationESB00803.RFCEXECsaved.

2011ACISAP
Page47of54

SAP

MANUALADMINISTRADORACISAP

AhorapulsasobreTestconnectionydeberasverunaventanacomoesta:

Sinovesestaventanta,esquehicistealgoms..QuizsOSSNote63930teayudarentus
investigaciones.

Sieltestdeconexinfuecorrecto,entoncesescribeunpequeoprogramaABAPdetestcomo
este:

REPORTZSIRTEST.

DATA:BEGINOFT_TABOCCURS0,
A(20),
B(20),
C(20),
D(20),
ENDOFT_TAB.
DATA:D_DESTILIKERFCDESRFCDEST,"RFCdestination
D_ERMSG(120),"errormessage
D_RFILE(256),"remotefilename

STARTOFSELECTION.
T_TABA='IngoWilly'.
T_TABB='Raddatz'.
T_TABC='Frankfurt'.
T_TABD='Germany'.
APPENDT_TAB.
T_TABA='Charles'.
T_TABB='Nobody'.
T_TABC='Unknown'.
2011ACISAP
Page48of54

SAP

MANUALADMINISTRADORACISAP

T_TABD='USA'.
APPENDT_TAB.
D_DESTI='ESB00803.RFCEXEC'.
D_RFILE='C:\TMP\TESTDATA.TXT'."directoryC:\TMPmustexistlocally
CALLFUNCTION'RFC_REMOTE_FILE'DESTINATIOND_DESTI
EXPORTINGFILE=D_RFILE
WRITE='X'"X=write''=read
TABLESFILEDATA=T_TAB
EXCEPTIONSSYSTEM_FAILURE=1MESSAGED_ERMSG
COMMUNICATION_FAILURE=2MESSAGED_ERMSG.
IFSYSUBRC<>0.
FORMATRESETINTENSIFIEDOFF.
WRITE:/'RFCERROR:',D_ERMSG.
ELSE.
WRITE:/'Tablesuccessfullydownloadto',D_RFILE.
ENDIF.
ENDOFSELECTION.

Segrabaelprograma.

DejaeleditorycreaunJOB,porejemplovaSM36yprogramaeljob.

2011ACISAP
Page49of54

SAP

MANUALADMINISTRADORACISAP

Despusdequeeljobfinalice,compruebaelspool.

AhoraparaelprogramarfcexecdetuPCviaCTRLC

251

Configuracindelmandante

TransaccinSCC4

2011ACISAP
Page50of54

SAP

MANUALADMINISTRADORACISAP

261

Gestindelsistemalgico

Sielsistemanosarrojaelerror:B2001:Elsistemalgicopropionoestdefinido
Seveenla
transaccinSCC4
(verlupadentrodelmandante)siestdefinido.
Secreaenla
transaccinBD54
Elsistemalgicosepuedeparametrizarencualquiermandantequeafectaatodoslosmandantes
delamismamquina.

271

TableSettings

LostablesettingsdeSAPestnmuybien.PuedenserutilizadosentransaccionescomolaVA01,o
lamigo
Implicaordenarloscamposcomoqueramosyponerlesunanchofijo.

2011ACISAP
Page51of54

SAP

MANUALADMINISTRADORACISAP

SeadjuntalaayudadeSAP:

Usethisfunctiontochangethesettingsofatablecontrol.Youcanchangethewidthandpositionof
acolumn(usingdraganddrop).Youcansavethedisplayatanytimeasavariantbyenteringa
nameandchoosing'Create'.

Youcanuseanyvariantasyourpersonal'defaultsetting'forthetransation,orcallitjustforthe
currenttransaction.('currentsetting').Thedefaultsettingappliesfromthenexttimeyoucallthe
transaction.Choosetherequiredvariantsfrom
thelistboxes.Ifthelistboxonlycontains
theentry'Basicsetting',youmustfirstcreateadisplayvariant.Youcanalso
defineanewvariantasthedefaultwhenyoucreateitbyselectingthecorrespondingcheckbox.The
displaydefinedintheapplicationprogram("Basicsetting")canalwaysbeusedasthedefaultor
currentsetting.

The'Delete'functionallowsyoutodeleteanydisplayvariantthatyouhavealreadycreated.

Stepbystepinstructions:

oConfigurethetablecontrolasyouwantit.

oClickthesettingsbuttonatthetopofthetablecontrol.

oEnteranameandchhose"Create".

oIfyouwantthisvarianttoappearwheneverthetablecontrolappears,setthe
"Useasdefaultsetting"option.

oChoose"Copy"toclosethedialogbox.

Ifyouwanttochangehowexistingvariantsareused,orwanttoreactivatethebasicsetting,
choosethe
correspondingsettingsfromthelistboxesand
2011ACISAP
Page52of54

SAP

MANUALADMINISTRADORACISAP

choose'Copy'toclosethedialogbox.

Notes

Aswellasuserspecificvariants,therearealsoSystemvariants,whicharevisibletoallusersein
thecurrentclient
(althoughuserdefinedvariants,wheretheyexist,override
systemvariants).Youcaneditthemusingthe'Administrator'
function(see
thehelpontherelevantscreen).

Loquenotediceestaayudaesquesenecesitatenerelsiguienteobjetoentusautorizaciones:

Objeto:S_ADMI_FCD
Actividad:TCTR Opcionestablecontrolp.todoelsistema

Deotramaneranosepuedeadjudicareltablesettingatodoslosusuarios.

281

Transaccionesmsutilizadasporunconsultor,
programadoryanalistadentrodelreadeBasis.

SU01UserMaintenance
SM12DisplayLockEntries
SM02SystemMessages
SM37JobOverview
SE30RuntimeAnalysis
2011ACISAP
Page53of54

SAP

MANUALADMINISTRADORACISAP

ST05SQLTrace
STAT/STADOverviewwhousedspecifictransactions/reports
ST22Shortdumpanalysis
SM04UserList(MemoryUsage)
AL11Viewingfilesontheapplicationserver
SNOTENoteAssistant
SEARCH_SAP_MENUFindsmenupathsforagiventransaction
ST06SystemMonitor(applicationserver)
SM21SystemMonitor/Systemlog
SPAMDisplaycurrentservicepackstatus
SALEALEsettings
SM51Overviewoftheapplicationservers
SP01Spoolrequests
DB20Updatestatisticsfortables
ST04Performanceanalysis,e.g.databasetables
SLG1Applicationlog
RZ11Systemparameters,eg.disp/gui_auto_logout(logoutusersafterawhile)
RZ12Configurationofservergroups
SIMGHS_IMG_EXTENSIONChangescustomizingmenu
SGENPrecompilestheapplication.

2011ACISAP
Page54of54

Anda mungkin juga menyukai