batchinput

Upload: afsalazarc

Post on 07-Jul-2018

213 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/18/2019 BatchInput

    1/36

    CODIGO1_TOP Y CODIGO1_SUB

    CODIGO2_TOP Y CODIGO2_SUB

    BACHT INPUTS (SM35)Es un métoo s!"u#o $ %&'! & t#&ns*!#+# &tos ,&-+& un s+st!m& SAP. S!ut++/& -u&no !'!n #!&+/s! un !!0&o nm!#o ! mo+%-&-+on!s & o'o##&os m+"#&-+on!s.

    Su!! s!# un %-,!#o s!-u!n-+& !n ! u! s! !n-u!nt#&n os &tos & -".

    S+mu&-+4n #!!t+& ! un #o-!so on+n!(t#&ns&--+4n) m!+&nt! ést! #o-!so.

    PROCESO DE CARGA: 6&s! ! "!n!#&-+4n7 & t+# ! un& *u!nt! ! +n*o#m&-+4n s!

    t#&ns*o#mn !n un *o#m&to !t!#m+n&o & &m&-!no !n un&!st#u-tu#& SAP &m&& %-,!#o ! -o&s.

    6&s! ! #o-!so7 & t+# ! & +n*o#m&-+4n "#&'&& !n ! %-,!#o !-o&s s! -"n os &tos *9s+-&m!nt! !n & '&s! ! &tos.

    SISTEMA EXTERNOEs &m&o & %-,!#o s!-u!n-+& !n ! u! s! !n-u!nt#&n os &tos & -"u!! s!# t&m'+én t&'&s *9s+-&s ! SAP o ! ot#&s BD.

    CONSEJOS:

    P& -ono-!# ! -4+"o ! & t#&ns&--+4n ! nom'#! ! &s &nt&&s7 S+st!m& :St&tus

    P& -ono-!# ! nom'#! ! un -&mo7 61 ; 6< (D&tos té-n+-os)

    Ant!s ! #o-!s un& s!s+4n ! B&t-, Inut s! u!! -om#o' s+ os &tos

    ! !nt#&& $ & s!-u!n-+& ! &nt&&s u! s! ,&n #o"#&m&o !s & !s!#&&7SM35 ; P&s & : An8+s+s : =u!"o ! &tos

    S+ s! !st8 !>!-ut&no un& t#&ns&--+4n !n moo In0+s+'! s! u!! +# 0+!no !o" ! &s t#&ns&--+on!s u! s! 0&n !>!-ut&no.

    P& t!n!# un& +!& ! & ,o#& !n & u! %n&+/ un #o-!so ! B&t-, Inuts! u!! m+# ! t+!mo ! #o-!so ! un& t#&ns&--+4n $ !?t#&oo.

    http://var/www/apps/conversion/tmp/scratch_4/CODIGO%2Fzmm_carga_batch_input_kole%2Fzmm_carga_batch_input_kole_top.htmlhttp://var/www/apps/conversion/tmp/scratch_4/CODIGO%2Fzmm_carga_batch_input_kole%2Fzmm_carga_batch_input_kole_sub.htmlhttp://var/www/apps/conversion/tmp/scratch_4/CODIGO%2Fzmm_batch_input_mod_kole%2Fzmm_batch_input_mod_kole_top.htmlhttp://var/www/apps/conversion/tmp/scratch_4/CODIGO%2Fzmm_batch_input_mod_kole%2Fzmm_batch_input_mod_kole_sub.htmlhttp://var/www/apps/conversion/tmp/scratch_4/CODIGO%2Fzmm_carga_batch_input_kole%2Fzmm_carga_batch_input_kole_sub.htmlhttp://var/www/apps/conversion/tmp/scratch_4/CODIGO%2Fzmm_batch_input_mod_kole%2Fzmm_batch_input_mod_kole_top.htmlhttp://var/www/apps/conversion/tmp/scratch_4/CODIGO%2Fzmm_batch_input_mod_kole%2Fzmm_batch_input_mod_kole_sub.htmlhttp://var/www/apps/conversion/tmp/scratch_4/CODIGO%2Fzmm_carga_batch_input_kole%2Fzmm_carga_batch_input_kole_top.html

  • 8/18/2019 BatchInput

    2/36

    Ant!s ! #!&+/ un #o"#&m& ! B&t-, Inut !s &-ons!>&'! &s!"u#s! !u! SAP no +s&n"& $& ! m+smo. E?+st!n BI ! -"& !7

    C+!nt!s #o0!!o#!s o-um!ntos -ont&'!s !+os !n+!nt!s-on+-+on!s sto-@s...

    os 0&o#!s +nt#ou-+os !n ! BI & -&& -&mo !'!n !st !nt#o ! os0&o#!s !#m+t+os (t&'&s ! 0!#+%-&-+4n m&t-,-o!s). S+no & t#&ns&--+4n#!sut !##4n!&.

    Ent#! & *&s! ! "!n!#&-+4n $ & ! #o-!s&o !?+st! un t+!mo +n!t!#m+n&ou#&nt! ! -u& u!! 0+ ! !st&o !n ! u! s! !0o & -&'o & "!n!#&-+4n$ u!! u" & !##o#!s !n ! #o-!s&o ! B&t-, Inut

    S! u!!n #o-!s os BI &utom8t+-&m!nt! !>!-ut&no ! #!o#t SBDCSUB.Es os+'! !>!-ut & s!s+4n ! BI +nm!+&t&m!nt! !sués ! s!# "!n!#&&&m&no & #!o#t !s! ! m+smo #o"#&m& u! "!n!#& & s!s+4n

    Ent#! & *&s! ! "!n!#&-+4n $ & ! #o-!s&o !?+st! un t+!mo +n!t!#m+n&ou#&nt! ! -u& u!! 0+ ! !st&o !n ! u! s! !0o & -&'o & "!n!#&-+4n$ u!! u" & !##o#!s !n ! #o-!s&o ! B&t-, Inut

    S! u!!n #o-!s os BI &utom8t+-&m!nt! !>!-ut&no ! #!o#t SBDCSUB.Es os+'! !>!-ut & s!s+4n ! BI +nm!+&t&m!nt! !sués ! s!# "!n!#&&&m&no & #!o#t !s! ! m+smo #o"#&m& u! "!n!#& & s!s+4n

    CODIFICACIÓN DE UN BI

    & T&'& +nt!#n& ! !st#u-tu#& !st8n & +nt#ou-+# os &tos !s7 BDCDATA.(BDC s+"n+%-&

    BATCH DATA COMMUNICATION).DATA7 BEGIN O6 t&'_B_I: OCCUS n:.

    INCUDE STUCTUE BDCDATA.END O6 t&'_B_I:.

    C&mos ! & !st#u-tu#& BDCDATA7

    POGAM7 Nom'#! ! #o"#&m& on! s! #!&+/& ! t#&t&m+!nto !-&& D$n#o.

    DYNPO7 Nm!#o ! &nt&& !n & u! s! u+!#! +nt#ou-+# os &tos. DYNBEGIN7 In+-&o# & nu!0& &nt&&. 6NAM7 C&mo ! & &nt&&. (MA 35 CAACTEES) 6A7&o# ! -&mo ! & &nt&&. (MA F CAACTEES)

  • 8/18/2019 BatchInput

    3/36

    STET7 T&'& u! -ont+!n! toos os os+'!s !##o#!s & most#os !nm!ns&>!s.

    GENEACIN BATCH INPUT71 E BI !! ! %-,!#o s!-u!n-+& $ t#&ns*o#m& os &tos & un *o#m&to

    !t!#m+n&o & &m&-!nos !n un& !nt#&& ! %-,!#o ! -o&s.2 E BI "!n!#& un& s!s+4n u! u!! -ont!n!# un& o mt+!s

    t#&ns&--+on!s.3 E #o"#&m& !'! t!n!# !n -u!nt& & s!-u!n-+& ! &s &--+on!s $

    &nt&&s ($n#os) !n ! m+smo o#!n ! & t#&ns&--+4n !>!-ut&&m&nu&m!nt!.&s s!s+on!s os!!n ! st! *o#m&to7

    1. APENAS ENTAMOS ENCONTAMOS AGUNOS EOES.

  • 8/18/2019 BatchInput

    4/36

    2. CEA UNA SIMUACIN DE ACUEDO A A TABA SM3

    3. COOCO E NOMBE DE A GABACIN

  • 8/18/2019 BatchInput

    5/36

    . COOCO E CODIGO DE A TANSACCIN (A JUE UTIIKAMOS PAA TABA)

  • 8/18/2019 BatchInput

    6/36

    5. H&$ u! 0&+ u! os &tos no !?+st&n $& !n & "#&'&-+4n. E DOYNUEAS ENTADAS7

  • 8/18/2019 BatchInput

    7/36

    L. GUADAMOS Y NOS DEOEMOS A NIE ANTEIO.

  • 8/18/2019 BatchInput

    8/36

    . Y ESTE ES E ESUTADO DE A GABACIN7

  • 8/18/2019 BatchInput

    9/36

    F. DAMOS ATS Y ENCONTAMOS E ISTADO DE GABACIONESCEADAS.

  • 8/18/2019 BatchInput

    10/36

  • 8/18/2019 BatchInput

    11/36

  • 8/18/2019 BatchInput

    12/36

  • 8/18/2019 BatchInput

    13/36

    POCESO CAGA DE DATOS

    BATCH INPUT1. POGAMACION PAA AMA E ACHIO

    2. CEA E ACHIO EN ECE

  • 8/18/2019 BatchInput

    14/36

    GUADA COMO .TT CON E TIPO TET(TAB DEIMITED)

    3. AMO A 6UNCIN PAA EE E ACHIO

  • 8/18/2019 BatchInput

    15/36

  • 8/18/2019 BatchInput

    16/36

    . E=ECUTO

  • 8/18/2019 BatchInput

    17/36

    5. AGEGO A U EN DONDE GUAD E ACHIO .TT

    EN E DEBUG AMOS HACIENDO 65 PAA EI6ICA OS DATOS JUE AMOS

    GUADANDO DENTO DE TI_MATEIAS.

  • 8/18/2019 BatchInput

    18/36

    CAGA DE DATOS CON UNBATCH INPUT (BI)

    CDIGO CEADO PAA E BATCH INPUT DEBE GENEA A MISMAGABACINQ

    Not&7 ést! -4+"o ,&$ u! +#o #!0+s&no & -#! os !#*o#m -o##!-t&m!nt!$ u!! tot&m!nt! +"u& & & "#&'&-+4n.

  • 8/18/2019 BatchInput

    19/36

    RESUMEN DE PASOS:

    1. Bo## &tos t!n+& !n m&nt!n+m+!nto (SM3M&nt!n+m+!nto)2. C"o ! -,+0o t?t #!0+&m!nt! -#!&o !n E?-! ("u&o -omo

  • 8/18/2019 BatchInput

    20/36

    3. E>!-ut ! '&t-, (!#*o#ms). !#+%- u! & t&'& +nt!#n& -#!&& & ! '&t-,7 TI_BDCDATA 0&$&

    "u&no & +n*o#m&-+4n t& -omo o t!n"o !n & "#&'&-+4nKMM_BABO2.

    5. &mo & t#&ns&--+4n o#+"+n& -on &so & &so !s! CA A TANSACTION.

  • 8/18/2019 BatchInput

    21/36

  • 8/18/2019 BatchInput

    22/36

    MANE=O DE EOES DE BATCHINPUT7 SE

  • 8/18/2019 BatchInput

    23/36

    • SYMSG1...SYMSG7 0+&'!s ! m!ns&>!

    +su&+/&-+4n ! m!ns&>!

    MESSAGE ID SYMSGTY

     TYPE SYMSGTY NUMBE SYMSGNO

    RITH SYMSG1 SYMSG2 SYMSG3 SYMSG

    Manejo de errores con AL

     Y uso un& su'#ut+n& s,o_&0 (&nt!#+o#m!nt! $& & ,&'9&mos us&o $ -&m'+o !t9tuo $ & t&'& +nt!#n&)

  • 8/18/2019 BatchInput

    24/36

  • 8/18/2019 BatchInput

    25/36

    ETAS7

    A ! RELOG PARA LA ESPERA EN EL CODIGO GENERADOR DEL BATC"#

    UTINA SHOR POGESS7

  • 8/18/2019 BatchInput

    26/36

    JUEDA AS7

    RELOJ PROGRESIO:

    1. DECAO NUEAS AIABES7

    2. INCUI A POGAMACIN7

  • 8/18/2019 BatchInput

    27/36

    3. AGEGO OS CAMBIOS A A 6UNCION A AMA

    . MODI6ICO A UTINA7

  • 8/18/2019 BatchInput

    28/36

    5. ISTO OBSEO E EOG POGESIAMENTE.

    er e$ %roceso desde %or de&ajo#

  • 8/18/2019 BatchInput

    29/36

  • 8/18/2019 BatchInput

    30/36

    MODI6ICA DATOS CON UNBATCH INPUT (BI)(E ANTEIO 6UE DE CEA DATOS EN MATEIAS)

    1. CEO UNA NUEA GABACIN.SM'( ECODING NER ECODINGCON OS SIGUIENTES DATOS7

  • 8/18/2019 BatchInput

    31/36

    2. CAMBIO OS DATOS DE MI USUAIO 6ANCYC Y JUEDO CON ASIGUIENTE GABACIN7

  • 8/18/2019 BatchInput

    32/36

    3. AHOA EAIKO E BATCH INPUT DE ESTE CAMBIO EN MI POGAMA.

  • 8/18/2019 BatchInput

    33/36

    . GUADO ACTIO Y E=ECUTO E POGAMA)MM*CARGA*BATC"*INPUT*+OLE E INDICO OS AOES.

    5. OY EI6ICANDO ESUTADOS DE TI*BDCDATA

  • 8/18/2019 BatchInput

    34/36

    L. TEMINA DE E=ECUTA.

  • 8/18/2019 BatchInput

    35/36

    . A,o#& !nt#o & SU1 Y BUSCO SI ME EAIK E CAMBIO7

  • 8/18/2019 BatchInput

    36/36

    ISTO EI6ICADO.