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
* prog 27 | |
TABLES: kna1. | |
TYPES: BEGIN OF t_kna1, | |
v_name1 LIKE kna1-name1, | |
v_name2 LIKE kna1-name2, | |
v_land1 LIKE kna1-land1, | |
END OF t_kna1. | |
SKIP 2. |
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
TABLES: spfli, sflight. | |
TYPES: BEGIN OF t_table, | |
v_carrid LIKE sflight-carrid, | |
v_connid LIKE spfli-connid, | |
END OF t_table. | |
DATA: int_table TYPE STANDARD TABLE OF t_table, wa_table TYPE t_table. |
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
REPORT ZINNERJOIN. | |
TABLES: spfli, sflight. | |
* | |
TYPES: BEGIN OF t_table, | |
v_carrid LIKE spfli-carrid, | |
v_connid LIKE spfli-connid, | |
v_cityfrom LIKE spfli-cityfrom, | |
v_cityto LIKE spfLi-cityto, |
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
report ZEXPORT. | |
TYPES: BEGIN OF st_table, | |
carrid LIKE sflight-carrid, | |
connid LIKE spfli-connid, | |
fldate LIKE sflight-fldate, | |
planety LIKE sflight-planetype, | |
seatmax LIKE sflight-seatsmax_b, | |
seatsocc LIKE sflight-seatsocc_b, | |
END OF st_table. |
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
data: lt_data type standard table of sflight, | |
lw_data type sflight. | |
SELECT * FROM SFLIGHT INTO TABLE LT_DATA. | |
CALL FUNCTION 'GUI_DOWNLOAD' | |
EXPORTING | |
filename = 'C:\Users\A07208trng_B4B.04.25\Desktop\akk.txt' | |
tables | |
data_tab = lt_data. |
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
REPORT ZCLASS. | |
CLASS lc_class DEFINITION. | |
PUBLIC SECTION. | |
DATA:lt_sflight TYPE STANDARD TABLE OF sflight. | |
METHODS: select_data IMPORTING im_carrid TYPE s_carr_id, | |
display_data. | |
ENDCLASS. | |
CLASS lc_class IMPLEMENTATION. | |
METHOD select_data. |
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
IF sy-uname EQ 'XXXXXX' OR sy-uname EQ 'XXXXXX'. | |
*//Work Area Declarations............................................... | |
DATA: | |
lw_ops_usrfld TYPE zops_t_usfld_val, | |
lw_components TYPE abap_compdescr, | |
lw_sap_usr TYPE afvui. | |
*//Variable Declarations................................................ | |
DATA: |
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
data : lv_sam type String. | |
lv_sam = text-002. | |
data(lv_sam2) = 'currency'. | |
data(lv_out) = | { lv_sam } { lv_sam2 } | . | |
WRITE :/ lv_out. |
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
tables: mara. | |
data: | |
lt_mara type STANDARD TABLE OF mara, | |
displayalv type REF TO cl_salv_table. | |
select * from mara into table lt_mara. | |
* TRY. |
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
create an header structure(zadobefheader) in SE11 with required fields. | |
create a item table(ztt_adobef_lines) in SE11 with required fields. | |
in the relevant output type, maintain the form routine as ENTRY so that the initial call for from processing will be PERFROM ENTRY. | |
use the FM NAST_UPDATE_PROTOCOL to update the errors and success messages. | |
in the form processing, create a custom FM ZADOBEFORM_OUTPUT by exporting nast and importing the header and line item table, so that you have flexibility to use same program fro multiple requirement. | |
get the fm_name from SFP and call fm and pass the values in the fields. | |
for further details please comment! |