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

Dump with SWUS test ?

Former Member
0 Likes
365

Hi ,

I am now developing a BOR object for using in workflow and when i test the method with SWUS i have got d dump error with any value input . The process as folllow :

FM : Z_TEST

IMPORTING

menge TYPE menge_d " Quantity : error when input

meins TYPE meins "Unit of quantity

...................

And when i call the transaction : SWUS to test the task ( To which the FM is assigned ) , all the other fields are ok , but the field : MENGE when i input in the task container and continue , an error occurs at once ( that is DUMP ) , I know that the cause of this problem is the field is QUAN and this UNIT , they must go with another. But in this i do not know how to solve , May you help me !

Thanks ,

Hi ,

I am now developing a BOR object for using in workflow and when i test the method with SWUS i have got d dump error with any value input . The process as folllow :

FM : Z_TEST

IMPORTING

menge TYPE menge_d " Quantity : error when input

meins TYPE meins "Unit of quantity

...................

And when i call the transaction : SWUS to test the task ( To which the FM is assigned ) , all the other fields are ok , but the field : MENGE when i input in the task container and continue , an error occurs at once ( that is DUMP ) , I know that the cause of this problem is the field is QUAN and this UNIT , they must go with another. But in this i do not know how to solve , May you help me !

Thanks ,

1 REPLY 1
Read only

Former Member
0 Likes
337

Hi,

Try to declare two CHAR fields like v_qty(13), av_unit(3) and Move those two fields into CHAR fields and use.

May be useful.

Regards,

Anji