on 10-30-2008 11:27 AM
final internal table
BEGIN OF STRUCT_FINAL ,
WA_FINAL - GTOTAL TYPE PAYR-WAERS,
TEXT(75) TYPE C,
END OF STRUCT_FINAL.
RECORD NOW MOVED TO WA_FINAL
IMPORT PARAMETER
WA_FINAL - GTOTAL
EXPORT PARAMETER
WA_FINAL-TEXT
CALL FUNCTION 'HR_IN_CHG_INR_WRDS'
EXPORTING
AMT_IN_NUM = WA_FINAL-GTOTAL
IMPORTING
AMT_IN_WORDS = WA_FINAL-TEXT
EXCEPTIONS
DATA_TYPE_MISMATCH = 1
OTHERS = 2
.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
WHILE DRAGGING TEXT FROM FIELD LIST ON / OFF AND ON EXECUTING IT SHOWS DUMP ERROR..
KINDLY HELP
Hi,
Please check if this may help you out.
Declare the field WA_FINAL - GTOTAL as PC207-BETRG.
instead of the previous one.
Regards,
Soumya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
do one thing.
define one variable like
v_total type PC207-BETRG.
and assign the gtotal to v_total.
and pass this v_total to FM.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, you should declare Gtotal as told by soumya and also increase the length of the text field.
Can you provide the details of the Dump, what it is saying?
Regards
Karthik D
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.