IDOC Testing
IDOC Testing
Please take latest Message Type to use. Why because SAP added more fields in latest Massage Type.
Message Type Linked with Basic Type ( WE82 ) : This is form of storing segments or fields . or Holding the information in the form of segments / fields.
Extenstion means : some message type require custom fields adding custom field / Z field called Extension
Go to WE82
Here we can see Massage type to Basic Type with latest versions.
Go To WE 60
Here we can download the all fields for customer master and sent to Other team.
Go to WE19
IDOC Structure
Control Record : having parters, Basic type, Message Type
Data Record : contains segments along with fiels
Status Recerod : IDOC status like failure, success, where IDOC is on which status,
In this screens we can see fields as per Control record, data records, status record
T.code : WE30
See the segment along with fields , which segment having which fields.
Just copy which highlated segment E1KNVVM and enter in below SE11
Here we can see all fields on segment wise . we can see clear fields. Which segment having which fields.
Here is one Note. Within client we are doing IDOC process. Some times client to client IDOC Process
Create Logical System: done by the Basis team/ some time ABAP team
T.Code : SALE
Normally BASIS team will create RFC destinations. Create in SM59 . RFC means connection required to communicate between
system to system. Communicate from system to system. Sending PO from system A to system B.
T.code : SM59
Click on Create botton
Target Host : give Host or IP Address : to get IP address go t.code : OS01
Here we can create Port and map the Port to RFC destination.
Here select the RFC destination which we careated above step and PORT generated automatically
Port : A000000019
SAVE
Distibutor Receiver
Vendor : 30007001
Purchase Org : E100
Customer :
BP :7512
Customer : 7502
Sales Org; E100
Dc : E1
Division : E1
T.Code : NECE
T.code : MN04
Enter
Give vendor name and select EDI as 6 and save.
SAVE
Partner Profile : WE20
Go to T.Code : Me23N
Click on Messages
Go to T.code : WE02
Give the IDOC no which is created above
IDOC Status Record Table : EDIDS
Some time we can not see error details in WE02 – In such case Go to T.code : BD87
We can do the foreground process OR forground with errors and find the issue and correct the data and save the IDOC
Here sales order will create in Target system by using PO Data from source system
Go to T.code : SALE
Here we can created logical systems and assign the logical system to client
Go to T.code : WE21
Here create the Port and assign the port to RFC destination.
In this scenario we are using same port which are created above config.
Go to T.code : SM59
Here created RFC destination. Here assign the target system details.
Call the target system.
Go to T.code : WE20 - Create Partner Profile
SAVE---> BACK
Go to T.code : VOE2
This is not mandatory . here link between this vendor suppose to supply goods to this customer
SAVE
Go to T.code : VOE4
External Partner is Plant ( E100) and SP&SH is sold to party and ship to party.
Go to T.code : BP vendor
Go to T.code : ME12
Go to T.code : ME21N – Create purchase order