How to handle ok/add/update button

hi,
   the button ui=1 automatically changes in add/update /ok buttons .but how we handle update and add ivent through database.
Pandey
Sai I.S.

Hi,
I have made a new company in SAP B1 and I Selected the Use purchase account posting system in company detail Basic Initalization tab.
so it is post the taxes in stock account.this is not formal and i am getting problem in normal processing. so i want to know what the effects of this purchase account posting system. how it is different from normal. how can i chang this company in narmal company for normal processing .plz tell me process of changing in normal. and if i carry on futher hat will be the efect of it.
plz give me answar quickly
I have also a problem when i creating new company .it does not take any user name and when i open that by manager user it gives massege wrong user or passward.
what the problem is there plz give me solution of all above.
HP

Similar Messages

  • How to Disable the Add & Review Button

    How to Disable the Add & Review Button
     *Updated with the correct ISF  code (the previous code, in case you saved it, was to actually  escape apostrophes.  That will be posted  seperately. 
    Note that this solution might not work in your environment - you might have to modify it based on your installation.
    Enjoy! 
    Common_disableAddAndReviewButton()
       if ( Moment == 'ordering' )
            var theForm = document.forms[0];
            var buttonCt = 0;
            for( i = 0; i < theForm.elements.length; i++ )
                 if( theForm.elements[i].type == "submit" )
                    if ( buttonCt == 0 || buttonCt == 2 )
                        theForm.elements[i].disabled = true;
                         theForm.elements[i].style.visibility="hidden";                  
                     buttonCt++;              

    This is GREAT - I added a new Java Script and set it to "when form is loaded" and when I did some test reqs - no Add & Review button !!!!

  • How to handle "ok" and "cancel" button of dialog popup?

    Hello everyone,
    I'm using a dialog with type="okCancel". My question is how to handle ok and cancel button of this popup window. Here is my code below:
    <af:popup id="kriterPopup">
    <af:dialog title="Kriter Seçiniz" type="okCancel" inlineStyle="width:500px;height:400;" id="d2"
    dialogListener="#{BasvuruDegerlendirmeBean.kriterDialog}">
    <af:selectManyCheckbox label="Kriterler :" id="smc2"
    binding="#{BasvuruDegerlendirmeBean.kritersCheckbox}">
    <af:forEach items="#{BasvuruDegerlendirmeBean.kriterList}" var="item">
    <f:selectItem itemLabel="#{item.ybKriter.tur}" itemValue="#{item.ybKriter.tur}" id="si3"/>
    </af:forEach>
    </af:selectManyCheckbox>
    </af:dialog>
    </af:popup>
    I want to handle ok and cancel button of this window, and redirect to the pages which I want.
    Can anyone help me how I can do?
    Thanks, with my regards.
    Ali

    You need dialogListener..
        public void dialog1_dialogListener(DialogEvent dialogEvent) {
            if (dialogEvent.getOutcome().equals(DialogEvent.Outcome.yes)){ //for Yes
            }else{ //for Cancel
        }

  • How to keep pressing add row button to add new row

    Hello,
    I know that you can set the add row process to add many rows at once by pressing the button one time, but can anybody show me how to make it possible to keep hitting the add row button and it keep adding a new line?
    Right now it will only add one line and when I press the button again it does nothing.
    Thank you

    Hi, I have the same (or close) problem. I was trying to create a tubular form with ADDROW button and I did it. During creation wizard I did specify a table where added data should go. The solution I was looking for was to have only one empty row when I load my page and be able to add more empty rows one by one by clicking on ADD_ROW button. The problem is that when page loads it is already filled up with data from table (which I did specify during creation and where data should be writen to) and only when I press on ADD_ROW it will addd an empty one.
    Is there a way to do it the way I wanted?
    Thanks

  • How to "un-grey" the "Updates" button under Help in PS CS6?

    I had uninstalled the CS5.5 and installed the CS6 Master collection. But the "Updates" button under Help in PS is greyed out, that means I cannot update the ACR to 7.1 or any subsequent updates. How can I overcome this problem? BTW, my computer is windows based.

    " Sure you can - simply download them from the support pages/ download section.”
    What should I download from that page?
    ATongT

  • How to Disable Check for updates button in Help/About in firefox 5.0

    Hi the user should not manually check for updates so we want to disable the Check for updates button also in Help/About.
    Thanks in advanced

    You can hide that button with code in userChrome.css below the @namespace line.
    * http://kb.mozillazine.org/userChrome.css
    * http://kb.mozillazine.org/Editing_configuration
    You can use the ChromEdit Plus or Stylish extension to have easier access to the customization files.
    * ChromEdit Plus: http://webdesigns.ms11.net/chromeditp.html
    <pre><nowiki>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    #aboutDialog #updateBox { display:none!important; }</nowiki></pre>
    You can also choose to lock the related update pref(s) to false if you want to make sure.
    See:
    * http://kb.mozillazine.org/Locking_preferences
    * http://kb.mozillazine.org/about:config

  • How to handle more than one button in a form?

    Hello Java fans,
    I am new to Servlets. I am facing a problem in java servlet. I tried to place two buttons in the form. Both buttons has to invoke different servlets. How to associate action to each button?
    Thanks in advance,
    SMVEL

    Give each button a different name so that you can check which button is clicked.
    <input type="submit" name="button1" value="Press this button to invoke servlet1">
    <input type="submit" name="button2" value="Press this button to invoke servlet2">
    Then in your controller servlet:
    if(request.getParameter("button1") != null){
    //button1 is pressed.
    //forward to servlet1.
    else if(request.getParameter("button2") != null){
    //button2 is pressed.
    //forward to servlet2.
    }

  • How to handle multi row update in table?!

    Hello,
    I am searching for a solution to edit/update a lot of rows of a table at one time. The user has the ability to edit all cells of this table and then update this by pressing a submit button.
    I have a managed bean with an collection of objects. Each object represents on row.
    How is this handled in JSF? Is it only necessary to bind the datatable to the collection?
    Thanks,
    Thomas

    Is it only necessary to
    bind the datatable to the collection?Yes.
    Don't forget to put the collection in session scope.

  • How to operate Ok and Update Button Simultaneously in SAP B1

    Hi All,
    I have placed a button in screen painter. I have given unique ID as 1. ie. It takes Caption as OK and on click of that Button Caption is changed to Update. I want to update the database on click of Update. How do I do this?
    Regards

    HI,
    this are different form modes, as u know ... se boFormMode constanst
    see more information at your locally installed sdk package at
    C:\Program Files\SAP\SAP Business One SDK\Samples\COM UI\VB.NET\04.WorkingWithXML
    This is a good example
    regards,
    Janos.

  • How to handle stop and refresh button.

    i have two JSP pages. in the frist page the user has the option to either view previous ones or create a new. in both cases i pass a form id as parameter to execute the related data. in the second page , when user fills the data and clicks submit, and clicks the stop or refresh or any other button before the data gets committed and reaches the confirmation page, how do i handle it? when user clicks one of these buttons , the controller class executes again (the process request is again executed).but this time there are no parameters sent to the controller. how do i handle this? also when user clicks the back i have redirected to dialog page. but there are back,forward refresh buttons for the dialog page. if user clicks those, again there are no parameters sent to the controller class.
    how do i handle this.

    too many queries at the same time.
    1. Back button - Read the devguide and make the application/page bworser backbutton safe
    2. Refresh/Stop Buttons - either use js to restrict these, or embed logic in the code to stop undesirable behaviour.
    Thanks
    Tapash

  • How to Handle Events for JOptionPane buttons?

    Hi All,
    I need a help...
    I am trying to develop a simple SWING application that consists of multiple elements (mainly text fields) and a Submit button. On pressing Submit button, it should validate all the fields and then do something else. But if some fields are left blank, then it should give a pop-up message and on clicking the OK button on the pop-up message, the focus should go to that text field which is left null.
    The problem is I am not able to understand how to Capture this OK button click-event of the pop-up message. I mean how to do something when the OK/Cancle button of the pop-up window is clicked.
    Please Help me.
    Thanks in Advance,
    Ujjal

    As already pointed out, JOptionPane has some static methods which show a dialog, and return an int, or a string. The whole point of this class is to remove the need for any event handling by the developer, that is, you simply call the showDialog method or whatever, and it returns a value telling you, for example, which button was pressed - no need for action listeners at all. The result of the showDialog method (or whichever you use) tells you which button was pressed. Check the javadocs for JOptionPane for details of several constants that indicate which button was pressed
    The class exists to make simple dialogs trivial to generate - you're overcomplicating things!

  • Confusion as how to handle monthly software updates

    I'm struggling to wrap my head around the proper way of handling software update delivery through Configuration Manager 2012 R2.  I'm hoping you guys and gals and
    can set me straight.  Anyway, here is my question.
    I have a ADR configured that grabs all
    updates released or revised in the past 1 month.  For the month of October the ADR grabbed all updates released in October, however, it also grabbed updates that were revised in October but were originally released in September.  So, now the same
    update exists in my software update groups (and same deployment package) for both September and October.  I've also had an instance in August where some updates were revised that were originally released in 2011.  In that case, I had updates existing
    in my August 2014 software group as well as my 2011 group (and two different deployment packages).  What is the proper way of handling this scenario?  Does it hurt that these updates exist in multiple groups?  Should I perform some type of cleanup?
     Please help me understand this.  Thanks :)

    "So, now the same update exists in my software update groups (and same deployment package) for both September and October."
    So? (Sorry, not trying to be harsh, just don't know how else to say it.)
    There's nothing wrong with having updates in multiple groups. If a client already has it installed, then it won't do anything for that update no different for any other non-applicable update.
    As for the update package, same thing. The update will only be downloaded once (if the ADRs point to the same update package) and will only de distributed to your DPs once regardless of update package.
    Although keep in mind revisions are usually accompanied by new binaries so can be thought of as new and distinct updates which means what you have happening is exactly what should happen.
    So, no, it doesn't hurt anything at all and no there's nothing special for you to do.
    Jason | http://blog.configmgrftw.com | @jasonsandys
    Hey Jason, thanks for the reply.  You didn't sound harsh at all.  That's exactly what I wanted to hear.  Introducing SCCM into a network when I've never used SCCM has been a learning experience.  The software update model is different
    than what I'm used to with WSUS.  I was afraid I may have organized things wrong and didn't know if duplicate updates were normal behavior.  Thanks for setting me straight.  I always worry too much when it comes to these things :)

  • How to handle Fcodes of custom buttons in REUSE_ALV_GRID_DISPLAY_LVC

    Hi Experts,
    I am using the REUSE_ALV_GRID_DISPLAY_LVC function module in my z function module to display ALV. I also changed the pf status and wrote the form for USER_COMMAND, but the itab IT_ZCP_DEMAND_SYS1 is not regocgnized in this form. Kindly tell how can i make internal table visible inside another form.
    FUNCTION ZCP_ALV_GRID.
    PERFORM DISPLAY_GRID  TABLES IS_ZCP_DEMAND_SYS1  USING IS_LOC IS_MAT IS_CUST IS_DATE_S IS_DATE_E .
    ENDFUNCTION.
    FORM DISPLAY_GRID TABLES ISV_ZCP_DEMAND_SYS1 USING ISV_LOC ISV_MAT ISV_CUST ISV_DATE_S ISV_DATE_E .
    SET PF-STATUS 'ZCP_STATUS'  OF PROGRAM 'SAPLZCP_USEREXIT'.
    gd_repid = sy-repid.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
    EXPORTING
    *   I_INTERFACE_CHECK                 = ' '
    *   I_BYPASSING_BUFFER                =
    *   I_BUFFER_ACTIVE                   =
       I_CALLBACK_PROGRAM                =  gd_repid
       I_CALLBACK_PF_STATUS_SET          = 'ZCP_STATUS'
       I_CALLBACK_USER_COMMAND           = 'USER_COMMAND'
    *   I_CALLBACK_TOP_OF_PAGE            = ' '
    *   I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
    *   I_CALLBACK_HTML_END_OF_LIST       = ' '
    *   I_STRUCTURE_NAME                  =
    *   I_BACKGROUND_ID                   = ' '
       I_GRID_TITLE                      = 'Mainatin cell entry'
    *   I_GRID_SETTINGS                   =
       IS_LAYOUT_LVC                     = GS_LAYOUT
       IT_FIELDCAT_LVC                   = I_FIELDCAT[]
    *   IT_EXCLUDING                      =
    *   IT_SPECIAL_GROUPS_LVC             =
    *   IT_SORT_LVC                       =
    *   IT_FILTER_LVC                     =
    *   IT_HYPERLINK                      =
    *   IS_SEL_HIDE                       =
       I_DEFAULT                         = 'X'
    *   I_SAVE                            = 'X'
    *   IS_VARIANT                        =
    ***   IT_EVENTS                         = IT_SLIS_EVENT
    ***   IT_EVENT_EXIT                     = IT_EVENT_EXIT
    *   IS_PRINT_LVC                      =
    *   IS_REPREP_ID_LVC                  =
       I_SCREEN_START_COLUMN             = 30
       I_SCREEN_START_LINE               = 14
       I_SCREEN_END_COLUMN               = 120
       I_SCREEN_END_LINE                 = 25
    *   IT_EXCEPT_QINFO_LVC               =
    *   I_HTML_HEIGHT_TOP                 =
    *   I_HTML_HEIGHT_END                 =
    * IMPORTING
    *   E_EXIT_CAUSED_BY_CALLER           =
    *   ES_EXIT_CAUSED_BY_USER            =
      TABLES
        T_OUTTAB                          = IT_ZCP_DEMAND_SYS1
    EXCEPTIONS
       PROGRAM_ERROR                     = 1
       OTHERS                            = 2
    ENDFORM.
    FORM USER_COMMAND USING i_ucomm LIKE sy-ucomm i_s_selfield type slis_selfield.
    TYPE-POOLS: SLIS.
    DATA: IT_ZCP_DEMAND TYPE TABLE OF  ZCP_DEMAND_SYS.
    break-point.
    CASE i_ucomm .
    when 'NEW'.
    loop at IT_ZCP_DEMAND_SYS1.
    endloop.
    endform.
    Thanks in advance.

    This sample works, perhaps u can understand your problem:
    TYPE-POOLS: SLIS.
    DATA: I_CALLBACK_PROGRAM TYPE SY-REPID.
    DATA: T_T001 TYPE TABLE OF T001.
    START-OF-SELECTION.
    SELECT * FROM T001 INTO TABLE T_T001.
    I_CALLBACK_PROGRAM = SY-REPID.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
      EXPORTING
        I_CALLBACK_PROGRAM                = I_CALLBACK_PROGRAM
        I_CALLBACK_PF_STATUS_SET          = 'SET_PF_STATUS'
        I_CALLBACK_USER_COMMAND           = 'USER_COMMAND '
        I_STRUCTURE_NAME                  = 'T001'
      TABLES
        T_OUTTAB                          = T_T001.
    FORM USER_COMMAND  USING R_UCOMM LIKE SY-UCOMM
                             RS_SELFIELD TYPE SLIS_SELFIELD.
      CASE R_UCOMM.
        WHEN 'MY_CODE'. MESSAGE I208(00) WITH R_UCOMM.
        WHEN OTHERS.
      ENDCASE.
    ENDFORM.                    "user_command
    FORM SET_PF_STATUS USING RT_EXTAB TYPE SLIS_T_EXTAB.
      SET PF-STATUS 'MY_ALV' EXCLUDING RT_EXTAB .
    ENDFORM.                    "SET_PF_STATUS
    The status gui MY_ALV is copied for the standar gui STANDARD_FULLSCREEN of program SAPLKKBL
    Max

  • How to handle more than one submit buttons on servlets

    Hi:
    anyone know how to handle the multiplet submit button on servlet,
    such as next, previous, add and so on.
    Thank you

    Don't worry about because only the button that is clicked will get submitted. In the servlet you just test for the existance of a parameter:
    if (request.getParamter("SubmitButton1") != null) { ..... }
    if (request.getParamter("SubmitButton2") != null) { ..... }
    Save the following HTML code, open in IE and click on the buttons to see what will get sent to the servlet:
    <html><head></head><body>
    <form method="GET">
       <input type=text name=text1>
       <input type=submit name="Submit1" value="Me">
       <input type=submit name="Submit2" value="you">
    </form>
    </body></html>

  • How to use the standrad Refresh button in ooalv Grid?

    Hai Experts ,
                              i write editable oo alv program its works fine.  when change the data
    then click save button its saved correctly, but the problem is totals of row  & column not refresh when i am click the
    Refresh button . Please Help how to handle the standard Refresh button in ooalv .
    Thanks
    Adv....

    thank q u for ur reply,
                                            when i edit the data in grid and save the data its saved  successful,
    but the problem is manually i calculating the totals at the end of the Row as well as at end of the columns,
    when i edit the data in Grid that totals are not effected for that im using the Standard Refresh button ,
    Plz help me.

Maybe you are looking for

  • N0 Collective slip is printing in MB90

    Hi Experts, I maintained configuration settings and condition records for both out put types WE01 and WE03. When  I do the GR Collective slip in the general tab is automatically activated and I can see the both out put types WE01 and WE03 in the out

  • Every time I go to the iTunes app it boots me off

    When I go into the iTunes app, I click on the area to view all songs and as soon as my iPod downloads all of the songs the app stops and it takes me back to the home page for my iPod. Any fixes for this?? I just bought and loaded a new iTunes card an

  • I am just learning the cloud! How do I get my photos on my PC to show up in the cloud and then see them from my iPad?

    New user.  Have iCloud set up on both my home PC (windows vista). And on my iPad 2.  Can't figure out how to see my pics on the iPad  that are on my PC

  • ORA-38301: can not perform DDL/DML over objects in Recycle Bin

    Oracle 10.2.0.4: When performing DDL on a table I get the error "ORA-38301: can not perform DDL/DML over objects in Recycle Bin". I ran purge recyclebin but didn't help. I then ran following sql (below) and it returned whole bunch of rows for that us

  • FCS 2 Upgrade Path

    I had purchased Production Suite a few years back and upgraded/crossgrade to FCS1 sometime last year. I was hoping to upgrade now to FCS2 and have just bought the upgrade package for FCS (which remains as yet unopened). A query - i do not have the or