Af:selectBooleanCheckbox get unchecked when do sorting on that column

Hi,
I am facing issue with af:selectBooleanCheckbox, this is inside a popup, table
<af:popup childCreation="deferred" autoCancel="disabled" id="p21" contentDelivery="lazyUncached">
                  <af:dialog id="p31" title="#{penfaxviewcontrollerBundle.SELECT_MESSAGE_RECEIPIENTS}"
                             closeIconVisible="false" dialogListener="#{pageFlowScope.composeMessage.selectMessage}">
<af:panelGroupLayout id="pgl2" layout="horizontal" valign="top">
                      <af:outputLabel value="#{penfaxviewcontrollerBundle.EXTERNAL_USERS}" id="ol2"/>
                      <af:table value="#{bindings.PExternalUserVO1.collectionModel}" var="row"
                                rows="#{bindings.PExternalUserVO1.rangeSize}"
                                emptyText="#{bindings.PExternalUserVO1.viewable ? 'No data to display.' : 'Access Denied.'}"
                                fetchSize="#{bindings.PExternalUserVO1.rangeSize}" rowBandingInterval="0"
                                selectedRowKeys="#{bindings.PExternalUserVO1.collectionModel.selectedRow}"
                                selectionListener="#{bindings.PExternalUserVO1.collectionModel.makeCurrent}"
                                rowSelection="single" id="t1" contentDelivery="immediate" columnStretching="column:c2">
                        <af:column sortProperty="#{bindings.PExternalUserVO1.hints.SelectUser.name}" sortable="true"
                                   id="c1" align="center" width="30">
                          <af:selectBooleanCheckbox value="#{row.bindings.SelectUser.inputValue}"
                                                    label="#{bindings.PExternalUserVO1.hints.SelectUser.label}"
                                                    required="#{bindings.PExternalUserVO1.hints.SelectUser.mandatory}"
                                                    autoSubmit="true"
                                                    shortDesc="#{bindings.PExternalUserVO1.hints.SelectUser.tooltip}"
                                                    id="it4">
                            <f:validator binding="#{row.bindings.SelectUser.validator}"/>
                          </af:selectBooleanCheckbox>
                        </af:column>
facing two issue
1: When this popup appears and in table I have say 5 rows. If i check any of the rows checkbox other then first row it shows checked but again shows that checkbox unchecked. But if I check again any row that remain checked.
2. Now if i click to sort this checkbox column all checkbox become unchecked.
So please suggest wht may be the cause. I am using Studio Edition Version 11.1.2.4.0
Also I want to know how we can apply caseInsensitive sorting on table.
Thanks

The framework implements table sorting by re-executing VO's query with added ORDER BY clause (i.e. the sorting is not performed in-memory but through re-execution of the query). I suppose that the SelectUser attribute is a transient one. When the query is re-executed you lose the values of the transient attributes. This behavior is by design, it is not a bug.
Dimitar

