02-11-2015 12:32 PM
Hello Experts,
my requirment is
as shown in pics
my question is there any exit or badi to achive this functionality
please help me.....
Tanks in advance.
02-12-2015 4:58 AM
Hi Avinash,
To grey out the field, You can write code at form modify_fields in include LCONWF0H using implicit enhancement.
To validate Amount field. I couldn't find any suitable enhancement option.
But you can add the validation at PAI of screen 1550 in function group CONW by getting access key.
Regards
Sreekanth
02-12-2015 4:13 AM
Hi Avinash,
please go thru below link. Hope it could help you..
scn.sap.com/thread/1450337
02-12-2015 4:58 AM
Hi Avinash,
To grey out the field, You can write code at form modify_fields in include LCONWF0H using implicit enhancement.
To validate Amount field. I couldn't find any suitable enhancement option.
But you can add the validation at PAI of screen 1550 in function group CONW by getting access key.
Regards
Sreekanth
02-12-2015 7:08 AM
Hi
Sreekanth Pavoor
as u mention in your post name of include LCONWFOH it is not present in CJ20N txn.
for cj20n txn function group is CNPB_H.
so whats the use of modify another include and Function group.
please let me know ?
02-12-2015 6:10 AM
Thanks
Sujeet and Sreekanth.
i'll check for possibilities.......
02-12-2015 7:07 AM
Hi
Sreekanth Pavoor
as u mention in your post name of include LCONWFOH it is not present in CJ20N txn.
for cj20n txn function group is CNPB_H.
so whats the use of modify another include and Function group.
please let me know ?
02-12-2015 8:13 AM
1.Press f1 on any field of screen costs
2.Press F9
u will get the screen number(In Screen data). Double click on it.
3.In PBO double click on module MODIFY_FIELDS_FOR_FLEX_DET
4.here u can find a form routine modify_fields which is in include LCONWF0H.
Still if u r confused, put a break point and run.
Regards
Sreekanth
02-12-2015 10:56 AM
Hi sreekanth.
in include LCONWFH0H when i'm trying to impliment implicit enhancement it will ask me access key....
is there any way to achive this requierment.
02-12-2015 11:03 AM
Must create a new implementation using create new button.
Choose the newly created implementation name.
02-12-2015 11:35 AM
Hi sreekanth,
enhancement point created but its not working.
could you please provide me example to greyout any field from cj20n txn,
lets take field network number for gryout with any condition.
let me show how it will work with screen shot.
regards,
Avinash.
02-13-2015 5:59 AM
Hi,
Here is the code to grey out field Amount.
Insert this code in implementation.
loop at screen.
if screen-name = 'AFVGD-PRKST'.
screen-input = 0.
modify screen.
exit.
endif.
endloop.
Regards
Sreekanth
02-13-2015 6:13 AM
Hi sreekanth,
thanks for reply but i dont want to greyout amount field. i want to gry out network number whos ending with 13(xxxxxx13).
for amount field.
Error message in project builder for changes in Amount field, if Network ending xxx13
and user is not Finance controller.
to gry out network no where i can put the logic.... and what about amount field
please help me.
02-13-2015 7:06 AM
I couldn't find network number field.
In which screen? Or simply u can find it by press F1 on field and then F9.
Then change AFVGD-PRKST with its screen field name.
02-13-2015 11:14 AM
Thanks sreekanth,
as u suggest logic it works.........
thanks once again.....