I followed the proper SPRO-Node to implement the above mentioned badi. Like this:

enter image description here

enter image description here

enter image description here

enter image description here

It all twerks as intended:

enter image description here

I created the dynpro as subscreen in a function group, where i placed that field and also two function modules as accessor / mutator for the entire header struct C_KOMFLK :

enter image description here

BUT:

  1. My hit on enter after entering a value, clears that value... maybe I need to do sth in PAI/PBO of my added subscreen ( but when reading a proper settlement doc, it gets populated during first entry )

  2. I cannot save it. I also implemented the classic BADI WLF_ADDITIONAL_DATA2, but whatever proper method I jump in and implement it, I cannot pass the value of the field to get saved.

Somehow it get's lost inside the standard ...

enter image description here

Do I need to implement another badi ?

0

There are 0 best solutions below