Application Development and Automation 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: 
Read only

Smartforms Error

harshsisodia31
Participant
0 Likes
364

Hi Experts

I m getting below dump when calling smartform to print sales order

I am using below code

field-symbols:
   <ls_vbdpa> type vbdpa.
loop at it_vbdpa assigning <ls_vbdpa>.
   if <ls_vbdpa>-posnr_neu is initial.
     append <ls_vbdpa> to gt_sch_item.
     IF sy-subrc = 0.
*      delete it_vbdpa.
     ENDIF.
   endif.
endloop.

Bset Regards

Harsh

1 REPLY 1
Read only

Former Member
0 Likes
319

Hi Harsh,

I suppose... or I am sure the IT_VBDPA is the importing parameter of the smartform.

In general cases we use field symbols to modify values directly.

Since the table is importing parameter it is READ ONLY.

Try using a work area instead.

Regards