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: 

Change pointers

0 Kudos

HI,

Iam using change pointers for message type CREMAS i.e., vendor master.

Change pointers are working correctly when ever vendor is created or changed.

My problem is that i am using custom fields for LFA1 and LFB1 Tables. When ever i am changing custom fields my change pointer is not triggering.

we need to add these custom fileds to message type CREMAS in BD52 or not ? Please confirm me ?

Thanks and regards

Kumar P

10 REPLIES 10

hymavathi_oruganti
Active Contributor
0 Kudos

U NEED TO CREATE a new segment by adding these two fields

to the original cremas fields in we31.

then u need to create idoc type in we30 and assign this to that

in we81 , create a zmessage type and assign to idoc type in we82 and

then configure ale with ur message type

and write a zprogram.

0 Kudos

HI Hymavathi,

I extended idoc CREMAS04 and i have added those custom fields. But iam using standard message type CREMAS.

Is it necessary to create Z- message type?

Thanks and regards

P kumar

0 Kudos

Not necessary - you will have to associate this new idoc type to the message type in the WE82 transaction.

Also, you should do the config. (WE20) for the new IDOC type.

However, I am still not sure how are you activate the change pointers for the custom fields. Did you look at the SPRO transactions to see if the custom fields are showing to activate the change pointers for them.

Regards,

Ravi

Note : Please mark the helpful answers

0 Kudos

oh sorry, u r right, extension, u can do.

as ravi said in we82, attach the message type

0 Kudos

HI Ravi,

I did everyting and my change pointers also working fine except custom fileds are changed.

But I want to trigger idoc when ever custom fields are changed irrespect of standard fileds.

Thanks and regards

P Kumar.

0 Kudos

Hi Praveen,

Go to we64 and find the process code attached to your messagetype.

Find the processing rouitne attached to the process code.

Find a user exit in the code (Of the processing routine: It can be a function module).

Write your code to populate the extended message type to ultimately update the tables.

Regards,

Ravi

0 Kudos

Praveen,

As I said, you will have to activate the change pointers for those fields in the configuration (SPRO). Check with your functional consultants.

I am not sure if you can trigger a IDOC upon changing a custom field for the business document.

Regards,

Ravi

Note : Please mark the helpful answers

0 Kudos

Hello Pravin,

I have done something similar for Employee Master data.

For customised field you need to find the user exit for change pointers in your program / transaction code.

Check out if it is calling function module 'CHANGE_POINTERS_CREATE_DIRECT'..if so than you can create change pointers for customised field.

You need to implement badi 'BDCP_BEFORE_WRITE' where you can play with interal table('change_pointers'

) data.

I have coded to create new record for customised field in same badi.

Let me know if it is calling same function module...will provide you badi code then.

Cheers,

Nilesh

Former Member
0 Kudos

Hai Praveen

Check the following Steps for MM01 Tcode

you just follow the steps you will reach your solution.

Change Pointers

I know how to change the description of a material using ALE Change Pointers.

I will give 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 Executte

Thanks & regards

Sreenivasulu P

Message was edited by: Sreenivasulu Ponnadi