Hi there,
I'm facing a little problem here. I'm using the following BADIs:
- CUSTOMER_ADD_DATA;
- CUSTOMER_ADD_DATA_CS.
I am using this BADIs for transactions XD01 and XD02 because I want to save an additional field on table KNB1. I have already created my APPEND structure on the table, the subscreen and the corresponding field so that it can appear on the screen when I execute transaction XD02.
It is working fine, but the problem is that the additional field that I have created is not obligatory and it is not required for the user to execute my subscreen. On my screen I have implemented a PBO method and I can validate the field and give it a default value in case it is CLEAR. This works fine if the user is on my screen and clicks on 'SAVE' pushbutton.
The problem is that when the user is not on my screen and click on 'SAVE' pushbutton, the PBO method that I have created is not executed.
How can I check the value of my field and give it a default value in case the user is not on my screen?
Thanks in advance.