Skip to Content
author's profile photo Former Member
Former Member

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 03, 2007 at 01:23 PM

    Hello h p,

    You can try the "Event Logger", it will help you to handle events.

    HTH

    Quentin

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • author's profile photo Former Member
    Former Member
    Posted on Jan 17, 2007 at 06:01 AM

    check the form mode fm ok, fm add, fm edit etc

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 17, 2007 at 09:18 AM

    hi h p,

    to handle update or add event, you have to check first form mode

    example:-

    if(pVal.ItemUID=="1" && oForm.Mode==SAPbouiCOM.BoFormMode.fm_UPDATE_MODE)

    {

    //your code for update.

    }

    if(pVal.ItemUID=="1" && oForm.Mode==SAPbouiCOM.BoFormMode.fm_ADD_MODE)

    {

    //your code for add.

    }

    hope it help.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.