SAP IDoc Tutorial - SAP Zero To Hero

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 13

5/23/23, 2:13 AM SAP IDoc tutorial – SAP Zero to Hero

SAP Zero to Hero


BEGINNER  SAP POSDM|CAR|CSI  SAP PO  SAP BTP & CPI 

SAP SALES & DISTRIBUTION ABAP SAP FIORI

Search … 
SAP IDOC TUTORIAL
 February 22, 2019  Cuong Dang (Cody) 
Common topics, SAP, SAP BASICS, SAP IDOC, SAP IDOC,
SAP PO-Tips & Troubleshooting, SAP POSDM-CAR, SAP
RECENT
Process Integration (old), SAP Process Orchestration,
SAP.BASIS  16 comments
POSTS
[SAP WORK
Hi Guys,
ZONE] –
DELIVER FIRST
This article, i will show you overview of SAP IDoc
BUSINESS SITE
concepts and details of IDoc structure. After this
USING SAP
topic, functional and SAP PO consultant can
WORK ZONE
understand how to do Inbound and Outbound
STANDARD
interface via IDocs.
EDITION May 5,
This article will concentrate to three points: 2023
[SAP WORK
1.IDoc definitions ZONE] – HOW
TO FEDERATED
CONTENT S/4
2.IDoc structure
HANA ON
PREMISE WITH
3.Outbound | Inbound IDoc SAP WORK
configurations ZONE May 2,
2023

https://sapzero2hero.com/2019/02/22/sap-idoc-tutorial/ 1/13
5/23/23, 2:13 AM SAP IDoc tutorial – SAP Zero to Hero

[ SAP SCC ]-
How to install
SAP Cloud
1. IDoc definitions
Connector (SCC)
IDOC is SAP’s concept of business document base April 22, 2023
on EDI (Electronic Data Interchange) standard. [SAP IAS/IPS]
IDoc used in SAP to transfer data between SAP – HOW TO
System and None-SAP System or between SAP PROVISION
and SAP systems. USERS INTO
SAP BTP ABAP
Inbound ENVIRONMENT
April 8, 2023
[SAP CPI] –
SAP Receive IDoc data message from partner system HOW TO LOGIN
SAP
Outbound
INTEGRATION
SUITE BY
CUSTOM
SAP Send IDoc data message to partner system
IDENTITY
Basic Type PROVIDER
WITH SAP IAS –
Basic type present as type of business transaction, IDENTITY
there are two types of AUTHENTICATI
basic type (Master data and Transaction basic ON SERVICE
types). Master data April 1, 2023
basic type contain information of master data
object, example Material master, Vendor master,
Supplier master, Sales price, etc…. Transaction CATEGORIES
basic type contain action information and ABAP
behavior of object, example: Sales Order, Delivery Common
Order, Sales Receipt, Stock Transfer Order etc… topics
SAP
As you see in picture below, master data basic SAP BASICS
type show as yellow box, transaction basic type
SAP GUI
show as blue box.
https://sapzero2hero.com/2019/02/22/sap-idoc-tutorial/ 2/13
5/23/23, 2:13 AM SAP IDoc tutorial – SAP Zero to Hero

In SAP, one business object can be presented by SAP IDOC


many message, but why like that ?. SAP was SAP CLOUD
designed for multi industrial, depend on business CONNECTOR
perspective one business object can be different SAP CPI
meaning and information. The specific message CPI –
type for each industry will help SAP send and Integration
receive data to partners system fully and Scenarios
consistency. CPI – Tips
&
Troubleshootin
g
SAP FIORI
Basic type example
SAP IDOC
Message Type SAP MM
MM-
Message type is abstract of basic type. SAP Inventory
updated business process according business MM-Master
requirements, object information in IDoc also Data
updated but still support old IDoc data structure MM-
and information. Material
Resource
Planning
MM-
Purchasing
MM-Tips &
Troubleshootin
g
SAP POS DM
| CAR

2. IDoc Structure CAR Fiori


Apps
To understand IDoc structure, i divided to IDoc CAR-Books
message to three parts.

