Application Development 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: 

Creating a new IDOC type

Former Member
0 Kudos

Hi All,

I am currently creating ZMATMAS01 new Basic type IDOC for processing that will replace existing IDOC MATMAS01 being processed with new Zdata.

What all setting do I need to do for the processing like partner profile, Message type etc. Please give me some pointers about this changes.

Regards,

Brijesh Patel

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Check the below thread:

Prakash.

10 REPLIES 10

Former Member
0 Kudos

Check the below thread:

Prakash.

Former Member
0 Kudos

hi brijesh,

after creating it, u have to assign the basicidoc type to message type in the transaction we82

Former Member
0 Kudos

hi,

1. in WE20 this appers instead of standard MATMAS01.

2. in WE82 u have to assign message type to IDoc type.

this is enough, to my knowledge. and must also take care of this change in your selection/posting programs.

hope this helps.

rewardif useful...

Former Member
0 Kudos

hi there

yes u have make a new settings

e.g partner profile, Message type etc

u can refer www.logosworld.com/cookbooks/index.htm<a href="http://www.logosworld.com/cookbooks/index.htm">http://www.logosworld.com/cookbooks/index.htm</a>

i can also provide u the transaction directly but it will be helpful if u go through this..

regards

jai

please reward if helpful.

Former Member
0 Kudos

Hi all,

Its INBOUND IDOC type. just we20 and we82 will be enough for that...

regards,

brijesh Patel

former_member404244
Active Contributor
0 Kudos

Hi Brijesh,

We81(add ur new message type)

We31 (create new segments)

We30 (create a new basic type)

We82(attach ur basic type with message type)

se37 (create a new function module which serves ur required information)

BD60(attach ur function module to Message type and basic type)

We20(generate partner profiles and give ur message type and basic type)

BD64(distribute the model view)

BD10(Distribute material master data).

Regards,

nagaraj

Former Member
0 Kudos

Hi All,

Can any body help regarding this Inbound IDOC data to be taken to the database tables. What all step do I need to follow.

Regards,

Brijesh Patel

0 Kudos

Hi Brijesh,

Copy the function module idoc_input_matmas01 to new function module z_idoc_input_matmas01.

In the function module check for MATMAS and change to your message type.

Create a new inbound process code through we41 or we42.

Attach this FM to the process code.

Use BD57 to addach the FM to your IDOC type and your message type.

Use transaction we19 and enter the necessary details and execute in debug mode and check. The idoc will be posted into the respective tables of SAP.

Regards

Arun

0 Kudos

Hi Brijesh,

We want to create a new Basic type IDOC for processing like your requirement. Did you successfully create it? Could you please explain the steps on how could we create it, PLEASE ?

Thanks in advance.

0 Kudos

Hi Venkat,Brijesh.

There will be to process invloved in the creation of new idoc.

<b>Outbound side:</b>

1. Create a new segments (We31)

2. Create a new IDOC type in WE30 and the segments for

this.

3. Create new message type in WE81

4. Linkage the above message type to the IDOC type in

WE82.

5. Design a selection-program in order to get the data

from the appllication DB tables and gets create an

IDOC.

<b>Inbound Porcess:</b>

1. Design the Inbound Function module which takes care

of posting data into SAP

A. Copy the existing SAP any standard FM and remove

the code and keep all the parameters without

removing.

B. Inside FM -- Source code

Loop at IDOC_CONTROL.

Loop at IDOC_DATA where DOCNUM = IDOC_CTRL-DOCNUM.

case IDOC_DATA-SEGNAM.

where 'Z1MARAM'.

--Update database.

-


endcase.

Endloop.

Endloop.

2. Maintain this FM in BD51.

3. Create a process code in WE42 and assign the above

FunctionModule.

4. Link the message type with IDOC Type in WE57.

Then do the normal ALE setting to create an IDOC.

Pls mark if it helps.

~~~~ESWAR