We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

[sap-dev] read_text dump problem

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Posted by dlhuang (software engineer)
on Jun 30 at 6:51 PM
Hi Gurus

our invoice smartform needs to pick up the long text of the 'Freight' header textid 9026 object VBBK, if the text is German, I got a dump error message.

i want to avoid this dump and use custom popup window to show this error message and leave to screen 0.
such as code below:

tid = '9026'.
docname = dellno.
docobj = 'VBBK'.
lang = 'E'.

CALL METHOD ZCL_TXTYESNO=>CHECK
EXPORTING
TID = tid
DOCNAME = docname
DOCOBJ = docobj
LANG = lang
RECEIVING
TF = tff
.

if tff = 'NO'.
message 'Delivery document header "Freight" TextID 9026 should be English, please fix it first' type 'E'.
leave to screen 0.
endif.

however, my effect is failed. i always got dump first before any further processes.

please help me to sort out this problem,

thanks in advance

__.____._
Copyright © 2010 Toolbox.com and message author.

Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
In the Spotlight
Earn Recognition for Your Contributions at Toolbox for IT. Gain Points for Community Achievements
_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language