Skip to Content
0
Former Member
Sep 14, 2007 at 06:46 AM

ERROR WHEN READING ELEMENT IN SAPSCRIPT

69 Views

Hi All,

In a custom PO form, I am getting error when reading element in WRITE_FORM.

This element 'ITEM_MPN_LISTLINE' and 'ITEM_MPN_LISTHEADER' are in the standard form and I copied the same to custom form and added the relevant coding in the driver program. But in the WRITE_FORM, it always throw the error 1.

which is after this statement in WRITE_FORM

read table elements with key tdwindow = window

tdevent = element

binary search.

Sy-subrc is 1 since it is not able to find the element 'ITEM_MPN_LISTLINE' and 'ITEM_MPN_LISTHEADER' from the table elements.

Any help is appreciated

Thanks