2022 Sep 22 10:38 AM
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.
2022 Sep 22 12:33 PM
Click on the button bottom right of the code window and choose fonts and colors.
2022 Sep 22 12:34 PM
2022 Sep 22 12:54 PM
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
2022 Sep 22 1:04 PM
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.
2022 Sep 22 1:05 PM
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.
2022 Sep 22 1:31 PM