How to create one form for two Udo object

Hy ,
I have two Object Udo (header and line)
How we created a form to manage these two files (UDO)
Thanks

Thank you janos
it works, I put the code to other developers for information
     Shared Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_application.ItemEvent
            If ((FormUID = "SIR001_") And (pVal.ItemUID = "add") And (pVal.EventType = SAPbouiCOM.BoEventTypes.et_CLICK) And (pVal.Before_Action = False)) Then
                Dim oDS As SAPbouiCOM.DBDataSource
                oDS = SBO_application.Forms.Item(FormUID).DataSources.DBDataSources.Item("@SIR_LOTL")
                oDS.InsertRecord(oDS.Size)
                oDS.Offset = oDS.Size - 1
                oform = SBO_application.Forms.Item(FormUID)
                oMatrix = oform.Items.Item("mtx_0").Specific
                oMatrix.AddRow(1)
            End If
            If ((FormUID = "SIR001_") And (pVal.ItemUID = "del") And (pVal.EventType = SAPbouiCOM.BoEventTypes.et_CLICK) And (pVal.Before_Action = False)) Then
                oform = SBO_application.Forms.Item(FormUID)
                oMatrix = oform.Items.Item("mtx_0").Specific
                For index As Integer = oMatrix.RowCount To 1 Step -1
                    If oMatrix.IsRowSelected(index) = True Then
                        oMatrix.DeleteRow(index)
                        oform.Mode = SAPbouiCOM.BoFormMode.fm_UPDATE_MODE
                    End If
                Next
            End If
        End Sub

