Professional Documents
Culture Documents
Page 1 of 33
BDC
Intelligroup Asia Private Limited
TABLE O CONTENTS
BATCH DATA COMMUNICATIONS/BATCH INPUT/INBOUND-OUTBOUND..............1 TABLE OF CONTENTS....................................................................................................2 Step! for any data tran!fer""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""# Preparation for le$a%y data&a!e"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""# Con'ertin$ le$a%y data to t(e flat file"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""") *ettin$ t(e data into +/,""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""") FILE HANDLING IN SAP..................................................................................................8 Handlin$ of Se-.ential file""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""/ Handlin$ of lo%al file!""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""00 ile! 1it( 2.ltiple re%ord type!""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""03
Updated on - Apr 20, 2004 Created on - Apr 20, 2004 Proprietary & Confidential
Page 2 of 33
BDC
Intelligroup Asia Private Limited
BATCH DATA COMMUNICATION.................................................................................14 A&o.t Data Tran!fer In +/, Sy!te2"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""04 Analy5in$ data fro2 lo%al file""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""0# Analy5in$ tran!a%tion""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""0# De%larin$ internal ta&le"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""0) De%larin$ internal ta&le li6e BDCDATA"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""0) Pop.lation of BDCDATA""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""07 SESSION METHOD........................................................................................................19 BDC8OPEN8*+OUP""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""09 Para2eter! to t(i! f.n%tion are:"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""09 BDC8CLOSE8*+OUP"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""3; So2e additional infor2ation for !e!!ion pro%e!!in$"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""3; CALL TRANSACTION....................................................................................................21 A&o.t CALL T+ANSACTION""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""30 Step! for CALL T+ANSACTION 2et(od""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""33 DIRECT INPUT................................................................................................................24 A&o.t Dire%t Inp.t"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""34 Start t(e pro$ra2 dire%tly""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""34 Startin$ t(e pro$ra2 'ia t(e DI ad2ini!tration tran!a%tion"""""""""""""""""""""""""""""""""""""""""""""""""""34 Co22on &at%( inp.t error!"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""34 RECORDING A BATCH INPUT......................................................................................26 BACKGROUND PROCESSING.....................................................................................27 Need for Ba%6$ro.nd pro%e!!in$""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""37 Co2ponent! of t(e &a%6$ro.nd <o&!"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""3/ Definin$ Ba%6$ro.nd <o&!"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""3/
Updated on - Apr 20, 2004 Created on - Apr 20, 2004 Proprietary & Confidential
Page 3 of 33
BDC
Intelligroup Asia Private Limited
HANDLING OF POP UP SCREEN IN BDC....................................................................29 AN EXAMPLE AN EXAMPLE ITH SESSION METHOD.....................................................................!" ITH CALL TRANSACTION.................................................................!!
Page 4 of 33
BDC
Intelligroup Asia Private Limited
ABOUT DATA T+ANS E+ Implementing a new software s stem ta!es ma"or effort# Ne1 i2ple2entation re-.ire! 2o'in$ data fro2 t(e pre!ent !y!te2 i"e"= le$a%y !y!te2 into t(e +, !y!te2" $%e produ&t, &omponents, &ustomers and vendors %ave to 'e availa'le in t%e new s stem# Initial data transfer is t%e pro&ess of populating our (3 data'ase wit% data from our lega& s stem# $o prepare for t%e data transfer t%ere are &ertain tas!s ou need to perform# )irst, understand our *AP s stem to !now w%i&% data needs to 'e transferred, e#g#, ou would not transfer an sales order if ou do not use t%e *ales and distri'ution module# *e&ond, ou need to !now t%e &ontents of e+isting data in our lega& s stem# ,ata transfer program, an effe&tive and effi&ient wa of transferring large amount of data into our new s stem, saves time and resour&es# B.t 2ore i2portantly it en!.re! t(at a%%.rate data i! tran!ferred into +/," T1o !tep! in'ol'ed in data tran!fer are CON>E+SION and SAP DATA T+ANS E+" CON>E+SION= data is &onverted from our lega& s stem into t%e re-uired flat file format# SAP DATA T+ANS E+= data is automati&all entered into t%e *AP s stem# A *AP data transfer program reads t%e prepared data from t%e flat file and moves it into (.3#
Page 2 of 33
BDC
Intelligroup Asia Private Limited
7ou %ave t%ree different options to enter our data into (.3# Automati&all , wit% *AP standard data transfer programs# Automati&all , ' &reating our own 'ran&% input programs 1anuall , ' entering t%e data via t%e &orresponding online transa&tion#
Page : of 33
BDC
Intelligroup Asia Private Limited
BDC
Intelligroup Asia Private Limited
=%enever, ou &reate flat file following points s%ould 'e &onsidered0 - Provide t%e data in an A*CII.$e+t file format# - >now %ow ea&% line of t%e file is stru&tured# - >now %ow t%e re-uired flat file for t%e 'usiness o'"e&t must 'e stru&tured# - 3n&e our flat file is read , t%e data s%ould 'e transferred into *AP s stem#
ILE HANDLIN* IN SAP
Introd.%tion )iles on appli&ation server are !e-.ential file!" )iles on presentation server . wor!station are lo%al file!" A se-uential file is also &alled a dataset#
Page E of 33
BDC
Intelligroup Asia Private Limited
IN TEAT MODE: $%e (4A, or $(A;*)4( will start at t%e 'eginning of a new line ea&% time# If for (4A,, t%e destination is s%orter t%an t%e sour&e, it gets trun&ated# If destination is longer, t%en it is padded wit% spa&es# ,efaults0 If not%ing is mentioned, t%en defaults are )3( I;PU$ and in /I;A(7 13,4# P+OCESS ILE: Pro&essing a file involves (4A,ing t%e file or =riting on to file $(A;*)4(# T+ANS E+ State2ent Synta?: $(A;*)4( @fieldA $3 @file nameA# @)ieldA &an also 'e a field string . wor! area . ,,IC stru&ture# Ea%( tran!fer !tate2ent 1rite! a !tate2ent to t(e data!et" In &inary 2ode= it 1rite! t(e len$t( of t(e field to t(e data!et" In te?t 2ode= it 1rite! one line to t(e data!et" If t%e file is not alread open, T+ANS E+ trie! to OPEN file O+ OUTPUT BIN BINA+@ MODEC or .!in$ t(e la!t OPEN DATASET !tate2ent for t(i! file" I) )IL4 ?A;,LI;6, T+ANS E+ I* $?4 3;L7 *$A$414;$ =?IC? ,34* ;3$ (4$U(; *7-*U/(C +EAD State2ent Synta?: (4A, ,A$A*4$ @file nameA I;$3 @fieldA# @)ieldA &an also 'e a field string . wor! area . ,,IC stru&ture# Ea%( +EAD 1ill $et one re%ord fro2 t(e data!et" In &inary 2ode it read! t(e len$t( of t(e field and in te?t 2ode it read! ea%( line" CLOSE ILE: $%e program will &lose all se-uential files, w%i&% are open at t%e end of t%e program# ?owever, it is a good programming pra&ti&e to e+pli&itl &lose all t%e datasets t%at were opened# Synta?: CL3*4 ,A$A*4$ @file nameA# *7-*U/(C will 'e set to 0 or E depending on w%et%er t%e CL3*4 is su&&essful or not# DELETE ILE: A dataset &an 'e deleted#
Updated on - Apr 20, 2004 Created on - Apr 20, 2004 Proprietary & Confidential
Page G of 33
BDC
Intelligroup Asia Private Limited
Synta?: ,4L4$4 ,A$A*4$ @file nameA# *7-*U/(C will 'e set to 0 or E depending on w%et%er t%e ,4L4$4 is su&&essful or not# P!e.do lo$i% for pro%e!!in$ t(e !e-.ential file!: or readin$: 3pen dataset for input in a parti&ular mode# *tart ,3 loop# (ead dataset into a field# If (4A, is not su&&essful# 4+it t%e loop# 4ndif# ,o relevant pro&essing for t%at re&ord# 4nd t%e do loop# Close t%e dataset#
or 1ritin$: 3pen dataset for output . Appending in a parti&ular mode# Populate t%e field t%at is to 'e transferred# $(A;*)4( t%e filed to a dataset# Close t%e dataset#
Page 10 of 33
BDC
Intelligroup Asia Private Limited
Page 11 of 33
BDC
Intelligroup Asia Private Limited
UPLOAD f.n%tion
Upload fun&tion is used to upload t%e lo&al file to internal ta'le into *AP s stem# Parameters passed are similar to ,3=;L3A, fun&tion# )or uploading, ou %ave similar fun&tion &alled =*DUPL3A,#
Page 12 of 33
BDC
Intelligroup Asia Private Limited
4ndif# 4nddo# P!e.do lo$i% for pro%e!!in$ t(e lo%al file! 1it( 2.ltiple re%ord type!: =*DUPL3A, into ita'# Loop at ita'# If ita'-re&id is F?9# ,o pro&essing for F?9 t pe re&ord# 4lse# ,o pro&essing for F,9 t pe re&ord# 4ndif# 4ndloop#
Page 13 of 33
BDC
Intelligroup Asia Private Limited
$o implement one of t%e supported data transfers, ou must often write t%e program t%at e+ports t%e data from our non-*AP s stem# $%is program, !nown as a Mdata transfer program must map t%e data from t%e e+ternal s stem into t%e data stru&ture re-uired ' t%e *AP 'at&% input program#
Page 14 of 33
BDC
Intelligroup Asia Private Limited
$%e 'at&% input program must 'uild all of t%e input to e+e&ute t%e *AP transa&tion# $wo main steps are re-uired0 $o 'uild an internal ta'le &ontaining ever s&reen and ever field to 'e filled in during t%e e+e&ution of an *AP transa&tion# $o pass t%e ta'le to *AP for pro&essing#
Prere-.i!ite for Data Tran!fer Pro$ra2
To analy5e a tran!a%tion:0 *tart t%e transa&tion ' menu or ' entering t%e transa&tion &ode in t%e &ommand 'o+# I7ou &an determine t%e transa&tion name ' &%oosing * stem P *tatus#J *tep t%roug% t%e transa&tion, entering t%e data will 'e re-uired for pro&essing our 'at&% input data# 3n ea&% s&reen, note t%e program name and s&reen Id nproJ num'er# Id npro H d n Q pro# , n H s&reen, pro H num'erJ ,ispla t%ese ' &%oosing * stem P *tatus# $%e relevant fields are Program Id nproJ and , npro num'er# If pop-up windows o&&ur during e+e&ution, ou &an get t%e program name and s&reen num'er ' pressing )1 on an field or 'utton on t%e s&reen# $%e te&%ni&al info pop-up s%ows not onl t%e field information 'ut also t%e program and s&reen# )or ea&% field, &%e&! 'o+, and radio 'utton on ea&% s&reen, press )1 I%elpJ and t%en &%oose $e&%ni&al Info# ;ote t%e following information0 - $%e field name for 'at&% input, w%i&% ou9ll find in its own 'o+#
Updated on - Apr 20, 2004 Created on - Apr 20, 2004 Proprietary & Confidential
Page 12 of 33
BDC
Intelligroup Asia Private Limited
$%e lengt% and data t pe of t%e field# 7ou &an displa t%is information ' dou'le &li&!ing on t%e ,ata 4lement field#
)ind out t%e identifi&ation &ode for ea&% fun&tion I'utton or menuJ t%at ou must e+e&ute to pro&ess t%e 'at&%-input data Ior to go to new s&reenJ# Pla&e t%e &ursor on t%e 'utton or menu entr w%ile %olding down t%e left mouse 'utton# $%en press )1# In t%e pop-up window t%at follows, &%oose $e&%ni&al info and note t%e &ode t%at is s%own in t%e )un&tion field# 7ou &an also run an fun&tion t%at is assigned to a fun&tion !e ' wa of t%e fun&tion !e num'er# $o displa t%e list of availa'le fun&tion !e s, &li&! on t%e rig%t mouse 'utton# ;ote t%e !e num'er t%at is assigned to t%e fun&tions ou want to run# 3n&e ou %ave program name, s&reen num'er, field name Is&reen field nameJ, ou &an start writing# ,A$A $(A;*)4( program#
Page 1: of 33
BDC
Intelligroup Asia Private Limited
=it%in a /,C,A$A stru&ture, organiOe t%e data of s&reens in a transa&tion# 4a&% s&reen t%at is pro&essed in t%e &ourse of a transa&tion must 'e identified wit% a /,C,A$A re&ord# $%is re&ord uses t%e Program, , npro, and , n'egin fields of t%e stru&ture# $%e s&reen identifier re&ord is followed ' a separate /,C,A$A re&ord for ea&% value, to 'e entered into a field# $%ese re&ords use t%e );A1 and )RAL fields of t%e /,C,A$A stru&ture# Ralues to 'e entered in a field &an 'e an of t%e following0 ,ata t%at is entered into s&reen fields# )un&tion &odes t%at are entered into t%e &ommand field# *u&% fun&tion &odes e+e&ute fun&tions in a transa&tion, su&% as *ave or 4nter# $%e BDCDATA stru&ture &ontains t%e following fields0 P+O*+AM: ;ame of module pool program asso&iated wit% t%e s&reen# *et t%is field onl for t%e first re&ord for t%e s&reen# D@NP+O: *&reen ;um'er# *et t%is field onl in t%e first re&ord for t%e s&reen# D@NBE*IN: Indi&ates t%e first re&ord for t%e s&reen# *et t%is field to 5, onl for t%e first re&ord for t%e s&reen# I(eset to F F I'lan!J for all ot%er re&ords#J NAM: )ield ;ame# $%e );A1 field is not &ase-sensitive# >AL: Ralue for t%e field named in );A1# $%e )RAL field is &ase-sensitive# Ralues assigned to t%is field are alwa s padded on t%e rig%t, if t%e are less t%an 132 &%ara&ters# Ralues must 'e in &%ara&ter format#
Tran!ferrin$ data fro2 lo%al file to internal ta&le ,ata is uploaded to internal ta'le ' UPL3A, of =*DUPL3A, fun&tion#
Population of /,C,A$A
)or ea&% re&ord of internal ta'le, ou need to populate Internal ta'le, w%i&% is similar to /,C,A$A stru&ture# All t%ese five initial steps are ne&essar for an t pe of /,C interfa&e# ,A$A $(A;*)4( program &an &all *4**I3; 14$?3, or CALL $(A;*AC$I3;# $%e initial steps for 'ot% t%e met%ods are same#
Page 1< of 33
BDC
Intelligroup Asia Private Limited
ir!t !tep for &ot( t(e 2et(od! i! to .pload t(e data to internal ta&le" ro2 Internal Ta&le= t(e data i! tran!ferred to data&a!e ta&le &y t1o 1ay! i"e"= Se!!ion 2et(od and Call tran!a%tion"
Page 1E of 33
BDC
Intelligroup Asia Private Limited
SESSION METHOD
BDC8OPEN8*+OUP
7ou &reate t%e session t%roug% program ' /,CD3P4;D6(3UP fun&tion# Parameters to t%is fun&tion are0 User ;ame0 User name 6roup0 ;ame of t%e session Lo&! ,ate0 $%e date on w%i&% ou want to pro&ess t%e session# >eep0 $%is parameter is passed as F59 w%en ou want to retain session after pro&essing it or F F to delete it after pro&essing#
BDC8INSE+T
$%is fun&tion &reates t%e session L data is transferred to *ession# Parameters to t%is fun&tion are0 $&ode0 $ransa&tion ;ame , nprota'0 /,C ,ata
Page 1G of 33
BDC
Intelligroup Asia Private Limited
BDC8CLOSE8*+OUP
$%is fun&tion &loses t%e /,C 6roup# ;o Parameters#
Page 20 of 33
BDC
Intelligroup Asia Private Limited
CALL T+ANSACTION
$ransa&tion &ode /at&% point module name /at&% input , n num'er /at&% input message t pe IA.4.=.I.*J /at&% input Lang, id of message 1essage id 1essage varia'les I; H 1 - 4J
Proprietary & Confidential
Page 21 of 33
BDC
Intelligroup Asia Private Limited
)or ea&% entr , w%i&% is updated in data'ase, ta'le message is availa'le in /,C1*6C3LL# As /,C1*6C3LL is stru&ture, ou need to de&lare a internal ta'le w%i&% &an &ontain multiple re&ords Iunli!e stru&tureJ#
$%e ma"or differen&es 'etween *ession met%od and Call transa&tion are as follows0 SESSION METHOD Data i! not .pdated in data&a!e ta&le .nle!! Se!!ion i! pro%e!!ed" No !y-!.&r% i! ret.rned" Error lo$ i! %reated for error re%ord!" Updation in data&a!e ta&le i! al1ay! !yn%(rono.! CALL T+ANSACTION I22ediate .pdation in data&a!e ta&le" Sy-!.&r% i! ret.rned" Error! need to &e (andled e?pli%itly Updation in data&a!e ta&le %an &e !yn%(rono.! Or A!yn%(rono.!"
Page 22 of 33
BDC
Intelligroup Asia Private Limited
<
Page 23 of 33
BDC
Intelligroup Asia Private Limited
DI+ECT INPUT
Page 24 of 33
BDC
Intelligroup Asia Private Limited
$%e s&reen in t%e /,C,A$A stru&ture does not mat&% t%e rig%t se-uen&e, or an intermediate s&reen is missing# 3n e+&eptional o&&asions, t%e logi& flow of 'at&% input session does not e+a&tl mat&% t%at of manual online pro&essing# $esting t%e sessions online &an dis&over ' t%is# $%e /,C,A$A stru&ture &ontains fields, w%i&% are longer t%an t%e a&tual definition# Aut%oriOation pro'lems#
Page 22 of 33
BDC
Intelligroup Asia Private Limited
A / re&ording allows ou to re&ord a (.3 transa&tion and generate a program t%at &ontains all s&reens and field information in t%e re-uired /,C-,A$A format# 7ou &an eit%er use *?,/ transa&tion for re&ording or *7*$41 *4(RIC4* /A$C? I;PU$ 4,I$ And from %ere &li&! re&ording# 4nter name for t%e re&ording# I,ates are optionalJ Cli&! re&ording# 4nter transa&tion &ode# 4nter# Cli&! *ave 'utton# 7ou finall &ome to a s&reen w%ere, ou %ave all t%e information for ea&% s&reen in&luding /,CD3>C3,4# Cli&! 6et $ransa&tion# (eturn to /I# Cli&! overview# Position t%e &ursor on t%e "ust re&orded entr and &li&! generate program# 4nter program name# Cli&! enter
Page 2: of 33
BDC
Intelligroup Asia Private Limited
BACG*+OUND P+OCESSIN*
Page 2< of 33
BDC
Intelligroup Asia Private Limited
Page 2E of 33
BDC
Intelligroup Asia Private Limited
1an times in transa&tion pop up s&reen appears and for t%is s&reen ou don9t pass an re&ord 'ut some indi&ation to s stem telling it to pro&eed furt%er# )or e+ample0 $%e following s&reen
$o %andle su&% s&reen, s stem %as provided a varia'le &alled /,CDCU(*3(# 7ou pass t%is varia'le to /,C,A$A and pro&ess t%e s&reen# Usuall su&% s&reen appears in man transa&tions, in t%is &ase ou are "ust passing information, t%at 74* ou want to save t%e information, t%at means 74* s%ould 'e &li&!ed# *o ou are transferring t%is information to /,C,A$A i#e#, field name of 74* w%i&% is usuall *P3$D3P$I3;# Instead of /,CD3>C3,4, ou are passing /,CDCU(*3(# /,CDCU(*3( is also used to pla&e &ursor on parti&ular field#
Page 2G of 33
BDC
Intelligroup Asia Private Limited
)ollowing program demonstrates %ow data is passed from flat file to *AP transa&tion and furt%er to data'ase ta'le ' using *4**I3; met%od# $%e transa&tion is $)/A Ito &%ange &ustomerJ# A simple transa&tion w%ere ou are entering &ustomer num'er on first s&reen and on ne+t s&reen data is displa ed for t%e parti&ular &ustomer num'er# )ield, w%i&% we are &%anging %ere, are name and &it # =%en ou &li&! on save, t%e &%anged re&ord gets saved# Prere-uisite to write t%is /,C interfa&e as indi&ated earlier is0 1# $o find s&reen num'er 2# $o find s&reen field names, t pe of t%e field and lengt% of t%e field# 3# $o find /,CD3>C3,4 for ea&% s&reen 4# Create flat file# )lat file &an 'e &reated in our %ard dis! as follows0 1 2 3 Rinod >ris%na >avit%a >is%ore ? dera'ad *e&undera'ad ? dera'ad
I=%ere 1st &%ara&ter field is Customer num'er, 2nd field is Customer name and 3rd field is Cit #J $o transfer t%is data to data'ase ta'le *CU*$31 following interfa&e &an 'e used# (4P3($ ,4131# T )ollowing internal ta'le is to upload flat file# ,A$A0 /46I; 3) I$A/ 3CCU(* 0, I,I10J, ;A14I22J, CI$7I22J, 4;, 3) I$A/# T)ollowing internal ta'le /,C,A$A is to pass date from internal ta'le to session# ,A$A0 /,C$A/ LI>4 /,C,A$A 3CCU(* 0 =I$? ?4A,4( LI;4# T Raria'les ,A$A0 ,A$41 LI>4 *7-,A$U1# ,A$41 H *7-,A$U1 - 1# M $%is is for ?old ,ate T $o upload flat file to internal ta'le# CALL )U;C$I3; UPL3A, 45P3($I;6 )IL4 ;A14 H FC0U))#$5$9 )IL4 $7P4 H FA*CN $A/L4* Updated on - Apr 20, 2004 Proprietary & Confidential Page 30 of 33
Created on - Apr 20, 2004
BDC
Intelligroup Asia Private Limited
,A$AD$A/ H I$A/ 45C4P$I3;* C3;R4(*I3;D4((3( H1 I;RALI,D$A/L4D=I,$? H2 I;RALI,D$7P4 H3 ;3D/A$C? H4 U;>;3=;D4((3( H2 3$?4(* H :# If s -su'r& H 0# T Calling )un&tion to Create a *ession CALL )U;C$I3; F/,CD3P4;D6(3UP9 45P3($I;6 CLI4;$ H *7-1A;,$ 6(3UP H FP3$?U(I9 ?3L,,A$4 H ,A$41 >44P H F59 U*4( H *7-U;A14 45C4P$I3;* CLI4;$DI;RALI, H1 ,4*$I;A$I3;DI;RALI, H2 6(3UPDI;RALI, H3 6(3UPDI*DL3C>4, H4 ?3L,,A$4DI;RALI, H2 I;$4(;ALD4((3( H: VU4U4D4((3( H< (U;;I;6 HE *7*$41DL3C>D4((3( HG U*4(DI;RALI, H 10 3$?4(* H 11# If s -su'r& H 0# T-------------------------- 1AI; Logi&-----------------------------L33P A$ I$A/ P4()3(1 64;4(A$4D,A$A# M Populating /,C,A$A $a'le CALL )U;C$I3; F/,CDI;*4($9 45P3($I;6 $C3,4 H F$)/A9 $A/L4* ,7;P(3$A/ H /,C$A/ 45C4P$I3;* I;$4(;ALD4((3( H1 ;3$D3P4; H2 VU4U4D4((3( H3 $C3,4DI;RALI, H4 P(I;$I;6DI;RALI, H2 P3*$I;6DI;RALI, H : 3$?4(* H <# (4)(4*? /,C$A/ 4;,L33P#
Updated on - Apr 20, 2004 Created on - Apr 20, 2004 Proprietary & Confidential
Page 31 of 33
BDC
Intelligroup Asia Private Limited
I Callin$ f.n%tion to %lo!e t(e !e!!ion CALL )U;C$I3; F/,CDCL3*4D6(3UP9 45C4P$I3;* ;3$D3P4; H1 VU4U4D4((3( H2 3$?4(* H 3# 4ndif# 4ndif# TL--------------------------------------------------------------------T TL )orm 64;4(A$4D,A$A TL--------------------------------------------------------------------T T Create /,C ,ata TL--------------------------------------------------------------------T )3(1 64;4(A$4D,A$A T Passing information for 1st s&reen on /,C,A$A /,C$A/-P(36(A1 H F*AP1$)/A9# /,C$A5-,7;P(3 H 100# /,C$AP-,7;/46I; H F59# APP4;, /C,$A/#CL4A( /,C$A/# T Passing field information to /,C,A$A /,C$A/-);A1 H F*CU*$31-I,9 /,C$A/-)RAL H I$A/-I,# APP4;, /,C$A/#CL4A( /,C$A/# T Passing /,CD3>C3,4 to /,C,A$A /,C$A/-);A1 H F/,CD3>C3,49# /,C$A/-)RAL H F.29# APP4;, /,C$A/#CL4A( /,C$A/# T Passing s&reen information for ne+t s&reen to /,C,A$A /,C$A/-P(36(A1 H F*AP1$)/A9# /,C$A/-,7;P(3 H 200# /,C$A/-,7;/46I; H F59# APP4;, /,C$A/#CL4A( /,C$A/# T Passing s&reen information to /,C,A$A /,C$A/-);A1 H F*CU*$31-;A149# /,C$A/-)RAL H I$A/-;A14# APP4;, /,C$A/#CL4A( /,C$A/# T Passing s&reen information to /,C,A$A /,C$A/-);A1 H F*CU*$31-CI$79# /,C$A/-)RAL H I$A/-CI$7# APP4;, /,C$A/#CL4A( /,C$A/# T Passing /,CD3>C3,4 to /,C,A$A /,C$A/-);A1 H F/,CD3>C3,49# /,C$A/-)RAL H F*AR49# APP4;, /,C$A/#CL4A( /,C$A/# 4;,)3(1# M64;4(A$4D,A$A
Page 32 of 33
BDC
Intelligroup Asia Private Limited
*ame steps to 'e repeated for CALL $(A;*AC$I3; $%e onl differen&e 'etween t%e two t pes of interfa&e is in *ession met%od, ou &reate session and store information a'out s&reen and data into session# =%en session is pro&essed t%e data is transferred to data'ase# =%ile in CALL $(A;*AC$I3;, data is transferred dire&tl to data'ase ta'le# (4P3($ ,4131# T )ollow a'ove Code till 1AI; Logi&# 4ven t%e *u'routine s%ould 'e &opied L33P A$ I$A/ P4()3(1 64;4(A$4D,A$A, MPopulating /,C,A$A $a'le Call transa&tion F$)/A9 using /C,,A$A 1ode FA9 Update F*9# (4)(4*? /,C$A/ 4;,L33P#
Page 33 of 33