How to Add logic to change quantity of child item(Template BOM).

Now We use ver 2004B.
2004B has bug about Sales Bom,The Bom can't be expanded correctly using UI-API.
We have to using BOM Both UI-API and GUI,so we use Template Bom(in UI-API we expand the BOM by ourselves).
Now we face two problems.
1. In Template BOM,when change parents item's quantity,
child item's quantity don't change.We must make UI-API logic to change child item's quantity,but we don't know which event should we catch.
2. We have to add another logic,when expanded Template
BOM (using GUI),setting zero price specific item.But don't know which event should we catch.
Focus lost event may not use,because focus lost event triggers too much timing(for example,displaing a list of item,expanding BOM etc...).
Please suggest us how to do.
thank you.

Hi Ibai Peña
I tried logic which trrigerd Validate Event,but I face a
new probrem.
・When trrigerd Validate Event ,and add something value to other field, trriger Other Validate Event.
To avoid this problem, I use a variable which type is bool using flug triggerd process.
But I think this way is not so sensible, I want to take other way.
thank you.

Similar Messages

  • How to add an Icon to a parent menu item in Command Center?

    Hi guys,
    does anybody know how to add an icon to a parent maenu item in Command Center? BTW, I'm using SBO 6.5
    Cheers,
    Oki

    The SDK doesn't provide any features for adding icons to the command center in SBO6.5.
    Version 2004 has a new image property for menu items that can be used.
    John.

  • How to add vertical stroke to between top menu items?

    I have a horizontal Spry menu bar. How to add a vertical stroke between menu top items?
    BUT NOT outermost left and outermost right. Only to BETWEEN top menu items.
    In html file I tried this:
      <div id="main_menu">
        <ul id="MenuBar1" class="MenuBarHorizontal">
          <li><a href="#">Products</a></li>
          <li class=stroke></li>
          <li><a href="#">Services</a></li>
          <li class=stroke></li>
          <li><a href="#">News</a></li>
          <li class=stroke></li>
          <li><a href="#">Contact</a></li>
         </ul>
       </div>
    And in CSS-file I made a style:
    #MenuBar1 .stroke
    display: block;
    width: 1px;
    height: 16px;
    background-image: url(../images/gui/vertical_stroke.png);
    background-repeat: no-repeat;
    In Safari this Spry menu bar work fine. But stop working in Firefox and IE.
    Also DW4 warning me in properties panel that:
    "This menu bar is missing some important tags. Go to Code view and and make sure that each menu item contains an <a> tag."
    What is correct method to do this?

    In that case you will need to use images.
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>Untitled</title>
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css">
    <style>
    ul.MenuBarHorizontal a.line {    background: #EEE url(SpryMenuBarLine.gif) no-repeat 95% 50%; }
    ul.MenuBarHorizontal a.MenuBarItemSubmenu.line{    background: #EEE url(SpryMenuBarDownLine.gif) no-repeat 95% 50%; }
    </style>
    </head>
    <body>
    <ul id="MenuBar1" class="MenuBarHorizontal">
      <li><a class="MenuBarItemSubmenu line" href="#">Item 1</a>
        <ul>
          <li><a href="#">Item 1.1</a></li>
          <li><a href="#">Item 1.2</a></li>
          <li><a href="#">Item 1.3</a></li>
        </ul>
      </li>
      <li><a href="#" class="line">Item 2</a></li>
      <li><a class="MenuBarItemSubmenu line" href="#">Item 3</a>
        <ul>
          <li><a class="MenuBarItemSubmenu" href="#">Item 3.1</a>
            <ul>
              <li><a href="#">Item 3.1.1</a></li>
              <li><a href="#">Item 3.1.2</a></li>
            </ul>
          </li>
          <li><a href="#">Item 3.2</a></li>
          <li><a href="#">Item 3.3</a></li>
        </ul>
      </li>
      <li><a href="#">Item 4</a></li>
    </ul>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </body>
    </html>
    The images look similar to the following
    and
    I hope this helps.
    Ben

  • Sales BOM its possible edit the quantity for child items in Sales Order

    Hello friends, this is my issue
    I need to use a Sales BOM but the problem is that the child items in any Document marketing, such as Sales Order, the quantity for that child items it´s possible to edit independant of the father item code, and I don´t want this because allows to users to change diferent quantity for child items versus the quantity of the father item code.
    Thanks in advance

    Thanks Gordon yes I know even with this solution the problem is the with transaction notification is not possible determine that event to block, or if you know how or get some tip, please send me, because I analyze the requirement and I couldn´t develop.
    Tks

  • How to add history for changes on custom fields in PO

    Hi all,
      I have added custom fields to purchase orders via ME21N, ME22N, ME23N.  When i update the changes on the custom fields, there is no history kept in ME22N or ME23N  screen.  Is there a way I can add my custom changes to the po history ?
    Any suggestions are welcome.
    thanks
    Joyce

    Hello!
    What kind of "history" do you mean? If you would like to store entries in transparent table EKBE, the M.Seema's suggestion may be reasonable. But if you mean that changes need to be logged by means of Document Changes Service, you should get hold of information here http://help.sap.com/saphelp_nw2004s/helpdata/en/2a/fa015b493111d182b70000e829fbfe/frameset.htm

  • How to add Extra tabstrip in ME21 tcode at item level

    Hi Friends,
    I would like to add extra tabstrip in ME21 tcode at item level.
    So what are the screen exits and what are the BADIs available for it, and if possible please give me the steps to implement this change. Good points will be rewarded for suitable answers.

    Hi Pavan,
    Design and code in the following enhancement MM06E005.
    create screen in this screen exit SAPLXM06 & screen no.  0111
    This is the user exit for writing your logic EXIT_SAPMM06E_007  - for export
    EXIT_SAPMM06E_008 for import
    Shylesh

  • Emergency - How to add over 100 asset masters in an item of PR.

    Hi Expert.
    I can add only 100 asset masters in an item of PR.
    But, I have to add over 100 asset master in an item of PR.
    Please, Let me know how to that..
    Thank you in advance.
    best regards,
    kil-nam.

    Dear G.Ganesh Kumar.
    I can't find that.
    Could you send a mail with screen dump, please!!!
    My mail address is [email protected]
    Thank you in your effort.
    Best regards,
    kil-nam

  • How to add logic in Bex designer?

    I have one formula field ZPERCENT in my query designer. ZPERCENT(%) = ZQTY / ZREVENUE. Now I want to add one logic in Bex deisgner, if ZQTY is equal to 0, then field ZPERCENT should be 100%. Does anyone have an idea how to make it possible in Bex designer? I'm using Bex 3.5 version. Thanks a lot.
    Formula ZPERCENT:
    1st selection:ZQTY
    2nd selection: ZREVENUE

    Hi,
    (ZQTY NOTEQUALTO 0) * (ZQTY/ZREVENUE) + (ZQTY=0)*100

  • How to add the total batch quantity in the delivery line item

    Hi ,
    I have one reqirement.the delivery items are having the batch splits.
    Any Specific function module to add the individual line item level batch qty and assign to line item quantity.
    Please suggest me for this requirement.
    Thanks,
    Sri.

    Hi,
       Please check the FM 'VB_BATCH_DETERMINATION' for batch splits.
    Reward points if useful.
    Regards,
    Abhishek

  • How to add logic in FM of USer exit

    Hi All,
    I new to this QM Module , i got one Enhance ment Object to add some  code in that.
    I have to update some logic in  one Function Module in one Exit, the logis is i have to check the Inspection type in the inspection lot ( QALS-ART = ZV_VSGR) then i have to read the P.O.NO from QALS table  and  ihave to read OUR reference field EKKO-UNSEZ from EKKO to get the original  PO and sent to vendor from Production office. and based on this original PO number i have to read the Vendor Number(EKKO-LIFNR).
    based on this Vendor No i have to update Vendor No in (QALS-LIFNR) and  short text (QALS-KTEXTLOS)..
    so plz help me in thi smatter, i new to this QM module..
    Thanks in Advance...
    jd

    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    Rewards if useful.........
    Minal

  • How to add selection event, change event and click event for dropdownlist for mobile applications

    Please someone help me in writng selection , click and change events for dropdownlist in flex for mobile applications . i have tried but i wasn't able to select the items in dropdown using my mouse or touch in my mobile . Please help me I am struck at this point and i am unable to get solution gfor this. Please................
    Some code for which i neederd help:
    <s:DropDownList id="ddlBranch" x="257" y="475" width="63%" height="80%"
                                    creationComplete="ddlBranch_creationCompleteHandler(event)"
                                    fontFamily="Calibri" fontSize="24"
                                    labelField="BranchName"
                                    prompt="{ddlBranch.selectedItem}"
                                    requireSelection="true"
                                    selectionColor="#7ab342">
                        <s:AsyncListView list="{getBranchResult.lastResult}"/>
                    </s:DropDownList>
    <s:DropDownList id="ddlZone" x="257" y="546" width="63%" height="80%"
                                    creationComplete="ddlZone_creationCompleteHandler(event)"
                                    fontFamily="Calibri" fontSize="24"
                                    labelField="ZoneName"
                                    prompt="{ddlZone.selectedItem}"
                                    requireSelection="true"
                                    selectionColor="#7ab342">
                        <s:AsyncListView list="{getZoneResult.lastResult}"/>
                    </s:DropDownList>
    I will get the list of Branches(first DDL) and Zones(Second DDL) from a webservice written in DOT(.)NET,  what i needded is touch events and selection events for both the dropdown lists and the data in the second DropDown List should bind based on the First Dropdown list item selected.
    Service call for binding data to DDL:
    protected function ddlBranch_creationCompleteHandler(event:FlexEvent):void
                    getBranchResult.token = loginService.getBranch();
                protected function ddlZone_creationCompleteHandler(event:FlexEvent):void
                    getZoneResult.token = loginService.getZone();
    Please help...
    Thank you.

    Therer are two ways you can assign an action to the "OnEnter"-event of your input field:
    1. in method cl_wd_input_field=>new_input_field you have the parameter:
    ON_ENTER
    You just have to assign your action name to this field and it will be called on the OnEnter-event of your InputField.
    e.g:
         lr_input_field = cl_wd_input_field=>new_input_field(
                                                 id = 'INP_MY_INPUT_FIELD'
                                                 on_enter = 'MYACTION'
    2. You can use the method SET_ON_ENTER.
    like:
         lr_input_field->set_on_enter( 'MYACTION' ).
    Just make sure, you have created and implemented this action and its handler.

  • How to add new condition record to sales order items

    Hello All,
    I have requirement to add to new condition record to get more discount on the item during sales order processing based on some conditions. In user exit SAVE_DOCUMENT_PREPARE , I am populating an internal with items for which additional discounts are required. So want to add condition record to those items to get additional discount.
    I know that in VOFM routines we can modify the existing condition record value but not sure what is the best place to append new condtion record to conditions table.
    Thanks,
    Suman

    Hi suman,
                   As which conditions you want or whatever logic you want for to write for applying the conditions you need to make changes at two includes and one FM by using Implicit Enhancement
    1) MV45AFZZ
    2)RV61AFZB
    3) FM name i am not remembering you can debug and find out.
    Regards,
    Shahezad

  • SharePoint Foundation 2013 -- How to add the document property option in default search template

    Dear All
    The search for foundation 2013 is working fine with me. I want to add the view document property in the search option? can any one tell me how can i do it in foundation 2013. 
    Here is a relevant post
    http://www.abelsolutions.com/totm/creating-customized-search-results-in-sharepoint-2013/
    I already done the followings: 
    1) Add the view property in Search Managed properties through central administration 
    2) I found one solution that shows me the .html files in SPD Catalog search template, that i did not found in the respective place. (there is no reason why its not there) 
    Can any one tell me how can i do that? 
    Regards 
    Rashid Imran Bilgrami 
    Project Manager 
    ArabSign

    Display templates are not available in SharePoint Foundation. You must use SharePoint Server.
    http://msdn.microsoft.com/en-us/library/jj945138.aspx
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • VA01 : How to add field ship to party to tab Item Overview

    Standard SAP is filling the ship to party on item level by default with the value entered on order header level. In case you added multiple items for an order and you want to change the ship to party for 1 or 2 items, you have to doubleclick on the line and then go to tab Partners and change the ship to party item by item by using the next and previous item button. We would like to add a column including the SH partnervalue to tab Item Overview (sapmv45a 4900) so we will be able to change the ship to party for an item on 1 screen. Is it possible to add a new colum (via a userexit / badi)?
    kind regards
    Angelique Heutinck

    Seems its not possible through standard SAP.we had the similar req in our project so what we did is we append the structure VBAP and added one new z field .... i reckon the same way you can do it for ur req as well.in short you need the access key.
    Please do let me know if u fnd another way to fix the problem i mean without access key.
    Best of luck
    Jess

  • User exit or badi to change quantity of delivery item

    Hi SD Experts,
    I need to change delivery item quantity when i am recording post goods issue.
    Regards,
    Aktolga

    You can find SD expert in Space: SAP ERP Sales and Distribution (SAP SD) | SCN
    Please read the document Find Topic Spaces on SCN (Forums) | SCN

Maybe you are looking for