‎2008 Jun 11 12:46 PM
hi
this is my code:
REPORT ZDISPAL2 no standard page heading line-size 300.
TABLES : CVERS, PAT03.
Data : begin of fintab occurs 0,
component type cvers-component,
extrel type cvers-EXTRELEASE,
release type cvers-release,
COMP_TYPE type cvers-COMP_TYPE,
patch type pat03-PATCH,
SHORT_TEXT type pat03-SHORT_TEXT,
PATCH_TYPE type pat03-PATCH_TYPE,
end of fintab.
Data : wa_ftab1 like fintab1.
TOP-OF-PAGE.
write : 5'Component',20 'EXReleae',40 'Release',50 'Comp_type',
60 'PATCH',100 'TEXT',60 'Descr'.
ULINE.
start-of-selection.
select pcomponent pEXTRELEASE prelease pcomp_type fPATCH fshort_text f~patch_type
into corresponding fields of table fintab from cvers as p inner join pat03 as f
on pcomponent = faddon_id.
end-of-selection.
loop at fintab into wa_ftab.
write 😕 wa_ftab-component under 'Component', wa_ftab-release under 'Release',wa_ftab-extrel under 'EXReleae',wa_ftab-comp_type under 'Comp_type',
wa_ftab-patch under 'PATCH',wa_ftab-short_text under 'TEXT',wa_ftab-patch_type under 'Descr'.
skip.
endloop.
the data of the field EXRELEAE is not coming.
can some check the code n tell me the problem.
points will be given
‎2008 Jun 11 12:52 PM
HI,
change your definition to
Data : begin of fintab occurs 0,
component type cvers-component,
EXTRELEASE type cvers-EXTRELEASE,
release type cvers-release,
COMP_TYPE type cvers-COMP_TYPE,
patch type pat03-PATCH,
SHORT_TEXT type pat03-SHORT_TEXT,
PATCH_TYPE type pat03-PATCH_TYPE,
end of fintab.
Reward points if helpfull.
Nicole
‎2008 Jun 11 12:52 PM
HI,
change your definition to
Data : begin of fintab occurs 0,
component type cvers-component,
EXTRELEASE type cvers-EXTRELEASE,
release type cvers-release,
COMP_TYPE type cvers-COMP_TYPE,
patch type pat03-PATCH,
SHORT_TEXT type pat03-SHORT_TEXT,
PATCH_TYPE type pat03-PATCH_TYPE,
end of fintab.
Reward points if helpfull.
Nicole
‎2008 Jun 11 12:57 PM
‎2008 Jun 11 12:56 PM
Hi Sunil,
Check in the DB Table if the Data exists for the condition mentioned by you in the select query, Since all the other data is getting displayed check if there is data in the field in the DB Table.
Regards,
Sai