on 2020 Jan 20 12:28 PM
Hi Everyone.
I brought a custom Date field in Sales Order Creation(VA01), Edit(VA02) & Display(VA03) by appending Zstructure to VBEP table. and successfully data entry is done through VA01.
But I want to Make it Gray-out in VA02 if i get a value in z custom field in schedule line. (it should not be editable in VA02).
1). I tried in include : MV45AFZZ by sending screen-input = 0.
2). Even I tried giving screen-input = 0 in Table Control : TCTRL_PEIN in Screen Number 4500 in (MODULE:FELDAUSWAHL) in main program SAPMV45A .
Please Help me How to find out the solution to gray-out a zcustom field in schedule line in VA02.
.
Request clarification before answering.
Yes I got it.
in MV45AFZZ - USEREXIT_FIELD_MODIFICATION, i added code like this...
IF XVBEP-etenr is not INITIAL and
XVBEP-zzrevised_date is NOT INITIAL and
screen-name = 'VBEP-ZZREVISED_DATE' and
( SY-TCODE EQ 'VA02' OR SY-TCODE EQ 'VA32') .
IF XVBEP-zzrevised_date is NOT INITIAL.
if screen-name = 'VBEP-ZZREVISED_DATE'.
screen-input = 0.
modify screen.
endif.
endif .
ENDIF.
And.... in SAPMV45A - screen number 4500 - Layout, maintain your group2 as "L00" than its done.
thanks for All experts.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes z001603 Those fields I appended to Standard VBEP table.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
120 | |
10 | |
8 | |
5 | |
4 | |
4 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.