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

Trigerring event using BUS2037

Former Member
0 Likes
1,023

Hi All,

I have a particular problem with the triggering of an event when a customer Billing document is created or changed.

I am using Business Object BUS2037, Change document FAKTBELEG. And I have done all the configuration using SWEC, SWE2, SWED. Now the event triggers perfectly whenever I create or change a billing document which also posts an Accounting document.

However, if for some reason the Accouting document is not created then the event does not trigger automatically. And the event does not trigger unless and until the accouting document is created.

But I need the event to trigger irrespective of the creation of the Accouting document. As long as the Billing document is created the event should trigger.

Please can you help me with this.

Regards,

Kaushal Sah

Hi All,

I have a particular problem with the triggering of an event when a customer Billing document is created or changed.

I am using Business Object BUS2037, Change document FAKTBELEG. And I have done all the configuration using SWEC, SWE2, SWED. Now the event triggers perfectly whenever I create or change a billing document which also posts an Accounting document.

However, if for some reason the Accouting document is not created then the event does not trigger automatically. And the event does not trigger unless and until the accouting document is created.

But I need the event to trigger irrespective of the creation of the Accouting document. As long as the Billing document is created the event should trigger.

Please can you help me with this.

Regards,

Kaushal Sah

1 REPLY 1
Read only

b_deterd2
Active Contributor
0 Likes
711

Hi,

It looks like this is set by SAP in this way.

You could try checking the event log (tcode SWEL/SWELS) and see if there is another event triggered which you can use.

If not, then search for a user-exit and programmatically create a Z-event ( with sap_wapi_create_event for instance).

Regards,

Bert