Get length of a particular field
Find character in a text variable
Search character in a text variable
Read More
Here are only displayed the transaction I most use.
IL03 : Display Functional Location (Afficher poste technique)
IQ03 : Display Material Serial Number (Afficher le numéro de série d’un article)
IE03 : Display Equipment (Afficher Equipement)
Use method : cl_gui_frontend_services=>directory_browse.
Read MoreCreate spool to display it later in SP01, SP02…
With code below, you can easily add lines in spool like that :
ls_text-color = c_color_jaune.
CONCATENATE 'Error on PN' lw_matnr INTO ls_text-text SEPARATED BY space.
APPEND ls_text TO gt_text.
CLEAR ls_text.
ls_text-color = c_color_rouge.
APPEND ls_text TO gt_text.
Sometimes, where objects are imported from other SAP systems (via TO or others), the original system is not the current development system. It can be useful in certain case to reassign it.
First, check the original system :
Check the original system, here ISG.
If you want to change it on this object, note the objects info : R3TR – FUGR – ZBNC_INIT.
Read More
You can check the SAP demo programs starting with BCALV_GRID_*
You can simply add integer value if your variable is typed DATUM.
DATA : lw_date TYPE sy-datum.
lw_date = '20170927'.
lw_processed_date = lw_date + 5.
* ==> lw_processed_date = 20171002
Use transaction SE63.
In theory, you can’t access the text symbols of one program into another program.
They are program dependent.
Nevertheless, if you need to do that, there is the following statement in ABAP.
DATA : li_textpool TYPE TABLE OF textpool.
READ TEXTPOOL 'SAPLLCPP' INTO li_textpool LANGUAGE sy-langu.