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: 

IDOC Very Urgent

Former Member
0 Kudos

Hi all

I need to pass Master Inspection Characteristics (MIC) data or any other data to XI in a receiver format. For that I need to create custom function module according to xml format. Then I need to send MIC data to custom idoc fields. So I called my custom function module from user exit of standard idoc of MIC. So that MIC data will be transferred to Zidoc. Iam new to this idoc. I have got some doubts. Whether standard idoc function module will be automatically updated as soon as MIC created. Where we should call this Custom idoc so that as soon user creates MIC, so that it will go to XI

regards

shankar

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

In the user exit of standard idoc , pass the information to the custom idoc and use the function module to create the idoc.

Regards,

M.Saravanan

10 REPLIES 10

Former Member
0 Kudos

Hi,

To create the idoc into xml format , use the xml port in the partner profile. Use this function MASTER_IDOC_DISTRIBUTE for the creation of idoc.

Regards,

M.Saravanan

0 Kudos

no

i created Zidoc. now i need to pass data of MIC to this custom idoc

Former Member
0 Kudos

Hi,

In the user exit of standard idoc , pass the information to the custom idoc and use the function module to create the idoc.

Regards,

M.Saravanan

0 Kudos

I've done that. my doubt is as soon as user creates MIC whether this Standard Idoc function module will be populated. and where should i call this zfunction module

0 Kudos

hai shankar,

check this may be useful...

first create a function grp and function module..

in the source code of function module call the IDOC funcion module. do the respective processing.

and link this fucntion module and message type ( ie custom one) to PROCESS CODE...

Regards

Ramakrishna S

Former Member
0 Kudos

Hi,

The standard func. module is called automatically, SAP Standard program will take care of it. Only task which you`ll have to perform is link your custom func. module to the standard one using user exits.

Regards

Former Member
0 Kudos

Hi,

In the user-exit , the data will be populated automatically but i don't understand about the zfunction module. What it does?

Regards,

M.Saravanan

0 Kudos

this Zfunction module is for my Zidoc or custom idoc to which iam passing standard idoc data

Former Member
0 Kudos

Hi,

I feel the Zfunction module , will create the idoc .

If it does so, the idoc will be created.

Regards,

M.Saravanan

0 Kudos

zfunction module will populate the custom idoc. additionally i need to pass standard idoc function module data. as u said i passed data through user exit of standard idoc. now where should i call this zfunction module

regards

shankar