Not Getting Checkboxes properly..

Hi.
I used this code to put checkboxes. But I am getting checkboxes in each column instead of data.
But I want checkboxes only at the starting.
Please help me out...
CODE:
TYPES : BEGIN OF st_ekko,
          check(1),
          ebeln TYPE ekko-ebeln,   
          bstyp TYPE ekko-bstyp,  
          bsart TYPE ekko-bsart,   
          aedat TYPE ekko-aedat,   
          ernam TYPE ekko-ernam,  
        END OF st_ekko.
data : it_ekko TYPE STANDARD TABLE OF st_ekko,
         wa_ekko LIKE LINE OF it_ekko,
         it_fieldcat TYPE slis_t_fieldcat_alv,
         wa_fieldcat LIKE LINE OF it_fieldcat.
START-OF-SELECTION.
  SELECT ebeln bstyp bsart aedat ernam
    FROM ekko
    INTO CORRESPONDING FIELDS OF TABLE it_ekko
   WHERE ebeln IN so_ebeln.
  wa_fieldcat-fieldname = 'CHECK'.
  wa_fieldcat-input     = 'X'.
  wa_fieldcat-col_pos = 1.
  wa_fieldcat-input = 'X'.
  wa_fieldcat-edit = 'X'.
  wa_fieldcat-checkbox = 'X'.
  APPEND wa_fieldcat TO it_fieldcat.
  wa_fieldcat-fieldname = 'EBELN'.
  wa_fieldcat-seltext_l = 'Purchase document number'.
  wa_fieldcat-col_pos = 2.
  wa_fieldcat-no_zero = 'X'.
  APPEND wa_fieldcat TO it_fieldcat.
  wa_fieldcat-fieldname = 'BSTYP'.
  wa_fieldcat-seltext_l = 'Purchasing Document Category'.
  wa_fieldcat-col_pos = 3.
  APPEND wa_fieldcat TO it_fieldcat.
  wa_fieldcat-fieldname = 'BSART'.
  wa_fieldcat-seltext_l = 'Purchasing Document Type'.
  wa_fieldcat-col_pos = 4.
  APPEND wa_fieldcat TO it_fieldcat.
  wa_fieldcat-fieldname = 'AEDAT'.
  wa_fieldcat-seltext_l = 'Created On'.
  wa_fieldcat-col_pos = 5.
  APPEND wa_fieldcat TO it_fieldcat.
  wa_fieldcat-fieldname = 'ERNAM'.
  wa_fieldcat-seltext_l = 'Created By'.
  wa_fieldcat-col_pos = 6.
  APPEND wa_fieldcat TO it_fieldcat.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
      i_callback_program       = sy-repid
      is_layout                     = wa_layout
      it_fieldcat                    = it_fieldcat
    TABLES
      t_outtab                 = it_ekko[]
    EXCEPTIONS
      program_error            = 1
      OTHERS                   = 2.
Regards
Sandeep.

I think you need:
clear: wa_fieldcat.
between each column definition e.g.
clear: wa_fieldcat.
wa_fieldcat-fieldname = 'CHECK'.
wa_fieldcat-input = 'X'.
wa_fieldcat-col_pos = 1.
wa_fieldcat-input = 'X'.
wa_fieldcat-edit = 'X'.
wa_fieldcat-checkbox = 'X'.
APPEND wa_fieldcat TO it_fieldcat.
clear: wa_fieldcat.
wa_fieldcat-fieldname = 'EBELN'.
wa_fieldcat-seltext_l = 'Purchase document number'.
wa_fieldcat-col_pos = 2.
wa_fieldcat-no_zero = 'X'.
APPEND wa_fieldcat TO it_fieldcat.
Jonathan

