Part4 Idocs
Part4 Idocs
Part4 Idocs
1) Customer data
2) Material As Inquiry.
At the time of Idoc Creation . what is difference between create as Copy and Create
Successor of ?
if we select Create as copy Sap Search the existing idoc from SAP version 4.x, if found
abaper can attach existing idoc segments into current IDOC.
if we select Create Successor Of is the option used to select existing idoc's from the
version 3.x or 2.x.
Logical Messages:
Are used in SAP to attach IDOC existing in DataBase layer of the current R/3
system into partner profile of Application Server. If the Partner profiles are added with
IDOC's can send data from current system To remote System or remote System to current
System with help of Inbound and OutBound Process.
These can give the status idoc while data Transportation between The network.
2) Create IDOC
WE30 -> NAME THE IDOC(ZIDOC930) -> CREATE -> Open an interface select ->
create new -> short description -> continue -> Open LPS with IDOC Name -> select the
IDOC -> click on create Segment ( from application toolbar ) ->
Opens Another interface
IDOC's can be created as Local Object But can't be used for data Transfering.
WE82 -> CHANGE MODE -> New Entries -> Name the message Type ( Logical
Message Name ) [ zlogmsg930] -> enter basic type ( idoc Name ) -> Release version
( 620) [ for 4.7] -> Save the Entries.
Release version :
4.7 : 620 , 4.6B : 46B , 4.6C : 46C , 3.0A : 30A , 3.0G : 30G
SEND ( ALE )
19th MARCH
PORT Number :
IS THE SERVICE ID for the Application Running in the Operating System as
servers.
Example :
If oracle server is installed in any Network , the services of oracle can be identified
using Port Number "1521". Client network with help of Host String
scott/tiger@oracle
@oracle : is called as Host String specifies the network id for Oracle Server in the for
the TNS network listener for Oracle Connectivity.
Weblogic Server :
is identified with port number called as 7001
http://project-2:7001/examplesWebApp/index.jsp
EDI ( Electronic Data Interchange)
Is a Sub system in the SAP application server to provide data transactions between
different SAP servers , SAP to Internet Server Communications or SAP to Non SAP
communications.
1) TRFC ( Transactional RFC ) : is a services in EDI sub system to take the request from
the current system to process into remote System with help of Logical System. This
service can be used to take request in the form of Function Module.
Note : It can Get the data from remote System into current system but can't Send the data
from Current System to Remote.
2) File Port :
Is the Most Important Port for ALE trasaction controls with two Sub Services as
OutBound Process and Inbound Process.
OutBound Process : is a service to take the request from the current System into IDOC
to deliver the data into remote System with Help of Function Modules.
InBound Process : is a service to take request from remote System into current system
with help of IDOC's and send the data collected into current system using Function
Modules.
5) XML - HTTP
This port in EDI sub sytem is used for Web Transaction for the type of Application ITS,
WAS or Netweaver.
XML is used in SAP to provide data security and web request is processed using
"HTTP" protocol. These transactions are called as logical transactions.
6) XML-FILE
This port used for Web technology communications to transfer Physical data
communicates between the servers.
21st MARCH(Partner Profiles)
EDI :
TRFC ( RFC )
FILE ( ALE )
ABAP-PI
CPI-C USED FOR NON SAP COMMUNICATIONS
XML-HTTP
XML-FILE INTERNET BASED APPLICATIONS
IDOC PORTS
ZIDOC930
CREMAS : Existing IDOC in SAP for Transfering Vendor Data to the Remote
System
MATAMS : Is the Existing IDOC for Material to be transported from One System to
Remote System.
DEBMAS : is the IDOC used to Transfer Customer Data from current R/3 to Remote
R/3.
If the IDOC are existing in Data base Layer, how to add these into Application Server
EDI Sub System...?
PARTNER PROFILE is a concept used in SAP to Attach IDOC into SAP Application
Server for the type of Partner.
This Logical System is in SAP at Application Server level, to Control the data to be
transfered from current System to remote System or Remote System Data to the current
System.
Partner Systems is the Concept used In EDI for Attaching IDOC into EDI Sub System
using the type of Partner as.
But Using This partner Profile We need to depend on Vendor Master Data every
Time.
SAP Says if the R/3 to R/3 communications Use the partner profiles for the type
"logical System".
Note: OutBound for the Logical Systems are Auto Generated in SAP while transfering
ALE, as ABAPer We need not do any configurations for Outbound.
But we need to Configure InBound process to collect the data from Remote R/3 System
into Current R/3 System.
2) YSRLS
800 : SAPABAP.
SAP3 HAS A PROBLEM Is unable to create TRFC port, so Conver the data
Transactions from SAPABAP to SAP3.
22nd MARCH Navigations for Partner profiles and ALE
Navigations to Configure Partner Profiles with Inbound Process in the receiving System.
This logical System name should be same name as Logical System Defined in Sending
System.
WE20 -> SELECT PARTNER TYPE LS (LOGICAL SYSTEM ) -> CLICK ON NEW
FROM APPLICATION TOOLBAR -> SPECIFY FOLLOWING
-> Save the Entries -> Object is created in the Data base and Configured in Application
Server EDI sub system.
-> Click on Create Inbound parameters from the application screen ( + pushbutton on
screen ) -> opens an interface -> Specify the message type ( CREMAS ) [ for vendor
records]
/ matmas (for Material data ) / DEBMAS ( for Customer data ) -> Specify the Process
code ( CRE1 process code for vendor to execute the function module to insert the data
into current data base ) -> save the entries -> come back.
1) CREATE two logical systems, to represent one logical system for sending , another
logical system as receiving.
i) SENDLS
ii) Recls
2) Assign Logical System to the Clients.
i) SENDLS : 800
ii) RECLS : 811
3) Assign Networks to the Logical System
i) SENDLS : SAPABAP
ii) RECLS : SAP3.
Model view is an object in SAP assigned with Sending and Receiving Logical
System and Also with a Logical Message of the IDOC. This is used in SAP to generate
Partner profiles for OutBound process With Help ALE Navigations.
SALE -> ALE -> Modelling and Implementing Business Process -> Maintain
Distribution Model views -> opens an interface -> Change the mode of the screen ->
Click on Create Model views -> opens another interface -> Specify the short text ->
Name the Model view in Technical Name ( 930mv1) -> staring data of mvew creation
and ending date -> continue .
Model view is created.
Select the Model view created -> click on Add Messages from Application Toolbar ->
specify the following
Select the model view -> click on edit menu -> model view -> transport -> assign with a
request number.
select the model view -> click on Environment menu -> generate partner profiles ->
opens another interface -> name the receiving logical system [ recls ] -> execute -> SAP
generate a message as
select the model view -> edit menu -> model view -> Distribute.
Using This step Physically Object are trasported to the APPlication Server and ready
for Data Distribution.
Example navigation to transfer The record Data from One Client to Another Client Of
the SAME r/3.
ALL "BD" tcode are used to transfer the data from Current System ro the Remote
System with helo of Logical Systems and IDOCs.
BD14 -> EXECUTE -> 1900( VENDOR NUMBER ) -> MESSAGE TYPE ( CREMAS )
-> TARGET SYSTEM
( CREDDY ) -> EXECUTE -> SENDS THE RECORD INFORMATION TO THE IDOC
EXISTING IN EDI SUB SYSTEM -> AND TRANSPORT THE IDOC TO REMOTE
SYSTEM.