cancel
Showing results for 
Search instead for 
Did you mean: 

inserting object by a B1i message does not trigger another scenario

former_member362494
Participant
0 Kudos

Hi , i have a problem with multiples scenarii : the first create an object , and the creation of this object should trogger the 2nd scenario , but this do not work .

the setp is like thiis :

2 external systems ( F.B1.2007 : ES1 and ES2 ) ,and a B1 system .

1st scenario : from ES1 to B1 , create Sales Order

2nd scenario : from B1 to ES2 , create an xml file when a Sales Order is created

each scenario works well , ( a message from ES1 create a S.O. in B1 , and a S.O. in B1 create a message for ES2 )

but when a message from ES1 create a Sales Order in B1 , this does not trigger the 2nd scenario . I think that is not a data problem , as when i update a sales order created by ES1 message , the 2nd scneario is triggered ( the 2nd scenario is triggered by Inserting and Upadting ) . I activate B1event log in B1i server : B1i receive the event from B1 , after the Sales Order creation , and no error message appear . but i can't see the message in message log , and no message is created .

is this a setup in B1i preventing a object created by B1i scenario to trigger another scenario ?

thanks for help . ( the patch level is PL07 for B1i ( same behavior in PL10 ) , and 2007 SP1,PL7 for B1 )

regards

laurent

Accepted Solutions (1)

Accepted Solutions (1)

Trinidad
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Laurent,

B1i is protected to avoid loops never ending. So actions done by B1iSN (in your case creation of the Sales Order in B1) are filtered and B1iSN doesn't take them into account.

This of course can be changed in the B1iSN configuration, you can define for which systems + objects + transactions you want to still receive events in B1iSN even if the object was created/updated/... by the B1i user in B1.

Please check section "2.3 SysType: Exclusion of B1i-Event Filter for B1 Events" in Guide 03 - Extensibility (you can see how to get the guides from the blog B1iSN tips for beginners at /people/mariatrinidad.martinezgea/blog/2009/12/18/b1isn-tips-for-beginners).

Hope it helps,

Trinidad.

Answers (1)

Answers (1)

former_member362494
Participant
0 Kudos

Hi , Maria

many thanks ! problem solved .

strange that we do not have this problem in the live system ( in PL07 too ) . i've exported com.sap.b1i.directory from our live system , and there's no Ext.systype.B1.2007 , but B1i's objects are not filtered . Perhaps it's because landscape and scenarios were created in previous versions of B1i ?

Many thanks once again for your help

regards

laurent