‎2007 Apr 12 5:33 AM
Hi,
Iam working variant configuration.My requirement is update description of line item.For that requirement i write the logic like
(1)By using this function module 'CUOV_GET_FUNCTION_ARGUMENT' get the
length in feet.
(2)By using this function module 'CUOV_GET_FUNCTION_ARGUMENT' get the
length in inches.
(3)CONCATENATE WS_C_LENGTH_FT WS_C_LENGTH_IN into WS_C_ARKTX.
(4) By using this function module 'CUOV_SET_FUNCTION_ARGUMENT' to set the result of value of sales order line item description.
(5)using this enhamcement V45S0001 write the logic in the include ZXVVAU10
i write the logic to concatenates the material description with the characterstic values of the material
Select single maktx into e_ vbap-arktx from makt where matnr = i_vbap-matnr.
Concatenate e_vbap-arktx *** I_VCSD_UPDATE_NEW- SDTEXT1 into e_vbap-arktx.
(6)This logic will update the concatenate description in the VCSD_UPDATE structure.
(7)So what my problem is To This check should be if the material is a Make to(MTO) Order (Check VBAP-PSTYV =TAC),or if it is a child of a parent set through the Variant Configuration Approach we have to check if the material is a Variant if the VBAP-PSTYV = TAN then by checking the MARC- STDPD field if Null then do not Gray the ARKTX field, if it is not null then gray out the ARKTX field.
what logic i have written for gray out the ARKTX value for all MTO materials in the v45a0003 + EXIT_SAPMV45A_004.
Please Help me.It is very very urgernt.
Thanks & Regards,
sairam
‎2007 Apr 12 6:23 AM
If u r looking for a exit to disable the input of a screen field then u can use the exit <b>userexit_field_modification</b> in the include program <b>MV45AFZZ</b>.
‎2007 Apr 12 6:34 AM
HI rajesh,
i want the logic for graying out the ARKTX Field for all MTO materails.
Please give me logic.It is very urgernt?Please help me.
Thanks & Regards,
sariam
‎2007 Apr 12 6:36 AM
no need to use any user exits , check in SPRO for field layout settings.
Regards
Prabhu
‎2007 Apr 12 8:20 AM
Hi Sairam
check the sample code, before using this subroutine u must get the access key, take the help of ur Basis team for that.
FORM userexit_field_modification.
CHECK vbap-pstyv EQ 'ZTAE' OR " Sub-item Category for COMBO items
vbap-pstyv EQ 'ZRCI'. " Sub-item Category for Return Orders
IF screen-name = 'RV45A-MABNR' OR " Material
screen-name = 'RV45A-KWMENG' OR " Order quantity
screen-name = 'VBAP-VRKME' OR " Sales Unit
screen-name = 'VBEP-WMENG' OR " Order qty in Schedule Lines
screen-name = 'RV45A-KMPMG'. " Order quantity in "Structure" tab
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF. " IF screen-name = 'RV45A-...
ENDFORM. "USEREXIT_FIELD_MODIFICATION
‎2007 Apr 12 8:46 AM
Thanku rajesh.
i will assign points to u.
Thanks & Regards,
sairam