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

ale

Former Member
0 Likes
434

Hi,

can any one help me about inbound idoc step by step.please don't send link.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
406

Hi friend,

if this thing help full to u please give me max reward point.

In bound Idoc…

Step 1: Create segment

a. T.code WE31

b. Enter a new segment type and press create button

c. Give a short text

d. Enter the field names say FIELD NAME : MATNR ;; DATA ELEMENT: CHAR(18)

e. Save the segment (zkrishseg)

Step 2: Create IDOC type

a. T.code WE30

b. Enter a new IDOC type name

c. Choose the basic type and press the create button.

d. Choose the create new option button and enter a description and press enter

e. Place the cursor on the type name and then press create button.

f. Enter the segment name created in step 1 and check the mandatory segment check box

g. Enter minimum number and maximum number as 1 and press enter.

h. Then save the IDOC type. (zkrishtyp)

Step 3: Create message type

a. T.code WE81

b. Press change button.

c. Press new entries button.

d. Enter a message type and short text and press save button. (zkrishmsg)

Step 4: Assign message type to IDOC type.

a. T.code WE82

b. Press change button

c. Press new entries button.

d. Enter the created message type, IDOC type and version release (46B or 46C)

Step 5: Create a function module for inbound. (Z_IDOC_KRISH_INBOUND)

Step 5A: Create characteristics of inbound FM.

a. T.code BD51

b. Click ‘New entries’

c. Enter the IDOC function module name and 1(individual type) in ‘input t.’.

d. Save it.

Step 6: Assignment of FM to log, message and type.

a. T.code WE57

b. Go for change mode and click ‘new entries’.

c. In processing by…enter FM name and enter ‘F’ as type.

d. Enter basic type (idoc type-zkrishtyp) and message type (zkrishmsg) in the respective text boxes.

e. Choose the direction as 2 – Inbound.

f. Save the data.

Step 7. : Creation of inbound process code.

a. T.code WE42

b. Go to change mode and click ‘create entries’.

c. Enter a new process code and description (zidockrish)

d. Enter the FM name in the identification text box

e. Choose processing with ALE service

f. Choose processing by FM and click Save button

g. In the next screen, select the FM name and click save button

Step 7a : Creation of inbound process code.

h. T.code SM59

i. Select ‘R/3 connection’ and click ‘create’.

