Update Equipment Master with Warranty details

Hi All
Is there a function or BAPI I can use to update the master warranty details and start date on the Equipment Master(table EQUI)???
Marius V

I found a solution - A warranty or warranties are assigned to an equipment. The correct function to use is 'WARRANTY_ASSIGNMENT_RFC'. Hope this helps someone out there.
Regards
Marius

Similar Messages

  • Examples of Master with multiple details

    Hi Leo,
    I want to create Master with multiple details
    I have been trying for the similar example (Master with multiple details) for long time.
    It seems in the following link, you have mentioned that you have done such examples.
    Examples/Demos of APEX applications with Master with Multiple Details.
    Can you please share the solution to my emaid address [email protected]
    Or can anybody help me to get such solution with examples step by step.
    I would highly appreciate for any help.
    Thanks.

    Ok, so here's the rundown.
    Create a page with one "master" html region. In that region create your standard text/date/etc. items. Make sure that one of these is a hidden key field that is the key linking the master and details portions. Use a calculation to pre-populate the field from a sequence (or whatever uniqueness generator you choose). It is important to generate this key up front for the processing.
    Next I created one report region for each detail table I wanted to link in. Make sure to count the total number of fields you want to work with and that the total is LESS than 50. This is critical. The report should be selecting the columns from APEX_COLLECTIONS for display and manipulation on the screen. It is best to explicitly associate these to the Javascript column numbers now. I used a process to pre-populate my detail entry areas with default values for ease. I also included a button to add a row to each area, but you have to be careful here to use a good combination of form attributes so that the page refreshes don't SUBMIT yet.
    Once you have a report region generated from APEX_COLLECTIONS, you have to create the update processes that pull the information from the user modifications into the collection. This is the trickiest part of the whole thing. You have to use the APEX_COLLECTION.UPDATE_ITEM method, and you have to refer to the JavaScript column numbers for the source value and the collection column number for the destination. It is really easy to get these confused - I advise putting this all into a document or on a whiteboard for reference.
    Once you have the update processes written (I prefer writing one update process per detail section), write your processes to write the data to the database. Again, I suggest one process for each detail table. Trigger them to fire on submit.
    I also suggest creating a debug page to display all of the various collections and to help keep things straight. Once you have one detail area working, it is easier to get the others working.
    If you need actual code snippets, let me know and I'll see what I can do.

  • Master with multiple details

    (JHeadstart release 10.1.2.) I can make a master with multiple detail pages work (displayed on the same page or different pages), except under one condition. Assume the following situation:
    Master: View object A based on entity A
    Detail 1: View object B based on entity B with a modified WHERE clause
    Detail 2: View object C based on entity B (yes, same entity object as view object B) with a WHERE clause different than the one for view object B
    A one-to-many view link exists between view object A and view object B, and another exists between view object A and view object C. The query for each of the view objects is standard (i.e., no expert-mode queries). The master and the two detail view objects (via their respective view links) are assigned to an application module.
    I created a JHeadstart application structure file for the application module with Struts and UIX. I added view object A as the top group (table-form layout). I next added view object B as a detail group (form layout, same page) beneath view object A. I finally added view object C as a detail group (form layout, same page) beneath view object A (i.e., parallel to view object B). The module generated and built cleanly.
    I ran the application, entered a master record, and saved the data. When I pressed the button to create a new record for detail 1 (view object B), fields appeared for the pages for detail 1 and detail 2 (view object C), not just detail 1. Also, the value of the Descriptor Attribute from the master record that linked it to the two detail pages populated the corresponding field in both of the displayed pages for the detail records.
    This behavior does not occur if view object C (detail 2) is based on an entity different than view object B. Will JHeadstart allow a master to have multiple details where the details are based on the same entity object? Thanks.
    Ray

    Ray,
    Unfortunately I cannot reproduce the problem. I filled in the A, B and C using a scott/tiger schema as follows:
    A: Departments
    B: All employees having a salary < 1000
    C: All employees having a salary >= 1000
    Then I created an application module with one group having two subgroups everything same page, just like you specified. Everything seemed to work fine. Do you have any idea what's different in your situation.
    Aard-Jan van Kesteren
    JHeadstart Team
    Oracle Consulting

  • Creating a Master with Two Detail report style

    In a Group-Above report data model, how does one add a 2nd detail group appearing at the same hierarchial level as the 1st group?
    The report already exists with MASTER and detailA. I need to add detailB and tie it to MASTER just like detailA.
    |MASTER|
    |detailA||detailB|
    \-------/\-------/

    Amjad,
    Thanks for the reply. My question relates to your suggestion #1: How does one create detailB in the data model?
    The only thing I have been able to do is to create a 2nd query linked to the 1st query. This makes the data model look like it has two masters each with one detail. What I want is a single MASTER with two details.
    Are you suggesting that the only way to accomplish this is by having two queries, one linked to the other, as in the crude rendering shown below?
    |MASTER1||MASTER2|
    |DETAIL1||DETAIL2|
    The above would be displayed in the data model as follows:
    |__Q_1___||__Q_2___|
    |G_DETAIL1||G_DETAIL2|
    \----------------/\----------------/

  • Master with many details

    Hello Marvel team and Others,
    Is it possible with thee html db wizard to create a page contaning a master with more than one details ?, I think no , please if No, can I do it manually ? Any ideas are welcome.
    This is my need :
    The same page mmust contain :
    udpatable items for the master
    updatabee report for each detail
    insert details for an existeing master
    delete details from an existing master
    insert a new master with his details
    deletee a master, of course with his details
    Jina.

    The Add Rows button submits the page and re-renders it with additional N rows in that region. Any changes made in that region will be saved.
    Perhaps what you need is some client-side DHTML/Javascript to dynamically add some rows in your tabular form.
    See
    Re: Copy Values From Tabular Form for a discussion about that and an example at http://htmldb.oracle.com/pls/otn/f?p=24317:227
    But all this is straying far outside the out of the box functionality and you have to write everything yourself. You should re-evaluate some of your business requirements before going down this path.
    In other words, having a master-detail-detail, all of them editable, one global SAVE button for all of them, client-side Add Rows functionality, and all on the same page...is a highly unusual UI.
    Good luck.

  • BC4J: Master with multiple details

    Hi,
    I have a requirement to display a data form that consists of fields from 3 entities - one master and 2 details. I have view objects for each of the entities.
    I was wondering how best to model this:
    Should I have one Master VO pointing to 2 different view links (one to each detail VO)?
    Or can I have a single view link that models master-multiple-details (not sure how I can do this using the ViewLink wizard)?
    Any other approach I should consider?
    Thanks,
    Niranjan

    I don't believe you could create a Master with two details frame using wizard. you need to write/alter some code manually. I did this a lot in my application, but as i mentioned with some manually coding.
    here is the general idea:
    1- create the view links for master-detail1 and master-detail2 separately.
    2- Edit your application module using wizard.
    (right click on application module and select Edit Tab). if you did the first step successfully, You should see your master entity and details(as master's children) on left side of wizard frame. Then transfer them to the right side.
    3- Create a frame for master-detail1 using wizard.
    4- create another frame(dummy frame) for master-detail2 using wizard.
    5- copy all codes for detail2 from your dummy frame(step 4) to frame on step 3.
    6- Now you need to alter the code in frame on step 3, to locate the detail2 on that frame.
    7- Now the dummy frame on step 4 is useless, you can delete it.
    Hope this note be clear and help you.
    null

  • Master with multiple details page, is there an example out there?

    Many hints and suggestions can be found on this forum about building a page with a master with multiple details page. But is there a working example somewhere? It looks quite complicated to me.
    Also I would like to know if it is because of my Oracle Forms background that I miss the possibility of building this kind of forms in application express. Are there other ways to setup the pages so that you can do without them?
    thanks Rene

    Let me elaborate on my requirements a bit:
    The form I want to create should look like this:
    Master
    Atrtibute_1
    Attribute_2
    Attribute_3
    Attribute_4
    Details_1 Add Delete
    [] item1 (read-only)
    [] item2 (read only)
    Details_2 Add Delete
    [] item1 (read-only)
    [] item2 (read only)
    So basically it should be possible to maintain several lists of items that belong to the master record. Checkboxes allow the user to select records for deletion. The Add button shows a pop-up window that lets the user select an item to add.

  • Issue - Master with two Details

    Hi,
    I have three VO's, the first one VO1 is the master with two details VO2 & VO3.
    Can I use ad advanced table with Master- Details & Details for the above VO's?
    I want create a page with Advanced Master Table VO1 and when the user click Show/Hide it should display two Advanced Tables for VO2 & VO3.
    Is this possible to achieve?
    If not Please advise how I can use another way to display the data with Master - Details 1 & Details 2
    Regards...Ashraf

    You could use "New"/"BC" and create a ViewLink with the same name as the FK Assoc. If you edit the PackageModule, you should be able to see your FK link in there.

  • Examples/Demos of APEX applications with Master with Multiple Details.

    Trying to get my head round the way to best method/approach to present / allow a user to select / maintain a Master table and then maintain multiple Detail tables that are for the current Master. Typically in my Forms days I would have used tab canvases as placeholders for maintaining the related individual detail table rows. But in the APEX world tabs are used as top level page navigational items. Are there any demos, tutorials or articles on how to implement Master with multiple Details using simple APEX pages with minimal bespoke HTML and Javascript intervention.

    Hi Leo,
    I have been trying for the similar example (Master with multiple details) for long time.
    But i did not get the solution. Can you please share the solution to my emaid address [email protected]
    Thanks in advance.
    Sutha

  • Restrict Equipment Master (with serial numbers) creation

    Hello All,
    I am faced with an issue where the client will be using Serial Numbers for 2 sets of materials. I have assigned a Serial Number profile to these materials in Material Master.
    I am able to create equipment master data for these materials with serial numbers without any issue.
    However, I am also able to create equipment master data (with serial numbers) for materials to which I have not assigned a Serial Number profile.
    Is there a way to restrict the creation of equipment master data (with serial numbers)  to only those material that have a Serial Number profile assigned in material master data...?
    Thanks
    Jensi

    Thanks for the reply Amuthan.
    Unlike what you wrote in the reply, the system does allow me to create/save a equipment number for those serial numbers that I assign to materials that do not have a serial number profile.
    Is there any validation, any check or something of that sort that I can activate so that the system will prevent assignment of serial numbers (and in turn creation of equipment master data) for those materials which do not have a serial number profile assigned in the material master data?
    Thanks
    Jensi

  • Master with two details(child) relation?

    Hi guys,
    I 'd like to have a Form with one master table and two detail tables.
    The business component wizard doesn't allow
    me to create this relation.
    Although these two details table are logically children of the master but have not defined specifically Foreign key for them on table/database level.
    I created Associations via JDev3.1 to join
    these master with details, but still business
    component wizard didn't allow me to have
    one master and two details.
    Do i have to create foreign keys to join children to master on database level or
    I can create an association with JDev? How?
    Thx
    Ali
    null

    You could use "New"/"BC" and create a ViewLink with the same name as the FK Assoc. If you edit the PackageModule, you should be able to see your FK link in there.

  • Update equipment master

    Hi Experts,
    I have a requirement to update the equipment master data and used BAPI_EQUI_CHANGE
    but most of the sites that i have searched only shows an update for maintplant and planplant.
    I need to update the functional location, asset location and cost center. Please help. thanks.
    In my code im having a dump error : The function module interface allows you to specify only   fields of a particular type under "EQUIPMENT".   The field "GT_EQUIPMENT" specified here is a different   The field "GT_EQUIPMENT" specified here is a different.
    Here is my code:
    DATA: gt_data_general TYPE BAPI_ITOB,
           gt_data_generalx TYPE BAPI_ITOBX,
           gt_specific TYPE BAPI_ITOB_EQ_ONLY,
           gt_specificx TYPE BAPI_ITOB_EQ_ONLYX,
           lv_return LIKE bapiret2,
           gt_equipment TYPE bapi_itob_parms.
           gt_equipment-equipment = p_equnr.
           gt_equipment-funcloc_int = p_tplnr.
           gt_data_general-costcenter = p_koslt.
    *      gt_data_general-maintloc = p_tplnr.
           IF r_emp = 'X'.
             SELECT kostl
               INTO gt_data_generalx-maintloc
               FROM pa0001
               WHERE pernr EQ p_kunnr.
             ENDSELECT.
           ELSEIF r_third = 'X'.
              gt_data_generalx-maintloc = 'THIRDPARTY'.
           ENDIF.
           gt_data_generalx-costcenter = 'X'.
           gt_data_generalx-maintloc = 'X'.
          CALL FUNCTION 'BAPI_EQUI_CHANGE'
               EXPORTING
                 equipment      = gt_equipment-equipment
                 data_general   = gt_data_general
                 data_generalx  = gt_data_generalx
                 data_specific = gt_specific
                 data_specificx = gt_specificx
               IMPORTING
                 return = lv_return.
            CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
             EXPORTING
               wait   = 'X'
             IMPORTING
               return = lv_return.

    Hi Jepoy,
    Other than making sure you have the leading zeroes, as already pointed out, in your code it seems you are moving maintloc to the wrong structure:
    *      gt_data_general-maintloc = p_tplnr.
           IF r_emp = 'X'.
             SELECT kostl
               INTO gt_data_generalx-maintloc
               FROM pa0001
               WHERE pernr EQ p_kunnr.
             ENDSELECT.
           ELSEIF r_third = 'X'.
              gt_data_generalx-maintloc = 'THIRDPARTY'.
           ENDIF.
    shouldn't it be as below?:
           IF r_emp = 'X'.
             SELECT kostl
               INTO gt_data_general-maintloc
               FROM pa0001
               WHERE pernr EQ p_kunnr.
             ENDSELECT.
           ELSEIF r_third = 'X'.
              gt_data_general-maintloc = 'THIRDPARTY'.
           ENDIF.
    Also, are you sure you need to move a kostl (costcenter) to a maintenance location field? Sounds a bit weird to me, but if this is your process...
    Cheers,
    Custodio

  • Master with Double-Detail on samepage will not validate

    Hi,
    I've created a master-detail page with 2 details (both
    on same page as master). Everything is editable, but when
    I change/insert something into the second details-table
    I get a "No changes to save"-message and indeed: no
    changes where saved.
    If I switch the "return checkForChanges"-calls so that
    first the second details are checked and then the first
    this problem occurs on the first details.
    Any help?

    Ok:
    I've changed this:
    onSubmit="return checkForChanges('uPersonsMembershipsForm','uMailingListsMembershipSet');return checkForChanges('uPersonsMembershipsForm','uFoldersAccessSet');">
    to this:
    onSubmit="return checkForChanges('uPersonsMembershipsForm','uMailingListsMembershipSet')&& checkForChanges('uPersonsMembershipsForm','uFoldersAccessSet');">
    This appears to go ok, but somehow the choice-boxes in
    both details-tables are not refreshed correctly. If I
    delete the second row of the table, then the last row
    "appears" to be deleted. Reloading the page (again save)
    will refresh the set correclty.

  • Vendor master with PAN detail

    Hi, Expert
    Is there any t-code which i can take a report vendor code or master data with PAN Number
    regards
    gk

    Hi
    TCODE : J1ID , Goto Excise details & update
    VVR

  • Nested af:tables - master with multiple details

    All,
    I would lilke to have an af:table which has several columns, more than one of which contain a detail data af:table. I would like to be able to update the data in these af:tables.
    I have succeeded in doing this when there is only one detail table within the master table. The technique involves creating a tree binding, make the master use the treeModel as its value, and make the child table use row.children as its value. But the tree binding only can have one child per parent node, right?
    So I am looking for other ways to do this. I was wondering if a variant of Steve Muench's technique which he shows in his example #71 would be a starting point for at least getting the data displayed. This example shows how to put detail data into a drop-down list in a table. What steps would be needed to make the data return in a row set or a collection or whatever form a af:table component could deal with?
    I hope my question makes sense. This topic is very important to me if anybody has any ideas.
    Michael F.

    Interested question; one I do not know the answer to at the moment, I am afraid. I would like to know your results.
    To tell others, though, what I have done. I did finally adapt Muench's not-yet-published examples #71 to work with a table. Here the table has as it's value "#{backing_app_EPG_DAYPG.jobDayDriverTable[row.Id1]}"
    This accesses a hash map defined in the backing bean as follows:
    public Map jobDayDriverTable = new HashMap(){
    @Override
    public Object get(Object key) {
    Number jobDayId = (Number)key;
    if (getEpgDayPage().jobDayDrivers(jobDayId) != null) {
    return getEpgDayPage().jobDayDrivers(jobDayId).getAllRowsInRange();
    else return null;
    jobDayDrivers returns RowIterator. From this I call getAllRowsInRange which returns a Row[]. The table consumes this as a value, and lists the values as I want.
    Since the table is using Rows for its rows, I am guessing that it would have access to #{row.rowKeyStr}, or at least #{row.<pk>} which would allow you to programmatically set the current row using code like the following:
    public static boolean setCurrentRow() {
    // BindingContainer bindings = getBindings();
    OperationBinding operationBinding =
    // bindings.getOperationBinding("setCurrentRowWithKey");
    (OperationBinding)EL.get("#{bindings.setCurrentRowWithKey}");
    Object result = operationBinding.execute();
    if (!operationBinding.getErrors().isEmpty()) {
    return false;
    return true;
    You could call this as part of code in a pages backing bean behind a button or link.
    Hope this helps somebody.
    By the way example #71 was to get a detail set of rows from a master row value and display the detail set in the master row of an af:table.
    You can find this and other examples at http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html

Maybe you are looking for