SAP_communication With Middleware

Share Embed Donate


Short Description

sap communication...

Description

SAP COMMUNICATIONS COMMUNICATIONS WITH MIDDLEWARE (SAPXI) Submitted to

By  Harleen Kaur Chadha

DOCUMENT INFO DOCUMENT HEADER  Created by Created On Current ownership Reviewed by Contributions fro Pro!e"t Purpose DOCUMENT HISTORY V er DD/MM/Y YYY 0'(A 30)0*)2008

(

1

22)0-)2008

Harleen Kaur Chadha 30 April 2008 Harleen Kaur Chadha Paresh_deshpande P#$AP%# &oK

Author

Reve!er

Harleen Kaur Chadha

Paresh +eshpande

De"#r$t o% +raft ,ersion

Harleen Kaur Chadha

Paresh +eshpande

+raft ,ersion

Declaration I hereby declare that this document is based on my study about the subject. I have referred to websites of SAP for deriving the content of this document.  Harleen Kaur Chadha TA!" #$ C#%T"%TS

1 Introduction………………… Introduction…………………………………………… ……………………………………………………… ……………………………….3 ….3 2 IDOCS…………………… IDOCS………………………………………………… ……………………………………………………… …………………………….....3 ….....3 2.1 Introduction to ALE technology……………………………………………………..3 technology……………………………………………………..3 2.2 Basic concepts………………………… concepts…………………………………………………… …………………………………………….3 ………………….3 2.2.1 Deinition……………… Deinition…………………………………………… ……………………………………………………...3 ………………………...3 2.2.2 Structure…………………… Structure……………………………………………… ………………………………………………….! ……………………….! 2.3 "artner "roile………………… "roile……………………………………………… …………………………………………………...# ……………………...# 2.! In$ound and Out$ound Out$ound Idocs…………………… Idocs………………………………………………… …………………………………% ……% 2.!.1 Coniguration settings or Idoc adapter……………………… adapter………………………………………...% ………………...% 2.!.2 &esting &esting o Idocs………………………… Idocs…………………………………………………… ……………………………………...' …………...' 3 ()CS………………………… ()CS……………………………………………………… ……………………………………………………… …………………………..11 ..11 3.1 Basics………………… Basics…………………………………………… ……………………………………………………… ………………………………...11 …...11 3.2 ()C Adapter………………………………………… Adapter…………………………………………………………………… ……………………………11 …11 3.3 Sender ()C Adapter……………………………………… Adapter………………………………………………………………1 ………………………11 1 3.3.1 Basic coniguration…………………… coniguration……………………………………………… …………………………………….11 ………….11 3.3.2 Other coniguration details………………… details……………………………………………… ………………………………..13 …..13 3.! (ecei*er ()C Adapter…………………………………… Adapter…………………………………………………………….13 ……………………….13 3.# &esting &esting Scenarios +ith ()CS…………………………… ()CS……………………………………………………..1! ………………………..1! 3.#.1 ()C at sender side…………………… side………………………………………………… …………………………………….1! ……….1! 3.#.2 ()C at recei*er side…………………… side……………………………………………… …………………………………...1! ………...1! ! BA"IS…………………… BA"IS………………………………………………… ……………………………………………………… ……………………………….1# …….1# !.1 Basics…………………… Basics………………………………………………… ……………………………………………………… ……………………………1# …1# !.2 Dierences Dierences $et+een ()CS and BA"IS……………………………… BA"IS……………………………………………1# ……………1# !.3 Dierence Dierence $et+een BA"IS,()CS BA"IS,()CS and IDOCS……………………… IDOCS……………………………………1……………1# "roies…………………… "roies………………………………………………… ……………………………………………………… ……………………………….1…….1#.1 "roies in general……………………… general…………………………………………………… ………………………………………….1…………….1#.2 "roies in SA" /I………………………………………………… /I…………………………………………………………………1………………1#.3 ABA" "roies……………………… "roies…………………………………………………… ……………………………………………..1% ………………..1% #.3.1 Deinition……………………………………… Deinition…………………………………………………………………… ……………………………1% 1% #.3.2 Basic coniguration settings…………………………………………… settings…………………………………………………1% ……1% #.3.3 Client "roies…………………… "roies……………………………………………… …………………………………………..1' ………………..1' #.3.! Ser*er "roies………………… "roies……………………………………………… …………………………………………….10 ……………….10 #.3.!.1 /I Adapter……………………………………… Adapter…………………………………………………………..10 …………………..10 #.3.# &esting &esting o "roies…………………… "roies……………………………………………… ……………………………………...2 …………...2 #.! a*a "roies…………………… "roies………………………………………………… ………………………………………………....2 …………………....2

