SlideShare une entreprise Scribd logo
1  sur  21
Intermediate Documents
(IDOCs)
• What is an IDoc
• An IDoc is simply a data container that is used to
exchange information between any two processes
that can understand the syntax and semantics of the
data.
• IDoc is not a process.
Intermediate Document
• IDOCs are stored in the database. In the SAP
system, IDOCs are stored in database tables.
• IDOCs are independent of the sending and receiving
systems.
• IDOCs are independent of the direction of data
exchange.
Process
• The two available process for IDOCs are
• Outbound Process
• Inbound Process
Outbound Process
• Sending out the data from our system. The IDOC which
is called as Outbound IDOC.
Application Object
Appln data
Selection Program
IDoc_output_<messagetype>
Outbound Trigger Program
Idoc in text format
idoc
Inbound Process
• When the data is coming in, the process is called
Inbound Process and the IDoc is known as Inbound
IDoc.
Application Object Appln data
Posting Program
Idoc_inbound_<messagetype>
Inbound trigger program
idoc
Idoc in text format
IDoc Applications
• Several SAP applications use the robust IDOC
interface. IDocs serve the basic purpose of
transferring data from one application to another.
 EDI Integration
 ALE Integration
 Legacy System Integration
 Third-party Product Integration
 Workflow Integration
 SAP R/2 Integration
 Internet Integration
Idoc Applications
 OCR Application Integration
• OCR (Optical Character Recognition) is a
technology that scans and interprets
printed matter using pattern recognition.
We can integrate an OCR application
with SAP via IDOCs. Documents in a
standard format can be scanned to
generate IDOCs, which then can be
transferred to the SAP System for
processing.
Idoc Applications
• ICR Application Integration
– A barcode system is an example of ICR (Intelligent
Character Recognition) technology. Data encoded
using barcodes can be captured and stored as an
IDOC which then can be passed to SAP for further
processing.
Idoc Components
• There are basically two types of IDOCs.
• Basic IDOCs
• Extended IDOCs
Idoc Components
• Basic Idoc
• Basic IDOC type defines the structure and format of the
business document that is to be exchanged between two
systems.
• Extension Idoc
• Extending the functionality by adding more segments to
existing Basic IDOCs.
Creation of IDoc
• To Create Idoc we need to follow these steps:
• Create Segment ( WE31)
• Create Idoc Type ( WE30)
• Create Message Type ( WE81)
• Assign Idoc Type to Message Type ( WE82)
Creating a Segment
• Go to transaction code WE31
• Enter the name for your segment type and click on the
Create icon
• Type the short text
• Enter the variable names and data elements
• Save it and go back
• Go to Edit -> Set Release
• Follow steps to create more number of segments
Create IDOC Type
• Go to transaction code WE30
• Enter the Object Name, select Basic type and click
Create icon
• Select the create new option and enter a description for
your basic IDOC type and press enter
• Select the IDOC Name and click Create icon
• The system prompts us to enter a segment type and its
attributes
• Choose the appropriate values and press Enter
• The system transfers the name of the segment type to
the IDOC editor.
Create IDOC Type
• Follow these steps to add more number of segments to
Parent or as Parent-child relation
• Save it and go back
• Go to Edit -> Set release
Create Message Type
• Go to transaction code WE81
• Change the details from Display mode to Change
mode
• After selection, the system will give this message “The
table is cross-client (see Help for further info)”. Press
Enter
• Click New Entries to create new Message Type
• Fill details
• Save it and go back
Assign Message Type to IDoc Type
• Go to transaction code WE82
• Change the details from Display mode to Change
mode
• After selection, the system will give this message “The
table is cross-client (see Help for further info)”. Press
Enter.
• Click New Entries to create new Message Type.
• Fill details
• Save it and go back
Runtime Components
• There are three types of records
• Control Record
• Data Record
• Status Record
• Control Record - contains the key information like
destination, IDoc type, message type, port and sender
information.
• Control records are of EDIDC type of structure
Runtime Components
• Data Records - This contains two parts
• Administrative Section and Data Section
• Administrative Section consists of Idoc number,
Segment Name, Segment number, Version, Segment
Hierarchy etc.
• Data Section contains the data of respective segment
• Data records are of EDIDD type of structure
Runtime Components
• Status Record - whenever a process is taken
place, system will generate status records.
• We can identify the process with the number of
status record.
• 01 - 49 for Outbound Process
• 50 - 75 for Inbound Process
• when IDoc is processed the messages are:
• 01 - IDoc is created
• 30 - IDoc is ready for dispatch
• 03 - IDoc is processed
Runtime Components
• We need to write a Selection Program to create a
Physical structure of IDoc
• Import Parameters
• Define a parameter of type NAST
• Define a parameter of type EDIDC (for control record)
• Export Parameters
• Define a parameter of type WFAS1-ASGTP
• Define a parameter of type EDIDC (for control record)
• Tables
• Define a parameter of type EDIDD (for Data record)
Thanks

Contenu connexe

Tendances

