I want to increase the variable length

Hi all,
I want to increase the variable length at runtime(When iam doing debugging).
Can any body tell me idea..

Hi,
I dont think you can change variable length in debugging mode.
What you can do is if you variable is a character format  you can declare it as string instead of character.
You can pack -unpack with leading zeros..and many other data manuplation.
But i doubt on changing the characterstics of the variable at runtime.
Look for some alternative data type for your requirement.
Regards
Sourabh

Similar Messages

  • Want to increase the visible length of an email field (PB0105-USRID_LONG NO

    Its showing 18 chars ,ong field although it is field (PB0105-USRID_LONG NO) which is 241 chars long. hw to increase the visible length of this field?
    Thanx.

    Hi,
    try this .
    parameters : para_name type <Type> Visible lenght 30.
    u can take lenght longer than 30.
    hope it helps
    <b>Please Reward Points & Mark Helpful Answers</b>
    To mark Helpful Answers ;click radio Button next to the post.
    RadioButtons
    <b>o</b> Helpful Answer
    <b>o</b> Very helpful Answer
    <b>o</b> Problem Solved.
    Click any of the above button next to the post; as per the anwers
    <b>To close the thread; Click Probelm solved Radio Button next to the post , which u feel is best possible answers</b>

  • How can we increase the character length of SAP batch???

    HI MM guru's,
    we want to increase the character length for the SAP batch i.e raise it to 14 characters. how can we posibbly do that live.
    Regards,
    Sameer Jalal

    thanks,
    but any alternative?
    Regards,
    Sameer Jalal

  • How to increase the default length of an attribute of a BO

    Hi All,
    I have created a BO.It is having one attribute called title of type String with default length 30.I deployed it and it is working fine.
    Now i want to increase its default length to 256.I opened the table generated for this BO and increased its length.But, when i regenerating the code its length is again getting reset to the default length 30.I tried it through Dictionary perspective also.
    Any Suggestions.
    Regards
    Sampath

    Hi All,
    I resolved my problem. Just we have to change the data type to xLongText.
    Sampath

  • Smartform : Main window : Want to increase the size of main window

    Dear Sir,
    In my smartform my Main window is fixed after four windows(2 + 2) but only in first page.
    Now my requirement is there in second page i am only showing two windows out of four and in new vaccent space produced by two window i wanted to increase the height of window equal to 2 window in second page onwards.
    Please guide.
    With Rgds,
    Nirav Parekh

    You just need to change the UPPER and HEIGHT values for the MAIN window on the second and subsequent pages.  Presumably, you have a different page definition for these pages?  If that's not your question, then please re-phrase it.

  • I want to increase the RAM of iMac?

    Hi,
    I want to increase the RAM of iMac 27"(Late 2013) to 32GB, is it possible to do the same?
    If yes, then please let me know the steps to do it.
    Thanks & Regards,
    Ankush Madan

    Yes,  you can upgrade it to 32GB, most on this forum recommend two vendors OWC (www.macsales.com) or Crucial. If you are in the USA use  OWC, if you are anywhere else then Crucial. BTW here is s link to show how easy it is to install:
    http://eshop.macsales.com/installvideos/imac_27inch_late_2012_mem_m/
    Good luck.

  • I want to increase the ringer volume but not the background volume (ie texts, emails, etc)

    I want to increase the ringer volume but not the background volume (ie texts, emails, etc)

    nigelb999 wrote:
    Can anyone shed some light as to why it's not possible to adjust the ringer volume at the lock screen? Even though it's possible to adjust the volume during music playback and responses from Siri, etc.
    Cannot answer that question. That is a decision made by Apple.
    nigelb999 wrote:
    If there was a profile app available in the app store that allowed me to automatically set different volume levels at different times of the day it would be great - particularly if the app didn't require me to jailbreak the phone.
    There would not be an app like that, as they would not have access to the API. You can provide feedback to Apple if you would like to see this enhancement at http://www.apple.com/feedback and click on the appropriate link.

  • How you increase the strength / length of an airport extreme?

    How you increase the strength / length of an airport extreme? I find it hard to use wireless internet

    Please checkout the following Apple Support article on details on the many ways you can extend the wireless range of your current AirPort base station.

  • I have won a 11 inch 128GB MacBook Air and want to increase the storage to 256GB, is that possible?

    I have won a 11 inch 128GB MacBook Air and want to increase the storage to 256GB - is that possible?

    When one is tight on storage space, offloading data onto a $79 external spinning disk drive is cost effective but not portable.  When you are not at your desk you cannot access the data.  On any Mac that has a MicroSD slot, one can add up to 128 GB of inexpensive portable storage using the following options that cost less than $100.  This is cost-effective alternative to upgrading the internal SSD on a MacBook Air for $200 to $315. One can use multiple microSD card to multiply the storage they carry with them.
    Time Machine does not backup these microSD cards so using an alternative backup program, such as Carbon Copy Cloner or Super Duper!  would be prudent.  One could partition their Time Machine backup drive(s) with 64 or 128 GB partitions (one per microSD card) so another backup hard drive is not needed.
    For more about backups:
    Time Machine Basics: http://support.apple.com/kb/ht1427
    Most commonly used backup methods: 
    https://discussions.apple.com/docs/DOC-3045
    Methodology to protect your data.  Backups vs. Archives.  Long-term data protection:
    https://discussions.apple.com/docs/DOC-6031
    TheMiniDrive.com Adaptor:  $30 http://www.amazon.com/s/ref=bl_sr_pc?ie=UTF8&field-brandtextbin=TheMiniDrive.com &node=541966
    64 GB Flash 30 MB/s: $47 http://www.amazon.com/SanDisk-microSDXC-Memory-Adapter-SDSDQU-064G-AFFP-A/dp/B00 9QZH6JS/ref=pd_bxgy_pc_img_y
    Total $77 for 64 GB of portable storage.
    PNY StorEDGE 128 GB: $95 http://www.amazon.com/PNY-StorEDGE-Memory-Expansion-P-MEMEXP128U1-EF/dp/B00DC9U2 Q8/ref=pd_cp_pc_3
    Thanks go to wwynne23 for pointing me to this miniSD card solution.
    PlotinusVeritas gives some great suggestions for purchasing external hard drives in this thread:
    https://discussions.apple.com/thread/5602141?tstart=0

  • I have the MacBook Pro (retina, 13 inch, Mid 2014) Memoria 8GB 1600 MHz DDR3 and I want to increase the memory. What kind of memory do I have to buy?

    I have the MacBook Pro (retina, 13 inch, Mid 2014) Memoria 8GB 1600 MHz DDR3 and I want to increase the memory. What kind of memory do I have to buy?

    The RAM in the retina model can not be upgraded.

  • Want to increase the number of row in corporate address list

    In our Corporate address list only 10 address shows in a page. I want ot increase the row size to 50.
    Can any one kindly help me in solving the problem
    Regards.
    Mostafiz.
    IT Dte
    AHQ
    Dhaka
    Bangladesh

    each individual user can set it by going to the preferences page. The same value is used for both listing the number of messages and address list.

  • Increase the column lengths of excel sheet through abap

    I developed a abap program and it was displayed the output.
      So i need to display this out put in excel sheet.
      for that I read the out put and placed in the excel,
    the only problem is the column lengths are small
    after download  i am dragging the each column,
    But i need to increase the each column by the program
       How can I ?
    I am using the following code
          lastline = new_line_c + 13.
          DO .
            READ LINE sy-index LINE VALUE INTO it_read-excel.
            APPEND it_read.
            IF sy-index > lastline.
              EXIT.
            ENDIF.
          ENDDO.
          lastline = new_line_c - 38.
          colm = ( length - 37 ) / 18.
          colm = colm + 4.
          FOR THE EXCEL CONVERTION
          INCLUDE ole2incl.
          DATA: w_cell1 TYPE ole2_object,
          w_cell2 TYPE ole2_object.
    *--- Ole data Declarations
          DATA: h_excel TYPE ole2_object, " Excel object
          h_mapl TYPE ole2_object, " list of workbooks
          h_map TYPE ole2_object, " workbook
          h_zl TYPE ole2_object, " cell
          h_f TYPE ole2_object, " font
          gs_interior TYPE ole2_object, " Pattern
          worksheet TYPE ole2_object,
          h_cell TYPE ole2_object,
          h_merge TYPE ole2_object,
          h_cell1 TYPE ole2_object,
          range TYPE ole2_object,
          h_sheet2 TYPE ole2_object,
          h_sheet3 TYPE ole2_object,
          gs_font TYPE ole2_object,
          flg_stop(1) TYPE c.
    *DATA: t_excel_bckord LIKE t_excel OCCURS 0 WITH HEADER LINE,
    *t_excel_bcklog LIKE t_excel OCCURS 0 WITH HEADER LINE,
    *t_excel_blkord LIKE t_excel OCCURS 0 WITH HEADER LINE.
          TYPES: data1(1500) TYPE c,
          ty TYPE TABLE OF data1.
          DATA: it TYPE ty WITH HEADER LINE,
          it_2 TYPE ty WITH HEADER LINE,
          it_3 TYPE ty WITH HEADER LINE,
          rec TYPE sy-tfill,
          deli(1) TYPE c,
          l_amt(18) TYPE c.
          DATA: BEGIN OF hex,
          tab TYPE x,
          END OF hex.
          FIELD-SYMBOLS: <fs> .
          CONSTANTS cns_09(2) TYPE n VALUE 09.
          ASSIGN deli TO <fs> TYPE 'X'.
          hex-tab = cns_09.
          <fs> = hex-tab.
          DATA gv_sheet_name(20) TYPE c .
    M A C R O Declaration
          DEFINE ole_check_error.
            if &1 ne 0.
              message e001(zz) with &1.
              exit.
            endif.
          END-OF-DEFINITION.
          DATA: xy TYPE i,
                xz TYPE i,
                yz TYPE i,
                ab TYPE i,
                pterm TYPE i.
          IF h_excel-header = space OR h_excel-handle = -1.
    start Excel
            CREATE OBJECT h_excel 'EXCEL.APPLICATION'.
          ENDIF.
    PERFORM err_hdl.
    *--- get list of workbooks, initially empty
          CALL METHOD OF h_excel 'Workbooks' = h_mapl.
    PERFORM err_hdl.
          SET PROPERTY OF h_excel 'Visible' = 1.
    add a new workbook
          CALL METHOD OF h_mapl 'Add' = h_map.
    PERFORM err_hdl.
    *GV_SHEET_NAME = '1st SHEET'.
          gv_sheet_name = 'Price Comparison List'.
          GET PROPERTY OF h_excel 'ACTIVESHEET' = worksheet.
          SET PROPERTY OF worksheet 'Name' = gv_sheet_name .
          index1 = 3.
          LOOP AT it_read.
           heading
            IF sy-tabix < 4.
              it_item = it_read.
              IF  it_item CS '-----'.
                CLEAR it_item.
                APPEND it_item.
              ELSE.
                IF sy-tabix = 1.
                  it_item+0(1) = deli.
                ENDIF.
                APPEND it_item.
              ENDIF.
            ENDIF.
           headear data and item
            IF sy-tabix > 4 AND sy-tabix < descline1.
              it_item = it_read.
              IF it_item CS '----'.
              ELSE.
                REPLACE ALL OCCURRENCES OF sy-vline IN it_item WITH deli.
                APPEND it_item.
              ENDIF.
            ENDIF.
            xy = 2.
            xz = 38.
           discount etc
            IF sy-tabix >= descline1 AND sy-tabix < descline.
              it_item = it_read.
              it_item+12(1) = deli.
              it_item+22(1) = deli.
              it_item+43(1) = deli.
              WHILE xy < colm.
                xz = xz + 18.
                it_item+xz(1) = deli.
                xy = xy + 1.
              ENDWHILE.
              APPEND it_item.
            ENDIF.
          payment terms
            xy = 2.
            xz = 37.
            pterm = descline + 6.
            IF sy-tabix > descline AND sy-tabix < pterm.
              it_item = it_read.
              IF it_item CS '-----'.
                CLEAR it_item.
                APPEND it_item.
              ELSE.
                it_item+12(1) = deli.
                it_item+15(1) = deli.
                it_item+36(1) = deli.
                WHILE xy < colm.
                  xz = xz + 17.
                  it_item+xz(1) = deli.
                  xy = xy + 1.
                ENDWHILE.
                APPEND it_item.
              ENDIF.
            ENDIF.
         prepared by
            lastline = pterm + 3.
            IF sy-tabix >= pterm AND sy-tabix <= lastline.
              it_item = it_read.
              IF it_item CS '-----'.
              ELSE.
                it_item+0(1) = deli.
                it_item+54(1) = ' '.
                it_item+16(1) = deli.
                APPEND it_item.
              ENDIF.
            ENDIF.
           remaarks
            yz = lastline + 10.
            IF sy-tabix > lastline AND sy-tabix <= yz.
              it_item = it_read.
              it_item+0(1) = deli.
              it_item+54(1) = ' '.
              APPEND it_item.
            ENDIF.
      approved by
            ab = yz + 5.
            IF sy-tabix > yz AND sy-tabix < ab.
              it_item = it_read.
              IF it_item CS '-----'.
              ELSE.
                it_item+0(1) = deli.
                it_item+54(1) = ' '.
                it_item+14(1) = deli.
                APPEND it_item.
              ENDIF.
            ENDIF.
          ENDLOOP.
    *--Formatting the area of additional data 1 and doing the BOLD
          CALL METHOD OF h_excel 'Cells' = w_cell1
            EXPORTING
            #1 = 1
            #2 = 1.
          CALL METHOD OF h_excel 'Cells' = w_cell2
            EXPORTING
            #1 = 1
            #2 = colm.
          CALL METHOD OF h_excel 'Range' = h_cell
            EXPORTING
            #1 = w_cell1
            #2 = w_cell2.
    *CALL METHOD OF gs_cells 'Select' .
          GET PROPERTY OF h_cell 'Font' = gs_font .
          SET PROPERTY OF gs_font 'Bold' = 1 .
    *Bold for the second row
          CALL METHOD OF h_excel 'Cells' = w_cell1
            EXPORTING
            #1 = 2
            #2 = 1.
          CALL METHOD OF h_excel 'Cells' = w_cell2
            EXPORTING
            #1 = 1
            #2 = colm.
          CALL METHOD OF h_excel 'Range' = h_cell
            EXPORTING
            #1 = w_cell1
            #2 = w_cell2.
    *CALL METHOD OF gs_cells 'Select' .
          GET PROPERTY OF h_cell 'Font' = gs_font .
          SET PROPERTY OF gs_font 'Bold' = 1 .
    *Bold for the fourth row
          CALL METHOD OF h_excel 'Cells' = w_cell1
            EXPORTING
            #1 = 4
            #2 = 1.
          CALL METHOD OF h_excel 'Cells' = w_cell2
            EXPORTING
            #1 = 1
            #2 = colm.
          CALL METHOD OF h_excel 'Range' = h_cell
            EXPORTING
            #1 = w_cell1
            #2 = w_cell2.
    *CALL METHOD OF gs_cells 'Select' .
          GET PROPERTY OF h_cell 'Font' = gs_font .
          SET PROPERTY OF gs_font 'Bold' = 1 .
    *Bold for the fifth row
          CALL METHOD OF h_excel 'Cells' = w_cell1
            EXPORTING
            #1 = 5
            #2 = 1.
          CALL METHOD OF h_excel 'Cells' = w_cell2
            EXPORTING
            #1 = 1
            #2 = colm.
          CALL METHOD OF h_excel 'Range' = h_cell
            EXPORTING
            #1 = w_cell1
            #2 = w_cell2.
    *CALL METHOD OF gs_cells 'Select' .
          GET PROPERTY OF h_cell 'Font' = gs_font .
          SET PROPERTY OF gs_font 'Bold' = 1 .
    *Bold for the sixth row
          CALL METHOD OF h_excel 'Cells' = w_cell1
            EXPORTING
            #1 = 6
            #2 = 1.
          CALL METHOD OF h_excel 'Cells' = w_cell2
            EXPORTING
            #1 = 1
            #2 = colm.
          CALL METHOD OF h_excel 'Range' = h_cell
            EXPORTING
            #1 = w_cell1
            #2 = w_cell2.
    *CALL METHOD OF gs_cells 'Select' .
          GET PROPERTY OF h_cell 'Font' = gs_font .
          SET PROPERTY OF gs_font 'Bold' = 1 .
          DATA l_rc TYPE i.
          CALL METHOD cl_gui_frontend_services=>clipboard_export
            IMPORTING
              data                 = it_item[]
            CHANGING
              rc                   = l_rc
            EXCEPTIONS
              cntl_error           = 1
              error_no_gui         = 2
              not_supported_by_gui = 3
              OTHERS               = 4.
          CALL METHOD OF h_excel 'Cells' = w_cell1
            EXPORTING
            #1 = 1
            #2 = 1.
          CALL METHOD OF h_excel 'Cells' = w_cell2
            EXPORTING
            #1 = 1
            #2 = 1.
    PERFORM err_hdl.
          CALL METHOD OF h_excel 'Range' = range
            EXPORTING
            #1 = w_cell1
            #2 = w_cell2.
          CALL METHOD OF range 'Select'.
    PERFORM err_hdl.
          CALL METHOD OF worksheet 'Paste'.
    PERFORM err_hdl.
    CALL METHOD OF h_excel 'QUIT'.
          FREE OBJECT h_zl.
          FREE OBJECT h_mapl.
          FREE OBJECT h_map.
          FREE OBJECT h_excel.

    Hello Ravi,
    Thank you very much for your suggestions.. but still have some more doubts:
    What i want to do is :
    -->call report in background job with a selection criteria.
    -->the output of the report should be trasnsfered to excel sheet
    -->then the excel sheet should be sent to XI..
    My doubts are:
    -> is it possible with every report or we need some extra code to achieve this
    -> If yes, then how exactly it should be done. can you please explain in more detail.
    Thank you very much for your help.
    Best Regards,
    Jasmeet

  • Report - Want to know the maximum length of a character Data Type.

    Hello,
           I have to print some details which is having more than 500 characters. Is it possible to create a variable or workarea with more than 256 characters? Please help me. Its very urgent.
    My actual requirement is to pass this workarea to smartform and print. So the data should be in one work area.
    Regards,
    LIJO

    Hi,
    U can declare the variable of required length for eg.1000 characters like this
    DATA: w_data(1000) TYPE c.
    If u r not sure of how much length u will be getting then better declare the variable with data type string .
    DATA: w_data TYPE string.
    Hope this clarified ur doubt.
    thanks,
    Vinod.

  • How to increase the string length of an uploaded file

    Hi,
    i use a abap webser where i've uploaded some JAR files into the mime repository.
    Unfortunately the string length is limited by 40 characters and so longer file names are cut.
    How can I increase the default string length? Does somebody know a workaround?
    Thanks.
    Edited by: Martin Gardyan on Oct 22, 2008 9:48 AM

    what i guess copying those jars should not create this problem.U just try in db using
    "ALTER TABLE <table_name> MODIFY <column_name> VARCHAR2(<new, larger length>)"
    may be it works.
    Regards,
    Anu

  • I want to increase the text on the organizer screen

    I want to increse the text on the organizer screen

    Not an option. In Windows you can change display characteristics to increase text size but that would affect all applications not just PSE (you'll also probably need to select 'Use System Font' in Edit> Preference> General)
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children
    If this post or another user's post resolves the original issue, please mark the posts as correct and/or helpful accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks.

Maybe you are looking for

  • Hard Drive and RAM upgrades for latest 15" MBP

    I'm minutes from ordering a new MBP. Only concerns are whether I get hte Apple upgrades or shop around. I like this Hard Drive... http://www.compu2000.com/index.php?l=product_detail&p=6433 And this RAM upgrade... http://www.a-power.com/product-10937-

  • Question about writing a text file

    As we know, we can write a text file using class "FileWriter". I did a test (Please see the code below). I found that if I used Notepad to open it, it would show "ab", But if I used "MS Word" or "UltraEdit" to open it, it would show " 'a' , new line

  • Use a Pre-Paid Card then Credit Card

    I searched the board before publishing, but didn't find a clear answer, so I will ask here. I set up an iTunes account with a credit card because I assumed that was the only way to get an account. I eventually I plan to use the credit card to buy ind

  • Adobe form issues

    I am trying to input information in an adobe form that is supposed to be enabled but even though it shows a purple bar for each input section it will not allow me to type anything. The only additional option Adobe gives me is to open it in Adobe Vist

  • I pad mini orientation

    I can't get my mini to change from portrait to landscape. Any suggestions?