Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

LE_SHP_DELIVERY_PROC

former_member258584
Participant
0 Kudos

Hello guys,

I m working with badi LE_SHP_DELIVERY_PROC in that there is one method named as SAVE_AND_PUBLISH_DOCUMENT.

in that one strcuture which it_xlips i have defined one zfield value named as zzblock.

but when i going to change this structure i am getting error that "IT_Xlips cannot be changed".

"

if my using field symbol i am going to change the value of that field i am getting dump "  MOVE_TO_LIT_NOTALLOWED_NODATA"

below is the code for the same :

lt_lips[] = it_xlips[].

*data : lt_check(2) type c.

Loop at lt_lips ASSIGNING <fs_lips> where uecha is INITIAL.

     Loop at it_xlips ASSIGNING <fs_lips1> where uecha eq <fs_lips>-posnr.

   <fs_lips1>-zzblock = <fs_lips>-zzblock .

  ENDLOOP.

Please help me out in this.

Thanks & Regards,

Deepak kansal.

1 REPLY 1

roberto_vacca2
Active Contributor
0 Kudos

Hi.

You can't modify IT_XLIPS. It's an import parameter. You should modify global XLIPS in the memory stack but it's not a good solution.

Did you try   SAVE_DOCUMENT_PREPARE method?  Or try user-exit MV50AFZ1

Hope to help

Bye