on 09-02-2009 8:17 PM
The following error is occurring in the Transformation between 0SRCF_D2 and 0SR_C01.
An error occurred while executing a transformation rule:
The exact error message is:
The argument 'USD' cannot be interpreted as a number
The error was triggered at the following point in the program:
GP4EZWTT4UPVTXHIHSKDL1CU66B 1829
I debugged and found the following Standard SAP ABAP below is failing ( please see below starting with Rule ID: '5' ). R5-_1_1 is an amount field and should be set to SR_CFVOC, not ORDER_CURR. I_SCUR export parameter should be set to <_ys_SC_1>-ORDER_CURR.
*<<< Rule ID: '5'.
IF lssupp-_5 EQ rs_c_false.
currrule-ruleid = '5'.
Step ID: '1', Type: 'DIRECT'.
currrule-stepid = '1'.
R5-_1_1 = <_ys_SC_1>-ORDER_CURR.
Step ID: '3', Type: 'CURRENCY'.
currrule-stepid = '3'.
in_cur = R5-_1_1.
time_vl_cur = <_ys_SC_1>-CALDAY.
call method lr_msg_coll->remove_messages.
CALL FUNCTION 'RSW_CURRENCY_TRANSLATION'
EXPORTING
i_cttnm = '0SR_DEFCUR'
i_amount = in_cur
I_SCUR = <_ys_SC_1>-SR_CFVOC
I_TIME_IOBJVL = time_vl_cur
ir_msg = lr_msg_coll
I_MSG_TYPES = 'E'
IMPORTING
E_AMOUNT = out_cur
e_tcur = R5-_3_2
EXCEPTIONS
SCUR_NOT_FOUND = 1
TCUR_NOT_FOUND = 2
DATE_NOT_FOUND = 3
CTT_NOT_FOUND = 4
SCUR_CONFLICT = 5
TCUR_CONFLICT = 6
DATE_CONFLICT = 7
INVALID_SCUR = 8
INVALID_TCUR = 9
RATE_NOT_FOUND = 10
X_MESSAGE = 11
INHERITED_ERROR = 12.
Has anyone else seen this issue? Or have a resolution?
The argument ' 13:57' cannot be interpreted as a number
I am getting this error. Can anybody help me. I am trying to use a conversion exit for time. In the backend the time is stored as 1357 and I am using the conversion exit to convert this into 13:57 and getting the above error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The error is coming because of the following line...
i_amount = in_cur
You need to pass amount field here and you have passed currency.... and so its throwing error that it cant interprete USD as a number...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Change the particular field type into CHAR. This error will not appear
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.