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: 

How Can i make standard program field mandatory and add search help functionality

former_member435556
Participant
0 Kudos

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

1 ACCEPTED SOLUTION

JuanCarlosDelga
Contributor
0 Kudos

Hi Amir,

You can make a field mandatory creating a transaction variant (TCode: SHD0).

Regards.

JCD

7 REPLIES 7

JuanCarlosDelga
Contributor
0 Kudos

Hi Amir,

You can make a field mandatory creating a transaction variant (TCode: SHD0).

Regards.

JCD

0 Kudos

can you please guide me more in this regard,

0 Kudos

Hi, Amir!

It's a very popular topic, please, try to search through the community or just google for it. You'll get links like this or this or this.

0 Kudos

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

0 Kudos

Just hit the green OK button on the screen. You'll get next fields including DocHeader text.

0 Kudos

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?

0 Kudos

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.