In one z report I defined a field groups as
FIELD-GROUPS:
header, "Contains KEY information
accrdata. "Contains Item information
INSERT :
pcfno "Promotions Number
mvgr5 " Product Hierarchy
matkl " Material Group
matgr_desc " Material Group Description
linno "PCF Line Item Indicator
ctype "PCF Cost Type
pperd "PCF Period
nperd "Next Period Indicator
repgp "PCF Reporting Group
repgpdescr "Reporting Description
mvgr5 "DLS03 Product hierarchy
respi INTO header. "PCF Responsibility Indicator
INSERT:
percn "PCF Percentage of Funds
rtcur "Currency Key
nbamnt "PCF Met Bomus Stock Amount
damnt "PCF Discount Amount
prram "PCF PRR Amount
actual "Actual PCF Amount
famnt "PCF Forecast Amount
accrual "PCF Accrual Amount
vkorg "PCF Sales Organisation
vtweg "PCF Distribution Channel
spart "PCF Division
pcfdescr "PCF Description
cctdescr INTO accrdata. "PCF Cost Type Description
And inserted like above but while checking the code from SLIN
it is giving error ..
The error is the
Syntax check warning
INSERT :
PCFNO "Promotions Number
MVGR5 " Product Hierarchy
MATKL " Material Group
MATGR_DESC " Material Group Description
LINNO "PCF Line Item Indicator
CTYPE "PCF Cost Type
PPERD "PCF Period
NPERD "Next Period Indicator
REPGP "PCF Reporting Group
REPGPDESCR "Reporting Description
MVGR5 "DLS03 Product hierarchy
RESPI INTO HEADER. "PCF Responsibility Indicator
Messages:
Statement is not accessible.
Can somebody guide me to resolve this error.
I had used this code form one existing program but with some change.
Regards,
Sanjeev