emax volume 4
January 28, 2017 | Author: madhubisani2005 | Category: N/A
Short Description
Download emax volume 4...
Description
INDEX
SNO Chapter
1 2 3 4 5
Pages
Introduction 02 IDocs & Message Type .,:(I1 communication Settings~ - 12 4;.4$$?6',, zqw22 Outbound & Inbound @Y2Distribute Master 9Byfg2yia @ ?%CZr\ r : . Standard IDoc %, *4&$ . L- ~ ~ 21 ~ , Filtering Trouble Shooting & 07 Recovery Custom IDocs 30 .+
-'**-
s,p,, .- ,%-
4
.+F22
,
Sp,%
%
a
2"
+!:.*:"
a
: i s >
?% "Tv
j
f ..."
,-c
6 7
8
-5-
L u--
zz%% ,* .a -,r e> - i
r
1
*il
,.A ..A . . - - C . ~ I T ~ ~ D R I SXEROX ES Floc No: 40, Gayatlui Nagar, Behind HUDA, ,
SOFTWARE INSTITUES MATERIAL AVAILABLE
Arneerpet, Hyd. Cell: 98666 84838
,
1. Introduction to ALE We Never Compromise In Quality. Would You? ALE (Application Linking and Enabling)
ALE is SAP'S technology to support distributed yet integrated processes across several SAP systems. (OR) Application Link Enabling (ALE) is a set of business processes and tools that allow applications on different computer systems to be linked. This can be done between different SAP systems as well as between SAP and non-SAP systems. Distributed Process:
A distributed process is one in which part of a business process(Sa1es) is carried out on one system and part(Finance) on another. The two systems each other at appropriate points to stay synchsonized. Need for Distributed Process:
Business in D No11 availability of dedicated net Cultural and 1 Maintenance downtime etc.).
. It was inlpoi-tan: from data on businlss rules, not on database ng integrated as one endently and support Distributed systems that can handle different data models. A local implementation should be able to customize the system to meet its local needs. Receiving systems that can handle their own problems and not tie up the sending system. Systems that maintain continued operation in spite of network failure. Changes made to either system should be syncl~ronizedafter the network connection is restored. A sound technology and methodology that can be used in all distribution scenarios. SAP Distributed environment: ALE allows for efficient and reliable communication between distributed processes across physically separate SAP systems. ALE is based on application to application integration using messaging architecture. A message defines data that is exchanged between two processes. IDocs are containers that hold data exchanged between the two systems. Page 1 of 2 By Ganapati Adimulam eMax Technologies,Ameerpet,Hyderabad Ph No :+91 40 -65976727, Cell NO : 99484 44808,98490 34399, w\~~v.emaxtech.com
1. Introduction to ALE We Never Compromise In Quality. Would You?
Benefits of ALE -
-
--
--
- .
-- -
--- --
Integration with non-SAP systems: ALE architecture allows third party applications to integrate with SAP system. Reliable Distribution: Once message type created and the receiver of the message is determined, ALE delivers the message to the recipient. If there is any network problem it will buffer the message and delivers the message once the network is restored. It also ensures that the message is not delivered twice. Release Upgrade: Any of the distributed system can be upgraded to the new release of SAP without affecting the functionality. backward compatibility of messages ALE may also reduce costs, in particular costs of is run on one integrated system you have to upgrade the who1 entire company is affected for the new release. Within interfaces, like those provi not involved and need no tra
known to all ass all associates as soon
you to immediately trigger an IDoc sent to er record is created in one system.
Another common scenario is that a company uses different installations for company accounting and production and sales. In that case, ALE allows you to copy the invoices created in SD immediately to the accounting installation.
Page 2 of 2
By Ganapati Adimulam
eMax Technologies,Anieerpet,Hyderabad Pi1 No :+91 40 -65976727, Cell No : 99484 44808,98490 34399, w~nv.emaxtech.com
2. IDocs & Message Type in Detail We Never Compromise In Quality. Would You?
IDocs Note : ALE Uses IDoc(1ntermediate Document) to carry the Data across the Distributed Systems. Note : IDoc is SAP'S Own Foimat so that only SAP Systems Can Understand the data in IDoc Format. Scenariol:
SAP - SAP
Note : Since Both the systems are SAP Systems, they ca IDoc Format. Scenario2: SAY Non -SAP /*
EAI(Enterprise Application Jiitegration) Tools
When the Communication is bet SAP Non SAP , The data in IDoc Format should be Converted in other f o r r & t ( ~here) ~ ~ and the Any other format should be converted into IDoc , We Can go for any EAI Tool which can do the above Conversion With no Loss Of Data. Note : IDoc is Collection of Segments AND Each segment is collection Of Fields. Note :SAP ALE Consultant role is always to Work with IDocs irrespective of the Other System(SAP/Non-SAP).
Page 1 of 11
By Ganapati Adimulam eMax Technologies, Ameerpet, Hyderabad Ph No :+9140 -65976727, Cell No : 99484 44808,98490 34399, www.emaxtcch.com
2. IDocs & Message Type in Detail We Never Compromise In Quality. Would You? /DOC Design Guide Lines(Syntax Rules)
IDOC Type defines the structure and format of the business document that is to be exchanged. Analyze the Application Data to be transferred Via IDoc AND Identify the List Of required Segments Make Sure that the related data is grouped into one segment Decide the Parent & Child Segments Decide the Minimum & Maximum No Of Repetitions of each Segment Decide the mandatoryloptional segments Make Sure that the Segment length is not more than 1000 bytes(Char). Segments
Seginen.ts are reusable components.
- Segment
Definition (versiou dependent) \ v
* *
%
,d"
yb&-*,F
- Segment Documentation
*;'
The last 3 characters is the versioil of the segment Definitions keep changing as per the version but the segment type remains the same
Note: Fields in any seginent can contain only alphanumeric values(Data Types).
Data Types CHAR CLNT CUKY DATS
Page 2 of 11
Description Character String Client Currency Key, refrenced by CURR fields Date Field ( YYYYMMDD) stored as By Ganapati Adimulam
eMax Technologies, Ameerpet, Hyderabad Ph No :+9140 -65976727, Cell No : 99484 44808,98490 34399, www.emastech.com
2. IDocs & Message Type in Detail We Never Compromise In Quality. Would You?
Note : All the Standard Segment names starts with E l and So that it is recommended to start the Custom Segments with 21.
/DOC Run-Time Components An IDOC is an instance of an IDOC Type %
At run time the following events occur One control record is attached to the IDOC Segments are translate into data records Status records are attached
'".
A unique IDOC no. is allocated by
I I
Control Record
1 A) Sendor & Receiver Info B) Only One Record C) Table is EDIDC
1 I Data Records 1 I
I
I
Status Records
I
I
A)Application Data B) No Of Records C) Table is EDIDD
A) Status of IDOc Journey B) Assign Clie~'t~to&ogical Syst Ckaage View rrC##&nb ": Owem8w
Enter the Logical System RECEIVER and SAVE it. Page 5 of 12 By Ganapati Adimulam eMax Technologies, Ameerpet, Hyderabad Ph No :+9140 -65976727, Cell No : 99484 44808,98490 34399, w~w.ei~~axtecl~.com
3. ALE Communication Settings
4
We Never Compromise In Quality. Would You? Note :Now the Participated Clients 800 as named as SENDOR and 810 as RECEIVER.
SENDOR Client : 800
Logon Details
RECIEVER + Client :
810
4
Lopon Details
.5!
Note : in the RF'C Destination, We Provide the receive^-8s Details(1P Address) and the Logon Details of the Receiver LOGON to SENDOR Client(800) EXECUTE SM59.
4
Select
By Ganapati Adimulam eMax Technologies, Ameerpet, Hyderabad Ph No :+9140 -65976727, Cell No : 99484 44808,98490 34399, \nnv.emaxtech.com
Page 6 of 12
3. ALE Communication Settings
4
We Never Compromise In Quality. Would You?
Page 7 of 12
By Ganapati Adimulam
eMax Technologies, Ameerpet, Hyderabad Ph No :+9140 -65976727, Cell No :99484 44808,98490 34399, ~7~1v.eniaxtecli.com
3. ALE Communication Settings We Never @ompromiseIn Quality. Would You?
WFC D-fC!tatC@n
RECEIVER
Provide the HostName (SAY Application Server Name) and System Number of the Receiver SAP System. I
I
to provide the Logon Details of the
Page 8 of 12
By Ganapati Adimulam eMax Technologies, Ameerpet, Hyderabad Ph No :+9140 -65976727, Cell No : 99484 44808,98490 34399, w~vw.emaxtech.corn
3. ALE Communication Settings We Never Compromise In Quality. Would Yo1
Provide : Client of the RECEIVE
TESTING the RF'C ~ e l t i ~ a t i o: n
Click On Remote Logon Page 9 of 12
j
\1
Remote ogon *-"------"
- - - from the Same Screen.
By Ganapati Adimulam eMax Technologies, ~ k e e r ~ eHyderabad t,
Ph No :+9140 -65976727, Cell No : 99484 44808,98490 34399, w~wv.emaxtecb.com
3. ALE Communication Settings We Never Compromise In Quality. Would You? And Make sure that you are able to LOGON to the RECEIVER System(C1ient).
I
F U connections ~
I
I l n t e connections
I
Logical destinations
I
1
T C P - I P connections
I
I
Connections via ABAP14 d r i v e r
I
By Ganapati Adimulam eMax Technologies, Ameerpet, Hyderabad Ph No :+9140 -65976727, Cell No : 99484 44808,98490 34399, w~wv.e~naxtecl~.com
Page 10 of 12
3. ALE Communication Settings
.
We Never Compromise In Quality. Would You?
- Type 2 entries specify W2 systems.
W2 connections
(Type 2)
R/3 connections
(Type 3) - Type 3 entries specify W3 systems
TCPIIB Connections (Type T)
Type T destinations are connections to external programs that use the RFC API to receive RFCs. Destination Parameters Technical settings
entry help according to the above types discussed.
Trace :Mark the Trace option to have the using report RSRFCTRC.
Loud balance :If you choo information: .on to the target system and n z Monitor -> Servers.)
4
art Of Communication Settings) dium of transferring Data. Port ( Transactional RFC). LOGON to SENDOR : EXECUTE WE21
Page 11 of 12
By Ganapati Adimulam
eMax Technologies, Ameerpet, Hyderabad Ph No :+9140 -65976727, Cell No : 99484 44808,98490 34399, w ~ v . e m a x t e c l ~ . c o m
3. ALE Communication Settings We Never Compromise In Quality. Would You?
Select Transactional RFC (
mi~!ansactional RFC! ) and Create.
.~$>
Continue with Generate Port name
,, ,
,.\. '...,,: ~\
n (Logical System Name) of the Receiver's Cli h was Already Created in the Previous Step. tion, When the Communication is a TWO Way 4
Note : All the Communication Settings are Completed .i.e the Bridge is Ready so that the data can be transferred via IDocs between SENDOR(800) and RECEIVER(810). Note :Since all these Settings involves System Details , BASIS Consultants will take care of Building the Bridge (Communication Settings) in Realtime and also it is one time job between each sendor and Receiver. Page 12 of 12
By Ganapati Adimulam eMax Technologies, Ameerpet, Hyderabnd Ph No :+91 40 -65976727, Cell No : 99484 44808,98490 34399, w ~ ~ v . e ~ ~ i a x t e c l i . c o ~ ~ ~ 4
4. Outbound & Inbound Process We Never Colnproinise In Quality. Would You?
ssoutbound (IDoc Generation & Dispatch Process) in Detail Data Records For all the Physical Sequence Of
................................ Sendor Receiver IDoc
Receiver
MODE
Outbound Pro ed for Sending the IDoc : Whenever the Master Data is Created t Consults the ALE Layer to deterinine whether any system is data. If So, ALE Layer starts the Process to send Material Master Master IDoc : The Docuinent / Master Data to be sent is read atted into an IDoc Forinat. This IDoc is Called 4 Master IDoc. 3) Generate the Communication IDoc : ALE Service Layer generates a Separate 1Doc from the Master TDoc for each recipient who is interested in the Data.These recipient - specific IDocs are called Coin~nunicationIDocs and Stored in the Database. Note : The Recipients are determined froin the Distributioil Model that Maintains the list of Messages(1Docs) exchanged between two Systems and their direction Flow. 4) Deliver the Communication D o c : This Step Delivers the IDocs to the appropriate recipieilts using the Asynchronous Communication Method and using the details fro111the Outbound Partner Profile. Asynchronous By Ganapati Adimulam Page 1 of 2 eMax Tecl~nologies,Ameerpet,Hyderabad Ph No :+9140 -65976727, Cell No : 99484 44808,98490 34399, ww~~~.emaxtech.com
4
4. Outbound & Inbound Process
We Never Colllprolnise In Quality. Would You? Communication Method allows the Sending System to Continue its Processing without having to wait for the destination system to receive / Process the IDoc.
Inbound (IDoc Receiving & Posting ) Process in Detail : Inbound Program Read the Data from the Communication IDoc Post the Data in the respective
Database
ALE Inbound Partner Profile IDoc
------DEBMAS CREMAS MATMAS
I
Communication Layer
Inbound Progl Process Code
-----------------DEBM CREMlCNl MATM
I
Inbound Process : *-J
Note : The Inbound Process receives the IDoc and Creates the Applicatioil Document(Data) in the Receiver System. 1.
2. 3.
Page 2 of 2
Store the IDoc in Database : IDoc is received in the System and stored in the Database. Invoke the Posting Program/Function Module : Posting Program is identified from the Inbound Partner Profile and the IDoc is then transferred to the Posting Program. Create the Application Document@ata) : The Posting Program reads the data from the Segments of the IDoc and Creates the Application Document in the Systein(Updates the respective Database Tables).
By Ganapati Adimulam eMax Technologies,Ameerpet,Hyderabad Ph No :+9140 -65976727, Cell No : 99484 44808,98490 34399, w~~w.emaxtech.com
5. Distributing the Master Data Via Standard IDocs We Never Colnprolnise In Quality. Would You?
Distributing Master Data Types Of Distributing Master Data: 1) Send / Push Whole Copy.
SENDOR
RECEIVER
Get/Fetch/Pull Whole Copy
Send Changes Only (Cha
,B
% , %-
Send I Push whol?coRy/in --/ Detail. SENDER
RECEIVER
Note : IDocs ,Message Types ,Outbound and Inbound Programs are already provided by SAP. So that When We use standard IDos to transfer Data, I t is enough to Configure both Sender and Receiver Systems Because everything is already Provided by SAP.
I Requirement: Transfer the Cost Center Master Data and Post(Create) the Same in the RECEIVER(810). Page 1 of 39
By Ganapati Adimulam
eMax Technologies,Ameerpet,Hyderabad Ph No :+9140 -65976727, Cell No : 99484 44808,98490 34399, w~w.emaxtech.com 4
5. Distributing the Master Data Via Standard IDocs We Never Colnprolnise In Quality. Would You?
Steps to Transfer the Data through Standard lDoc : Maintain Outbound Configurations For COSMAS:
$
Make Sure that all the Communication Settings are in Place. (Already Completed & Tested). Maintain the Distribution Model ( BD64 ) Maintain Outbound Partner Profile ( WE20 )
J2 3J
A) Maintain Distribution Model in Detail: Create the Distribution Model and Add the Message type to be transferred. Z,$%?i
14
EXECUTE BD64 AND Click On Change . 1 2 1 ; a!F p:.
rlllerrnodrl .display.
..
-,------w?-?v
s!d+i~,p.~~ ~is~!..v'anqectmoa-.2n
0 p
% ,;:.
I
rz
A - i: . < ;I,,.,.. % ::..;:::':.i:,:a
i
!
i
! 1
1
1
i
1
:
:
.
...iV?-.!I
.
:,.!:! r>:S:
:. . ',,.,,..
-~-~-m.,.-__-.-,--" .............
/Descr=nnical
name
b
L>
,AL . N o Short f e n exlsts BBP-011 NO short text ~ X O S I S BCS9 ~ - 8 0 0 . NO shortfextenists RELCO . N o snon l e d exists 81T300LBP N O shortled ex1SlS
% .*.;. .:<
x.,
..
,.
--,----
~ u s l n e s sowect
-.-,-.. . . . . . -.
""*
a
.:;
:>I
..
t -'
.:;
.:
b
% .:::..
uz
:
,!.: , s. : ! :",,':
;..?...
% ::.;,(
,
. : . :r>y , ! . . ::; :, , ;..... : :,: ..i... ::..
, x i....., :..&. . L>
bc
iOSB-SUPPLY. N O shod l e d exlsls PFS N o snort text eiAsls :SUBSYSTEMS. N O short l e d exlsls WlvlS N O shorttext e ~ i s l s XI r10 short l e d exists iZ8" N O S l l O l l t e k f exist* iE2W-lDES 'DE3-WBi\ iDU3.bID3 EBPIO-R3
.
OX.,. ,::< ,
4
:CONSOLIDAT. N O short lent eesls DlLID3 NO snort ted exists D Message type For Customer Master.
I
~ ~ s ~ r n -model ~ u t ~~k a a m ~ g~e d
Page 3 of 21
By Ganapati Adimulam
eMax Technologies,Ameerpet,Hyderabad Ph No :+9140 -65976727, Cell No : 99484 44808,98490 34399, www.emaxtech.com
6.Piltering We Never Compromise in Quality. Would You ?
y
;
?.
-
.
~Jl',.'lSlOn
IG.1 E;.sles Organization -
I., . : Cli.;trihution
Click ;:.3L1;-t Rows . . Pag: -,,,. I . . :
Channel
:,d
Dlvislon Sales ~ r g Dlstr~butlo&%
and Enter Value Company Code GL1000(1000) By Ganapati Adimulam
A -
:.:
P:,)
eNlax Technologies,Ameerpet,Hyderabad :+91 40 -65976727, Cell No : 99484 44808,98490 34399, ~7nv.emaxtech.com
6.Filtering We Never Com~romisein Quality. Would You ?
SAVE it.
Page 5 of 21
By Ganapati Adimulam
eMax Technologies,Ameerpet,Hyderabad Ph No :+9140 -65976727, Cell No : 99484 44808,98490 34399, www.emaxtech.com
6.Filtering We Never Compromise in Quality. Would You ? 2 . Maintai:: -;ie Outbound Partner Profile, for Message type DEBMAS
EXECUTE M'E20 ,Select the Partner type LS -> RECEIVER-> Create 0ul:zoitrld Parameters
Page 6 of 2 :
By Ganapati Adimulam
eMax Technologies,Ameerpet,IIyderabad 2::Sib :+9140 -65976727, Cell No : 99484 44808,98490 34399, ww.emaxtech.com
6.Filtering We Never Com~romisein Oualitv. Would You ? SAVE it.
Testing : Create a Customer in Company Code 3000. Execute XDOl to Creating Customer.
Page 7 of 21
By Ganapati Adimulam
eMax Technologies,Ameerpet,Hyderabad Ph No :+9140 -65976727, Cell No :99484 44808,98490 34399, www.emaxtech.com
6.Filtering We Never Conlpromise in Quality. Would You ?
Execute BD12(Send C
Send Customers
EXECUTE IT. Page 8 of 21
4
By Ganapati Adimulani eMax Tecl~nologies,Arneerpet,Hyderabad
Ph No :+9140 -65976727, Cell No : 99484 44808,98490 34399, www.emaxtech.com
6.Filtering We Never Comvromise in Oualitv. Would You ?
ENTER
$
Check for the IDOc : Executer ,.I"wWE05 ---" ""* -
Page 9 of 21
-,
"
,
"
-" - -
\A,
, \
-4". -
, , !W
\, \
,.
,,
,
,
-
\
,,,~~-,,
.,,
,,,,
*-
,,,,,,"
,,, , ,,,
,
-
,.
,
"
By Ganapati Adimulam
eMax Technologies,Ameerpet,Hyderabad Ph No :+9140 -65976727, Cell No : 99484 44808,98490 34399, www.emaxtech.com
6.Piltering We Never Compromise in Quality. Would You ?
Page 10 of 21
By Ganapati Adimulam
eMax Technologies,Anieerpet,Hyderabad Ph No :+9140 -65976727, Cell NO :99484 44808,98490 34399, mw.ernaxtech.com
6.Filtering We Never Compromise in Quality. Would You ?
ENTER
Check for the IDOc Status :
\
Moc Iist
Page 11 of 21
By Ganapati Adimulam
eMax Technologies,Ameerpet,Hyderabad Ph No :+9140 -65976727, Cell No : 99484 44808,98490 34399, www.emaxtech.com
Page 12 of 21
By Ganapati Adimulam
eMax Technologies,Ameerpet,Hyderabad Ph No :+9140 -65976727, Cell No : 99484 44808,98490 34399, ~ ~ ~ ~ . e r n a x t e c h . c o m
6.Piltering We Never Comwromise in Oualitv. Would You ?
Segment Filtering Creates a Communication PDBc in which Segments of a Particular type are Completely removed from the IDOc. Note : The Difference between Segment Filtering and IDOc Filtering is In IDoc Filtering, Segments that do not contain relevant data for a receiving system are Filtered Out where as in Segment Filtering, a Segement of a Particular type is Completely removed from IDoc. Note :In Segment Filtering, For Each Sendor, Receiver and Combination ,We Can Specify the List of segments to be Master IDoc is created, it consults the Segment filters Segments to create the Communication IDoc for a rec Configuration Required : Execute BD56
*
/;; i~ -
9 -,
ENTER ,
moved. When a ted
,,
,
,,,
,
,
,
,
,
,,,,
,
,,
,
,
. I
,,
Cka~sgeView "S@pnentFiBep-s": Owmew
9 [EeGE z i/-f?~ B. New Entries (F5) .-------.----.------. ;&$I
%
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
I
;Message Npe; ---------------- -.. ....... -- ---- .
--.
.
.--,
aD
.
.
rr*n,
.
. . . . . . . .
....
....
-.
--.-.,,
. .
..
. .
-...,.
.
. y.;
Segment Filters,, .
.-.-.-
.......
-
-- . -... --- .
-.--...
..
.
. .
.
-.v......--.
,. .
.
*
.
-
.
.
. . .. . . . . . . < . , .
_
. ,
.
..
i
.
-..
i i - l
L
.
.
-.
New Entries
Page 13 of 21
By Ganapati Adimulam eMax Technologies,Ameerpet,Hyderabad P h No :+9140 -65976727, Cell No : 99484 44808,98490 34399, www.emaxtech.com
6.Filtering --.-wv:-.-
- ------
-.--
-"
We Never Compromise in Quality. Would You ? ----------.------4 -"
--w,--w-----"
M e w E ~ ~ ~ E - $ @ C&F@P~~-@W SZ OF i 4 d d ~E?@%~&&s ~$
Note : Make S RECEIVER in the System where SAVE it. Note : Make S Maintained. Here Segmcnt RECEIVER.
R and
4
Profile is Also pped behveen SENDOR and
Testing : Execute BD14 (Send
Page 14 of 21
By Ganapati Adimulam
eblax Technologies,Ameerpet,Hyderabad Ph No :+9140 -65976727, Cell No : 99484 44808,98490 34399, wuw.emartec$.com
6.Filtering We Never Compromise in Quality. Would You ? Here Vendor 1000, exists in Company Code 1000. But the Company Code Segment is dropped in the Segment Filtering.
Y_
"
:- --
Check for the IDoc
Page 15 of 21
"
"--"
-
. '\
k'b\
By Ganapati Adimulam
eMax Technologies,Ameerpet,Hyderabad Ph No :+9140 -65976727, Cell No : 99484 44808,98490 34399, www.emaxtech.com
6.Filtering We Never Compromise in Quality. Would You ?
Page 16 of 21
By Ganapati Adimulam
eMax Tcchnologies,Ameerpet,I3yderabad Ph No :+9140 -65976727, Cell No : 99484 44808,98490 34399, www.emaxtech.com
6.Piltering We Never Compromise in Quality. Would You ?
Reduced IDoc Type This Technique allows to the field level i.e we can specify the list Segments and Segment Fields allowed to the receivers. Scenario : Two Systems A and B ,decided to Maintain the Standard Price for Material master Data Locally on their Systems. They want to receive very limited data from the Central System. So that We Can Reduce the Standard IDoc to the Reduced IDoc with the Required list Of Segments and Segment Fields. Note : The Reduced IDoc type gets a New Message type and the the Reduced IDoc type is defined from the Standard IDoc by Enabling and Disabling the List Of Segments and Even fields . Note : In Both Distribution Model and Outbound Partner Message type should be Configured.
1) Analyze the Data to decide th
Page 17 of 21
Included.
By Ganapati Adimulam
eMax Technologies,Ameerpet,Hyderabad Ph No :+9140 -65976727, Cell No :99484 44808,98490 34399, www.emaxtech.com
View more...
Comments