j. Enter all system related things(for Eg. Connection type as ‘3’, Target host as ‘SAP04’,

Description , and Logon details and save.

Step 8: Define a port

a. T.code WE21

b. Click on Transactional RFC and press the ‘Create’ button

c. Enter a port name and description. (ztestkrish)

d. Choose the release type.

e. Choose the RFC destination.

f. To create RFC destination…go to SPRO and search RFC destination…and create.

g. Save the data.

Step 9. Define logical system

a. T.code SALE

b. Click down the sending and receiving systems

c. Click down the logical systems

d. Choose Define logical system.

e. Go for new entries.

f. Enter a new name and description and save it. (zkrishlog)

Step 10. Create partner profile

a. T.code WE20

b. Choose partner type LS and click create.

c. Enter the logical system name in partner number

d. Then Save …. Here Type is ‘US’.

e. click + icon(create inbound parameter) in the bottom. Note: Two table control subscreens will appear. One for inbound and the other for outbound. Click + icon in inbound area.

f. Enter the message type, process code and save the data.

Step 11. Checking the Idoc

a. T.code WE19,

b. Choose radio Basic type , enter the type name(zkrishtyp) and press execute button.

c. Click on EDIDC Number.

d. Enter partner Number, Partner type, Port Number for sender and recipient ( data remains same here for sender and recipient)

e. Enter Message type and press ENTER.

f. Click on empty space corresponding to SEGMENT name and enter Paarameters like MATNR, WERKS and CHARG etc….

g. Click standard inbound properties here… and press enter… see the result….

h. T.code WE02

i. Enter IDOC number press ENTER see the status.

2 REPLIES 2
Read only

Former Member
0 Likes
406

Link message type, object type and inbound function module (WE57)

Register inbound function module (BD51)

Inbound process code (WE42)

Configure partner profile (WE20)

Your inbound function module should be like IDOC_INPUT_<message type>

If you need more info, don t hesitate to ask

good luck

Read only

Former Member
0 Likes
407

Hi friend,

if this thing help full to u please give me max reward point.

In bound Idoc…

Step 1: Create segment

a. T.code WE31

b. Enter a new segment type and press create button

c. Give a short text

d. Enter the field names say FIELD NAME : MATNR ;; DATA ELEMENT: CHAR(18)

e. Save the segment (zkrishseg)

Step 2: Create IDOC type

a. T.code WE30

b. Enter a new IDOC type name

c. Choose the basic type and press the create button.

d. Choose the create new option button and enter a description and press enter

e. Place the cursor on the type name and then press create button.

f. Enter the segment name created in step 1 and check the mandatory segment check box

g. Enter minimum number and maximum number as 1 and press enter.

h. Then save the IDOC type. (zkrishtyp)

Step 3: Create message type

a. T.code WE81

b. Press change button.

c. Press new entries button.

d. Enter a message type and short text and press save button. (zkrishmsg)

Step 4: Assign message type to IDOC type.

a. T.code WE82

b. Press change button

c. Press new entries button.

d. Enter the created message type, IDOC type and version release (46B or 46C)

Step 5: Create a function module for inbound. (Z_IDOC_KRISH_INBOUND)

Step 5A: Create characteristics of inbound FM.

a. T.code BD51

b. Click ‘New entries’

c. Enter the IDOC function module name and 1(individual type) in ‘input t.’.

d. Save it.

Step 6: Assignment of FM to log, message and type.

a. T.code WE57

b. Go for change mode and click ‘new entries’.

c. In processing by…enter FM name and enter ‘F’ as type.

d. Enter basic type (idoc type-zkrishtyp) and message type (zkrishmsg) in the respective text boxes.

e. Choose the direction as 2 – Inbound.

f. Save the data.

Step 7. : Creation of inbound process code.

a. T.code WE42

b. Go to change mode and click ‘create entries’.

c. Enter a new process code and description (zidockrish)

d. Enter the FM name in the identification text box

e. Choose processing with ALE service

f. Choose processing by FM and click Save button

g. In the next screen, select the FM name and click save button

Step 7a : Creation of inbound process code.

h. T.code SM59

i. Select ‘R/3 connection’ and click ‘create’.

j. Enter all system related things(for Eg. Connection type as ‘3’, Target host as ‘SAP04’,

Description , and Logon details and save.

Step 8: Define a port

a. T.code WE21

b. Click on Transactional RFC and press the ‘Create’ button

c. Enter a port name and description. (ztestkrish)

d. Choose the release type.

e. Choose the RFC destination.

f. To create RFC destination…go to SPRO and search RFC destination…and create.

g. Save the data.

Step 9. Define logical system

a. T.code SALE

b. Click down the sending and receiving systems

c. Click down the logical systems

d. Choose Define logical system.

e. Go for new entries.

f. Enter a new name and description and save it. (zkrishlog)

Step 10. Create partner profile

a. T.code WE20

b. Choose partner type LS and click create.

c. Enter the logical system name in partner number

d. Then Save …. Here Type is ‘US’.

e. click + icon(create inbound parameter) in the bottom. Note: Two table control subscreens will appear. One for inbound and the other for outbound. Click + icon in inbound area.

f. Enter the message type, process code and save the data.

Step 11. Checking the Idoc

a. T.code WE19,

b. Choose radio Basic type , enter the type name(zkrishtyp) and press execute button.

c. Click on EDIDC Number.

d. Enter partner Number, Partner type, Port Number for sender and recipient ( data remains same here for sender and recipient)

e. Enter Message type and press ENTER.

f. Click on empty space corresponding to SEGMENT name and enter Paarameters like MATNR, WERKS and CHARG etc….

g. Click standard inbound properties here… and press enter… see the result….

h. T.code WE02

i. Enter IDOC number press ENTER see the status.