Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

IDOC Configuration Steps for interface within same client.

manoj_goyal2
Participant
0 Likes
681

Hi Guys,

My client is new to IDOC and my functional consultant is going for interface using IDOC. We are trying to create an interface from a SAP custom applications to SAP MM Module. SAP custom application and SAP MM are in same client and same box.

I have created Z custom segment, Idoc message, Message type and so on.

Can somebody help me to give any configuration document to do the configuration for this type of scenario.

I will appreciate if somebody can give me step by step process, like creating logical system and partner profile etc.

Thanks,

mini

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
521

Hi,

We can see how to create invoice

1. Create logical system in BD54

2. Assign logical system to client in SCC4

3. RFC Destination - SM59

4. VK01 - Condition Element

Give usage (B) and application type (v3)

select condition types and click on continue

click new entries to create youe own condition type

Give access sequence 0001 , transmission medium 6 , partner bp , date - 4

Click processing program Here enter the program name as RSNASTED and form routine as EDI_PROCESSING.

Then in the initial condition type screen click partner definition button and add new entries and enter the data.Save and exit the screen

Select Access sequences and press enter.

There will be a list access sequence already defined, select u201810u2019 for the field access and click ok.

Save and exit the screen and return to the initial condition element screen.

Select Procedures in the condition element screen and press enter.

Select the procedure u2018V0001u2019 which is defined for the access sequence u20180001 and then click control.

Define the Step no, Control and Condition type and then save

Port Definition:

Transaction Code: WE21

Create a file port as u2018YINVu2019 and in the function module field give u2018EDI_PATH_CREATE_USERNAMEu2019 in the outbound file tab.

Partner profile:

Transaction Code: WE20

Select partner profile as type u2018KUu2019 u2013 Customer and select u2018<custno>u2019. Check the outbound parameter for message type u2018INVOICu2019 corresponding to invoice is there or not. If not define it by add entries. Then double click the message type to define the outbound parameter.

Outbound parameter:

Here you specify the receiver port as u2018YINVu2019 which was created and basic type as u2018INVOIC01u2019 in the outbound options. Then define parameters in the message control tab v3 , inv , sd09 and save

or

try http://www.saptechnical/Tutorials/ALE/Guide/Index.htm

2 REPLIES 2
Read only

nirajgadre
Active Contributor
0 Likes
521

Hi,

1. create the port definition in we21 and give the RFC as the same system.

2. configure the outbound partner profile in the we20 in the correct partner type and in message control mentioned the port defined along with your message type and process code for the same.

3. Configure the inbound partner profile in the partner type LS with same message type and enter the process code for the inbound process.

try to generate the IDOC and check it in WE02.

Read only

Former Member
0 Likes
522

Hi,

We can see how to create invoice

1. Create logical system in BD54

2. Assign logical system to client in SCC4

3. RFC Destination - SM59

4. VK01 - Condition Element

Give usage (B) and application type (v3)

select condition types and click on continue

click new entries to create youe own condition type

Give access sequence 0001 , transmission medium 6 , partner bp , date - 4

Click processing program Here enter the program name as RSNASTED and form routine as EDI_PROCESSING.

Then in the initial condition type screen click partner definition button and add new entries and enter the data.Save and exit the screen

Select Access sequences and press enter.

There will be a list access sequence already defined, select u201810u2019 for the field access and click ok.

Save and exit the screen and return to the initial condition element screen.

Select Procedures in the condition element screen and press enter.

Select the procedure u2018V0001u2019 which is defined for the access sequence u20180001 and then click control.

Define the Step no, Control and Condition type and then save

Port Definition:

Transaction Code: WE21

Create a file port as u2018YINVu2019 and in the function module field give u2018EDI_PATH_CREATE_USERNAMEu2019 in the outbound file tab.

Partner profile:

Transaction Code: WE20

Select partner profile as type u2018KUu2019 u2013 Customer and select u2018<custno>u2019. Check the outbound parameter for message type u2018INVOICu2019 corresponding to invoice is there or not. If not define it by add entries. Then double click the message type to define the outbound parameter.

Outbound parameter:

Here you specify the receiver port as u2018YINVu2019 which was created and basic type as u2018INVOIC01u2019 in the outbound options. Then define parameters in the message control tab v3 , inv , sd09 and save

or

try http://www.saptechnical/Tutorials/ALE/Guide/Index.htm