https://sapzero2hero.com/2019/02/22/sap-idoc-tutorial/ 3/13
5/23/23, 2:13 AM SAP IDoc tutorial – SAP Zero to Hero

CAR-
Demand Data
Foundation
CAR-
Inventory
TCode: WE02, Parts of IDoc message
Visibility
First part is IDoc message general, where contain CAR-
information about IDoc technical description. Ommnichann
el Article
Availability
CAR-
Omnichannel
Promotion
TCode WE02 to view IDoc data detail Pricing
CAR-On-
Shelf
Availability
CAR-POS
DTA
CAR-Tips &
Troubleshootin
1) Contain general information of Idoc message g
2) Version of IDoc message CAR-
3) Type of business object
Unified
Second part, present data of IDoc message, Demand
segment is group of properties of business object Forecast
have the similar characters or similar behavior. SAP
Field Name is technical name of properties and Consumer
field’s value is value of property. Sales
Intelligence
One field have to belong in one segment and SAP POSDM-
segment can be present by hierarchy. CAR
SAP PP
SAP Process
Integration (old)
https://sapzero2hero.com/2019/02/22/sap-idoc-tutorial/ 4/13
5/23/23, 2:13 AM SAP IDoc tutorial – SAP Zero to Hero

SAP Process
Orchestration
SAP PO –
Integration
concepts
SAP PO-
Integration
scenarios
Third part, IDoc status, IDoc steps processing logs SAP PO-
will be stored. Functional and Technical consultant Tips &
can see detail logs to identify issue. Troubleshootin
g
SAP Sales &
Distribution
IS Retails
IS-
Business
Process/Busi
Tools of IDoc
ness
Scenario
IDoc definition TCodes
IS-
IDoc define: WE31
Configuratio
IDoc type define: WE30
n
IDoc document: WE60

IDoc processing TCodes Manufacturing


IDoc process: BD87 M-
IDoc testing: WE19 Business
IDoc utilities: IDoc Process/Busi
IDoc workbench: WE02, WE05 ness
Search IDoc by content: WE09, WE10 Scenario
IDoc statictis WE07 M-
Delete IDoc: WE11 Configuratio
Process all IDoc: WE14 n
https://sapzero2hero.com/2019/02/22/sap-idoc-tutorial/ 5/13
5/23/23, 2:13 AM SAP IDoc tutorial – SAP Zero to Hero

Ports in IDoc processing: WE21 SD-Tips &


Display outbound process code: WE41 Troubleshootin
Display inbound process code: WE42 g
Display partner types: WE45 SAP.BASIS
IDoc status maintenance : WE47
Display texts for process code: WE50 Uncategorized

3.Outbound | Inbound IDoc configurations


ARCHIVES
Outbound data flow May 2023
April 2023
February
2023
January 2023
December
2022
November
2022
October
Inbound data flow 2022
September
2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
November
Outbound IDoc configuration steps: 2021
October 2021
September
2021
August 2021
Config RFC destination, TCode: SM59
July 2021
https://sapzero2hero.com/2019/02/22/sap-idoc-tutorial/ 6/13
5/23/23, 2:13 AM SAP IDoc tutorial – SAP Zero to Hero

What is RFC?, RFC is Remote Function Call. May 2021


April 2021
SAP ERP send data out, we need define March 2021
destination system via TCP/IP Protocol. January 2021
Destination need provide a program which November
listening data from SAP ERP. 2020
October
Here example, i make connection to SAP PO 2020
(Process Orchestration) system as middle ware June 2020
system. May 2020
April 2020
March 2020
January 2020
December
2019
November
2019
October 2019
Config Port in IDoc processing, TCode: WE21 September
2019
Based on connection defined in RFC August 2019
configuration, we will make port for IDoc sending July 2019
out. June 2019
May 2019
March 2019
February
2019
January 2019
October 2018
September
2018

Config partner profile to send specific IDoc,


TCode: WE20

https://sapzero2hero.com/2019/02/22/sap-idoc-tutorial/ 7/13
5/23/23, 2:13 AM SAP IDoc tutorial – SAP Zero to Hero

