Check out the part two of modify syntax for more convenience of understanding.
Variant 2
MODIFY LINE n OF CURRENT PAGE.
Additions
1. ... FIELD VALUE f1 FROM g1 ... fn FROM gn
2. ... LINE FORMAT fmt1 .. fmtn
3. ... FIELD FORMAT f1 fmt11 ... fmt1m ... fn fmtn1 ... fmtnm
Effect
Changes the n th line on the current page (stored in the system field SY-CPAGE ).
Addition 1
... FIELD VALUE f1 FROM g1 ... fn FROM gn
Addition 2
... LINE FORMAT fmt1 .. fmtn
Addition 3
... FIELD FORMAT f1 fmt11 ... fmt1m
... fn fmtn1 ... fmtnm
Effect
See MODIFY LINE
Variant 3
MODIFY LINE n OF PAGE m.
Additions
1. ... FIELD VALUE f1 FROM g1 ... fn FROM gn
2. ... LINE FORMAT fmt1 ... fmtn
3. ... FIELD FORMAT f1 fmt11 ... fmt1m ... fn fmtn1 ... fmtnm
Effect
Changes the n th line on page m .
Addition 1
... FIELD VALUE f1 FROM g1 ... fn FROM gn
Addition 2
... LINE FORMAT fmt1 ... fmtn
Addition 3
... FIELD FORMAT f1 fmt11 ... fmt1m
... fn fmtn1 ... fmtnm
Variant 4
MODIFY CURRENT LINE.
Additions
1. ... FIELD VALUE f1 FROM g1 ... fn FROM gn
2. ... LINE FORMAT fmt1 ... fmtn
3. ... FIELD FORMAT f1 fmt11 ... fmt1m ... fn fmtn1 ... fmtnm
Effect
Changes the last line read even across line levels. This variant is especially useful if the line to be modified has been read immediately before through line selection or using READ LINE . You then need to note the number of the line until the MODIFY .
Addition 1
... FIELD VALUE f1 FROM g1 ... fn FROM gn
Addition 2
... LINE FORMAT fmt1 ... fmtn
Addition 3
... FIELD FORMAT f1 fmt11 ... fmt1m
... fn fmtn1 ... fmtnm[98.5]
Syntax for modify data in internal table
Variant 2
MODIFY LINE n OF CURRENT PAGE.
Additions
1. ... FIELD VALUE f1 FROM g1 ... fn FROM gn
2. ... LINE FORMAT fmt1 .. fmtn
3. ... FIELD FORMAT f1 fmt11 ... fmt1m ... fn fmtn1 ... fmtnm
Effect
Changes the n th line on the current page (stored in the system field SY-CPAGE ).
Addition 1
... FIELD VALUE f1 FROM g1 ... fn FROM gn
Addition 2
... LINE FORMAT fmt1 .. fmtn
Addition 3
... FIELD FORMAT f1 fmt11 ... fmt1m
... fn fmtn1 ... fmtnm
Effect
See MODIFY LINE
Variant 3
MODIFY LINE n OF PAGE m.
Additions
1. ... FIELD VALUE f1 FROM g1 ... fn FROM gn
2. ... LINE FORMAT fmt1 ... fmtn
3. ... FIELD FORMAT f1 fmt11 ... fmt1m ... fn fmtn1 ... fmtnm
Effect
Changes the n th line on page m .
Addition 1
... FIELD VALUE f1 FROM g1 ... fn FROM gn
Addition 2
... LINE FORMAT fmt1 ... fmtn
Addition 3
... FIELD FORMAT f1 fmt11 ... fmt1m
... fn fmtn1 ... fmtnm
Variant 4
MODIFY CURRENT LINE.
Additions
1. ... FIELD VALUE f1 FROM g1 ... fn FROM gn
2. ... LINE FORMAT fmt1 ... fmtn
3. ... FIELD FORMAT f1 fmt11 ... fmt1m ... fn fmtn1 ... fmtnm
Effect
Changes the last line read even across line levels. This variant is especially useful if the line to be modified has been read immediately before through line selection or using READ LINE . You then need to note the number of the line until the MODIFY .
Addition 1
... FIELD VALUE f1 FROM g1 ... fn FROM gn
Addition 2
... LINE FORMAT fmt1 ... fmtn
Addition 3
... FIELD FORMAT f1 fmt11 ... fmt1m
... fn fmtn1 ... fmtnm[98.5]
SAP BW TOPICS
Activating business content in SAP part three
Syntax for modify data in internal table
ABAP TOPIC WISE COMPLETE COURSE
BDC OOPS ABAP ALE IDOC'S BADI BAPI Syntax Check
Interview Questions ALV Reports with sample code ABAP complete course
ABAP Dictionary SAP Scripts Script Controls Smart Forms
Work Flow Work Flow MM Work Flow SD Communication Interface
No comments:
Post a Comment