on 06-03-2011 1:18 PM
Dear All Experts,
We have some requirements to add new field in purchase order. We have done some development on this, but it is not working. Below :-
- Added new field zzremark1 to CI_EKKODB include of table EKKO.
- We have implemented exit :- MM06E005 through CMOD.
- Added field to screen SAPMM06E/0101.
- Writen coding on EXIT_SAPMM06E_006/EXIT_SAPMM06E_007/EXIT_SAPMM06E_008.
Coding is as below:-
zxm06top
data: gl_aktyp type c,
gl_no_screen type c,
gl_rekko like ekko,
gl_ekko_ci like ekko_ci,
gl_ekpo_ci like ekpo_ci,
gl_ekpo like ekpo,
gl_ekko like ekko,
gl_ucomm like sy-ucomm.
types: begin of ekko_tab,
ebeln like ekko-ebeln,
ebelp LIKE ekpo-ebelp,
ekko like ekko,
end of ekko_tab.
data: gt_ref_ekko_tab type table of ekko_tab.
EXITSAPMM06E_006_
gl_aktyp = i_trtyp.
gl_no_screen = i_no_screen.
ekko_ci = i_ci_ekko.
gl_ekko = i_ekko.
EXITSAPMM06E_007_
move-corresponding i_ekko to gl_ekko_ci.
gl_ekko = i_ekko.
EXITSAPMM06E_008_
e_ci_ekko = gl_ekko_ci.
if gl_ekko_ci-zzremark1 ne ekko_ci-zzremark1.
e_ci_ekko-zzremark1 = ekko_ci-zzremark1.
if gl_aktyp ne 'A'.
e_ci_update = 'X'.
endif.
endif.
But i am unable to save records to EKKO table and also unable to fetch them.
Kindly help me on this topic.
Regards,
Shaligram
I suggest you ask that question in an ABAP forum.
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.