cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Change Document Object BUPA_BUP Config.

Former Member
0 Kudos
4,057

Hi All,

This is a question related to workflow config. in CRM but hope someone else may have come across this area.

I am trying to configure the system to raise an event when a change document is created for a change to a particular group of fields in table BUT000.

I have edited a Business Partner in txn BP and can see the change documents generated in tables CDHDR and CDPOS.

I have put in the config. in txn SWEC.

Change document object: BUPA_BUP

Business object BUS1006

Event: ZCHANGED

Then I have entered the field restriction details e.g.

Table: BUT000

Field: NAME_ORG1

Old Value: *

New Value: *

When I make a change to this field in BP I can see the change documents generated for it but no event is triggered in the event log (txn SWEL).

I guess this is a long shot as it's more workflow specific but if anyone has come across this or has any ideas I would be grateful if you could share them with me.

Many Thanks

David

View Entire Topic
P000636
Active Contributor
0 Kudos

Hi David,

Maybe your bp isnt a organization and the name isnt stored in NAME_ORG1. Use the field MC_NAME1 of BUT000.

Regards.

Manuel

Former Member
0 Kudos

Hi Manuel,

Thanks for your suggestion.

I have configured a number of fields, NAME_ORG1,2,3 NAME_GRP1,2 and NAME_FIRST and NAME_LAST.

The test I did was on an organisation and in the CDPOS entry it is logged as a change to NAME_ORG1 with the old and new values correctly shown.

Regards

David

P000636
Active Contributor
0 Kudos

Hi David,

What is the event ZCHANGED ??

Regards.

Manuel

Former Member
0 Kudos

Manuel,

ZCHANGED is a custom event that you can create on a subtype of a standard SAP business object.

Therefore you can create a subtype of BUS1006 and call it ZBUS1006.

Then you can add custom methods, attributes and events. You then 'delegate system wide' your custom BO to BUS1006 and then you can refer to your custom methods, events and attributes via the SAP standard BO BUS1006.

Regards

David