2010 Jun 09 12:25 PM
hi guys , im trying to modify a standard class of HR ,i ve already made sone changes , however , im not achiving to do last change , im trying to modify a structure (type begin - end of) adding other fields , but is almost impossible i try with enhancement but i get the error : Comma without preceding colon (after ENTID ?).
is it any other way ?
types:
BEGIN OF GTY_S_COMPANY,
nif TYPE ppt_finum,
sales TYPE p LENGTH 15 DECIMALS 2,
forei TYPE ppt_fdata,
privt TYPE ppt_fdata,
publi TYPE ppt_fdata,
share TYPE p LENGTH 15 DECIMALS 2,
eascd TYPE ppt_fdata,
amort TYPE pc207-betrg,
filos TYPE pc207-betrg,
pscst TYPE pc207-betrg,
inctx TYPE pc207-betrg,
provi TYPE pc207-betrg,
netrs TYPE ppt_fdata,
bradv TYPE pc207-betrg,
socac TYPE ppt_fdata,
mactc TYPE ppt_fdata,
lnacd TYPE ppt_fdata,
""""""*""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(1 ) Class CL_HR_PT_UNIQUE_RP, Typ GTY_S_COMPANY, End S
*$*$-Start: (1 )--------------------------------------------------------------------------------$*$*
ENHANCEMENT 1 ZIMPLEMENT1. "inactive version
entid TYPE ppt_fdata,
ENDENHANCEMENT.
*$*$-End: (1 )--------------------------------------------------------------------------------$*$*
END OF GTY_S_COMPANY .the class is CL_HR_PT_UNIQUE_RP.
hi guys , im trying to modify a standard class of HR ,i ve already made sone changes , however , im not achiving to do last change , im trying to modify a structure (type begin - end of) adding other fields , but is almost impossible i try with enhancement but i get the error : Comma without preceding colon (after ENTID ?).
is it any other way ?
types:
BEGIN OF GTY_S_COMPANY,
nif TYPE ppt_finum,
sales TYPE p LENGTH 15 DECIMALS 2,
forei TYPE ppt_fdata,
privt TYPE ppt_fdata,
publi TYPE ppt_fdata,
share TYPE p LENGTH 15 DECIMALS 2,
eascd TYPE ppt_fdata,
amort TYPE pc207-betrg,
filos TYPE pc207-betrg,
pscst TYPE pc207-betrg,
inctx TYPE pc207-betrg,
provi TYPE pc207-betrg,
netrs TYPE ppt_fdata,
bradv TYPE pc207-betrg,
socac TYPE ppt_fdata,
mactc TYPE ppt_fdata,
lnacd TYPE ppt_fdata,
""""""*""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(1 ) Class CL_HR_PT_UNIQUE_RP, Typ GTY_S_COMPANY, End S
*$*$-Start: (1 )--------------------------------------------------------------------------------$*$*
ENHANCEMENT 1 ZIMPLEMENT1. "inactive version
entid TYPE ppt_fdata,
ENDENHANCEMENT.
*$*$-End: (1 )--------------------------------------------------------------------------------$*$*
END OF GTY_S_COMPANY .the class is CL_HR_PT_UNIQUE_RP.
2010 Jun 17 10:59 PM
Hi
Actually , it is not possible to create a new enhance point in the middle of statments.
Regarding code above, you must create this enhancement point at the end or at the beginnig of the TYPE statement.
Kind regards
2010 Jun 17 11:24 PM
Thanks Oscar for your repky , however I need the extra field in the structure GTY_S_COMPANY, How could i achieve that ? . stay cool
2010 Dec 27 4:12 PM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |