Skip to Content
0
Former Member
May 22, 2009 at 09:00 AM

Unable to modify standard internal table XVBAP during SO enhancement

163 Views

Hello Experts,

I working on an enhacenment on VA01/VA02 on item level

I have used the module subscreen 8459 to add additional screen components to the item.

I am using the standard PBO and PAI includes for the processing the logic for the subscreen.

PBO -> Include MV45AOZZ

PAI -> Include MV45AIZZ

Top include MV45TZZ.

I have ZTABLE selecting values from ZTABLE to wanted to modify the values of this ZTABLE to XVBAP.

This are my following declaration in the Top include MV45TZZ.

data : begin of zzit_prop occurs 0.
       include structure zprop_details.
data : end of zzit_prop.

data : zzwa_prop like line of zzit_prop.

data : begin of zzit_vbap occurs 0.
        include structure vbapvb.
data : end of zzit_vbap.

data : zzwa_vbap like line of zzit_vbap.

I am getting the values into zzwa_prop and moving into zzwa_vbap so that i can modify XVBAP using zzwa_vbap.

I am getting values into zzwa_vbap but unable to modify.

Below is my modify statement in the PAI -> Include MV45AIZZ


modify table xvbap from zzwa_vbap
transporting ZZPROPERTYID ZZCONTRACTID ZZPROJ_SITE_ADD1 ZZPROJ_SITE_ADD2
  ZZPROJ_SITE_ADD3  ZZBUILDINGNAME ZZUNITID ZZCARPETAREA.

and this statement gives sy-subrc 4.

please give your valuable suggestions experts

Regards,

Ranjith N