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: 

FM for Idocs

Former Member
0 Kudos

What is the function module for the Message Type <b>GLMAST</b> and IDOC type <b>GLMAST01</b>. I need the <i>Outbound Idoc</i> to trigger for the scenario of GL accounts creation/change.

Also, let me know how to use change pointers for the ALE configuration between two SAP systems.

Let me know asap

5 REPLIES 5

gajendra_bhakuni
Active Participant
0 Kudos

Hi,

The function module is MASTERIDOC_CREATE_SMD_GLMAST.

It can be found via BD60 transaction (link between message type and outbound function module.

SAP help -> <a href="http://help.sap.com/saphelp_nw04/helpdata/en/12/83e03c19758e71e10000000a114084/content.htm">Change pointer</a>

Hope this helps.

Regards,

Gajendra.

Message was edited by:

Gajendra Bhakuni

Former Member
0 Kudos

hi navith,

change pointer is a technique which is based on the change document technique which keeps track of the changes made to the key document is sap such as material master, sales order etc.

if u change the description of a material using ALE Change Pointers.

U will have to do the following few steps

1) Tcode BD61---> check the change pointers activated check box

save and goback.

2) Tcode BD50---> check the MATMAS check box save and comeback.

3) Tcode BD51---> goto IDOC_INPUT_MATMAS01 select the checkbox save and comeback.

4) Tcode BD52---> give message type : matmas press ok button.

select all what ever you want and delete remaining fields.

save & come back.

5) 5) go to Tcode MM02 select one material and try to change the description and save it

it will effects the target systems material desciption will also changes

6) goto Tcode SE38 give program Name is : RBDMIDOC and Execute

give Message type : MATMAS and Execute

Regards....

Arun.

Reward points if useful.

Former Member
0 Kudos

HI Navith,

if u use the change pointers no need to write any program for that. because sap provide the one program that program we have to run in se38.

the program name is

'RBDMIDOC'

We can set this program in background also By using variant method.

The settings that you have done seems to be alright.

--->In development, what should the Partner Profile inbound and outbound parameters be?

Ans It will be Inbound..Also you need to mention the Process code for the Message TypeIn Your case it should be GLMA.

Also since your Partner is LS TypeYou need to define the Distribution Model(BD64)...

When you are done with this...After that just check if the Change pointer is activated for this message type...This you can do from

IMG SALE->Modelling and Implementing Budiness Process>Master data distribution>Replication of Modified data>Activate change pointers of Message Type..

Once You are done with this...Now When you have made any GL Master change..

Go to SE38 and Run this Report programm RBDMIDOC

It will generate IDOC..fro the message types with change pointers.

Also Check out these links..It will be helpful to you...

http://help.sap.com/saphelp_erp2005/helpdata/en/52/248d02890311d2b464006094b9c9b4/frameset.htm

http://help.sap.com/saphelp_erp2005/helpdata/en/12/83e03c19758e71e10000000a114084/frameset.htm

http://help.sap.com/saphelp_erp2005/helpdata/en/ba/c9c1c31253ed4596e3bbb74922cd4a/frameset.htm

Hope it solve your problem.

Reword points for good anwers.

Rgds,

P.Naganjana Reddy

0 Kudos

Where to use the function module MASTERIDOC_CREATE_SMD_GLMAST to create idocs?

Actually, my requirement is:

There are two different SAP systems and it has been agreed that both systems should be in synchronous with the creation/change of accounts using FSP0 standard transaction for GL accounts. The process should be done using ale/idocs. And I need to go for an outbound idoc as mentioned.

How to fill the segments for the message type GLMAST and where to code?

According to the requirement, can i go for change pointers?

Let me clarify in detail please...

Thanks,

Navith

Former Member
0 Kudos

Hi Navith,

Go for the Change pointers,

I gave some transaction code by using that u can activate the cange pointers and message type correponding t.code i gave.If any cahnges occurs in outbound side it is automatically reflected in inbound side. no need to write program in inbound side.

No need to write the coding when ur using the change pointers. use that program only.

Ur using the predefined program. check this program u can find the FM.

Rewords some points if it is helpful.

Rgds,

P.Naganjana Reddy