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,652

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

somewhere in the middle of the XK02 code sy-ucomm is becoming as UPDA.

After changing radio button and if I didn't give the date the system is not allowing to save. if I give the date value and chose another button and then press enter that time system is allowing to save the transaction

44 REPLIES 44
Read only

0 Likes
2,395

which exit are you using?

Read only

0 Likes
2,395

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,395

which method in these badi?

Read only

0 Likes
2,395

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,395

Hi All,

This is resolved. Problem was with Function code.

Thanks and Regards,

Muralikrishna Peravali