Skip to Content
0
Former Member
Jul 30, 2012 at 11:02 AM

Child Items should in Non Editable mode in sales order.

188 Views

Hi Friends,

I have a requirement like I need to make Non Editable mode for child Items for a Parent Item while creating a Sales Order thru VA01 Tcode. Here the Parent Item is BOM.So Child Items should not be changed. This is my Req.

I found a Enhancement Spot and wrote the code as below.

LOOP AT XVBAP.

if VBAK-AUART = 'ZL39' and VBAP-UEPOS ne '000000'.

LOOP AT SCREEN.

* IF XVBAP-UEPOS NE '000000'.

IF SCREEN-NAME = 'RV45A-KWMENG' or

SCREEN-NAME = 'RV45A-MABNR' or

SCREEN-NAME = 'VBAP-ARKTX' or

SCREEN-NAME = 'VBAP-VRKME' or

SCREEN-NAME = 'VBAP-PSTYV' or

SCREEN-NAME = 'VBAP-WERKS'.

SCREEN-INPUT = 0.

MODIFY SCREEN.

* ENDIF.

ENDIF.

ENDLOOP.

endif.

ENDLOOP.

But after writing the code My requirement is working correctly. But the problem is while doing Delivery thru VL01N, the Parent item is not coming..Only Child items are coming.. Can someone please help on this.

Thank you.

Kotesh