2

#.!.1 eneral……………………………………………………………………...2 #.!.2 a*a proies as a sender…………………………………………………….2 #.!.3 a*a proies as a recei*er…………………………………………………..21 - (eerences…………………………………………………………………………….22

1 Introduction &his docu4ent is intended or all those +ho are a4iliar +ith the $asics o /I. &his docu4ent co*ers the $asic concepts o Idocs5 rcs5 $apis and proies 67a*a 8 a $ap9.It +ill gi*e good understanding a$out $asic steps re:uired or coniguration settings5 end; to;end testing o interaces.

2 IDOCS 2.1 Introduction to ALE technology ALE 66Application lin< ena$ling9 is a SA" proprietary technology. It is used or co44unication $et+een SA" to SA" syste4s or ro4 SA" to non;SA" syste4s li

Idoc Structure

Idocs data is stored in three data$ase ta$les in SA". &hese are or control record5 data record and status record. .Control )ecord ; It is identical or all idocs.It contains the ad4inistration inor4ation5 or ea4ple sender inor4ation5 recei*er inor4ation5 4essage5etc.&he control record structure reers to standard structure EDIDC!.e can *ie+ the structure in transaction se11. .'a&&ing of control record in *I I the idoc is used on sender side then +e are getting *alues ro4 SA" syste45 But i the Idoc is on recei*er side5 and +e are getting its *alues at runti4e then +e can si4ply disa$le it in 4apping.But i +e +ant the *alues to $e illed ro4  payload then +e ha*e to chec< apply control record *alues ro4 payload in co44unication channel.

!

I +e chec< this $o5 and ill all the *alues ro4 payload $ut idoc adapter +ont taESCOD5 >ESC)&5 &ES&5 E/"(SS5 S&D5 S&DH(S5 S&D>ES5 SFDSAD5 SFDLAD5 (CHSAD5 (CHLAD5 (E)IF&5 (E)(" . .+ata )ecord;&hey contains the seg4ents +hich is ha*ing $usiness Inor4ation and data is stored hirerachly li9 +hich is assigned $y SA"J +e can also 4anually assign a nu4$er range o IDOCS.

2.! "artner proile It plays an i4portant role in EDI 6Electronic data interchange9 co44unications. It deines the type o data and the co44unication lo+ o data to $e echanged  $et+een partners. &ransaction +e2 is used to set the details or partner proile. &he ollo+ing inor4ation is deined +ith the partner proile. K IDoc type and 4essage type are aintenance in IDoc Adapter ID/2; >eta Data O*er*ie+ in IDoc Adapter  %ote5  )or detailed inor4ation on Idocs5 please reer to the linL 4essage +hich is process $y integration engine.I ()C is at adapter side then the />L 4essage ro4 integration engine on recei*er side +ill $e con*erted to ()C 4essage using ()C adapter and or+arded to SA" syste4.

!.! Sender %&C Adapter  6.6. asic configuration )or coniguring sender rcadapter5 t+o $asic things are done= ;()C Destination to $e created in SA" syste4 ;()C channel in the /I directory ()C destinations should $e conigured in SA" syste4s not in /I.&he $asic coniguration para4eters are= Program id0 the progra4 id can $e anything5 the sa4e na4e should $e gi*en in  $oth the rc destination and rc adapter. A&&lication Server 78ateway9 and A&&lication Server Service 78ateway9 &CODE= S> ; oto; "ara4eters ; Display &he re:uired inor4ation +ill $e under Attri$utes. Application Ser*er 6ate+ay9 is the ate+ay hostna4e and Application Ser*er Ser*ice 6ate+ay9 is the ate+ay ser*ice. &he ate+ay ser*ice is sapg+// +here // is the syste4 nu4$er. )$C +estination in SAP system ;It is created under transaction s4#05 create ne+ destination o type & 6&C",I"9.Select (egistered Ser*er "rogra4 option  $eore +riting progra4 id. "rogra4 id is case;sensiti*e. In the gate+ay host and gate+ay ser*ice5 the *alues to $e gi*en are o application syste4 6Business syste495 It not /I ser*er.

11

)$C channel in the *I directory ;&he *alues or application ser*er5 application ser*er ser*ice and application progra4 id is taOFI in the /I syste4 gi*e the sender ser*ice na4e to ilter the 4essage and see i it sho+s a success lag or proper transer. In case o any error the errors can $e corrected $y inding the4 out in the trace. /hen &ro(y is receiver5 o to S/>B>OFI in the SA" syste4 and i it sho+s a success lag +hich indicates that the data is successully transerred to the SA" syste4. &he @ ta$le in the SA" syste4 can $e chec
View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF