2013 Aug 12 11:45 AM
Hello,
I have added a required screen field.
This field is not on the initial tab.
When I go to the tab and leave the field blank, I receive an error ("Fill in all required entry fields").
Which is correct.
But when I don't go to the particular tab and process the document I don't receive the error.
Details:
trx MIRO
On tab Details: a new field (INVFO-XREF1_HD) has been added (Input = Required).
SAPLFDCB
screen 0150
Does somebody know how to receive the error when not going specifically to the tab of the screen field?
Thanks in advance,
Guido
Points will be rewarded!
Hello,
I have added a required screen field.
This field is not on the initial tab.
When I go to the tab and leave the field blank, I receive an error ("Fill in all required entry fields").
Which is correct.
But when I don't go to the particular tab and process the document I don't receive the error.
Details:
trx MIRO
On tab Details: a new field (INVFO-XREF1_HD) has been added (Input = Required).
SAPLFDCB
screen 0150
Does somebody know how to receive the error when not going specifically to the tab of the screen field?
Thanks in advance,
Guido
Points will be rewarded!
2013 Aug 12 12:08 PM
Hello Guido.
You have to write the business logic to check if that field is empty or not.
Regards.
2013 Aug 12 12:08 PM
It depends when you want to display the error. I'm not familiar with the program but if, for example, you wish to output the error when saving you will need to find a suitable exit or enhancement point and check the field value there.
2013 Aug 12 12:23 PM
Hello,
Its not like you have made one field as required, it will show error. you need to write some code or make some validation to check for the mandatory condition like
" demo Code..
if <Some_field> is initial.
" show error message
end if.
BR
Chandra.
2013 Aug 12 12:28 PM
Hi Guido:
I guess the problem is on your MIRO screen enhancement.First of all,use t-code:se51,input the program SAPLFDCB screen number 0150,find the describe of the screen.Second,check the screen is the SAP standard screen or customer screen.If it's SAP standard screen ,please check your IMG,if it's the customer screen,contact the abaper to fiix it.
Frank
2013 Aug 12 12:31 PM
Hi Guido,
Put an explicit check for the Field INVFO-XREF1_HD in the PAI of screen 0150 for sy-ucomm value = SAVE.
Regards,
Sonal
2013 Aug 12 12:40 PM
Thanks all for your input.
You (all) ask me to program extra code (in PAI or UE).
But if you define the field as required SAP should handle this by std.
And in fact it does give an error message. But I need to be in the correct screen.
Why does SAP at Save not check all fields in all tabs (screens)?
(I expected this to be std in SAP; like eg in ME21N/VA01 (create pur./sls order))
2013 Aug 12 3:26 PM
HI Guido:
As you said,some SAP programs have user-exit,special some comon t-code.My advice is find the user-exit of the save event in MIRO.Just like badi or Exit.Check the PO and IV are the same,inconsistent error.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |