09-05-2013 6:52 AM
Hi Abapers,
To add custom fields to KOb1 and KOb2, where we need to add custom fields..i mean which CI_include.?
Is it Ci_rkpos or Ci_aufk???
as per sap note 325546, it is mentioned that need to add fields in ci_rkpos.??
thnaks
09-10-2013 12:28 PM
Enhancement : COOMEP01
KOB1 | Actual items | CI_RKPOS | EXIT_SAPLKAEP_001 |
KOBP | Plan items | CI_KAEP_COPL | EXIT_SAPLKAEP_002 |
KOB2 | Commitment items | CI_RKPOA | EXIT_SAPLKAEP_003 |
KOB4 | Budget items | CI_KAEP_BDG | EXIT_SAPLKAEP_004 |
NB: CI_AUFK is intended to extend CO order table, master data not transactional item data.
Regards,
Raymond
09-11-2013 11:35 AM
HI Raymond,
Thanks for your reply. to update KOB1, What i did is .. i added my custom fields in ci_aufk (Here i am not sure whether i need to add fields in ci_rkpos or ci_aufk?).
because as per the note sapnote 325546, it says add fields in ci_rkpos.
but when i m trying to fetch data i am writing code.
DATA: BEGIN OF ls_kob1,
zzabc LIKE aufk-zzabc
zzxyz LIKE aufk-zzxyz,
zzpqr LIKE aufk-zzpqr,
END OF ls_kob1.
SELECT SINGLE zzabc zzxyz zzpqr
FROM aufk INTO CORRESPONDING FIELDS OF ls_kob1
WHERE aufnr = cs_record-aufnr.
if sy-subrc = 0.
cs_record-zzabc = ls_kob1-zzabc .
cs_record-zzxyz = ls_kob1-zzxyz.
cs_record-zzpqr = ls_kob1-zzpqr.
endif.
as i have added fields to ci_aufk, this query is fine. BUt if i add fields to ci_rkpos, this query not working.
can you please suggest.
and in my case, exit0-01 is not triggering. may be some version issue or some configuration issue i believe?
plz suggest
thanks