on 11-22-2011 7:24 AM
Dear Experts,
To make text field as mandatory I done the text determination process for Consignment Fill Up (Doc. Type - ZPKB). I done the configuration in SPRO to make it mandatory to maintain in Consignment Fill Up - VA01. Now Client want to restrict the end user to make changes in Texts / Sales document Header Note So, In VA02 Screen the Text field box it has to come in Disable/ Inactive, System should not allow end user to change (in VA02) the maintained text in VA01. Pleas provide me Solution earliest.
Best Regards,
Srikith
Me not abaper. But I think it should work
Put a stop at line 291 of program: MV45AF0C_CUA_SETZEN
CALL FUNCTION 'SD_FIELD_INPUT_CHECK'
EXPORTING
tabname = 'KUAGV'
fieldname = 'KUNNR'
IMPORTING
display_status = da_subrc.
IF da_subrc NE 0 OR t180-trtyp = chara. <------ Debug and stop here.
cua_exclude-function = fcode_auftraggeber_anlegen.
APPEND cua_exclude.
ENDIF.
Using VA02, go to Header text and when in above line, change da_subrc = 0 and t180-trtyp = A
See if you can get all the text field in Display Mode.
If above works, do you coding properly here by check the screen name = VBEP-BNFPO for item text and VBKD-IHREZ_E for header text.
Please revert your results.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Alan,
Thanks for your reply. Seems it's very helpful but we not implemented. We restricted the end Users from not to change the Description in VA02. We not given access to end user id's. The below coding we used.
IF sy-tcode = 'VA02'.
IF vbak-auart = 'ZPKB'.
DATA: j_message(120).
IF sy-uname = 'xxxxxxx' OR sy-uname = 'xxxxxxxx' OR sy-uname = 'xxxxxxx' OR sy-uname = 'xxxxx''.
ELSE.
MOVE 'You Are Not Authorised To Make Changes In The Document' TO j_message.
MESSAGE j_message TYPE 'E'.
ENDIF.
ENDIF.
ENDIF.
Best Regards,
Srikith
Please try with Function Module READ_TEXT
G. Lakshmipathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You need to create a variant using transaction SHD0 for sales order creation and assign the transaction variant to sales order type using transaction VOV8.
Thanks,
Mihir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.