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

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

ok, usually standard sap transactions save sy-ucomm in a variable, please dlso debug after you press enter button which variable xk02 is storing the sy-ucomm value..and add leave list processing after your error message

44 REPLIES 44
Read only

0 Likes
2,396

which exit are you using?

Read only

0 Likes
2,396

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

which method in these badi?

Read only

0 Likes
2,396

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

Hi All,

This is resolved. Problem was with Function code.

Thanks and Regards,

Muralikrishna Peravali