Similar Messages

  • The html select box option is not getting displayed properly in IE11

    The html select box option is not getting displayed properly in IE11
    I have developed a website that has a select box drop down. The select box drop down is getting displayed properly in IE9. But in IE11, if I am selecting any option apart from the first one, the whole select box option is getting moved up in the page.
    In IE11, if option 2 is selected, then the select options is getting moved up. But in IE9, if option 2 is selected, then the select options is getting displayed properly.
    Please let me know the fix so that the select options are displayed in the same manner as in IE9.
    Sorry but I am unable to upload images as this site is throwing some error

    Hi Kevin Shen,
    Thanks for post.
    I tried above code in ie 11(version 11.0.9600.17633).
    But it is not working. If you select option 2, and open select box then it open on the select box.
    It should open below the select box.
    Code for above:-
    <select>
    <option>1</option>
    <option>2</option>
    <option>3</option>
    </select>
    Sorry I could not attach screen shot. We have normal select box with three options. If we select option 2, it is showing option list on the select box. It is coming below the select box in ie 10 and other browse like chrome. 
    So what we should do, so that all options will come below the select box?
    Thanks,
    Yogesh Toke

  • Catalog id is not getting displayed properly in Foreign Language (French)

    Hi All,
    I have created a web service id for the external catalog and I have assigned the same to one of the user. The name of the web service id is getting displayed properly in the shopping cart creation screen when the language is English. But when we are changing the user language to Foreign language (French), the name is not getting displayed properly.
    Could you please advise me if there any settings needs to be done in the parameters of the specific web service id. Thanks in advance for your help.

    Hi,
    Go to External Web Services and the select the web service ID. Then click on GOTO >Translation and select the language and enter the description of the web service as to be disaplyed while users log in French against the language.
    Thanks,
    Anshu

  • Task activities not getting generated properly in BPEL

    I am using the Jdev 11g TP3 (from OTN). Installation went through fine. However I observed a interesting issue with HumanTask/BPEL and I was wondering if someone faced similar such problems before, if so, how to rectify the issue. Here is the description of the issue:
    1. Created a Empty SOA composite project
    2. Dragged and dropped BPEL Process in the component palette. Designed a Asynchronous process.
    3. Dragged and dropped a HumanTask. Did not expose as an composite. Designed a single approver workflow. In the project schema, choose the schema from BPEL input.
    4. Wired BPEL to HumanTAsk
    5. In the BPEL flow, I dragged the HumanTask to the flow. Everything appears to be correct. I clicked on "Ok" after associating with BPEL variable.
    Now when I examine the BPEL flow, a scope before the BPEL switch is empty. There are no BPEL activities generated. This is a very simple case of BPEL and HumanTask and I am not sure as to why the tasks not getting generated properly in BPEL flow.
    Has anyone experienced this issue or any ideas as to why this could happen?

    After going through the exercise several times, I finally found out the reason as to why the BPEL activities are not getting generated. In the Human task form for the title, since it is a fixed string in my case I put something like the one given below:
    Title : "APPROVE ORDER"
    When you have fixed string within double quotes it does not generate BPEL activities correctly. You can try and u will see the problem.
    My real question is should not throw proper error message when you try to drag and drop the HumanTask to BPEL flow.

  • View in edit window not getting updatet properly

    Hello
    I have some problems with the view in the edit window not getting updatet correctly. I noticed this in spectral view. For example, when I zoom in very much, so I only see about 3 seconds of audio and then select one second of audio and do a time stretch, so it will be two seconds of length, the windows does not update properly.
    Normally the audio behind the strechted selection should move backwards, but often the strechted portion just sort of overlaps it and it doesn't move. When I zoom out and then back in, it seems to be ok.
    I also have had very weird behavior when trying to remove clicks, with the view also getting pretty messed up.
    Does anyone have similar problems with the view not getting updated properly?
    I am running german windows xp, audition is installed in english. I first thought that installing it in english instead of german solves the problems, but unfortunately it didn't.
    Greetings

    Hello again
    I made a movie of this behavior:
    https://share.ols.inode.at/4NNYXR4HT2CJI5IHY273R9NRHRW9OLGR95Q7VTOP
    It shouldn't look like that, right?
    Greetings

  • Exchange Mails are not getting updated properly without refreshing

    From couple of days, exchange mails are not getting updated properly without refreshing.
    Kindly suggest.

    Kindly suggest a solution

  • Sequence is not getting created properly while importing

    Hi,
    I have problem with sequence
    1 ) I Did an export and it was successful without any errors.
    2) I created a blank database with the necessary tables spaces
    3) I did the import, there was no major errors.
    After importing I noticed my sequence numbers are not in order.
    For an example in purchase_order sequence the next value is 3655, where as in the purchase order table the last purchase order number is 3690. So when I try to insert any new purchase order I get the error object already exist.
    I droped all the sequence, did a import with the following command.
    imp system/pwd file=imp.dmp log=seq.log fromuser=application touser=application rows=n grants=n indexes=n constraints=n
    Still I don’t get the proper sequence, How can i make sure my sequnce get recreated properly.
    How can I resolve this. I am running on oracle 10.2.0.3.
    Thank you

    Anand,
    evidently you didn't read my link above... and your suggestion might be very dangerous...
    With the scenario posted by OP, data are inconsistent, and there could be other (and worse) problems if importing in that way.
    The only way to avoid inconsistencies while exporting is using CONSISTENT=Y option, unless you are absolutely sure that nobody is using your DB in the meanwhile.

  • Master Data is not Getting Updated Properly.

    Dear Expert,
    I am trying to pull the data by Info package but The text is not getting updated.
    The Master data object is    0BPARTNER .  To update this Master data , we ghave 2 info packages
    0BPARTNER_ATTR   and    0BPARTNER_TEXT.    But the text is not getting updated ( like the fiels E-mail address, Address 1, Address 2, Address 3, Address 4,.... Phone No,Etc.
    What could be the Reason for this and How can I solve this issue  ?
    Tahnks,
    Utpal

    Hi,
    Could you please check the data in RSA3.
    If everything is there in R/3 side.Then,please check are you giving any
    condition in the infopackage .
    Please run the infopackage without giving any condition.
    Thanks,
    Saveen Kumar

  • Tree Table is not getting refreshed properly in Jdev 11.1.2.0

    Hi,
    I am seeing a peculiar issue with tree table not getting refreshed in Jdev 11.1.2.0.
    Let me explain you my use case.
    I have a tree table in a page, where the first column is displayed as selectBooleanRadio component. When user selects this selectBooleanRadio component, that treetable node should get expanded and at the same time all the child records(I have a select boolean check box component(transient attribute) at the child level) for that node should get selected. This is to allow user to unselect the child records, which he/she does not want to process further(some functionality).
    Now when the user selects any radio button, the tree table node is not expanded, but the arrow beside the radio button for that node can be seen as expanded.
    I thought it may be a partial trigger issue, so i tried refreshing the tree table programatically as well. But it was of no use.
    Then I set the partial triggers wrt to SelectBooleanRadio component on the parent container of the TreeTable. After which somehow the node got expanded but the tree table shrinks in width and the actual disclosure functionality of a tree table is lost.
    The same use case works perfectly fine in Jdev 11.1.1.5.
    For reference:
    I created a sample test case(Dept/Emp) in jdev version 11.1.1.5, which works fine. Workspace: http://adf-use-cases.googlecode.com/files/TreeTable1.rar
    But the same test case, when i created in jdev version 11.1.2.0, gives issues. Workspace: http://adf-use-cases.googlecode.com/files/TreeTableUseCase.rar
    If you download the application and run in respective jdev version, you will get to know more about the issue.
    Please let me know, If I am doing anything wrong in the implementation of this use case.
    Any help/suggestions are appreciated.
    Thanks
    Umesh
    Note: My complete application is in Jdev 11.1.2.0, so I can't degrade my jdev version to 11.1.1.5.

    Thanks Frank for the reply.
    But upgrading the jdeveloper to 11.1.2.2 is not an ideal solution for us now, because of the size of the project.
    Some how, the issue of refreshing the tree table is resolved. I am using a command button with clientComponent to true and causing a full page refresh.
    I am not sure, if this is a perfect solution.
    As you said, that this behavior may be an issue with the Jdev version 11.1.2.0, I am using. I am going with the above said approach.

  • Vendor Address not getting printed properly in cheque printing.

    Hi
    While printing the vendor address for the cheque printing, for certain vendors the street no. is not getting printed & for certain vendors PO Box is not getting printed.
    In the program we are fetching vendor address from REGUH table & then passing onto the global variables which are being used in the script & data is there in the database table for both street & PO Box number.
    The code in the script is as follows:
    /:           ADDRESS PARAGRAPH UH TYPE '3'
    /:             TITLE    &W_ANRED&
    /:             NAME     &W_ZNAME1&,&W_ZNAME2&,&W_ZNAME3&,&W_ZNAME4&
    /:             STREET   &W_ZSTRA&
    /:             POBOX    &W_ZPFAC& CODE &W_ZPST2& CITY &W_ZPFOR&
    /:             POSTCODE &W_ZPSTL&
    /:             CITY     &W_ZORT1(28)&
    /:             COUNTRY  &W_ZLAND&
    /:             FROMCOUNTRY &W_LAND1&
    /:             ADDRESSNUMBER &W_ZADNR&
    /:           ENDADDRESS       
    Can anyone please let me know, what could be the possible reason for this?

    you can tyr with TYPE '1' or TYPE '2'
    : ADDRESS PARAGRAPH UH TYPE '3'

  • On reversal of Invoice the table BKPF not getting updated properly

    Hi
    I have an issue, that when we create the Commercial Invoice, accounting document generated automatically. And after that due to some reason when we reverse the same through  VF11, the accounting document which was created while doing the invoicing not getting updated by "reversed with (STBLG)" field and "reversal Indicator (XREVERSAL) field in the table BKPF.
    However when I test the some scenario in Development and Quality server the same field is getting updated.
    I have already checked the Billing Document Type of SD and accounting document type but found everything in place.
    I am unable to get what is missing,and why this is happening in Production server only.
    Need your input at the earliest.
    Thanks in advance
    Regrads
    AA

    Hi
    thanks to all for their suggestion, the issue resolved with the help of SAP.
    For the forum members information :-
    This is standard system behaviour.
    BKPF-XREVERSAL is only populated/filled in the reversed original
    and in the reversal FI document if BKPF-STBLG and BKPF-STJAH
    are populated/filled in reversed original and reversal FI document.
    BKPF-STBLG and BKPF-STJAH are only populated/filled in reversed
    original and reversal FI document if the new/real cancellation
    procedure (-> with automatic clearing of the open items) is executed,
    and the new/real cancellation procedure is not executed, if an
    open item of the original, to be reversed FI document, has already
    been cleared (-> also see note 309208).
    Regards
    Amitesh Anand
    Edited by: AA on Apr 25, 2009 11:37 AM

  • Gnome-system-monitor not getting decorated properly (openbox)

    If I run gnome-system-monitor it doesn't get decorated properly.
    This is the terminal output:
    gnome-system-monitor
    (gnome-system-monitor:3789): Gtk-WARNING **: Theme directory scalable/places/22 of theme black-white_2-Neon has no size field
    (gnome-system-monitor:3789): Wnck-WARNING **: Unhandled action type _OB_WM_ACTION_UNDECORATE
    (gnome-system-monitor:3789): Wnck-WARNING **: Unhandled action type _OB_WM_ACTION_UNDECORATE
    (gnome-system-monitor:3789): Wnck-WARNING **: Unhandled action type _OB_WM_ACTION_UNDECORATE
    (gnome-system-monitor:3789): Wnck-WARNING **: Unhandled action type _OB_WM_ACTION_UNDECORATE
    (gnome-system-monitor:3789): Wnck-WARNING **: Unhandled action type _OB_WM_ACTION_UNDECORATE
    (gnome-system-monitor:3789): Wnck-WARNING **: Unhandled action type _OB_WM_ACTION_UNDECORATE
    And here is a screenshot:
    It just draws the titlebar as omni-transparent, takes whatever is beneath it at the moment it spawns and just gets garbled as soon as I move it.

    gnome-system-monitor uses libgnomesu for this. It's a library that does the same things as sudo does.

  • Why does my signal drops and takes a long time to search and connect when I turn on or off my cellular data? And normal text messages are not getting delivered properly. It shows sent but later it will show try again, Is it just me?

    I do not know what the problem is, but after the latest update it is really hard to send text messages. It is taking alot of time to send the messages, it is not the problem with the carrier because sending text messages with the same number in the same area is really easy on my normal nokia 1100. Please suggest me what I should check. Second problem I am facing is the carrier signal drops to nothing when I turn on the cellular data. It has to then search for the network and connect again the same happens when I turn the data off again. Please tell a solution. I do not think it is the problem with the hardware because the phone is hardly 2weeks old and everything was working properly with ios 6. It initaly had problem with the battery on updating to ios7 but that was rectified with the new update but again these are the new issues am facing.

    This may sound stupid, but I'm gonna throw it out there anyway. Is it possible, that if I have enough junk on my desktop it might disrupt the signal? It seems odd, but it kind of looks like my signal is strong and relatively steady now that I've cleaned my desktop. I do tend to get very cluttered. I use a lot of reference images and save text clippings to use later... it just piles up very quickly.
    So, I wonder if all that extra effort my system has to do keeping up with the junk might have something to do with the drop outs?

  • Korean data from text file not getting decoded properly in SAP

    HI,
    I am uploading a text file with some korean text in it.
    As I upload, in the debugging i find that the data which should come like this "테스트" is coming like "ë°u2022ìu201E ìu02DC#".....
    That is the decoding is not happening properly.....
    Please provide any suggestion if i need to get any settings right..
    Thanks in advance

    Grt,
    Try saving the txt file in notepad . When you do a save as you will find an option called encoding which is by default ANSI. You can try changing it to UTF-8 and try uploading.
    Else you can use program RSCP_CONVERT_FILE to convert the encoding format.
    Mostly Korean should have a code page of 8500 in SAP.
    Try converting from 8500 to 4103(UTF-8) and then upload.
    Let me know your findings
    Thanks
    Ajay

  • Company code name is not getting displayed properly in SRM portal

    Hi Experts,
    I have an strange issue. In the ECC (Backend) system, my company code name is getting displayed correctly. But in the SRM portal, it is showing the old name.
    I have tried to run the report BBP_ATTR_TEXT_REFRESH. But the BUK attribute is not coming in the F4 help. I am using SRM 5.0
    Please suggest me any other way where i can refresh the company code name.

    Hello,
    Kindly refer to the SAP Note 1156021 to resolve your issue here.
    Best Regards,
    Rahul

Maybe you are looking for

  • How do I get an iCal "Month" to fill the screen?

    I am new to this. How do I get a view of iCAL, eg, the month of April, to fill my computer screen?

  • My N79 can't display arabic character

    hi guys, can you all help me how to make Arabic character/fonts can be display on my N79 instead of boxes character. I already update the firmware to 30.019.53.1 but still cannot display Arabic fonts. What should I do? Am I missing something? can you

  • Palm Desktop 6.2 and 32-bit Windows 7

    Hello Everyone, I am looking to confirm that Windows 7 32-bit works with Palm Desktop 6.2 before I upgrade. Right now I have a 755p from Verizon.  Thanks again for everyones help.  Post relates to: Treo 755p (Verizon)

  • Some of my photos have disappeared from iphoto

    Hi I'm running iphoto 09 (version 8.1.2 424) on my Mac Book (Mac OS X 10.5.6). I've just noticed that several photos are missing from various events. In some cases there is only one photo left. This appears to have happened randomly - some of the eve

  • Steps for loading approvers, solicitors & workflows to the CUP

    Hello, I want to know if there is a way or steps to load the approvers, solicitors & workflows in the CUP of SAP GRC AC 5.3. What I mean is that can I load first the workflows and then the approvers & solicitors and then join the approvers to the wor