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: 

Enhancement: Append Fields to Types Structure Fails

Former Member
0 Kudos

Hi all,

need some help.

It seems weird that this enhancement could not be checked correctly although i compared it with the copied version.

  • Typen

TYPES: BEGIN OF t_show_vzzbepp.

INCLUDE STRUCTURE vzzbepp.

TYPES: shwhr TYPE waers, " Hauswährung

icon_jonlaen TYPE icon_jonlaen, " Icon für JONLAEN

icon_sreorg TYPE icon_sreorg, " Icon für SREORG

color(3) TYPE c, " Farbe

x_mark TYPE c, " Markierung für Änderung

n_tabix LIKE sy-tabix," Referenz zur Bewegung

  • Erweiterung für die Simulation der Korrekturbuchung

sold_new TYPE tb_sold_new, " Datensatz alt / neu

"""""""*"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$SE:(1 ) Typ T_SHOW_VZZBEPP, End S

$$-Start: (1 )----

-


$$

ENHANCEMENT 2 ZISB_LFVD_ALVF01. "inactive version

*Additional fields

zsprice(16) TYPE p DECIMALS 2,

zunepft(16) TYPE p DECIMALS 2,

ENDENHANCEMENT.

$$-End: (1 )----

-


$$

END OF t_show_vzzbepp.

It dishes out standard "comma without preceeding colon (after zsprice(16))".

Im guessing its because of "tb_sold_new," 's colon?

This is an enhancement to LFVD_ALVTOP at function group FVD_ALV.

2 REPLIES 2

Former Member
0 Kudos

Try changing

         sold_new        TYPE tb_sold_new,  " Datensatz alt / neu

To:

         sold_new        TYPE tb_sold_new.  " Datensatz alt / neu

Period instead of comma. Other similar changes needed as well.

Rob

0 Kudos

thanks for the quick reply but that is impossible. Its standard SAP.

I can only change things inside the ENHANCEMENT ENDENHANCEMENT for my BADI implementation.

Any other suggestions workaround possible except copying the whole function module?