on 09-23-2016 4:29 PM
Dear Guru's
I am having 1 requirement with below issue.
1. Our client given requirement for costcenter in PM order and Settlement receiver should be same at the time of saving once PM Order Released.
for this we have done with the help of ABAPer, but it was not working.
Please suggest with you valuable solutions.
ABAPer coding is:
SELECT SINGLE objnr kostl
FROM cobrb INTO wa_cobrb
WHERE objnr=caufvd_imp-objnr
and kostl=caufvd_imp-kostl.
IF sy-subrc <> 0.
MESSAGE 'Settlement Receiver & Costcenter is not correct' type 'E'.
END IF.
Regards
Raju K
Raju K
That is probably because the code is reading the database values (COBRB) and not the memory values in the currenlty open order.
There are a suite of function modules that may help starting with K_SETTLEMENT*
Try these. Otherwise I will check next week when I'm back in the office.
PeteA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raju,
try to create project with the user exit IWO10010.
you can imlemante your code at the 'save' event: % if EVENT <> 1%
combining between customising and developpement could solve your pb.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.