sobiratul
20th November 2017, 09:46
Hi,

I want to customize report from session tfgld1101m100 and table tfgld101.
I also required data from session tfcmg2100s000 and the table tfcmg204.

How to get / retrieve the data?

Herewith I attached the session.

Thanks,
Sobiratul

bhushanchanda
21st November 2017, 08:11
Hi,

You can join tfgld101 and tfcmg204 based on the Year, Batch and Transaction Type to get the report output.

sobiratul
22nd November 2017, 02:24
Can you give example of code / coding how to join these tables?

Thanks,
sobiratul

bhushanchanda
22nd November 2017, 11:23
Here you go -

select tfcmg204.*,tfgld101
from tfcmg204,tfgld101
where tfcmg204._index1 refers to tfgld101
selectdo
|*Write your print statements here...
endselect