x
Menu

SAP ABAP

Other, , Prof. Pete Moxon

Updated On 02 Feb, 19

Overview

Includes

Lecture 17: Character Strings - Declaring C and N fields

4.1 ( 11 )


Lecture Details

SAP ABAP Training - Character Strings - Declaring C and N fields

SAP Training - BEGINNERS GUIDE TO LEARNING SAP ABAP - Declaring C and N Fields

This video will discuss character strings.

When creating programs, fields defined as character strings are almost always used. In SAP, there are two elementary data types used for character strings. These are data type C, and data type N.

Data type C.

Data type C variables are used for holding alphanumeric characters, with a minimum of 1 character and a maximum of 65,535 characters. By default, these are aligned to the left.
Begin this chapter by creating a new program. From the ABAP Editors initial screen, create a new program, named "Z_Character_Strings". Title this "Character Strings Examples", set the Type to Executable program, the Status to Test program, the Application to Basis, and Save.

Create a new DATA field, name this "mychar" and, without any spaces following this, give a number for the length of the field in parentheses. Then, include a space and define the TYPE as c .....


Videos in the series
Learn SAP ABAP - Video Playlist - httpwww.youtube.complaylist?list=PLyH9U1E43FYqVqAb0wUSpHlP0c3sq6Vwo

Websites and Profiles
SAP Training Courses httpwww.saptraininghq.com
SAP Academy Courses httpacademy.saptraininghq.com
SAP Training on Twitter httpstwitter.competermoxon
SAP Training on Google + httpsplus.google.comu0+PeteMoxon
STHQ on Linked-In httpuk.linkedin.cominpetermoxon
STHQ on YouTube httpwww.youtube.comuserpcmoxon

More SAP Resources
SAP site httpwww.sap.com
SAP community netwrok httpscn.sap.com
About SAP httpen.wikipedia.orgwikiSAP_AG
About ABAP httpen.wikipedia.orgwikiABAP

Various YouTube channels on SAP
SAP InnoJam httpswww.youtube.comchannelUCbkywtePppACE646Kw8wSUg
SAP on YouTube httpswww.youtube.comchannelUCVnIv2xF2wyMMCSKv1qF3pA
SAP TV on YouTube httpswww.youtube.comchannelUCy4kQ_03bhe5PQZVJvCkTKA
SAP SCN on YouTube httpswww.youtube.comchannelUC3We5qK8jkxH8yBc0SugKEQ

Ratings

0


0 Ratings
55%
30%
10%
3%
2%
Comments
comment person image

Sam

Excellent course helped me understand topic that i couldn't while attendinfg my college.

Reply
comment person image

Dembe

Great course. Thank you very much.

Reply
Send