‎2013 Oct 23 4:13 PM
I created one implementaion for badi BOM_UPDATE for checking some bom conditions. since my implmentation is passing all the checks and i am not raising any error in my implementation but still i am not able to update the bom status which i suppose to update when bom pass all the required condition .I am performing checks in my badi for t-code CS02 and when user changes the status from 14 to 15 in CS02, then my badi imp. triggers and performs certain checks. But when i comment my implementation then i am able to change the status in cs02 from 14 to 15. I am not getting even when there is a success test case i do not raise any error in the program still it is not changing the status.
I have also seen when i comment my code and went through debugging then on CS02 screen it shows update debugging triggered, which is not happening when i un-comment the code in badi.
Please help...
Moderator message - Please continue with your previous thread -
Message was edited by: Suhas Saha
‎2013 Oct 23 5:09 PM
‎2013 Oct 23 4:53 PM
‎2013 Oct 24 10:08 AM
‎2013 Oct 23 5:09 PM
‎2013 Oct 24 10:18 AM
HI Madan, See I have a requirement when user try to change the bom status from 14-15 using CS02 t-code . Then the bom should satisfy some set of conditions in order to get changed from 14-15 status.So for that purpose i am using method CHANGE_AT_SAVE of badi BOM_UPADTE by creating an implimentation.
But i have a bom which is satisfying all the ideal conditions but BOM status is not getting updated.But when i comment my code and simply put a break-point in my method.In that case BOM is getting updated successfully. While doing some r&d, I noticed that When i comment my code and simply put a hard code breakpoint then on the Bom screen i am able to see 'update debuggig triggered' and when i again try to see the bom it again go back to standard t-code because of update debugging and then shows me the BOM screen with updated status. In short when i comment my code then it is updating the status 14-15 but when i un-comment then it does not. Hope it will make you understand the requirement.
‎2013 Oct 24 10:47 AM
Please check if their are any other implementation of the BADI which are activated.
‎2013 Oct 24 12:11 PM
‎2013 Oct 24 12:21 PM
‎2013 Oct 24 12:40 PM
I checked your other thread
What i believe is just comment this CSAP_MAT_BOM_READ is resetting the current BOM status as it may be clearing the buffer. Just comment this call of your FM and execute i believe it will work.
If this is the case then you will have to use some other FM or database table to fetch the data.