Hi,
My requirement is to add an additional tab at Item Level and a field in that tab. I used the MM06E005 and implemented it. I can see the tab and the field in it at Item level.But when iam making changes in ME22N,the change is not getting Saved.
i created a field ZZVEND type char in CI_EKPODB .
Created the check box with same field name in Screen Exit 0111 of MM06E005.
Then i kept the coding in following exits
EXIT_SAPMM06E_016
break-point.
EXIT_SAPMM06E_017
break-point.
EXIT_SAPMM06E_018
break-point.
IF I_UCOMM = 'MESAVE' .
E_CI_UPDATE = 'X'.
E_CI_EKPO-ZZVEND = EKPO_CI-ZZVEND.
ENDIF.
While running ME22N,its first going into EXIT_SAPMM06E_016 and after checking the ZZVEND i in ME22N ts going to EXIT_SAPMM06E_017.
But i dont see
I_EKPO-ZZVEND = 'X' in Importing Parameters or TEKPO-ZZVEND = 'X' in Tables of EXIT_SAPMM06E_017.
After this its entering into
EXIT_SAPMM06E_018.
Finally the data is not getting Saved but the message is showing 'Purchase Order changed'.
Please suggest where I am going wrong.
Regards
K Srinivas