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

Former Member
0 Likes
700

Hi all,

I have configured ALE for sending material data from sending to recieving system. I dont understand the scenario like what exactly happens when I execute bd10. When this master_idoc_distribute will come into picture. If there are any exit programs wil they be trigered ? If they are triggered how the the tcode MM01 is being accessed ? I have activated the change pointers and processe the program rbdmidoc. It is triggering the exits also ? How this program is associaed with the exits ? Can anyone please explaine me this.

Regards,

Varun.

Message was edited by: varun sonu

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
661

Hi Varun,

When you execute BD10, the material no. & Message Type which you are passing through selection screen, it will create the IDOCs and post to the receiving system. In receiving system, the associated partner function will be triggered. The function module will call MM01 to create the material (i am not sure on this point).

In any situation, if it is calling MM01, then the User Exits will also be triggered. User exits are just an Include programs in the main program. The application will be executed sequentially. So, they will also be triggered.

Once all the data is collected into the internal tables, the data will be passed to the FM, to create the IDOCs.

7 REPLIES 7
Read only

Former Member
0 Likes
662

Hi Varun,

When you execute BD10, the material no. & Message Type which you are passing through selection screen, it will create the IDOCs and post to the receiving system. In receiving system, the associated partner function will be triggered. The function module will call MM01 to create the material (i am not sure on this point).

In any situation, if it is calling MM01, then the User Exits will also be triggered. User exits are just an Include programs in the main program. The application will be executed sequentially. So, they will also be triggered.

Once all the data is collected into the internal tables, the data will be passed to the FM, to create the IDOCs.

Read only

0 Likes
661

Hi Sailesh,

Will the user exits of mm01 on the sending side trigger when I an executing program RBDMIDOC to check the functionality of check pointers ? I tried this and they are triggered. What I dont understand is why the tcode mm01 is in the picture when I am sending the data. My assumption is that data is transferred from mara tables. Please clarify this for me.

Regards,

Varun.

Message was edited by: varun sonu

Read only

0 Likes
661

Hi All,

Can anyone answer my query ?

Regards,

Varun.

Read only

0 Likes
661

Hi Varun,

When you are activating the Change pointers on any field, when ever the value of that field is changed, it will create an IDOC. Normally you will change the values using MM02 or MM01. The user exits are same in MM01 & MM02 (if i am not wrong on that).

And i sure that, the data is not transferred from MARA table.

Read only

0 Likes
661

Hi Sailesh,

I understood that why the exits are coming into picture now but you said that data is not transered from the mara table then from where it is populated into the Idoc's ?

Regards,

Varun.

Read only

0 Likes
661

Varun,

Obviously, the data will be coming from MARA & other tables only, but any changes cannot be operated directly at database level coz, it will create a lot of problems, all the changes/create/extensions should be happend through the application side only.

Even when you try to generate the IDOC, it will be using RBDMIDOC(for change pointers only) application else you will use some other applications.

Hope this solves your doubt. If not let me know.

Read only

0 Likes
661

HI,

Thank you sailesh.

Regards,

Varun.