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: gt_master type table of SCARR. | |
data: gt_slave type table of SFLIGHT. | |
data: gr_table type ref to cl_salv_hierseq_table. | |
data: lt_binding type salv_t_hierseq_binding. | |
data: ls_binding type salv_s_hierseq_binding. | |
*... Select data | |
select * from SCARR into corresponding fields of table gt_master. | |
select * from SFLIGHT into corresponding fields of table gt_slave. |
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
parameters: p_vari type disvariant-variant. | |
method layout_f4. | |
data: lv_layout type salv_s_layout_info, | |
lv_key type salv_s_layout_key. | |
clear: lv_layout, lv_key. | |
lv_key-report = sy-cprog. | |
call method cl_salv_layout_service=>f4_layouts | |
exporting | |
s_key = lv_key |
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: errmsg(80) type c, | |
bc_cmd like itcoo, | |
bp_cmd like itcoo, | |
bitmapsize type i, | |
bitmap2_size type i, | |
w type i, | |
h type i, | |
bitmap like rspolpbi occurs 10 with header line, | |
bitmap2 like rspolpbi occurs 10 with header line, | |
l_bitmap type xstring, |
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! |
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
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
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
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
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 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. |
NewerOlder