Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error message in Module pool.

former_member267445
Participant
0 Likes
7,704

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.

44 REPLIES 44
Read only

0 Likes
2,416

which exit are you using?

Read only

0 Likes
2,416

Tee Gee,

Apologies for the delay response, am not using exit, am using badi vendor_add_data and vendor_add_data_cs.

Read only

0 Likes
2,416

which method in these badi?

Read only

0 Likes
2,416

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.

Read only

former_member267445
Participant
0 Likes
2,416

Hi All,

This is resolved. Problem was with Function code.

Thanks and Regards,

Muralikrishna Peravali