UDO Problem (I am Using UDO For My Custom Form.......)

Hi   Friends
I am Using UDO's For My Custom Form The Form Is Created using Screen Painter . In This Form Two Buttons One For OK and Another for Cancel  Button ID's Are 1 & 2. According to Form Mode The Button Caption is Changing. Second Button Caption is Always CANCEL. By Default form open with ADD Mode.But I want to OK MODE. or UPDATE MODE.
My Main Quation is I Want to Open My Form in OK Mode or UPDATE Mode.
Thanks & Regards
Naresh.K

It so simple Naresh,
        After loading xml file write the below code...
oForm.Mode=SAPbouiCOM.BoFormMode.fm_UPDATE_MODE
If it helps give reward points,
Regards,
Anitha

Similar Messages

  • UDO Problem ( I am Using UDO's in my screen ......)

    Hi friends
    I am Using UDO in My screen (custom Screen Designed using Screen painter)
    My problem is  when i open screen it's open in ADD mode but i want to open in UPDATE Mode is there any way to open in update mode.
    One way is there to open screen in UPDATE Mode but it's not acting like System UPDATE Mode .
    Example
    We are Using OUD's Bydefault screen will open in ADD mode
    you can add record by pressing ADD Button Data will store in data base with out writing any code and UPDATE also Same like ADD Button .
    I want to open Screen in UPDATE Mode Please Help Me
    Is there any way to Display form in UPDATE Mode
    Urgent Please
    Thanks & Regards
    Naresh.K

    Naresh its very simple while load form change the mode to update
    v_Form.Mode = SAPbouiCOM.BoFormMode.fm_UPDATE_MODE
    If it helps reward points,
    Regards,
    Anitha

  • I am Using UDO's  for my custom forms i want to open.....

    Hi Friends
    I am working on UDO's for my custom forms, in my project i have four screens i want to open choosefromlist my custom form what is the process to open choosefromlist(Userdefined screens)
    anyone have solution
    Thanks & Regards
    GanjiMadhu

    For eg your udo name is "ud_CFL"
    Now open ur srf in xml.
    <item uid="1000003" type="16" left="123" tab_order="0" width="120" top="5" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
    <AutoManagedAttribute/>
    <specific TabOrder="0" ChooseFromListUID="ud_CFL" ChooseFromListAlias="ud_CFL(Write col name of that table)">
    <databind databound="1" table="@PM_ACTCO_HEAD" alias="U_machineID"/>
    </specific>
    </item>
    <ChooseFromList UniqueID="ud_CFL" ObjectType="ud_CFL" MultiSelection="0" IsSystem="0"/>

  • Authorization Problem (I am Using Authorization For Custom Forms)

    Hi All,
    I am Using Authorizations To My Forms (I created One Addon For This Addon I am Using Authorization).I created Authorization For My Addon But While Working It Showing Some Errors
    . In My Addon Four Forms are there For  this four forms I am Using Authorization based on usres some screens only super  user can access. normal user he is not a super user he  cliekd on that authorization form it shows one message  Your not a authorized user to permitted this operation in this message box we have two butons one is ok button and one is Authorized by another user . When i clicked on Ok Button  I am getting error Internal error (-10) occured [131-183]. Please give me Your Valable Suggestion.
    I am waiting for  your Reply.
    Thanks & Regards
    Naresh

    I am using Sap Authorizations For My Custom Form  See The Code Also U Can Get Clear Idea
    Private Sub CustomAuthorization()
            Dim li_RetVal As Integer
            Dim pUserPer As SAPbobsCOM.UserPermissionTree
            Try
                pUserPer = Me.SBO_Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserPermissionTree)
                'Purchase Indent
                If pUserPer.GetByKey("NHCL_PM") = False Then
                    pUserPer.PermissionID = "NHCL_PM"
                    pUserPer.Name = "Purchase Module"
                    pUserPer.Options = SAPbobsCOM.BoUPTOptions.bou_FullNone
                    li_RetVal = pUserPer.Add()
                End If
                'Purchase Indent ->New Purchase Indent
                If pUserPer.GetByKey("NHCL_PM_NPI") = False Then
                    pUserPer.PermissionID = "NHCL_PM_NPI"
                    pUserPer.Name = "New Purchase Indent"
                    pUserPer.Options = SAPbobsCOM.BoUPTOptions.bou_FullNone
                    pUserPer.ParentID = "NHCL_PM"
                    pUserPer.UserPermissionForms.FormType = "2000010002"
                    li_RetVal = pUserPer.Add()
                End If
                'Purchase Indent->View For Approval
                If pUserPer.GetByKey("NHCL_PM_VIE") = False Then
                    pUserPer.PermissionID = "NHCL_PM_VIE"
                    pUserPer.Name = "View For Approval"
                    pUserPer.Options = SAPbobsCOM.BoUPTOptions.bou_FullNone
                    pUserPer.ParentID = "NHCL_PM"
                    pUserPer.UserPermissionForms.FormType = "2000010003"
                    li_RetVal = pUserPer.Add()
                End If
                'Purchase Indent ->Selection For RFQ
                If pUserPer.GetByKey("NHCL_PM_SEC") = False Then
                    pUserPer.PermissionID = "NHCL_PM_SEC"
                    pUserPer.Name = "Selection For RFQ"
                    pUserPer.Options = SAPbobsCOM.BoUPTOptions.bou_FullNone
                    pUserPer.ParentID = "NHCL_PM"
                    pUserPer.UserPermissionForms.FormType = "2000010006"
                    li_RetVal = pUserPer.Add()
                End If
                'Purchase Indent ->Purchase Quotation
                If pUserPer.GetByKey("NHCL_PM_PUR") = False Then
                    pUserPer.PermissionID = "NHCL_PM_PUR"
                    pUserPer.Name = "Purchase Quotation"
                    pUserPer.Options = SAPbobsCOM.BoUPTOptions.bou_FullNone
                    pUserPer.ParentID = "NHCL_PM"
                    pUserPer.UserPermissionForms.FormType = "2000010007"
                    li_RetVal = pUserPer.Add()
                End If
                'Purchase Indent ->Final Quotation
                If pUserPer.GetByKey("NHCL_PM_FIN") = False Then
                    pUserPer.PermissionID = "NHCL_PM_FIN"
                    pUserPer.Name = "Final Quotation"
                    pUserPer.Options = SAPbobsCOM.BoUPTOptions.bou_FullNone
                    pUserPer.ParentID = "NHCL_PM"
                    pUserPer.UserPermissionForms.FormType = "2000010008"
                    li_RetVal = pUserPer.Add()
                End If
            Catch ex As Exception
                Dim ErrCode As Long
                Dim ErrMsg As String
                Me.SBO_Company.GetLastError(ErrCode, ErrMsg)
                Me.SBO_Application.StatusBar.SetText("Authorization Problem" & ErrCode & li_RetVal, SAPbouiCOM.BoMessageTime.bmt_Short)
            End Try
        End Sub

  • How to attach PLD layout for my custom form.

    How to attach PLD layout for my custom form.
    Or
    How to enable print functinality for my custorm form - purchase indent etc
    Is the only option is Query print layout or any other option?

    Hi,
    Unfortunately, you cannot create your own PLD layouts for your addons. Instead, most developers opt for a third party report writer such as Crystal Reports or SQL Reporting Services to provide reports.
    If you search this forum you'll find a lot of useful information on how to integrate Crystal with your addon.
    Kind Regards,
    Owen

  • How to set record history for a customized form?

    i have created a customized form and register it onto apps. everything is working fine expect for the Record History part. while going to Help -> Record History for my customized form it showing error message -
    Recird History is not availbale here.
    Please suggest if i have to write a specific trigger for setting the record history. also please provide the sample code for the same.
    Thanks,
    Sam

    Sam,
    Please see if these threads help.
    How to enable record history for custom forms
    How to enable record history for custom forms
    RECORD HISTORY (or) WHO COLUMNS in R12???
    RECORD HISTORY (or) WHO COLUMNS in R12???
    Regards,
    Hussein

  • Error using Bapi_PO_Change for update custom fields

    Dear Expert,
    I have requirement for update custom field in table ekko. I used BAPI_PO_CHANGE with PO_number as a key. Then i put the value of custom field in segment TABLES - EXTENSIONIN.
    But I get error : "ERROR TRANSFERING EXTENSIONIN DATA FOR ENHANCEMENT CI_EKKODB".
    When I checked, I found the difference between data type the value for BAPI_PO_CHANGE (Usinf structure BAPIPAREX) and data type for custom field in table EKKO.
    Data Type in BAPI_PO_CHANGE is CHAR (you can see in structure BAPIPAREX). And data type for the custom field is DECIMAL.
    I found the note '1124803', but the correction note was not applicable for us because our released system is 500.
    Is there any suggestion or solution for resolve our problem?
    Really appreciate your help.
    Thanks.

    Hi Laxmikanth Bethi ,
    I tried with BAPI_PO_CHANGE in level header, and SAP was support the BAPI. And also i tried to appending the same fields in MEPOHEADR & MEPOHEADERX structures, but the problem is the type of my custom fields are DECIMAL, then the type MEPOHEADR & MEPOHEADERX structures are CHARACTER. So i got the error :  "ERROR TRANSFERING EXTENSIONIN DATA FOR ENHANCEMENT CI_EKKODB".
    Because the types are difference.
    Have you any suggestion to solve this problem?
    Really appreciate for your input.

  • Can we enable licensing facility for our customized forms and report...?

    He All,
    We have a product and we frequently used to send customized forms and reports to our customers through the shipment team after QC certified. But some of the customized forms and reports have sent to the customers without their knowledge from the development team, it is creating a big problem in the customer site.
    We would like to know that is there any facilities to verify that this shipment has come from through proper channel or not if not they should not open. Is there any license kind of thing that we can do..? If I run some exe file which will check that and let the customer to use it..?
    If any one have the knowledge about this kindly share with us. any kind of information regarding this can be appreciated.
    With Best Regards
    Thangaraj

    So you want the customer to be able to check if the forms where shipped through the proper department from your company?
    First thing that comes to my mind is to pack all the Forms in a JAR file (which is basically a ZIP file) and sign the JAR file with the jarsigner tool. To sign the JAR you need access to the private key that is in a keystore that's only available to this single department. The customer can verify if the JAR was signed with a proper certificate.
    You could issue your own certificate to do this but requires the user to also first import this certificate so it is trusted. You could also buy a commercial certificate from a vendor like Verisign but there are costs involved.
    Just google for jarsigner and keytool to get the idea.

  • Form personalization for a read only responsibility for a custom form

    Hi,
    I have a read only responsibility. My requirement is to make a custom form updatable through this responsibility but wth a condition that only the specific custom form should be updatable and rest all other form accessed through read only responsibility be read only. How can i achieve this using form personalization?
    Pls give me detailed steps if possible.
    Thanks

    I tried override Query Only values through Forms Personalization but it did not work for me. With a bit of determination I might have been able to work around it but no luck on that front.
    You can do it this way, although it's a bit cumbersome:
    1. Clone every function and menu in the Responsibility
    2. In all but your custom function set the Function parameter QUERY_ONLY=YES

  • ResourceBundleProject for Web page composer for labeling custom forms

    Hello Experts,
    We are using EP 7.0.18 WPC 18
    I have created a custom web form for WPC and done KM configuration. It works fine.  We already had some custom web forms which are used.
    For building a bundle file. I have downloaded the par file which we had on portal and imported it to NWDS. Added the three entries for the form I created.
    The entries in WPC.properties file
    cod.xlbl.wpc_custonlinklist=custom link list
    cod.xtit.wpccustomlinkist=custon link list
    xmlb_wpccustonlinklist=custom link list
    xmlb_wpccustonlinklist=custom link list this label has been sucessfully replaced. But, cod.xtit.wpccustomlinkist=custon link list
    label still shows up as
    Please suggest.
    Thanks,
    Raj

    I was deploying par file without source. After deploying it with source. it worked.

  • Attachments not enabling for a custom form

    Hi,
    I created a simple Oracle apps custom form based on a custom table having only 2 fields. The form works fine.
    I tried adding attachment functionality by setting up -
    - Document Entities
    - Document Categories and
    - Attachment Functions as given in many tutorials online.
    I am still unable to see the attachment icon enabled.
    I also registered the custom table using ad_dd.register_table and ad_dd.register_column and still the attachment icon is not enabled.
    Even the profile option 'Indicate Attachments' is set to Yes at site level. Still does not work.
    Is there any code that needs to be written on the standard attachments trigger in the fmb?
    Please suggest what else I can do to enable the attachments icon/clip?
    Thanks!
    Edited by: user10648285 on Dec 23, 2011 3:38 AM

    This is the forms standalone forum. As attachment are a feature specific to the eBusiness-suite, you sould ask your question in an eBusiness-suite-related forum. Also, as far as i remember, there is a detailed chapter about attachments in the developers guide for eBusiness-suite development.

  • Tools for Developing/Customizing Forms for Oracle Apps R12.1

    Hi All,
    Could you please help me identify the tools and correct version for developing and customizing Forms for Oracle E-Business Suite R12.1?
    Regards,
    KK

    Also, could you please elaborate your 2nd point regarding template.fmb The Oracle EBS uses a framework. Starting any new (custom) form for the EBS should ALWAYS begin with the template.fmb to ensure your new form has all of the required objects to comply with EBS Forms development standards. You might want to take a look at the Oracle Applications Documentation library. Select your EBS version and then scroll to the Standards section and review the following documents:
    <ul>
    <li>Oracle Applications Developer's Guide
    <li>Oracle Applications User Interface Standards for Forms-Based Products
    <li>Oracle Application Framework Personalization Guide
    </ul>
    Craig...

  • Problem importing videos using Photos for Mac

    I just install photos for mac, everything seems ok since I moved iphoto library to new photos library.
    But there is one problem, I can not import videos from my iphone, every new photo was imported but not a single video.
    The application said the format file is unrecognizable file type.
    I am using macbook air with Mac OS X Yosemite ver 10.10.3 also iphone 4s and iphone 5, each idevice using latest ios.
    Thank you in advance

    iPhoto did not support video syncing over iCloud. The new Photos app does. If you synced, or transferred your videos to iTunes, they should have migrated yo Photos. Enable Sidebar in the View menu, then check the Videos special Album.
    Your old iPhoto app and iPhoto Library remain on your drive and work as before. The iZphotolsb is in your Applications folder.
    How to get iPhoto 9.6.1 if you didn't update before OS X10.10.3. 
    Prepared by Barney-15E: https://discussions.apple.com/docs/DOC-8431

  • When I log off Firefox, there is a long delay, then an error message: Firefox not responding. Then it eventually logs off. The side bar scroll up and down also experiences delays. This is a new problem--I've used Firefox for years. Help!

    I uninstalled and reinstalled Firefox to see if the problem would go away--no luck. It's not my mouse nor my keyboard. Internet Explorer does not have this problem nor any other application. When typing on websites, there is also a delay when the cursor is tabbed, and typing experiences fits and starts as well. I'm going crazy!

    Hello jesterabk, '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • Problem with Legacy using IBIP for IP01

    Hi everybody, i have one particualr question about one legacy that i'm doing in this case i'm using IBIP, with the object 0460 and the method is 0001(Create)
    The first screen fills okey as the header and the items but when it's in screen 0210 appears this message and i don't know why is making this having in count that in Maintenance plan scheduling parameters, in date determination all the field that i can see are
    RMIPM-VSPOS
    RMIPM-TOPOS
    RMIPM-VSNEG
    RMIPM-TONEG
    RMIPM-HORIZ
    RMIPM-ABRHO
    RMIPM-HUNIT
    RMIPM-SZAEH
    RMIPM-UNITC
    Field RMIPM-ZEIT. does not exist in the screen SAPLIWP3 0201
    And also my legacy has this Structure Relashionship
    IBIPMPLA IBIP: Maintenance Plan                                       <<<
    Select Target Structure IBIPMPLA .
         IBIPMPOS IBIP: Maintenance Item
             IBIPTEXT IBIP: Long text line
             IBIPOLST IBIP: Objectlist
             IBIPBDCD IBIP: Direct BDCDATA: formatted BDCDATA: expert use only
    The structure RMIPM doesn't appear
    Thanks for all
    Vanina

    Hi
    why not using the Maintenance Plan API which are RFC enabled?
    MPLAN*
    MPLAN_ACTIVATE
    MPLAN_CLEAR_DELETION_INDICATOR
    MPLAN_COMPLETE_CALL            Maintenance Scheduling - Set Call to Completed
    MPLAN_CREATE                   Create Maintenance Plan
    MPLAN_CREATE_WITH_TEMPLATE     Change Maintenance Plan
    MPLAN_DEACTIVATE               Deactivate Maintenance Plan
    MPLAN_FIX_CALL                 Maintenance Scheduling - Fix Call
    MPLAN_ITEM_READ                Read Maintenance Item
    MPLAN_MANUAL_CALL              Maintenance Plan Scheduling - Manual Call
    MPLAN_MULTI_SCHEDULING
    MPLAN_READ                     Read Maintenance Plan
    MPLAN_READ_MULTIPLE
    MPLAN_RELEASE_CALL             Maintenance Plan Scheduling - Release Call
    MPLAN_RESTART                  Maintenance Plan Scheduling - Restart Scheduling
    MPLAN_SET_BUFFERSIZE
    MPLAN_SET_DELETION_INDICATOR   Set Deletion Flag for Maintenance Plan
    MPLAN_SKIP_CALL                Maintenance Plan Scheduling - Skip Call
    MPLAN_START                    Maintenance Plan Scheduling - Start Scheduling
    MPLAN_START_CYCLE              Maintenance Plan Schedluing - Start in Cycle
    MPLAN_UPDATE_SCHEDULING        Maintenance Plan Scheduling - Update Scheduling
    thanks
    Stephan Bantlin

Maybe you are looking for