CONV – Conversion Operator

Index

 

ABAP HANA 7.51: CONV – Conversion Operator

CONV operator converts the argument to specified data type. The parentheses of CONV operator has Just like VALUE operator, CONV operator also assumes two variants:

  1. Non-generic data types e.g. Custom types defined just before its usage
  2. Generic types and these are referred with the help of # character. Attributes and position of generic data type should always be fixed.

Sample Source Code: Variant 1

CONV_Var1_source

Output: Variant 1

CONV_Var1_output

Check the video for Illustration and Example:

Find the code on GitHub:

Go to Code

Index

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s