03-16-2006 7:56 PM
hello everyone,
i got a requirement to change a value for the field 'Commitment Update' for cost center.
Cost centers have been uploaded and this field has been marked 'X'.
I need to write a program which will re-run all these cost centers, but the 'Commitment Update' field will be space this time.
I am trying to use BAPI_COSTCENTER_CHANGEMULTIPLE, but it seems there is a problem. The return code is empty and no change is being done.
Can somebody provide me with some input on this issue?
Helpful answers will be very much appreciated and awarded.
Regards,
Fred.
03-16-2006 8:07 PM
03-16-2006 8:24 PM
Did you run BAPI_TRANSACTION_COMMIT after BAPI_COSTCENTER_CHANGEMULTIPLE?
Rob
03-16-2006 8:47 PM
yes i'm running the COMMIT. But even testing the BAPI indivdually in se37 does not make any difference. How do I activate the field?
In the documentation it says:
This module changes one or more of the cost center master records.
The module interface contains fields that you can also fill online. The appropriate field checks are performed.
<b>To initiate a field, only a period (".") must be transferred to the field interface. The appropriate field checks are performed.</b>
If you set the TESTRUN flag, only the checks are made. The subsequent posting is not carried out (check function).
Where do I put the "."?
03-17-2006 12:23 AM
03-17-2006 12:49 AM
Hi Fred,
Did you use this field
COSTCENTERLIST-LOCK_IND_COMMITMENT_UPDATE ?
Regards,
Suresh Datti
03-17-2006 12:57 AM
Hi Suresh,
While testing the BAPI, I am entering the new information i.e. all information is same except the field value for commitment update. I am not marking it as 'X' since my requirement is to change all entries for cost centers in which commitment update is marked 'X'.
Commitment Items should be 'space'.
can you also please let me know the process of committing work through se37. i just want to be sure if i am doing it right.
regards,
fred.
03-17-2006 12:59 AM
hi,
just wanted to inform that i'm open for suggestions. if there is any other way, please do let me know.
thanx in advance.
Regards,
Fred.
03-17-2006 1:34 AM
Hi fred,
You cannot COMMIT WORK from SE37. You will have to put the function call in a Program & then put an explicit COMMIT WORK after it.
Regards,
Suresh Datti
11-21-2008 7:33 AM
Hi Fred,
Did you solve this lock indicator update issue. I have same requirement now, I am facing same issue.
I cannot blank out the indicators with the CHANGE BAPI.
Can you throw some light if you have solved the probelm.
Thanks In Advance.
Regards,
Yaseen M