Hi All,
Here's my issue during creation of a sales order - a popup with all the contracts on it displays. That was done with configuration. Now we want to add more fields without modification. I can fill BSTKD without any problem. However, it won't display. You'll notice my modification of "or BSTKD". The code works if do that. However, I've been told no modifications.
It seems like an impossible task - so I give you mission impossible for me.
The screen display is screen 700. The include is LV45CF0A line 149. The subroutine is ausgabe_liste_hinweis. I have seen other solutions here, but they all seem to include modification.
I'm on version 7.5. We are still using the old transactions right now.
Any and all ideas are appreciated,
Michelle
The code:
LOOP AT lt_fieldcat ASSIGNING <ls_fieldcat>. <ls_fieldcat>-tech = 'X'. CASE <ls_fieldcat>-fieldname. *{ REPLACE DEVK904328 1 * WHEN 'AUART' OR 'VBELN' OR 'DATAB' OR 'DATBI'. WHEN 'AUART' OR 'VBELN' OR 'DATAB' OR 'DATBI' or 'BSTKD'. *} REPLACE CLEAR <ls_fieldcat>-tech. WHEN 'KUNNR'. IF ( kopfebene CA 'XC' AND add_field_show = 1 ) OR kopfebene CA 'D'. CLEAR <ls_fieldcat>-tech. ENDIF. WHEN 'POSNR' OR 'KWMENG' OR 'MEINS' OR 'NETWR' OR 'WAERK'. IF kopfebene CA ' '. CLEAR <ls_fieldcat>-tech. ENDIF. WHEN 'ABRUF_PART'. IF kopfebene CA 'D'. CLEAR <ls_fieldcat>-tech. ENDIF. ENDCASE. ENDLOOP.