This file contains hidden or 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
DATA: | |
file(1023) VALUE '\\192.168.1.42\folder\'. | |
CONDENSE file. | |
CONCATENATE file sy-datum '_' sy-uzeit '.txt' INTO file. | |
OPEN DATASET file IN TEXT MODE FOR OUTPUT ENCODING DEFAULT. | |
TRANSFER 'Hello World3' TO file. |
This file contains hidden or 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
DATA: | |
it_file TYPE filetable, | |
gd_subrc TYPE i. | |
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-002. | |
PARAMETERS: | |
p_file LIKE rlgrap-filename. | |
SELECTION-SCREEN END OF BLOCK b1. |
This file contains hidden or 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
* rffms270 is a standard SAP program. | |
SUBMIT rffms270 USING SELECTION-SCREEN '1000' | |
WITH p_rebzt = 'V' " Cl.doc.subsiguiente | |
WITH p_rebzj = '2012' | |
WITH p_rebzg = '1800100421' " Invoice reference | |
* WITH P_REBZZ = '' | |
WITH p_bukrs = 'CDPT' | |
WITH p_gjahr = '2012' | |
WITH p_belnr = '1600100455' |
This file contains hidden or 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
Icon_Length ID | |
Name Quickinfo | |
ICON_2 ICON_DUMMY '@00@'." PlaceholderIcon | |
ICON_2 ICON_CHECKED '@01@'." Checked; OK | |
ICON_2 ICON_INCOMPLETE '@02@'." Incomplete | |
ICON_2 ICON_FAILURE '@03@'." Failed | |
ICON_2 ICON_POSITIVE '@04@'." Positive | |
ICON_2 ICON_NEGATIVE '@05@'." Negative | |
ICON_2 ICON_LOCKED '@06@'." Locked | |
ICON_2 ICON_UNLOCKED '@07@'." Free; unlock |
This file contains hidden or 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
REPORT zexample. | |
DATA: | |
v_fecha1 LIKE sy-datum, | |
v_fecha2 LIKE sy-datum. | |
v_fecha1 = sy-datum. | |
CALL FUNCTION 'CALCULATE_DATE' | |
EXPORTING |
This file contains hidden or 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
* in a PAI module | |
PERFORM compute_scrolling_in_tc USING 'TABLE_CONTROL_NAME' | |
'P--'. |
This file contains hidden or 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
* At dynpro logic, after PAI | |
PROCESS ON VALUE-REQUEST. | |
FIELD zconcent_k-folio MODULE matchcode_module. | |
* wherever you want | |
MODULE matchcode_module INPUT. | |
DATA: t_return LIKE ddshretval OCCURS 0 WITH HEADER LINE. |
This file contains hidden or 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
class: | |
cl_aunit_assert | |
methods: | |
ASSERT_EQUALS | |
Validates the equality of two data objects | |
ASSERT_BOUND | |
Asserts the validity of the reference of a reference variable | |
ASSERT_NOT_BOUND | |
Asserts whether the reference of a reference variable is invalid |
This file contains hidden or 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
CLASS class_name DEFINITION FOR TESTING. | |
"#AU Risk_level Harmless | |
"#AU Duration Short | |
PRIVATE SECTION. | |
METHODS test_something FOR TESTING. | |
METHODS test_something_else FOR TESTING. | |
ENDCLASS. | |
CLASS class_name IMPLEMENTATION. |
This file contains hidden or 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
import ctypes | |
ctypes.windll.user32.SystemParametersInfoA(20, 0, "myimage.jpg" , 0) |