Structured system analysis
Structured system analysisStructured system analysis
Structured system analysis
learnt
 
User exit training
User exit trainingUser exit training
User exit training
Jen Ringel
 
Data and functional modeling
Data and functional modelingData and functional modeling
Data and functional modeling
Slideshare
 
Idocs tcodes and others , sap idoc
Idocs tcodes and others , sap idoc Idocs tcodes and others , sap idoc
Idocs tcodes and others , sap idoc
chiku_jpb
 

Tendances (20)

Ale Idoc Edi
Ale Idoc EdiAle Idoc Edi
Ale Idoc Edi
 
Structured system analysis
Structured system analysisStructured system analysis
Structured system analysis
 
Idocs
IdocsIdocs
Idocs
 
SAP ALE Idoc
SAP ALE IdocSAP ALE Idoc
SAP ALE Idoc
 
The DFD
The DFDThe DFD
The DFD
 
Data Flow Diagram
Data Flow DiagramData Flow Diagram
Data Flow Diagram
 
Unit 8
Unit 8Unit 8
Unit 8
 
ANSI C Macros
ANSI C MacrosANSI C Macros
ANSI C Macros
 
IDOC
IDOC IDOC
IDOC
 
Functional modeling
Functional modelingFunctional modeling
Functional modeling
 
Component Diagram
Component DiagramComponent Diagram
Component Diagram
 
Software architecture
Software architectureSoftware architecture
Software architecture
 
User exit training
User exit trainingUser exit training
User exit training
 
Data and functional modeling
Data and functional modelingData and functional modeling
Data and functional modeling
 
Requirement analysis and specification
Requirement analysis and specificationRequirement analysis and specification
Requirement analysis and specification
 
Data Flow Diagram
Data Flow DiagramData Flow Diagram
Data Flow Diagram
 
Software Engineering - chp3- design
Software Engineering - chp3- designSoftware Engineering - chp3- design
Software Engineering - chp3- design
 
Idocs tcodes and others , sap idoc
Idocs tcodes and others , sap idoc Idocs tcodes and others , sap idoc
Idocs tcodes and others , sap idoc
 
Computer aided software engineering
Computer aided software engineeringComputer aided software engineering
Computer aided software engineering
 
Data Flow Diagrams
Data Flow DiagramsData Flow Diagrams
Data Flow Diagrams
 

Similaire à idoc.ppt

IDOC , ALE ,EDI
IDOC , ALE ,EDIIDOC , ALE ,EDI
IDOC , ALE ,EDI
Amit Khari
 
Sujith ~ cross applications
Sujith ~ cross applicationsSujith ~ cross applications
Sujith ~ cross applications
Kranthi Kumar
 

Similaire à idoc.ppt (20)

All about idoc definition architecture, implementation
All about idoc definition architecture, implementationAll about idoc definition architecture, implementation
All about idoc definition architecture, implementation
 
All about idoc definition architecture, implementation
All about idoc definition architecture, implementationAll about idoc definition architecture, implementation
All about idoc definition architecture, implementation
 
SAP Inbound IDoc.pptx
SAP Inbound IDoc.pptxSAP Inbound IDoc.pptx
SAP Inbound IDoc.pptx
 
15. ALE IDOC.pdf
15. ALE IDOC.pdf15. ALE IDOC.pdf
15. ALE IDOC.pdf
 
IDOCS ALE
IDOCS ALEIDOCS ALE
IDOCS ALE
 
I doc in SAP
I doc in SAPI doc in SAP
I doc in SAP
 
Idocs
IdocsIdocs
Idocs
 
IDOC , ALE ,EDI
IDOC , ALE ,EDIIDOC , ALE ,EDI
IDOC , ALE ,EDI
 
Ale Idoc
Ale IdocAle Idoc
Ale Idoc
 
Edi,idoc,ale
Edi,idoc,aleEdi,idoc,ale
Edi,idoc,ale
 
Sujith ~ cross applications
Sujith ~ cross applicationsSujith ~ cross applications
Sujith ~ cross applications
 
ALE EDI.pdf
ALE EDI.pdfALE EDI.pdf
ALE EDI.pdf
 
Online Voting System-using Advanced Java
Online Voting System-using Advanced JavaOnline Voting System-using Advanced Java
Online Voting System-using Advanced Java
 
Ps02 eint21 electronic data interchange
Ps02 eint21 electronic data interchangePs02 eint21 electronic data interchange
Ps02 eint21 electronic data interchange
 
Using idoc method in lsmw
Using idoc method in lsmwUsing idoc method in lsmw
Using idoc method in lsmw
 
EDI (electronic data interchange)
EDI (electronic data interchange)EDI (electronic data interchange)
EDI (electronic data interchange)
 
Common Data Service – A Business Database!
Common Data Service – A Business Database!Common Data Service – A Business Database!
Common Data Service – A Business Database!
 
eCTD
eCTDeCTD
eCTD
 
34200119030.pptx
34200119030.pptx34200119030.pptx
34200119030.pptx
 
Ale IDOC
Ale IDOCAle IDOC
Ale IDOC
 

Dernier

%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
masabamasaba
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
VictoriaMetrics
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
chiefasafspells
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
masabamasaba
 

Dernier (20)

%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 

idoc.ppt

  • 1. Intermediate Documents (IDOCs) • What is an IDoc • An IDoc is simply a data container that is used to exchange information between any two processes that can understand the syntax and semantics of the data. • IDoc is not a process.
  • 2. Intermediate Document • IDOCs are stored in the database. In the SAP system, IDOCs are stored in database tables. • IDOCs are independent of the sending and receiving systems. • IDOCs are independent of the direction of data exchange.
  • 3. Process • The two available process for IDOCs are • Outbound Process • Inbound Process
  • 4. Outbound Process • Sending out the data from our system. The IDOC which is called as Outbound IDOC. Application Object Appln data Selection Program IDoc_output_<messagetype> Outbound Trigger Program Idoc in text format idoc
  • 5. Inbound Process • When the data is coming in, the process is called Inbound Process and the IDoc is known as Inbound IDoc. Application Object Appln data Posting Program Idoc_inbound_<messagetype> Inbound trigger program idoc Idoc in text format
  • 6. IDoc Applications • Several SAP applications use the robust IDOC interface. IDocs serve the basic purpose of transferring data from one application to another.  EDI Integration  ALE Integration  Legacy System Integration  Third-party Product Integration  Workflow Integration  SAP R/2 Integration  Internet Integration
  • 7. Idoc Applications  OCR Application Integration • OCR (Optical Character Recognition) is a technology that scans and interprets printed matter using pattern recognition. We can integrate an OCR application with SAP via IDOCs. Documents in a standard format can be scanned to generate IDOCs, which then can be transferred to the SAP System for processing.
  • 8. Idoc Applications • ICR Application Integration – A barcode system is an example of ICR (Intelligent Character Recognition) technology. Data encoded using barcodes can be captured and stored as an IDOC which then can be passed to SAP for further processing.
  • 9. Idoc Components • There are basically two types of IDOCs. • Basic IDOCs • Extended IDOCs
  • 10. Idoc Components • Basic Idoc • Basic IDOC type defines the structure and format of the business document that is to be exchanged between two systems. • Extension Idoc • Extending the functionality by adding more segments to existing Basic IDOCs.
  • 11. Creation of IDoc • To Create Idoc we need to follow these steps: • Create Segment ( WE31) • Create Idoc Type ( WE30) • Create Message Type ( WE81) • Assign Idoc Type to Message Type ( WE82)
  • 12. Creating a Segment • Go to transaction code WE31 • Enter the name for your segment type and click on the Create icon • Type the short text • Enter the variable names and data elements • Save it and go back • Go to Edit -> Set Release • Follow steps to create more number of segments
  • 13. Create IDOC Type • Go to transaction code WE30 • Enter the Object Name, select Basic type and click Create icon • Select the create new option and enter a description for your basic IDOC type and press enter • Select the IDOC Name and click Create icon • The system prompts us to enter a segment type and its attributes • Choose the appropriate values and press Enter • The system transfers the name of the segment type to the IDOC editor.
  • 14. Create IDOC Type • Follow these steps to add more number of segments to Parent or as Parent-child relation • Save it and go back • Go to Edit -> Set release
  • 15. Create Message Type • Go to transaction code WE81 • Change the details from Display mode to Change mode • After selection, the system will give this message “The table is cross-client (see Help for further info)”. Press Enter • Click New Entries to create new Message Type • Fill details • Save it and go back
  • 16. Assign Message Type to IDoc Type • Go to transaction code WE82 • Change the details from Display mode to Change mode • After selection, the system will give this message “The table is cross-client (see Help for further info)”. Press Enter. • Click New Entries to create new Message Type. • Fill details • Save it and go back
  • 17. Runtime Components • There are three types of records • Control Record • Data Record • Status Record • Control Record - contains the key information like destination, IDoc type, message type, port and sender information. • Control records are of EDIDC type of structure
  • 18. Runtime Components • Data Records - This contains two parts • Administrative Section and Data Section • Administrative Section consists of Idoc number, Segment Name, Segment number, Version, Segment Hierarchy etc. • Data Section contains the data of respective segment • Data records are of EDIDD type of structure
  • 19. Runtime Components • Status Record - whenever a process is taken place, system will generate status records. • We can identify the process with the number of status record. • 01 - 49 for Outbound Process • 50 - 75 for Inbound Process • when IDoc is processed the messages are: • 01 - IDoc is created • 30 - IDoc is ready for dispatch • 03 - IDoc is processed
  • 20. Runtime Components • We need to write a Selection Program to create a Physical structure of IDoc • Import Parameters • Define a parameter of type NAST • Define a parameter of type EDIDC (for control record) • Export Parameters • Define a parameter of type WFAS1-ASGTP • Define a parameter of type EDIDC (for control record) • Tables • Define a parameter of type EDIDD (for Data record)