cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI "BAPI_ACC_DOCUMENT_POST" is not triggering BTE 00001130 or any other to create BKPF created event

Former Member
0 Kudos

Hi All,  I am trying to post a document using this BAPI "BAPI_ACC_DOCUMENT_POST". I have also enahnced BTE to trigger the BKPF => CREATED event , but BTE's are not getting trigger when we use this BAPI to post teh document. Kindly help.

Accepted Solutions (1)

Accepted Solutions (1)

suresh_subramanian2
Active Contributor
0 Kudos

Hello Rakesh !

            When you execute the BAPI independently, whether the BTE triggers ?

            If yes, but it is not firing when it is integrated with workflow, there could be three possible reasons - one being the parameters required for successful firing of the BTE are not passed by BAPI(imperfect binding) and the another being the appropriate event id is not chosen at transaction FIBF and other being the missing configurations related to company codes, release approval groups, release approval paths, assignment of release approval paths to document type and posting keys in SPRO transaction.

Regards,

S.Suresh.

Former Member
0 Kudos

Hey Suresh,

The same BTE and event getting triggered by BTE when i post the document using FB75. But from BAPI they are not triggering. I checked the config also , nothing is visibly missing there.

Thanks

Rakesh

Former Member
0 Kudos

Since there was no way to trigger the BTE , i triggered the event manually after calling the BAPI.

former_member185167
Active Contributor
0 Kudos

Thank you for closing an old thread! I wish more people would do that.

felipe_uribe
Participant
0 Kudos

Hi Rakesh, any explanation about SAP doesn't trigger this event from BTE? I have the same problem!!

Thanls a lot.

Felipe Uribe

Former Member
0 Kudos

Hi Jaime,

I really couldnt understand why SAP does that , but finally i created this from BTE only.

Thanks

Rakesh

felipe_uribe
Participant
0 Kudos

Hi Rakesh, thanks for your answer.

I solved the issue implementing the BTE 00001050 which trigger the event BKPF-CREATED when the BAPI_ACC_DOCUMENT_POST is used, additionally I had to implement the SAMPLE_INTERFACE_00001030 to have the two options, when the document is created with standard transactions.

Bye!!

Jeime Felipe Uribe

Answers (1)

Answers (1)

former_member185167
Active Contributor
0 Kudos

Hello,

Did you check SWEL (event trace) to see if the event is being created?

If so, did you check SWE2 to see if the event is linked to a workflow and the linkage is active?

regards

Rick Bakker / hanabi technology

Former Member
0 Kudos

Hello Rick,

I checked SWEL and also SWE2. The fact is , the same BTE is getting trigger if i manually post it with FB75. but if BAPI is posting , nothing is getting trigger. I have written my code in BTE to trigger the event , but not helpful. I have put the endless loop also for background debugging , but it is not triggering.

Thanks

Rakesh