12-03-2007 1:04 PM
Hi experts,
We are developing the user exit COOMKS02, EXIT_SAPLKMA1_003, ZXKM1U03.
We have written some check while saving the cost center. The error message is displayed correctly.
But after the checks are satisfied the object is locked and we are not able to save the cost center.
The error displayed is<b> object number was already assign</b>
Can u suggest how we should go about to eliminate this error ??
Regards,
Vivek K
12-03-2007 1:39 PM
Hi all,
The error is due to function module <b>TBO00_GET</b>.
The variable <b>st_tbo00</b> is declared as statics.
And this is assigned when the program runs for the first time. This needs to cleared.
The field st_tbo00 is made to available in the user exit or the field has to cleared when the message while saving is displayed.
Will lock object concept work in this issue ?
How can we do this ??
Regards,
Vivek K
Message was edited by:
Vivek Krishnan K
12-07-2007 2:45 PM
Hi all,
The error can be solved by using the code:
Message Wabc like type 'E' with int_tabl-varia.
raise error.
This raise error is the exception for the function module.
Message was edited by:
Vivek Krishnan K
11-04-2008 6:59 PM
Hi Vivek,
Can you please elaborate how you went about resolve this issue?
I'm running into a same problem as you had.
Thanks,
Ron
09-25-2015 12:47 AM
Someone has the answer? I have the same problem even with the solution of the message and the raise exception.
Thanks.
10-02-2015 7:10 PM
01-05-2016 1:10 PM
Hello,
I have the same problem, I raised the exception in the user-exit but there is a structure CI of customer fields with a tabstrip that is automatically shown, ¿how can I avoid it?
Thank you a lot!
01-05-2016 4:19 PM
Hi Virginia.
If you want to add a customer field, you need to follow the next SAP notes: 141707, 379596, 206306
Also, you can find more information in the Function Module's Help.
Regards.