RAP Journal Entry Event Not Running: Check BGPF and Debugger Settings

Posted a journal entry through FB50, but your r_journalentrytp~created handler never runs while debugging? For the S/4HANA 2023 scenario in SAP KBA 3736294, check the background-processing setup and debugger options separately.

Check the BGPF destination

SBGRFCCONF Define Inbound Destinations tab and create button, with example destination and prefix values masked
SBGRFCCONF navigation example with sample values masked. This screen does not show a configured BGPF destination. Adapted from PROLOGA configuration guide, Figure 35.

In the affected on-premise system, review SBGRFCCONF → Define Inbound Dest. and the inbound destination BGPF. Follow the release-specific bgPF and supervisor setup.

SAP Help’s BGPF procedure leaves Logon/Server Group and Add Queue Prefix empty. Do not copy unrelated destination settings from a generic example.

Check the debugger option

A POSTING_ILLEGAL_STATEMENT dump in SAPLARFC can also be triggered by background tRFC debugging. Review SAP Note 2948924 and turn off tRFC (in background task): sending for the documented scenario.

Retest in a suitable test environment with a new posting. If the event still fails, collect an ADT ABAP Cross Trace covering RAP events and the RFC/update flow.

References

SAP KBA 3736294 · SAP Note 3457926 · SAP Note 2948924 · SAP Help: BGPF Setup

You May Also Like

Leave a Reply?