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

BDCP_BEFORE_WRITE Change Pointers

arpita_churi3
Active Participant
0 Likes
4,953

Dear All,  


Currently in our system ,

change pointers are configured in such a way that when ever their is change  / removing / adding a new manager BDCP2 table is getting update with change pointer. Further,  that entry is getting picked by program RBDMIDOC program for IDOC generation.

New Requirement :

Along with Manger they need pick the people sharing the same manager to be updated in change pointers.

For this :

BADI : BDCP_BEFORE_WRITE is proposed for this requirement.  For this we are planning to add the people below the manager to the changing parameter : CHANGE_POINTERS. Can we do this or not ?

if not so kindly please suggest me another option.

Thanks

Arpita.

3 REPLIES 3
Read only

karthikeyan_p3
Contributor
0 Likes
2,467

hi Arpita,

Please go through the sample implementation class CL_EXM_IM_BDCP_BEFORE_WRITE  given by SAP for the BADI BDCP_BEFORE_WRITE. The BADI is to restrict the change pointers being written to BDCP2 table. 

As per the comments in the above mentioned class, you can delete the entry from CHANGE_POINTERS, but not add a new entry.


Alternatively, you could save the manager id in a custom table and read that using a separate program & generate IDOC, sending the information of the people who shares the same manager.


Thanks,

Karthikeyan

Read only

0 Likes
2,467

Thanks karthikeyan..

is there any enhancement point or exit to do this?


Read only

0 Likes
2,467

You could write that in the implementation of BDCP_BEFORE_WRITE.

Thanks,

Karthikeyan