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

ALE/IDOC Change Pointers for Custom Table

Former Member
0 Likes
1,159

Hello all,

There is a requirement for my client, to trigger IDOC based on the Custom Table changes. The custom table has a maintenance view and will be updated/modified/deleted randomly by user. Now, i need to track the changes in that table and should trigger IDOC for the changes. The Message type i am using for this is MATMAS, as I need to incorporate changes to the same IDOC.

Is it ok to modify BDCP/BDCPS tables to update the changes from custom table? The Custom Table changes can be tracked through DBTABLOG......and i have my logic to trigger the IDOC

The question is: If i do modifications to BDCP and BDCPS, how this will impact? In future SAP upgrade/enhancements will this affect anyway? Can any one of you share your experience regarding this. Thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
830

Hi Raja,

You can send IDOC based on table maintenance event

I think you can code in event 02, to generate IDOC.

Check below link:

http://help.sap.com/saphelp_nw04/helpdata/en/91/ca9f0ea9d111d1a5690000e82deaaa/frameset.htm

Regards,

Nisha Vengal.

Hello all,

There is a requirement for my client, to trigger IDOC based on the Custom Table changes. The custom table has a maintenance view and will be updated/modified/deleted randomly by user. Now, i need to track the changes in that table and should trigger IDOC for the changes. The Message type i am using for this is MATMAS, as I need to incorporate changes to the same IDOC.

Is it ok to modify BDCP/BDCPS tables to update the changes from custom table? The Custom Table changes can be tracked through DBTABLOG......and i have my logic to trigger the IDOC

The question is: If i do modifications to BDCP and BDCPS, how this will impact? In future SAP upgrade/enhancements will this affect anyway? Can any one of you share your experience regarding this. Thanks.

3 REPLIES 3
Read only

Former Member
0 Likes
831

Hi Raja,

You can send IDOC based on table maintenance event

I think you can code in event 02, to generate IDOC.

Check below link:

http://help.sap.com/saphelp_nw04/helpdata/en/91/ca9f0ea9d111d1a5690000e82deaaa/frameset.htm

Regards,

Nisha Vengal.

Read only

0 Likes
830

I understand that, but how this will be helpful in triggering the IDOC? As the IDOCs will be processed through RBDMIDOC program which eventually pulls the record from BDCP/BDCPS. Does modifying BDCP/BDCPS advisable through form routines? Will this give any impact in future upgrade/enhancements, if that is not the case how can we trigger the IDOC? Thanks.

Read only

Former Member
0 Likes
830

Hi,

Did you explore the possibility of using "FORM routines which can be called through view maintenance". You can use available Maint. Event available to write your logic for triggering Idoc.

menu path : In table maint generator screen

Environment - > Modification -> Events