Application Development and Automation 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 change SAP GUI coding visualization

itslahcen
Explorer
0 Kudos
906

Hello, experts

I would appreciate knowing how to adapt the SAP GUI's coding visualization to look more like the screenshot (I would like it includes colors) other than only black and blue.

thanks in advance.

6 REPLIES 6

matt
Active Contributor
0 Kudos
840

Click on the button bottom right of the code window and choose fonts and colors.

matt
Active Contributor
840

bottom right of the code window followed by fonts and colors

itslahcen
Explorer
0 Kudos
840

hey Dear,

Thanks for your reply, in this version(screenshot) I couldn't find it could please tell where I can find it, thanks in advance. 1.png

Sandra_Rossi
Active Contributor
0 Kudos
840

Please post the code as text instead of image, so that one can easily answer by testing your code.

IF ls_vbak IS NOT INITIAL.
  SELECT * FROM konv INT0 TABLE lt_konv 
    WHERE knumv = ls_vbak—knumv 
*    AND kposn = ls_comps—posnr. 
ENDIF. 

LOOP lt_comps INTO ls_comps.
CLEAR : objectkey, objecttable, classnum, classtype . objectkey = ls_comps-matnr. "codice materiale
objecttable = 'MARA' classnum = 'Z_PROGETTI' . "nome classe
classtype = '001'. "tipo classe
REFRESH : allocvaluesnum, allocvalueschar, allocvaluescurr, return. CALL FUNCTION 'BAPI_OBJCL_GETDETAIL' EXPORTING objectkey = objectkey objecttable = objecttable classnum = classnum classtype = classtype language = spras TABLES allocvaluesnum = allocvaluesnum allocvalueschar = allocvalueschar allocvaluescurr = allocvaluescurr return = return. READ TABLE allocvalueschar INTO ls_valueschar WITH KEY charact = 'Z_RS_MAT_EDILE' value_neutral = 'X'. IF sy-subrc = 0. READ TABLE allocvalueschar INTO ls_valueschar WITH KEY charact = 'Z_RS_MAT_NO_BONUS' value_neutral = 'X'. IF sy-subrc = O. SKIP.

Sandra_Rossi
Active Contributor
0 Kudos
840

Please forget my previous comment.

Better embed the screenshots in your question, instead of using hyperlinks, so that we can understand the question without the need of clicking to see all of them.

itslahcen
Explorer
0 Kudos
840

Sorry, I didn't know that, thanks for your advice.