SAP Certification
SAP Download
SAP Companies India
SAP Books
SAP JOBS
SAP jobs in India
SAP ABAP jobs in India
SAP BASIS jobs in India
SAP BI jobs in India
SAP CRM jobs in India
SAP FICO jobs in India
SAP Fresher jobs in India
SAP HR jobs in India
SAP MM jobs in India
SAP PM jobs in India
SAP PP jobs in India
SAP SD jobs in India
SAP XI jobs in India
|
ADD-CORRESPONDING (ABAP Keyword) introduction & Details
Show Full Details
ADD-CORRESPONDING
Basic form ADD-CORRESPONDING rec1 TO
rec2.
Effect Interprets rec1 and rec2 as field strings. If, for
example, rec1 and rec2 are tables, executes the statement for their header
lines. Searches for all sub-fields which occur both in rec1 and rec2 and
then, for all relevant field pairs corresponding to the sub-fields ni ,
generates statements of the form
ADD rec1-ni TO rec2-ni. The other
fields remain unchanged.
With complex structures, the complete names of
the corresponding field pairs must be textually
identical.
Example
DATA: BEGIN OF VECTOR, X TYPE I, Y TYPE
I, LENGTH TYPE I, END OF VECTOR, BEGIN OF CIRCLE, VOLUME TYPE P Y
TYPE P, RADIUS TYPE I, X TYPE I, END OF
CIRCLE. ... ADD-CORRESPONDING VECTOR TO CIRCLE.
The sub-fields
X and Y occur in both the field strings VECTOR and CIRCLE . Therefore, the
ADD-CORRESPONDING statement is equivalent to both the following
statements:
ADD VECTOR-X TO CIRCLE-X. ADD VECTOR-Y TO
CIRCLE-Y.
Note All fields with the same name are added,
whether numeric or not. The same conversions are performed as with ADD and
similar runtime errors to those possible with ADD can also occur.
Show Most Readed SAP Tutorials
Most readed SAP Tutorials
Show Latest Added SAP Tutorials
Latest Added SAP documents
|
"Site covers most of the SAP technical and functional tutorials, articles, interview questions and PDF study materials . List and details of SAP transaction codes ( tcodes ), Tables, report names, Bapi, ABAP programming syntax and keywords are also available in the site.
Information on SAP Certification and training, latest SAP jobs in India, ABAP interview questions are useful for SAP professionals seeking for a career in SAP as a fresher or experienced.ABAP tutorial downloads on BDC, LSMW, BAPI, ALE, IDOC, Smartforms, Sapscripts etc etc are also added.Now you can read from this page about ADD-CORRESPONDING (ABAP Keyword)" |