Launch program : DEMO_REGEX_TOY.
Launch program : DEMO_REGEX_TOY.
Check code example below :
DATA : lw_timestamp TYPE timestamp,
lw_date_syst TYPE datum,
lw_time_syst TYPE uzeit,
lw_date_local TYPE datum,
lw_time_local TYPE uzeit,
lw_syst_timezone TYPE tznzone.
" Retrieve system timezone
" ------------------------
SELECT SINGLE tzonesys
FROM ttzcu
INTO lw_syst_timezone.
" Convert date / time to system timestamp
" ---------------------------------------
CONVERT DATE lw_date_syst
TIME lw_time_syst
DAYLIGHT SAVING TIME 'X' " Manage summer/winter time
INTO TIME STAMP lw_timestamp
TIME ZONE lw_syst_timezone.
" Convert timestamp to local date/time
" ------------------------------------
CONVERT TIME STAMP lw_timestamp TIME ZONE sy-zonlo
INTO DATE lw_date_local
TIME lw_time_local.
Search tag: fuseau horaire, heure, convertir,
To edit transport orders or tasks status & properties, use program : RDDIT076.
⚠️ This program no more exists on last S4 SAP version.
Search tag: TO, OT, e070, e071, release, derelease, task
Use program : SALV_BS_ADMIN_MAINTAIN.
When opening data in UTF-8, the transfered text must also be converted to UTF-8.
Check method described :
https://archive.sap.com/discussions/thread/1401493
Read More
Use the file below to trigger the debugger.
For instance in popups, it is not possible to write /h as transaction to debug. Use file below.
Drag the file and drop it in the SAP windows where you want to trigger the debugger.
Download file here : Debugger.sap (ZIP file).
Read More
Use transaction SCC4.
Search tag: mandant, mandants, liste
SD = Sales and distribution (Vente et distribution)
ADV = Administration Des Ventes
Commandes clients (commandes de vente): sales order
VA01 – créer une commande client standard – create sales order
VA02 – modifier commande client, annulation de la commande – change sales order
VA03 – afficher commande client – display sales order
VA05 – liste des commandes client – list of sales orders
V.02 – commande client : commandes incomplètes – incomplete SD documents
Check the table : TBO00.
Read file :
DATA : lo_error TYPE REF TO cx_root,
lw_error TYPE string.
* ENCODING DEFAULT = ANSCII on main SAP system.
OPEN DATASET lw_fullname FOR INPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc <> 0.
" Manage erreur
ENDIF.
* For each line
DO.
* Read line
TRY.
READ DATASET lw_fullname INTO lw_string.
CATCH cx_sy_conversion_codepage INTO lo_error. " En cas d'erreur d`encodage,
lw_error = lo_error->get_text( ). " fichier en UTF-8 alors que
WRITE / lw_error. " lu en mode défaut par exemple
EXIT.
ENDTRY.
IF sy-subrc = 0.
" Treat data
APPEND lw_string TO li_string.
ELSE.
EXIT.
ENDIF.
ENDDO.
CLOSE DATASET lw_fullname.