2008 Jan 18 6:28 AM
i have an internal table
DATA : BEGIN OF I_DPAYH OCCURS 0,
ECS_TCODE TYPE char2 VALUE '66',
ZBKON TYPE DPAYH-ZBKON,
LEDGER_FOLIO TYPE Char3 ,
ZBNKN TYPE DPAYH-ZBNKN,
ZNME1 TYPE DPAYH-ZNME1,
MICR TYPE char9 VALUE '40021102',
USER_NO TYPE char7 VALUE '4009175',
DESP TYPE char20 VALUE 'MAHANAGAR GAS LTD',
MASTR TYPE DPAYH-MASTR,
RBETR TYPE DPAYH-RBETR, -
> "
LAUFI TYPE DPAYH-LAUFI,
ORIGN TYPE DPAYH-ORIGN,
END OF I_DPAYH.
the arrow mark field is of currency data type and the problem
is that in application server on character data type it accept
thats why i have changed all the fields as character data type
except RBETR field all the data is transfferd except this field
regards
sarfaraz
2008 Jan 18 6:32 AM
Hi,
In the file transfering to the application server we can pass only char type field so u need to convert the field into char and send it is taking .
PLzz reward points if it helps.
Hi,
In the file transfering to the application server we can pass only char type field so u need to convert the field into char and send it is taking .
PLzz reward points if it helps.
2008 Jan 18 6:32 AM
Hi,
In the file transfering to the application server we can pass only char type field so u need to convert the field into char and send it is taking .
PLzz reward points if it helps.
2008 Jan 18 6:40 AM
how can i convert currency data type into character
DATA :BEGIN OF ITAB OCCURS 0,
ZNME1 TYPE DPAYH-ZNME1,
MICR TYPE char9 VALUE '40021102',
USER_NO TYPE char7 VALUE '4009175',
DESP TYPE char20 VALUE 'MAHANAGAR GAS LTD',
MASTR TYPE DPAYH-MASTR,
RBETR TYPE DPAYH-RBETR,------->
END OF ITAB.
RBETR IS CURRENCY DATA TYPE
2008 Jan 18 6:43 AM
Hi,
Define RBETR as char variable and assing currency value directly to it.
Data: RBETR type char13.
2008 Jan 18 6:44 AM
Hi Shaik
Within your ITAB declaration, declare RBETR as character data type something like CHAR 17.
Kind Regards
Eswar
2008 Jan 18 7:03 AM
when iam doing converting currency into char
Data: RBETR type char13
writing
SELECT RBETR
FROM DPAYH INTO CORRESPONDING FIELDS OF
I_DPAYH .
it is giving error when transffering in application server
and giving the error
( The current statement is only defined for character-type data objects.)
2008 Jan 18 6:32 AM
Hi Sarfraz,
we have decalre that filed like this ok..
RBETR LIKE VBAP-NETPR.
Here NETPR is a filed of type CURR.
Reward points if helpful.
Kiran Kumar.G.A
Have a Nice Day..
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |