cancel
Showing results for 
Search instead for 
Did you mean: 

New Table-Selection in S/4 HANA versus old ECC Table-Selections in FI/CO

0 Kudos

Hello everyone

what would be the new statements/table-selections for these old examples in S/4 HANA?

SELECT * FROM cosp
INTO TABLE t_cosp
FOR ALL ENTRIES IN pt_kstar
WHERE lednr = '00'
AND objnr = pv_objnr
AND wrttp = '01'
AND versn = ps_evvs-versn_co
AND kstar = pt_kstar-table_line .

or

SELECT * FROM coss
INTO TABLE t_coss
FOR ALL ENTRIES IN pt_kstar
WHERE lednr = '00'
AND objnr = pv_objnr
AND wrttp = '01'
AND versn = ps_evvs-versn_co
AND kstar = pt_kstar-table_line.

I'm interested in your answers.

Best regards

Toni

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Thanks Raymond!

Answers (3)

Answers (3)

Former Member
0 Kudos

Sorry, info regarding SELECT * is in note 2185026...

Former Member
0 Kudos

Hi, in addition to Raymond I recommend to read info about programming in HANA, because statement "SELECT * FROM" is not very good for HANA

raymond_giuseppi
Active Contributor
0 Kudos

First you should Search and carefully Read notes like 2185026 - Compatibility views COSP, COSS, COEP, COVP: How do you optimize their use?

Regards,
Raymond