Application Development 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: 

Help reqd for coding to assign the field as mandatory.

Former Member
0 Kudos

HI all,

I got the user exit and also assigned the component as "EXIT_SAPLMRIM_002"..im now here to create a code under the include program of "ZM08U09"....for to make the amount field as mandatory(obligatory)..with some pop-up message...

how to do that....

Do u people have any experience on this...pls post ur comments on urgent basis.

thanks & regards

sankar.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

You can assign the field name and do as below :

If fieldname is initial.
message 'Please input some amount' Type 'E'.
endif.

Thanks,

Sriram Ponna.

11 REPLIES 11

Former Member
0 Kudos

Hi

Check if the field is INITIAL using IF statement and if so write a error MESSAGE.

Thanks

Vasudha

0 Kudos

Hi vasudha,

thanks...but actually,my problem is...i dont know the exact table....i've already prepared some coding but the table i've mentioned is not the correct one...

Do u know the table for Incoming invoices records (MIRO)

thanks & regards

sankar.

Former Member
0 Kudos

Hi,

You can assign the field name and do as below :

If fieldname is initial.
message 'Please input some amount' Type 'E'.
endif.

Thanks,

Sriram Ponna.

0 Kudos

Hi Sriram.P

thanks for ur prompt reply

...but actually,my problem is...i dont know the exact table for miro (invfp-wrbtr showing in the screen)....i've already prepared some coding but the table i've mentioned is not the correct one...

Do u know the table for Incoming invoices records (MIRO)

thanks & regards

sankar.

0 Kudos

Hi,

On the field where you want to make the field mandatory just press F1 under techncial details you will find the name of the program name screen and field name.

Then go to the User Exit Give details like fieldname etc in I condition.

Thanks,

Sriram Ponna.

0 Kudos

Hi,

On the field where you want to make the field mandatory just press F1 under techncial details you will find the name of the program name screen and field name.

Then go to the User Exit Give details like fieldname etc in I condition.

Thanks,

Sriram Ponna.

0 Kudos

Hi,

On the field where you want to make the field mandatory just press F1 under techncial details you will find the name of the program name screen and field name.

Then go to the User Exit Give details like fieldname etc in I condition.

Thanks,

Sriram Ponna.

Former Member
0 Kudos

Hi,

On the field where you want to make the field mandatory just press F1 under techncial details you will find the name of the program name screen and field name.

Then go to the User Exit Give details like fieldname etc in I condition.

Thanks,

Sriram Ponna.

0 Kudos

Hi Sriram.P

Im very sorry for the delayed reply.I already know that i've to go only by User Exit...

But I dont know the correct one to declare my coding under the include program.

If u get anything from ur level,pls post ur replies as soon.

thanks & regards

sankar.

Former Member
0 Kudos

done

Former Member
0 Kudos

done