Partner profile help us define Basic Types will be


used for Inbound/Outbound. With Outbound, we
use “Logical System”, it is middle-ware system
where connection opened in RFC destination
configuration.

In outbound partner profile detail, we need to


point to message type, basic type and extension
IDoc if any. There are two mode of output IDoc,
send immediately each time user perform send
message of collect IDocs in queue and will as
schedule.

In inbound partner profile, we need to indicator


“Process code”. Process code is SAP Function,
where perform logic to Insert / Update data to
https://sapzero2hero.com/2019/02/22/sap-idoc-tutorial/ 8/13
5/23/23, 2:13 AM SAP IDoc tutorial – SAP Zero to Hero

SAP ERP. There are two types of process code,


standard process code by SAP or customize
program developed by ABAP.

Thank you for your attention.

Cuong Dang

SAP IDOCS SAP PO

« SAP PO->Monitoring: SAP PO – POSDM|CAR –


Outbound IDocs ERP|BW Integration
overview »

16 COMMENTS

Anonymous says:
February 27, 2019 at 7:43 pm

Well explained the basic concepts of IDOC. Great


work!!

https://sapzero2hero.com/2019/02/22/sap-idoc-tutorial/ 9/13
5/23/23, 2:13 AM SAP IDoc tutorial – SAP Zero to Hero

 Like
Reply

dangvinhcuong says:
February 27, 2019 at 7:44 pm

Thank you.

 Like

Reply

vanespenamaury says:
May 19, 2019 at 9:21 pm

I definitely agree, a great overview of the


whole process

 Like

Reply

Anonymous says:
March 1, 2019 at 1:46 pm

Great works!!

 Like

Reply

dangvinhcuong says:
March 1, 2019 at 2:32 pm

Thank you

https://sapzero2hero.com/2019/02/22/sap-idoc-tutorial/ 10/13
5/23/23, 2:13 AM SAP IDoc tutorial – SAP Zero to Hero

 LikeReply

Govind KR says:
May 6, 2019 at 1:41 pm

Great Work.
Appreciate it.

 Like

Reply

dangvinhcuong says:
May 6, 2019 at 3:36 pm

Thank you Govind. Have a nice day

 Like

Reply

Pingback: [SAP PO] – Understanding IDOC


Header information – Cuong Dang

Trent Yarbrough says:


October 15, 2019 at 7:33 pm

I’m very pleased to discover this great site. I need


to to thank you for your time for this wonderful
read!! I definitely savored every part of it and I
have you book marked to see new information on
your web site.

 Like

Reply
https://sapzero2hero.com/2019/02/22/sap-idoc-tutorial/ 11/13
5/23/23, 2:13 AM SAP IDoc tutorial – SAP Zero to Hero

Pingback: SAP PO: Understand SAP Inbound


IDOC Process Code in Partner Profile – SAP Zero
to Hero

Pingback: Integration approaches and advising in


SAP retail (part 1) – SAP Zero to Hero

Pingback: [SAP CAR – DTA] – Spotlight Articles –


SAP Zero to Hero

Pingback: [SAP CAR – DTA] – Spotlight Articles –


SAP Zero to Hero

Pingback: [SAP CAR-DTA] – HOW TO SIMULATE


INBOUND SALES DATA TO SAP CAR DTA
WITHOUT INTEGRATION – SAP Zero to Hero

Raghava says:
August 11, 2022 at 12:22 pm

Great Explanation

 Like

Reply

Ashok Reddy says:


September 28, 2022 at 3:23 pm

Well explained basic concept of IDOC in simple


way. Thank u for sharing.

 Like

Reply

https://sapzero2hero.com/2019/02/22/sap-idoc-tutorial/ 12/13
5/23/23, 2:13 AM SAP IDoc tutorial – SAP Zero to Hero

LEAVE A REPLY

Enter your comment here...

This site uses Akismet to reduce spam. Learn how


your comment data is processed.

https://sapzero2hero.com/2019/02/22/sap-idoc-tutorial/ 13/13

You might also like