Last active
April 4, 2018 14:44
-
-
Save iespino00/4270eeffd33c98708caa74a132510ce8 to your computer and use it in GitHub Desktop.
Scripts ABAP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
** Eliminar registros duplicados de una TI: | |
DELETE ADJACENT DUPLICATES FROM IT_TABLA COMPARING BELNRALT. | |
**Mover registros de una estructura a otra | |
move-corresponding wa_numero1 to wa_numero2. | |
**Agregar información de estructura a una tabla | |
append wa_estructura to ti_tablaInterna. | |
**Concatenar cadena de caracteres: | |
concatenate wa_estrcutura1-campo1 wa_estrcutura1-campo2 into wa_salida-campoSalida SEPARATED BY SPACE. | |
*Eliminar ceros a la izquierda: | |
CALL FUNCTION ‘CONVERSION_EXIT_ALPHA_OUTPUT’ | |
EXPORTING | |
INPUT = VG_VARIABLE | |
IMPORTING | |
OUTPUT = VG_VARIABLE. | |
* Rellenas con ceros a la izquierda: | |
CALL FUNCTION ‘CONVERSION_EXIT_ALPHA_INPUT’ | |
EXPORTING | |
INPUT = VG_VARIABLE | |
IMPORTING | |
OUTPUT = VG_VARIABLE. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment