Application Development 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: 

BET SAMPLE_INTERFACE_00001030 error handling

former_member227141
Active Participant
0 Kudos

Hi all, I'm using BTE to validate some fields of transaction F-30, I would like to stop posting and throw an error message in case

the validations don't tally. Now I'm throwing the message with MESSAGE  e208(00), but the document is posted anyway... How could I avoid that?

Is there something similar to this ?

Could I use that?

Thanks in advance for your guidance,

Regards,

Karina

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

Check in BTE documentation (transaction FIBF or BERE) this BTE doesn't allow for check/error only follow-up operations, try either BTE 00001020 or FI validation at document level (Event 0003, transaction OB28).

Regards,

Raymond

4 REPLIES 4

Former Member
0 Kudos

Hi Karina ,

please check whether the BTE, SAMPLE_INTERFACE_00001030 is being called after document posting or before document posting . I suppose that its being called after the document is posted and that's why your validations don't happen in the way expected to .

You may check for 00001020 or 00001025 and perform the validations in any of these BTEs which you may feel is more apt.

Once the validation fails ,an exit can be done to skip document posting .

Thanks and Regards,

Jency

raymond_giuseppi
Active Contributor
0 Kudos

Check in BTE documentation (transaction FIBF or BERE) this BTE doesn't allow for check/error only follow-up operations, try either BTE 00001020 or FI validation at document level (Event 0003, transaction OB28).

Regards,

Raymond

Chintu6august
Contributor
0 Kudos

Hi,

i think following BTE can help you to meet your requirement.

00001020 POST DOCUMENT:       Prior to final checks

00001030 POST DOCUMENT:       Posting of standard data

thanks!!

Former Member
0 Kudos

Hello Karina,

     The events that you are looking are classified under the Infosystem (P/S) in FIBF but these cannot help in stopping the action that is being performed, Please look for a BTE event in Infosystem (Processes) category to make necessary changes to the document posting.

      I dont remember the BTE event exactly, but there is an event that will have exceptions along with it, and you can make all the validations and if the validations fail raise the exception to stop the document from posting.

Regards

Selva