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 CREATION

Former Member
0 Likes
821

HI

how to create idoc from a excel sheet values.

pls provide some solution.

thanks

6 REPLIES 6
Read only

Former Member
0 Likes
794

Hi Ganesh,

You can try IDOC_INBOUND_FROM_FILE

Cheers

VJ

Read only

0 Likes
794

thanks vijayendra,

will it work if suppose i gave local path like 'c:\abc\f1.txt'.?

Read only

0 Likes
794

Hi Ganesh,

Guess it should work. The file should be in a correct format. Try to do a where used list and check if you can leverage any similar code you are looking for.

Cheers

VJ

Read only

0 Likes
794

no the file is in right format ,but still am getting like 'please check the file'.

Read only

Former Member
0 Likes
794

hi,

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

~~Guduri