Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

TSV_TNEW_PAGE_ALLOC_FAILED

HI

I wrote an user exit to populate the E1EDP19 segment with qualifier 999 of the Quotes.Orders idoc with VBAP.PRODH data . I used the Include ZXDEU02 for it.

My code was

DATA: WA_E1EDP19 LIKE E1EDP19.

LOOP AT INT_EDIDD.

CASE INT_EDIDD-SEGNAM.

WHEN 'E1EDP19'.

MOVE INT_EDIDD-SDATA TO WA_E1EDP19.

WA_E1EDP19-QUALF = '999'.

WA_E1EDP19-IDTNR = XVBAP-PRODH.

MOVE WA_E1EDP19 TO INT_EDIDD-SDATA.

APPEND INT_EDIDD.

WHEN OTHERS.

ENDCASE.

ENDLOOP.

I saved and activated it and as a result when the Quotes are processed i get a " termination of update" message in my inbox.

I looked for the short dump and it says TSV_TNEW_PAGE_ALLOC_FAILED.

I am not sure why thi sis happening. Is my code picking up huge amount of data ??

Is my logic/code wrong ?

How can i correct this problem ?

If you have alternative codes for this , please provide me.

Thanks a lot .

Tags:
Former Member
Former Member replied

try this way:

LOOP AT INT_EDIDD.

IF INT_EDIDD-SEGNAM EQ 'E1EDP19'.

MOVE INT_EDIDD-SDATA TO WA_E1EDP19.

WA_E1EDP19-QUALF = '999'.

WA_E1EDP19-IDTNR = XVBAP-PRODH.

MOVE WA_E1EDP19 TO INT_EDIDD-SDATA.

MODIFY INT_EDIDD INDEX SY_TABIX.

ENDIF.

ENDLOOP.

*reward if solved

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question