09-15-2008 6:44 AM
Hi,
After executing the program i am getting error like unble to interpret 920,1 as a number.Already i have used fun mod and replace commands also.
But i am getting this error only for perticular input values which i am giving on selection screen.
Pls give me reply ASAP.I would be thankful to u.
And how can i modify the program based on user settings means userprofile.
Regards.
Haritha.
09-15-2008 7:04 AM
Hi Sriharitha,
This might be due to the miss match of the data types what you are sending to the function module.
Once I have faced the same problem, while trying to move the WA_LIKP-VBELN filed(As per my requirement in the functional spec) I had the same problem. After that I tried to pass the value in this way instead of direct passing.
Look to this example for clarification,
DATA: TLINE LIKE TLINE OCCURS 0 WITH HEADER LINE. "Text lines
DATA: NAME LIKE THEAD-TDNAME.
"this is data type declared in FM for NAME field Do the same in "the program.
MOVE WA_LIKP-VBELN TO NAME.
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID = '3011'
LANGUAGE = 'E'
NAME = NAME " WA_LIKP-VBELN.
OBJECT = 'VBBK'
TABLES
LINES = TLINE .
09-15-2008 6:50 AM
hi
check this
" convert internal format to user format
CALL FUNCTION '/SAPDII/SPP05_CONVERT_DATE'
EXPORTING
if_date = lc_date
IMPORTING
ef_date = lc_date.
regards,
Booh
09-15-2008 6:51 AM
Hi,
Give the Input Value Data Type as Character or String in the internal table and Try to Upload. It might be the problem of data type.
Regards,
Saran
09-15-2008 6:52 AM
Hi,
This would happen if you are moving numeric values to a character field.
Kindly check that and use appropriate data type , this should resolve this error.
Thanks,
Raghavendra
09-15-2008 6:56 AM
Hi,
It's Problem with the Input Value only. Give the Value with Full Length for Example : 000000920. If you give 920 it will give DUMP or error.
Regards,
Saran
09-15-2008 7:04 AM
Hi Sriharitha,
This might be due to the miss match of the data types what you are sending to the function module.
Once I have faced the same problem, while trying to move the WA_LIKP-VBELN filed(As per my requirement in the functional spec) I had the same problem. After that I tried to pass the value in this way instead of direct passing.
Look to this example for clarification,
DATA: TLINE LIKE TLINE OCCURS 0 WITH HEADER LINE. "Text lines
DATA: NAME LIKE THEAD-TDNAME.
"this is data type declared in FM for NAME field Do the same in "the program.
MOVE WA_LIKP-VBELN TO NAME.
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID = '3011'
LANGUAGE = 'E'
NAME = NAME " WA_LIKP-VBELN.
OBJECT = 'VBBK'
TABLES
LINES = TLINE .
03-23-2009 10:28 AM