Similar Messages

  • Radio button getting unchecked when form in query mode

    There are 4 radio buttons on my form.Initially when the form is opened one radio button is checked.But when the form is in query mode that radio button got unchecked.Is there any way that the initial checked radio button remains checked even the form is in query mode ?
    Message was edited by:
    user496853

    Hi,
    Solutions given by Kevin and Zaibiman is not applicable for my form as the radio button will be in data base block only.This is the requirement of the form.
    The other solution given by Zaibiman was to set the radio button item when entered in query mode , i have tried that but that is also not working.
    Pranati,the solution given by you i have also tried that ,but that has not solved the issue,Radio button get unchecked when eneterd in query mode.
    Please elaborate and suggest.
    Thanks,
    Kirti

  • ITunes 11.0.3 Songs view, show artwork + sort by that column = a bit of chaos

    I have in recent months recreated my iTunes library, in iTunes 11, partly from backups from older libraries and partly with higher quality rips from CD. In the various views, everything looked great and organized. All songs neatly grouped in their Album with cover art applied. Took a little time and tweaking here and there as the CDDB sometimes has bad info, or lacks it. Anyhow. Even in Songs view, nothing was amiss.
    Just updated to 11.0.3
    Trying out the new Songs view with Album art (show artwork, always show).
    When I now use that left column to sort albums by title; or other selection; several albums are split up into individual songs? Some albums get split into two. Another view two albums with the same name, the view will show one song for each album from each artist as an album, going up one number at a time. Another album, the last n songs get split off? 
    Manually created albums from stuff that predated iTunes suddenly get split up into little bundles of 1 or 3? Tried correcting by setting  track # and disc #. Converting ID tag. Changing album name. Artist name. Finally setting Artist Album kicked that bunch together. But, that is something I have never had to set?
    Most of these were carefully ripped in iTunes and then Get Info verified ensuring they all had the same artist, etc. and I overwrote stuff with disc 1 disc 2 as Album 2CD. 
    I just don't understand why it suddenly seeds the need to split it up, when in the regular album view or artist view everything is A OK.
    Unless, of course this new view is buggy.

    I'm not sure why it just showed for me either.
    I litterally have been rebuilding my library fresh on a new system in iTunes 11 from hard drive backups, optical discs and from fresh rips of our favorite music at higher bit rates. Been adding art work from the web or self scanned. Making sure all tags are correct and to my liking. Correcting some things from CDDB or typing it all out if it couldn't find it.
    So in 11.0.2 everything looked 100% per album and per artist, both locally on the system and via iOS remote.
    Out comes 11.0.3 with its new song view with art work ... and dozens of albums went haywire.
    I understand this may have come about way back, but I'm hardly a music library novice and I go back from before we had iTunes So, it had me scratching my head, why stuff that was fine yesterday, and actually still today in the artist view or album view (via the chicklets) would turn on its head all of a sudden in song view, which has always been my default view! Sorted by album title (column 4 or 5) I can only conclude something is different with this new artwork + sorting column.

  • Change Picture gets unchecked when I restart Yosemite

    Changing desktop picture is not persisting after restarting Yosemite!

    This is because the iPad 2 does not mirror the display. Only the iPad 3rd generation or higher does.

  • Built and captured new wim and included all updates but more updates get applied when I build from that wim

    EDIT: This is on SCCM 2012 R2 CU3
    (EDIT: simplified title)
    I have a task sequence for building reference images from. This runs the Software Updates Step last and seems to work fine. When it completes I reboot the target machine then do a capture to wim (using the SCCM capture iso).
    I import the new wim and link it to the GOLD build task sequence, but when I build from from it the machine tries to install another bunch of updates.
    The OS I'm building is 2008 R2 SP1. I have all updates from year 2008 deployed to the right collection.
    Why does it try to install more updates??
    I was considering using SCCM to install the updates directly into the WIM but I'm no longer convinced it will work. I just want a gold image, built from scratch, with all updates in it.
    Andy

    P1: Agreed. I didn't do a very good job of explaining myself.
    I have failed to get the multiple "install updates" methods to work at all, though I would love it to work. For Server 2008 installs the process gets stuck for 20mins on the "Detecting Updates..." stage, and loops round again to download
    the same set of updates it did the previous time never reboots, and gets stuck at "Detecting Updates" again. For server 2012 installs it seems to work but it never get all the updates, even after 5 loops of the install updates step.
    I've read sp many posts saying they've got the multiple "install updates" method to work fine. I've tried building my Task Sequence to be exactly as posted by several different people. I've also tried my own improvements. The result is the
    same every time, so I don't think there is a problem with the TS.
    Thanks for you feed back. It is useful to know it "can" work as it implies there is a problem someone (either with me or SCCM). You help is appreciated.
    Thanks.
    As a side note, I'm going to make a new post for the following. I did a bit of further digging and it seems like this might be related to why the above is not working....
    I've built a 2012 and a 2008 server with a single "install updates" step in the task sequence. When the build is finished I then run windows updates within the OS. The result is "No More Updates Found", I felt this was suspicions
    as there were no were near enough updates installed already. I then pointed the machines at Microsoft's update servers and, bingo, it finds more updates. I assumed these updates where missing from my Updates Package in SCCM but that turned out to
    be wrong, they are right there, distributed to the DP, and deployed to the right collection.
    As far as I understand it, you don't need to touch the WSUS console, but seeing as I didn't build this SCCM environment, I thought I would check it out anyway. It looks like WSUS may have been partly configured directly at some point, rather letting
    SCCM to it all. Example: I searched in the WSUS console for appoved updates and found 6 old ones (2003 server and XP) approved for Install. A further search found 421 "Declined" updates. Everything else is marked "Not Approved".
    Does any of this matter if SCCM is supposed to be managing it? Should I trash WSUS and the SCUP and reinstall it, or is there something else I should be doing?

  • Can't get my table to sort. Please help

    Can't seem to get my table to sort. That was a non-issue with the previous version of Numbers but now if I try to sort ascending by totals it just shuffles my numbers with no visible logic. Please help, this is such a simple task, shouldn't be so hard. I tried all suggestions on the forum and nothing works. This is a snapshot of the table:
    And this is the result after sorting descending by Totals column:
    Any and all help welcome!

    Hi Dannie,
    Sorting in Numbers 3 follows a different pattern from Numbers 2. Formulas do not automatically adjust.
    When Numbers 3 was installled, it was placed in your Applications folder. Numbers 2 was moved to a subfolder called iWork '09 within your applications folder.
    With your document open in Numbers 3, File > Export To > Numbers '09. Then use Numbers '09 (Numbers 2) to work on it.
    Wayne Contello has written a User Tip for working with the old and new versions of iWork.
    https://discussions.apple.com/docs/DOC-6991
    The trick is to drag icons for both versions to your Dock. Right click or control click on each and Options > Keep in Dock. That puts you in charge of which version you launch.
    Here is a screen shot of both Numbers icons on my Dock.
    Numbers 2.3 (Numbers '09) on the left with a three column graph.
    Numbers 3.2 on the right with a four column graph.
    Both versions will run happily together. Just be sure which version is opening your document.
    Instead of double clicking the document, run whichever version of Numbers/Pages/Keynote suits and use File > Open.
    Regards,
    Ian.

  • Getting ClassCastException when accessing Blob object

    I am using weblogic 5.1 with service pack 10.
    I need to query pdf data stored in a blob field in Oracle
    8.1.6 server. The native code c:\weblogic\bin\oci816_8
    is part of the path. When I query the database with
    Oracle 8 client, I can get data.
    driver: weblogic.jdbc20.oci.Driver
    url: jdbc20:weblogic:oracle:mydb
    What I have done is to get the blob object with:
    Blob blob = rs.getBlob(5);
    long len = blob.length();
    But when I call the blob.length();
    I got the a ClassCastException. I really appreicate
    your comment.
    The exception message is:
    ====================================================
    java.lang.ClassCastException: java.lang.String
    at weblogic.jdbc20.oci.Blob.length(Blob.java:75)
    at com.agf.profile.ProfileServlet.doProcess(ProfileServlet.java:126)
    at com.agf.profile.ProfileServlet.doGet(ProfileServlet.java:37)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletSt
    pl.java:120)
    at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Servle
    textImpl.java:922)
    at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Servle
    textImpl.java:886)
    at weblogic.servlet.internal.ServletContextManager.invokeServlet(Ser
    ContextManager.java:269)
    at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP
    a:380)
    at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
    ====================================================
    Thanks,
    Jian

    hi jian,
    it seems you are trying to access a column as a blob type when the data in
    that column is not blob.
    Make sure that your column number 5 is defined as Blob in the database.
    I tried the following code and it worked fine for me.
    Blob b=rs.getBlob("data");
    long l=b.length();
    byte bt[]=b.getBytes(1,(int)b.length());
    File f=new
    File("d:\\bea\\wlserver6.1\\config\\jdbcdomain\\applications\\defaultwebapp\
    \blob_new.pdf");
    FileOutputStream fos=new FileOutputStream(f);
    fos.write(bt);
    fos.close();
    It was able to create the file blob_new.pdf
    But when I tried the following code it gave me the same exception as you are
    getting
    Blob bb=rs.getBlob("id");
    long ll=bb.length();
    Where id is a column in the database of varchar type
    I am using the following settings
    driver: weblogic.jdbc.oci.Driver
    url: jdbc:weblogic:oracle
    i am using wl 6.1 and oracle 8
    Hope this helps you.
    johnny
    "jian zhang" <[email protected]> wrote in message
    news:[email protected]...
    >
    I am using weblogic 5.1 with service pack 10.
    I need to query pdf data stored in a blob field in Oracle
    8.1.6 server. The native code c:\weblogic\bin\oci816_8
    is part of the path. When I query the database with
    Oracle 8 client, I can get data.
    driver: weblogic.jdbc20.oci.Driver
    url: jdbc20:weblogic:oracle:mydb
    What I have done is to get the blob object with:
    Blob blob = rs.getBlob(5);
    long len = blob.length();
    But when I call the blob.length();
    I got the a ClassCastException. I really appreicate
    your comment.
    The exception message is:
    ====================================================
    java.lang.ClassCastException: java.lang.String
    at weblogic.jdbc20.oci.Blob.length(Blob.java:75)
    atcom.agf.profile.ProfileServlet.doProcess(ProfileServlet.java:126)
    at com.agf.profile.ProfileServlet.doGet(ProfileServlet.java:37)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletSt
    pl.java:120)
    atweblogic.servlet.internal.ServletContextImpl.invokeServlet(Servle
    textImpl.java:922)
    atweblogic.servlet.internal.ServletContextImpl.invokeServlet(Servle
    textImpl.java:886)
    atweblogic.servlet.internal.ServletContextManager.invokeServlet(Ser
    ContextManager.java:269)
    atweblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP
    a:380)
    atweblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:
    >
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
    ====================================================
    Thanks,
    Jian

  • How do I get my photos to sort by file name when sync'd to the iPad?

    How do I get my photos to sort by file name when sync'd to the iPad?  The default sorting method changes the order of pictures when sync'd from my pc.

    http://support.apple.com/kb/HT4221

  • I have downloaded and installed the latest version of numbers on my mac. Everytime I save and then try to reopen that document, I receive a message telling me that I need a new version of numbers. Also, when I try to sort the date column, it sorts out of

    I have downloaded and installed the latest version of numbers on my mac. Everytime I save and then try to reopen that document, I receive a message telling me that I need a new version of numbers. Also, when I try to sort the date column, it sorts out of order. The last version sorted fine.

    Welcome to Apple Support Communities
    When you install the new iWork version, the old iWork version is kept, so it looks like you are opening your old version.
    To fix this, open a Finder window, choose Applications in the sidebar and drag the new Numbers version to the Dock, so you can access to it quickly. Open all documents from this version. I don't recommend you to delete the old Numbers version in case you need it.
    Respecting to the second question, you will get better answers in the Numbers for OS X forum

  • When I sort by date added in Column View in Finder, how can I make the most recent files appear at the top of the list?(Mavericks)

    In 10.8, when I sorted Finder by date added or date created in column view, the most recent files would appear at the top of the list. Currently, this happens as it should in every single view mode EXCEPT column view (which is pretty much the only view I ever use). Currently, I have a folder with over 2000 files in it that date back to 2011, so now I have to scroll for like ten minutes just te get to files that were most recently added. Who in their right mind would want to sort by last modified with the oldest result listed FIRST? Ridiculous. I can't figure this out. Any help?

    Thanks for the reply leroydouglas! Unfurtunately this doesn't cause the column to be ordered correctly either. After selecting this option, the files seem to be ordered by label, and the most recently added file is somewhere in the middle of the list. I'd like it to be at the top, and have other files/folders descend in retrochronological order by their add date.
    Any other input from the community would be greatly appreciated, even if it's just confirming that this is/is not expected behavior. I'd be super bummed to find out that this IS expected behavior, as it's really counterintuitive and extremely inconvenient.
    Thanks again!

  • Error when using sort variant 0005 for RABEWG01 (tcode za353)

    Hi SAP experts,
    I have a problem with program RABEWG01 (tcode za353). When I use sort variant 0005 and execute it, I get this error:
    Table ANLV is not supported in the requested report
    Message no. AB066
    Diagnosis
    You requested sort version 0005 for the current report. The sort version contains a field in table ANLV. However, the report does not process this table. Therefore the sort version cannot access this table and this field.
    System Response
    The report is not executed with sort version 0005.
    Procedure
    Enter a sort version that uses only valid tables. The following tables are supported in the current report:
    ANLAV ANLB
    Can someone help me to explain why ANLV is not supported in the requested report? If we can't use sort variant 0005, why is it there in the first place?
    ==========================================
    Field:
    Company code: 001
    Report date: 30.03.2011
    Dep area: 01
    do I need to add any more entries in the field so that i can use sort variant 0005? thanks!

    Hi,
    note 21719 explains the reason for he error:                                                                               
    " Fields from tables ANLP and ANLV can only be used in a sort version if    
    the same tables are used in the relevant report (currently only the case    
    with reports RAGAFA01 and RAVERS01). If these fields are used in other      
    reports, runtime error GET_WA_NOT_ASSIGNED could occur..."    
    regards Bernhard

  • Getting error when trying to create Exchange Connector in System Center Service Manager 2012

    Getting error when trying to create Exchange Connector in System Center Service Manager 2012
    The connection to the server was unsuccessful. Please check the server name and/or credentials entered.
    Additional Information: The server URL is not accessible or the user does not have permission to access it (message: The request failed. The remote server returned an error: (401) Unauthorized.
    Warm Regards, Pramod Kumar Singh Manager-IT

    Someone sorted out this issue by installing API 1.2 and copying the dll files to the service manager server ,service folder and replacing it with API 2.0 dll files.
    Also, your question is related to SCSM, please post at SCSM forum if you have further question.
    Juke Chou
    TechNet Community Support

  • How to get header when we use CL_GUI_FRONTEND_SERVICES= GUI_DOWNLOAD

    Hi SDN's,
    Can u tell me how to get headers when we download data to excel with using (we are using DBF as file type in the following method )
    CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD
    (We can't use GUI_DOWNLOAD)
    Thanks in advance..
    BR

    Hi,
    I m giving u a bdc code i hope ur prob ll be solved.
    *& Report  ZDTK_BDC_LT01
    *& PROGRAME TITLE : LT01
    *& AUTHOR         : D TARUN KUMAR
    *& MM CONSULTANT  : Mr. MRINMOYE CHAKRABORTY
    *& REQUEST NO.    : RD1K901995
    *& TRANSACTION ID : ZLT01
    *& PACKAGE        : ZTARUN
    *& DESCRIPTION : BDC REPORT TO UPLOAD INITIAL STOCK POSTING AND
    *&               STORAGE BINS THROUGH LT01.
    REPORT  ZDTK_BDC_LT01
           no standard page heading line-size 255.
    TYPE-POOLS: TRUXS.
    STRUCTURE DECLARATION
    TYPES : BEGIN OF TY_UPLOAD,
                     LGNUM(3),
                     BETYP(1),
                     BENUM(10),
                    BWLVS(3),
                     MATNR(18),
                    BISMT(18),
                     ANFME(16),
                    WERKS(4),
                    LGORT(4),
                     CHARG(10),
                    LETYP(10),
                    VLTYP(3),
                    VLBER(3),
                    VLPLA(10),
                    VLQNR(10),
                     NLTYP(3),
                    NLBER(3),
                     NLPLA(10),
                    NLQNR(10),
              END OF TY_UPLOAD.
    INTERNALTABLE & WORKAREA DECLARATION
    DATA : T_UPLOAD TYPE STANDARD TABLE OF TY_UPLOAD,
           T_BDCDATA TYPE STANDARD TABLE OF BDCDATA,
           T_BDCMSGCOLL TYPE STANDARD TABLE OF BDCMSGCOLL,
           W_UPLOAD TYPE TY_UPLOAD,
           W_BDCDATA TYPE BDCDATA,
           W_BDCMSGCOLL TYPE BDCMSGCOLL,
    GLOBLE DECLARATION
           G_FLNAME TYPE STRING,
           G_MESSAGE(70) TYPE C,
           IT_RAW TYPE TRUXS_T_TEXT_DATA,
    GLOBLE DECLARATION
           WA_OPT TYPE CTU_PARAMS.
           WA_OPT-UPDMODE = 'A'.
           WA_OPT-DEFSIZE = 'X'.
           WA_OPT-DISMODE = 'A'.
    SLECTION SCREEN DECLARATION
    SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECTION-SCREEN SKIP 2.
    PARAMETER : P_FILE LIKE RLGRAP-FILENAME OBLIGATORY.
    SELECTION-SCREEN SKIP 2.
    SELECTION-SCREEN : END OF BLOCK B1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
    PERFORM GET_FILENAME.
    START-OF-SELECTION.
    PERFORM UPLOAD_DATA.
    *PERFORM GET_FINAL.
    *PERFORM GET_MIGO.
    PERFORM SESSION.
    *PERFORM TEST.
           Start new screen                                              *
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
      CLEAR W_BDCDATA.
      W_BDCDATA-PROGRAM  = PROGRAM.
      W_BDCDATA-DYNPRO   = DYNPRO.
      W_BDCDATA-DYNBEGIN = 'X'.
      APPEND W_BDCDATA TO T_BDCDATA.
    ENDFORM.
           Insert field                                                  *
    FORM BDC_FIELD USING FNAM FVAL.
    IF FVAL <> NODATA.
        CLEAR W_BDCDATA.
        W_BDCDATA-FNAM = FNAM.
        W_BDCDATA-FVAL = FVAL.
        APPEND W_BDCDATA TO T_BDCDATA.
    ENDIF.
    ENDFORM.
    *&      Form  GET_FILENAME
          TEXT
    FORM GET_FILENAME .
    CALL FUNCTION 'F4_FILENAME'
    EXPORTING
       PROGRAM_NAME        = SYST-CPROG
       DYNPRO_NUMBER       = SYST-DYNNR
       FIELD_NAME          = 'P_FILE'
    IMPORTING
       FILE_NAME           = P_FILE
    ENDFORM.                    " GET_FILENAME
    *&      Form  UPLOAD_DATA
          text
    form UPLOAD_DATA .
    CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
      EXPORTING
      I_FIELD_SEPERATOR          =
        I_LINE_HEADER              = 'X'
        I_TAB_RAW_DATA             = IT_RAW
        I_FILENAME                 = P_FILE      "WORK TABLE
      TABLES
        I_TAB_CONVERTED_DATA       = T_UPLOAD[]    "ACTUAL DATA
    EXCEPTIONS
       CONVERSION_FAILED          = 1
       OTHERS                     = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    endform.                    " UPLOAD_DATA
    *&      Form  SESSION
          text
    FORM SESSION .
    *sort t_upload by bismt.
    LOOP AT T_UPLOAD INTO W_UPLOAD.
    REFRESH T_BDCDATA.
    *CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
    EXPORTING
       input         = W_UPLOAD-CHARG
    IMPORTING
      OUTPUT        = W_UPLOAD-CHARG .
    *CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
    EXPORTING
       input         = W_UPLOAD-VLBER
    IMPORTING
      OUTPUT        = W_UPLOAD-VLBER .
    *CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
    EXPORTING
       input         = W_UPLOAD-NLTYP
    IMPORTING
      OUTPUT        = W_UPLOAD-NLTYP .
    *CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
    EXPORTING
       input         = W_UPLOAD-NLBER
    IMPORTING
      OUTPUT        = W_UPLOAD-NLBER .
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
      EXPORTING
        input         = W_UPLOAD-CHARG
    IMPORTING
       OUTPUT        = W_UPLOAD-CHARG .
    DATA : BWLVS(3),
           LGORT(4),
           WERKS(4),
           CHARG(10),
           LETYP(10),
           VLTYP(3),
           VLBER(3),
           VLPLA(10),
           VLQNR(10),
           NLTYP(3),
           NLBER(3),
           NLQNR(10).
    DATA : W_MATNR(18).
    *SELECT SINGLE MATNR FROM MARA INTO W_MATNR
                      WHERE BISMT = W_UPLOAD-BISMT.
    BWLVS = '999'.
    LGORT = '3500'.
    WERKS = '1030'.
    LETYP = 'E1'.
    VLTYP = '998'.
    VLBER = '001'.
    VLPLA = 'AUFNAHME'.
    NLTYP = '354'. "(packaging material)
    *NLTYP = '353'. "(spareparts material)
    NLBER = '001'.
    *include bdcrecx1.
    *start-of-selection.
    *perform open_group.
    perform bdc_dynpro      using 'SAPML03T' '0101'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'LTAP-CHARG'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'LTAK-LGNUM'
                                  W_UPLOAD-LGNUM.  "'350'.
    perform bdc_field       using 'LTAK-BENUM'
                                  W_UPLOAD-BENUM.  "'1000000000'.
    perform bdc_field       using 'LTAK-BETYP'
                                  W_UPLOAD-BETYP.  "'P'.
    perform bdc_field       using 'LTAK-BWLVS'  BWLVS.    "'999'.
    perform bdc_field       using 'LTAP-MATNR'
                                  W_upload-MATNR.    "'40000009'.
    perform bdc_field       using 'RL03T-ANFME'
                                  W_UPLOAD-ANFME.    "'1,000'.
    perform bdc_field       using 'LTAP-WERKS' WERKS.    "'1030'.
    perform bdc_field       using 'LTAP-CHARG'
                                  w_upload-charg.
    perform bdc_dynpro      using 'SAPML03T' '0102'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'LTAP-NLPLA'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'RL03T-ANFME'
                                  W_UPLOAD-ANFME.    "'1,000'.
    *perform bdc_field       using 'LTAP-ALTME'
                                 'KG'.
    perform bdc_field       using 'LTAP-LETYP' LETYP.    "'E1'.
    *perform bdc_field       using 'LTAP-CHARG' W_UPLOAD-CHARG.    "'0000000101'.
    perform bdc_field       using 'LTAP-VLTYP' VLTYP.    "'998'.
    perform bdc_field       using 'LTAP-VLBER' VLBER.    "'001'.
    perform bdc_field       using 'LTAP-VLPLA' VLPLA.    "'AUFNAHME'.
    perform bdc_field       using 'LTAP-NLTYP'
                                   W_UPLOAD-NLTYP.       "'351'.
    perform bdc_field       using 'LTAP-NLBER' NLBER.    "'001'.
    perform bdc_field       using 'LTAP-NLPLA'
                                  W_UPLOAD-NLPLA.    "'01 00 01'.
    *perform bdc_transaction using 'LT01'.
    *perform close_group.
    CALL TRANSACTION 'LT01' USING T_BDCDATA
                            MODE 'A'
                          UPDATE 'A'
                            OPTIONS FROM WA_OPT
         MESSAGES INTO T_BDCMSGCOLL.
    IF SY-SUBRC <> 0.
    READ TABLE T_BDCMSGCOLL INTO W_BDCMSGCOLL INDEX 1.
        CALL FUNCTION 'FORMAT_MESSAGE'
          EXPORTING
            ID        = SY-MSGID
            LANG      = 'EN'
            NO        = SY-MSGNO
            V1        = SY-MSGV1
            V2        = SY-MSGV2
            V3        = SY-MSGV3
            V4        = SY-MSGV4
          IMPORTING
            MSG       = G_MESSAGE
          EXCEPTIONS
            NOT_FOUND = 1
            OTHERS    = 2.
        IF SY-SUBRC = 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          WRITE : / W_upload-matnr ,'-----' , G_MESSAGE.
          REFRESH T_BDCMSGCOLL.
        ENDIF.
        ENDIF.
    *clear : w_matnr, w_upload.
    ENDLOOP.
    ENDFORM.                    " SESSION

  • I'm getting # marks when printing from Word to .pdf; what's going on?

    I recently reinstalled OS and all software, including Acrobat 9.  (No virus, just like to freshen things up on the system.)  Now, when I print from Word to a .pdf file, I get # marks inserted near header and footer.  This never happened before.  I unchecked the box (under properties) that says, "rely on system fonts only; do not use document fonts" and that made them go away, but I never had to mess with that previously.  Is that, in fact, the solotion, or is there something else going on that needs to be corrected?
    Thanks

    The check box was checked by default.  I made no revisions to the settings after reinstalling Adobe.
    As noted, this had never happened before.  The document was a letter with a letterhead graphic inserted (.png I believe).  When I pulled up various old letters I prepared using the letterhead template or even the blank letterhead template itself and printed to .pdf, the # marks showed up, whereas that had never happened previously.  Again, though, I made no changes to the default settings, so I'm wondering whether unchecking the check box really did take care of the problem or is just "masking" or "hiding" some other issue.

  • Sync contacts and calendar options keep getting unchecked

    The options to sync my Outlook contacts and calendar keep getting unchecked each time I restart iTunes. When I recheck them and attempt to sync, I receive a message stating that
    "The information on the iPhone is synced with another user account. Do you want to sync this iPhone with the information from this user account instead"
    It then asks if I want to "Merge Info" or "Replace Info". I'm not sure how to proceed, since I don't want to lose any data or end up with a bunch of duplicates.
    How can I stop this from happening? Any ideas?
    I truly appreciate your assistance. Thanks.
    Mike
    Message was edited by: moznmar

    Sounds like you sync your phone between two different computers? If this is the case, the options unchecking themselves seems to be an intentional thing by Apple, I'm thinking to prevent an accidental "oops" overwrite of information if auto-sync is active.
    You can choose the "merge" option and everything on your phone (contacts and calendars, but NOT music) will be merged with everything on your computer - this is, everything will end up in both places.
    You can only sync music with one computer, however, so make sure you keep the music options unchecked on the computer you don't sync music with.
    -SB

Maybe you are looking for

  • How i get my data back written on notes in n73

    hello,i have lost my data written on "notes "of my n73,bcoz i restored my phone from memory card but the data was lost.could i rollback my phone memory or how i can get my files back.......plz HElp me .........thnx Moderator's note: Information of pe

  • HT2907 My laptop doesn't recognize my ipod nano 4th generation. What can I do?

    I connect my IPod to the laptop and it doesn't recognize it. My laptop doesn't recognize my iPod and Itunes neither.

  • I need a password to reset my Time Machine but I cannot find one. How do I get the TM working again.

    I changed the location of my TM (and my modem)  My back up has repeatedly said "backup failed". Trying to exit from my asigned disk and re-boot required a password. I have tried many that I have used but w.o. success.  Where do I go from here?

  • Installs but doesn't work

    I have a PC running XP with 32-bit Photoshop CS5 installed.  The 32-bit pixelbender installation was fine.  However, when I open an image in Photoshop and select Filter > Pixel Bender > Pixel Bender Gallery... I get the message "Error: The operation

  • Write error on vbox and linux 4

    my database can not update in a linux86 host on window64's vbox, dmesg as MSI INIT SUCCESS PCI: Setting latency timer of device 0000:00:0d.0 to 64 ahci 0000:00:0d.0: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode ahci 0000:00:0d.0: flags: