09-09-2014 10:19 AM
Hello guys,
I have a requirement in which I have to modify a field header text doc "BKTXT" field to make mandatory field in tcode: fv50 and add search help function by making a customize ztable so it can fetch data from customize table, As I have just started abap development and have worked on various customize program and it might not be an issue if it would have been a customized program , now this time I have a requirement on sap standard program I searched out google but couldn't find a satisfactory answer, please guide me in this whether I should go for field exit or any other technique that can work on it
THANKS IN ADVANCE
09-09-2014 10:27 AM
Hi Amir,
You can make a field mandatory creating a transaction variant (TCode: SHD0).
Regards.
JCD
09-09-2014 10:27 AM
Hi Amir,
You can make a field mandatory creating a transaction variant (TCode: SHD0).
Regards.
JCD
09-09-2014 10:33 AM
09-09-2014 10:56 AM
09-09-2014 12:23 PM
I tried your approach but I couln't find the required filed in the transaction variant please see
below
I want to change Doc.header text field in screen to make mandatory or required field but this field is not showing in transaction screen above, please help
09-09-2014 12:39 PM
Just hit the green OK button on the screen. You'll get next fields including DocHeader text.
09-09-2014 1:00 PM
Thank you sir for your help, one last thing, i have made a transaction variant ZFV50, these changes are made in t.code zfv50 , but my requirement is that i want to reflect these changes in actual FV50 tcode,,
is it posible?
09-09-2014 1:33 PM
I looked the code for FV50 and in subscreen 1010 there is a standard check for mandatory fields (including 'ACGL_HEAD-BKTXT'): include MF05AFMENJ, form manadatory_fields. It is customised in T003 table for all document types. In case some document type has t003-xmtxt flag set, then it'll be required that the user fills document header text.
BUT: I am not specialised in FI so it is necessary to find out what other consequences such customisation may have. For example, as I just found, one of the places using this check requires filling document header text in MIRO (Logistics). It's better to get a consult from FI and, maybe, LO specialists.
That's what I can suggest from standard.