cancel
Showing results for 
Search instead for 
Did you mean: 

Convert New syntax to old one - CONV

former_member625937
Participant
0 Kudos

Hi Team,

I have a below syntax in s4 system and i want to know how to convert to old one(ECC).

Tried the below option for reference .

New-

READ TABLE li_arch_session INTO lwa_arch_session WITH KEY handle = CONV #( i_protocol_handle ).

where,

types are ...handle - INT4, i_protocal_handle-SYSUUID_22

Can i know , how to achieve the same.

Regards,

Karthik S

matt
Active Contributor
0 Kudos

If you understood what CONV does, you'd have been able to figure this out for yourself.

Accepted Solutions (0)

Answers (1)

Answers (1)

Sandra_Rossi
Active Contributor
READ TABLE li_arch_session INTO lwa_arch_session WITH KEY handle = CONV #( i_protocol_handle ).

is equivalent to:

DATA temp_handle LIKE lwa_arch_session-handle.
temp_handle = i_protocol_handle.
READ TABLE li_arch_session INTO lwa_arch_session WITH KEY handle = temp_handle.