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: 

How to retrieve REBZG, REBZJ, REBZZ fields when using FB08?

0 Kudos

Hi everyone,

My problem consists in the following. When I am using FB08 to cancel a document, I would like to retrieve in the fields REBZG, REBZJ and REBZZ the BELNR of the original document which I am cancelling and the correspondent GJAHR and BUZEI.

I have tried to implement this change in EXIT_SAPLFMR4_002, changing the same fields in ACCIT table, but at the end, when the document of cancellation is created, these fields are empty (I've checked it in debug mode).

Is there any other way of making this fields changeable? Does it depend on the document class?

Thanks in advance,

4 REPLIES 4

raymond_giuseppi
Active Contributor
0 Kudos

Did you consider some BAdI or Substitution rule?

0 Kudos

Hi!, thanks for your answer, I finally found the solution using BTE 1120.

DoanManhQuynh
Active Contributor

Hi there.

You may give a try with BTE:

00001025 POST DOCUMENT: Final checks completed

0 Kudos

Hi! Thanks for your answer. Finally it was using BTE 1120. It worked. 🙂