Similar Messages

  • How  to create one delivery for two sales orders?

    Hi Experts,
    I need to create one delivery for two sales orders. But it fails.
    The route, shipping point, ship to party are same for both orders but INCOTERMS are different.
    Delivery date, Good issue date, loading date,material availability date, transportation planning date for 1st order is 12/07/11 and for second order is 14/07/11.
    I have created delivery on 14/07/2011 but the delivery is created for 1st order only, the second order is missing in the delivery.
    It not happened because of incorterms.? different dates
    Kindly help regarding this.
    Thanks
    Raghu

    Hi
    To understand splitting behavior, see SAP Note 546668 - FAQ: Delivery split when creating deliveries. And yes, incoterms happens.
    I think that with the help of question 6 you can try to force the merging of SO. Then, see SAP Note 166397 - Delivery split according to customer field ZUKRL, and handling the field ZUKRL in a VOFM in the copy rule I think that you can try to do it.
    Finally See  Note 4505 - Duprec when adding delivery (VL04, VL01, VL10*) to avoid problems while you are merging.
    Regards
    Eduardo

  • How to create one checksum for 264 vis

    Hi,
    How to create "one Checksum" for 264 Vis.These 264 Vis are Interlinked if i change code for any .vi the checksum Should be update.This checksum is shown on the main window.
    Regards
    Ravindranath
    Solved!
    Go to Solution.

    Here's a slightly simplified version (saved in 8.6).  There's no need for the Get/Set File Position.  The file position is already being incremented with the read.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    Multiple File MD5 Checksum (Version 8.6).vi ‏23 KB

  • How to create a calendar for two years in GL

    how to create a calendar for two years in GL

    Hi,
    - Login into Oracle EBS and select a responsiblity with GL Superuser drants (e.g. General Ledger Super User)
    - Navigate to Setup + Financials + Calendars and open the GUI Accounting (Navigation for R12)
    - Query the used calendard (used from jour Set of Books/ Ledger via the GUI
    - Enter for each Period (= Period Type 13, 16, 18,...) one Record, have a look to the existing data, used the same logic.
    In the GUI, defined the calendar for 2 Years
    Dirk

  • How to create one TO for multiple TRs

    Dear All,
    how to create one TO for multiple TRs, kindly suggest me
    Regards,
    balu

    As for your question: it is discussed in sAP online help:
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/c6/f841f24afa11d182b90000e829fbfe/frameset.htm
    Sorry I misunderstood your question.
    The above mentioned solution won't create one single TO from multiple TR.
    Edited by: Csaba Szommer on Aug 11, 2010 9:46 AM

  • To create one infopackage for two cubes

    hi all
    iam new to bw and have a problem ,how to create an infopackage for two infocubes and load data into them.Thanks in advance

    Srinivas:
    I believe you are working in BW 3.5, then in the Infopackage select the tab :"Data targets" and select the radial buttom "update in all data targets for which update rules exist". Surely, if there are no update rules you will not be able to load data.
    Regards
    RAP

  • Is it better to create ONE form, for 25 different forms?

    We have a Telco Application (in Forms 10g) which has about 200 Forms which are called from the main menu. Out of that 200 forms about *25* are "file upload" type forms (shown below).
    http://www.freeimagehosting.net/alg6q
    As you can see this is small form. The functionality is as follows:
    *(a.)* Select a text file (which has data in tabular format) from the client PC.
    When file is selected, it is also copied to a directory in the DB server machine. File Name will show the full path of the file in the client machine.
    *(b.)* When user presses Load button, form calls a stored packaged procedure. In that we create a EXTERNAL table mapped to the file in the db directory and read the contents to a temporary table in the DB.
    *(c.)* When user presses Process button, the temporary table is read and our Telco tables are updated using this data.
    *(d.)* You can view the error records and correct records discovered while processing, with the View File option. This will display 2 Oracle reports.
    *(e.)* You can delete the temporary table contents using the Delete Temporary option.
    This story goes like this: Our application is in Forms 10g. Now, we want to upgrade this application to 11g Forms. One problem we encountered was the FileUploader bean which we use in the above forms. This does not work in 11g. Solution was found in using WebUtil. Now, we have to modify all 25 Forms (obviously).
    Now here comes the real important part: Our Managers think that in the future also we might have to do upgrade to these 25 forms (due to future problems/upgrades with WebUtil and so on) and they want us to create ONE form for the 25 forms. So, in that ONE form,
    (a.) We have a list box at the top where uses selects which upload function he wants.
    (b.) Then, the file is selected (and transferred to the DB directory).
    (c.) Now when the users presses Load button, we have to execute the load packaged procedure for the selected load file option.
    (d.) When he presses Process button we have to run the program unit for the selected file upload function.
    (e.) When user presses the View File button, he has to show the correct records and invalid records (found after processing) in 2 reports. The reports differ from function to function.
    (f.) He can delete the records in the temporary table using Delete Temp button.
    Is this is good idea?? My initial study tells me that it is not a good idea since we have one form with too much functionality. What are pros and cons of this approach and what is the best solution??
    Edited by: user12240205 on Jun 25, 2012 1:16 AM

    So the forms are completely different, and yet you are asked to stuff them all together into one form? What sense would that make? That's like pulling forms which are using text_io together just because when text_io is changed you simply would need to edit one form. Well of course you would have to. On the other hand there is a pile of code necessary to seperate the parts you glued together in the first place plus the effort of pulling all those forms together plus the effort of adding stuff to one "part" of the form.
    Also think about version control: you'd create more frequent conflicts in putting those forms together when different developers edit different parts of the form. Conflicts causes work as developers are forced to merge more often plus developers can make errors when merging their changes. Also the log of your version control system becomes quite useless as it always will be the xyz form which is changed. If you would want to know what did change you would have to read the log messages carefully of each revission (given the fact that developers wrote them carefully) or do diffs between revisions instead of...looking at what files changed.
    And all that just because the only thing they have in common is that they are using webutil?!? Do your managers keep their Blue Socks and their Blue Cars in the same drawer because they are blue?
    If the issue here is that you need to edit many forms and this might cause errors then you should take a look at the JDAPI, because this would be the tool to do changes in forms in batch. The forms migration assistant can also be configured to change one built-in into another, and you wouldn't have to write one line of java code. But stuffing forms together because they use the same built-ins...I'd say no, but of course this is just my opinioin ;)
    btw.:
    When you say API, u mean a PLL, right???Not only, by API I meant Application programming interface; this might be a package in a library, a whole pll file, a database package, a java class, or a combination of all those.
    cheers

  • How to create one form without table acces or view

    I am using portal 9.0.3; i want to create one form without acces to any table or view. There will be only 5 LOV ( radio group)
    and one botton . With this button i would like to read a specific file form the DB portal ( the name of the file will be the concatenation
    of the 5 answers of the radio group ).
    How can i do that with the tools of the portla.
    I am really new one in the portal development however i developped a lot of code in C

    I understand your problem. In this case, you can create a form on a procedure with 6 parameters. The first 5 parameters will the 5 LOV values selected. 6th one will be the button value clicked. Just pass them as parameters and your code for reading the file can be plugged in this procedure.

  • How to create a form with two column headings

    I have a business request to create a data form to handle multi year data by month. This will require creating a form with two column headings - with the first row be Year and second row be month, and data entry will begin in the third row and down.
    I can do multiple row headings in the layout design, but somehow can not get it to work for multiple column headings.
    Thanks in advance

    If you're in the "Layout" tab, simply pull the "Years" dimension and the "Period" dimension into the Column section. Planning can be a little picky about where you "drop" the dimension as you're dragging and dropping it. Drop it in the cell directly under the letter name of the column. Other than that, there's not much to it.
    Hopefully this helped,
    - Jake

  • How to Create the BSP for two languages(English & Arabic)

    Hi ,
    I got the requirement where  i need to create the  form for the Annuitant (Retriees) through they will inform their annuity department still they are surviving....so based upon the annuitant department run the annuity payslip for him.......
    In that I should keep company information in the top and resprctive employee information like EMP ID and his contact address need to specify by default.....
    For ex: Employee X is clicking this form..it should contain common information like company name and also employee's "X"  respective information like his EMP ID and his contact address like wise the form should generate both common address and employee respective information.....both in Arabic and in english....
    Is there any readymade BSP for this or if anybody have developed same kind of BSP pls send the code to [email protected]
    How to do that.....ist very urgent.......
    Help will be higly apppreciated.......
    Thanks in Advance ,
    Jasmine

    Hi Jasmine,
    I think you should try the SDN Search the next time before posting. You would have found this: [BSP/HowTo: Generate PDF Output from a BSP|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/1002]. Also crossposting the same question is a bad behaviour.
    Best regards
    Gregor

  • How to create one delivery for multiple sales order

    Hi!! Friends,
    Can some one explain the steps to be followed in creating one delivery for multiple sales order in SAP SD.
    Regards
    AKASH
    Message was edited by:
            AKASH TAMBI

    Hi.,
                  You can combine different orders in to one delivery ,But for the customer Order combination should be checked in  the sales area data of the shipping tab,we can combine orders but the ship to party,Route,Inco terms,Shipping date,shipping point should be same,you can do in T.code VL04 & VL10
    REWARD if helpfull
    Thanks & Regards
    Narayana

  • How to create a Form for cash flow analysis??

    Hi experts,
    Can anybody guide me to create a form for cashflow ananlysis?
    1) What is difference between direct and indirect cash flow statement?
    2) Is it possible to create a form in FSI4 without copying from a standard report?
    I have already configured Financial statement version for my co.code.
    Plz suggest.
    Regards,
    Biswa

    Hi R.N.Reddy,
    Thank you for the response.
    Can you tell me the steps to create the form step by step.i am doing this first time.
    And what is the difference between direct and indirect statement?
    Regards
    Biswa

  • How to create a form for DPS

    Hello,
    i want to create a form for an app iPad. Apparently via an interactive PDF that does not work, it loses its interactivity. Does anyone can help me?

    Moved to DPS forum.
    More details please. What EXACTLY are you trying to do?
    PDF form features of InDesign will not work in DPS.

  • How to create a form for identifying people in a photo?

    I have a group photo of about 60 people that I have imported into Acrobat Pro XI.  I would like to be able to send this photo pdf to others to get help identifying all of the people in the photo.  None of the recipients is likely to know all of the people, but it's likely that the contributions of all will end up identifying all of the people in the photo. 
    It seems like I ought to be able to create a form based on that photo pdf that includes a blank next to each person and that I can email to others to fill in as many of the blanks as they each can and return the form to me. 
    However, I've never created a form before, so I'm not sure how to get started and go about creating it, including which field type to use, how to collect the data when the completed forms come back, etc. 
    Has anyone done this sort of thing before? 
    Thanks

    It  might be better for people to use the various commenting tools that are available. If you Reader-enable the document, they will be able to use the various markup tools to add text and otherwise annotate, which is more flexible than form fields. For example:
    But you may have to include some instructions.

  • How to create fillable forms for users of reader IX or X in acrobat pro XI?

    I created fillable forms in Acrobat Pro XI. How can i make them fillable also for users with Reader IX or X? As Adobe Reader für Vista or Linux is only available in version IX or X, it is not possible for these users to fill in the forms?

    Open PDF Form in Acrobat XI then choose File > Save As Other > Reader Extended PDF > Enable More Tools (inclues form fill-in & save)...
    Then, save the form with new name and it's gonna work.
    Message was edited by: Anoop9178
    Edited the option.

Maybe you are looking for