cancel
Showing results for 
Search instead for 
Did you mean: 

Restriction of Field Change in VL02N change(After PGI)

Former Member
0 Kudos

Hi Gurus

In outbound delivery we are using the following fields:-

1. Means of Tr id:- LIKP-TRATY

2. Means of Tr. Type:- LIKP-TRAID

3. Shipping Conditions:- LIKP-VSART

4. Special Procedure Indicator:- LIKP-SDABW

The same fields are being used in pricing conditions.

However, even after PGI is done the fields can be amended in delivery using VL02N. The system does not turns the fields grey even after PGI and fields are still amendable.

How to restrict the change.

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

alpesh_saparia3
Active Contributor
0 Kudos

Hi,

You can implement Badi LE_SHP_DELIVERY_PROC with following code in method CHANGE_FIELD_ATTRIBUTES


  data: ls_attrib  type  SHP_SCREEN_ATTRIBUTES.

  ls_attrib-NAME = 'LIKP-TRAID'.
  ls_attrib-INPUT = 0.
  append ls_attrib to CT_FIELD_ATTRIBUTES.

  ls_attrib-NAME = 'LIKP-TRATY'.
  ls_attrib-INPUT = 0.
  append ls_attrib to CT_FIELD_ATTRIBUTES.

  ls_attrib-NAME = 'LIKP-VSART'.
  ls_attrib-INPUT = 0.
  append ls_attrib to CT_FIELD_ATTRIBUTES.

  ls_attrib-NAME = 'LIKP-SDABW'.
  ls_attrib-INPUT = 0.
  append ls_attrib to CT_FIELD_ATTRIBUTES.

Former Member
0 Kudos

Dear Alpesh Saparia

I put addition check on PGI status="C".

Thanks.

Edited by: Raghu Chawla on Jul 25, 2008 12:00 PM