2015 Sep 04 10:42 AM
Hello Guru,
I have created a badi and function group for XK01 to add a custom screen. I have added 2 date fields and they are mandatory when user chose a radio button. So, I am validating this using PAI. Everything is working fine upto here.
When I try to save XK01/XK02 with out entering the second date then system throwing custom error message, after error message when I enter the date and then save that time also system generating error message, system is not allowing me to save. I have checked in debug mode as field is not populating after entering the date. How to handle this?
Please light me on this.
Thanks and Regards,
Muralikrishna Peravali
Hello All,
I have resolved by using ok_code value. previously I checked only for SAVE option now I have added ok code for enter also, now it is working fine.
However, before pressing an enter if I didn't give date and save the transaction then system throwing an error which is correct. After entering the date and press enter then it is directly saving the transaction, system is not allowing to enter other inputs (table control).
How to stop the transaction and allow to user to enter the data?
Thanks and Regards,
Muralikrishna Peravali.
2015 Sep 08 9:23 AM
2015 Sep 08 11:43 AM
Tee Gee,
Apologies for the delay response, am not using exit, am using badi vendor_add_data and vendor_add_data_cs.
2015 Sep 08 12:35 PM
2015 Sep 08 2:57 PM
Tee Gee,
From BADI am doing only save operations. For screen, I have created function group and created the screens under the function group and doing the screen validations and screen inputs after that exporting all values to badi and saving.
Thanks and Regards,
Muralikrishna Peravali.
2015 Sep 17 11:35 AM
Hi All,
This is resolved. Problem was with Function code.
Thanks and Regards,
Muralikrishna Peravali
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |