Solved: Hi, I have a variable of type of CHAR which actually holds a numeric value. I want to assign it to another variable which is of type CURR. How can I do this type
SAP Managed Tags: ABAP Development I need to convert a string (it is a packed number stored in a string variable) into an integer. I tried just saying integer = string but it throws a run-time error. Then I tried to use fm convert_string_to_integer but that FM isn't at all what...
COL_NAME DATA_TYPE LENGTH FILE_NAME : CHAR 200 TLINENO: CHAR 4 CONTE: LRAW 1024 in java i can just using this byte[] attachfile= file.getBytes(); if a file is bigger than 1024 , how do i store it and pass it to JCO.. do i have to pass line by line of binary code ?? JC...
Former Member In response to Former Member 2015 Nov 26 9:03 AM 0 Kudos 1,837 SAP Managed Tags: ABAP Development Ahh - yes, but I am talking about the use of the conversion routine: Data: l_Pspnr Type PS_INTNR, l_Char1 Type naTxt, l_Char2 Type naTxt. Select single...
: c_form TYPE tdsfname VALUE 'YLFNPOSTATUS_IN', _bsart TYPE char4 VALUE '0005', _bsart1 TYPE char4 VALUE '0034', _ebelp TYPE char5 VALUE '00010', _einkbeleg TYPE char9 VALUE 'EINKBELEG', _ekko TYPE char4 VALUE 'EKKO', _frgke TYPE char5 VALUE 'FRGKE', _const...
SAP Managed Tags: ABAP Development Remove the coma in the value and pass, as coma is given by system itself according to user settings Data : char(10) type c value '1200.12', pack type p decimals 2, int type i. pack = char. int = char. Write pack, int. Reply Former Member ...
SAP Managed Tags: ABAP Development Hi, Use This Concept to download the Header file in Excel File. DATA: v_fieldname TYPE char30. DATA: v_char TYPE numc4. DATA: it_fldcat TYPE lvc_t_fcat. DATA: wa_it_fldcat LIKE LINE OF it_fldcat. DATA: gp_table TYPE REF TO data, GP_WA ...
SAP Managed Tags: ABAP Development I'd go for the very nice simple WRITE statement: data date_string type char10. write sy-datum to date_string. write / date_string. This will automatically apply the user settings. No need for overhead of function/method calls... Reply Former Member ...