Logic behind ZMNG field of 2LIS__04_P_COMP datasource

Hello Experts,
Cab anyone please tell me How ZMNG field of 2LIS__04_P_COMP datasource populates...?
what is logic behind ZMNG?

Hi,
ZMNG or target consumption quantity is basically requirements quantity
on the basis of the quantity produced.
Target consumption quantity
Definition
Requirements quantity on the basis of the quantity produced.
If the component quantity is constant for each order, the target
consumption quantity corresponds to the requirements quantity, otherwise
the target consumption quantity is calculated using the following
formula:
Quantity of goods received * required quantity per order unit of measure
order item quantity * ( order item quantity - quantity of scrap from
an order item )
make sure you have note 1497825 installed.
Colin

Similar Messages

  • What is the logic behind the start routine

    Dear One's,
    Kindly take a moment and explain the logic behind this start routine written in update rules of ODS.
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    $$ end of global - insert your declaration only before this line   -
    The follow definition is new in the BW3.x
    TYPES:
      BEGIN OF DATA_PACKAGE_STRUCTURE.
         INCLUDE STRUCTURE /BIC/CST_T07_O006.
    TYPES:
         RECNO   LIKE sy-tabix,
      END OF DATA_PACKAGE_STRUCTURE.
    DATA:
      DATA_PACKAGE TYPE STANDARD TABLE OF DATA_PACKAGE_STRUCTURE
           WITH HEADER LINE
           WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.
    FORM startup
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
               MONITOR_RECNO STRUCTURE RSMONITORS " monitoring with record n
               DATA_PACKAGE STRUCTURE DATA_PACKAGE
      USING    RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal tables "MONITOR" and/or "MONITOR_RECNO",
    to make monitor entries.
    DATA: ITAB_/BIC/AT07_O00600 TYPE SORTED TABLE OF /BIC/AT07_O00600
          WITH HEADER LINE
          WITH UNIQUE DEFAULT KEY INITIAL SIZE 0,
          DATA_PACKAGE_NEW TYPE STANDARD TABLE OF DATA_PACKAGE_STRUCTURE
          WITH HEADER LINE
          WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.
    sort the datapackage based on lead number and lead program definition
    SORT DATA_PACKAGE BY /BIC/TLDNR /BIC/TLDPRGFTE.
    from the resources ODS read all lead values based on the values those
    SELECT * FROM /BIC/AT07_O00600 INTO TABLE
             ITAB_/BIC/AT07_O00600
             FOR ALL ENTRIES IN DATA_PACKAGE
             WHERE /BIC/TLDNR = DATA_PACKAGE-/BIC/TLDNR.
    FIELD-SYMBOLS: <LS_DATA_PACKAGE> TYPE DATA_PACKAGE_STRUCTURE.
    FIELD-SYMBOLS: <LS_/BIC/AT07_O00600> TYPE /BIC/AT07_O00600.
    loop at internal table of ODS to check if there are lead program defin
    from the source which mean the values of lead program definition in OD
    values of lead program definition in datapackage.
       LOOP AT ITAB_/BIC/AT07_O00600 ASSIGNING <LS_/bic/at07_o00600>.
         READ TABLE DATA_PACKAGE
          TRANSPORTING NO FIELDS
          WITH KEY
          /BIC/TLDNR = <LS_/bic/at07_o00600>-/BIC/TLDNR
          /BIC/TLDPRGFTE = <LS_/bic/at07_o00600>-/BIC/TLDPRGFTE
          BINARY SEARCH.
          IF SY-SUBRC <> 0.
    new lines with zero values are inserted because there are no correspon
    DATA_PACKAGE_NEW-/BIC/TLDNR = <LS_/BIC/AT07_O00600>-/BIC/TLDNR.
    DATA_PACKAGE_NEW-/BIC/TLDPRGFTE = <LS_/BIC/AT07_O00600>-/BIC/TLDPRGFTE.
      DATA_PACKAGE_NEW-/BIC/TLDFTE = 0.
      APPEND DATA_PACKAGE_NEW.
         ENDIF.
      ENDLOOP.
    append the new records which are created for the leads in the datapack
      APPEND LINES OF DATA_PACKAGE_NEW TO DATA_PACKAGE.
    reset the sorting of the datapackage back to its original state
      SORT DATA_PACKAGE.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    $$ end of routine - insert your code only before this line         -
    ENDFORM.
    Thanks in advance

    hi,
    it's retrieve data from table /BIC/AT07_O00600
    and add to data package, so your records will be more than from source
    hope this helps.

  • Fields in the datasource 0VENDOR_ATTR

    Hi Gurus,
    I need to unhide some fields in the datasource 0VENDOR_ATTR and then replicate it into BW. It is already loading the data into BW. Now I need some more fields to pass data into BW. Here my issue is my datasource is in display mode. I need to make it CHANGE mode so that I can unhide the fields. Is it not possible to unhide the fields when it is already with data.? Please suggest me.
    Thanks in advance.

    Hey you can go ahead and unhide fields.Yes you have to do in change mode.
    1) Save the datasource.Check if the fields which were unhide are getting populated in RSA3.
    2) Replicate the datasource in BW/BI side.
    3) Map the corresponding objects in transfer rules.
    4) Activate the transfer rules.
    5) Load data.
    6) Activate master data.
                  0VENDOR being master data you should not have issues.
    Hope this helps.

  • Could you please help me understand the logic behind certain things in OSX?

    Ok, so I try to be an open-minded guy, and I bear no particular allegiance to either OS. I own a Sony TZ and a Mac mini, and my wife has a MacBook Pro. I use both Oses.
    There are certain things I have trouble understanding in th Mac OS, so what I'd really like to understand the logic behind certain design decisions in the OS, and why these might be better ways of accomplishing things. I know how to get around all of the things I mention, so I'm not looking for instructions; rather I'm looking for well-thought out explanations for why these features are the way they are.
    *1. Programs don't quit when you close the window.*
    - This totally puzzles me. Why design it so that program windows are independent are from the running program itself? There must be a reason, cold someone explain how this is more efficient? To me, it's simpler to click an X on the window you are working on to completely shut down a program, rather than to either mouse through menus to select quit, or be obligated to using Command Q keyboard shortcut.
    *2. Menu bars are on the desktop.*
    - Related to the first point, why make the main thing framing your desktop be something which is always changing depending on the program? Why have file menus outside the main window of the program. Having the menu bar on the desktop then necessitates an additional area, the dock, which has to be used as a launch bar and to tell you what programs are currently running. That obligates you to having 3 different areas of screen: 1 for program menus, 1 for running programs, and the program window itself. This seems very inefficient to me. Not to mention all the messy-looking floating palettes all over the place, again because everything is separated and not nicely contained in a single program window.
    - Really, having a changing menu bar that frames the desktop isn't even consistent wth the whole desktop metaphor, which is that you place things on a desktop, like programs, files, etc. Are you changing the whole desk everytime you load a new program, yet the wallpaper stays the same? Doesn't seem to be logically consistent to me.
    *3. No delete key.*
    - This one really gets me. Why make such a commonly used key be a function key (Fn + Backspace)? Why make the user press a secondary key for a major function?
    *4. No Cut command.*
    - I read something about how Cut doesn't actually make sense when moving files around, but I obviously didn't fully understand it. Why make the user command drag, when you can just do Ctrl X??.
    *5. Launching Apps from the Finder.*
    - This seems weird to me, that you find and launch applications from the same thing you use to view files. Program icons in the finder are placeholders for the entire program, not files, yet they are found in the file viewer. Again, to me this seems logically mixed. I really dislike scrolling through Finder to look for apps. I know there is Spotlight and the dock (used as a quicklauncher), but these are really just workarounds for a setup which seems inherently illogical. To me at least, a menu of applications make more sense, ie, the start menu.
    Anyway, those are all I can think of now, although there are other things aout OSX that don't make sense to me.
    Thanks in advance! If I can understand Apple's reasoning and it is convincingly better, that will go a long way towards making me more comfortable with this OS.

    1. Programs don't quit when you close the window.
    That's really more a matter of what you're used to. It comes down to a programming decision as to what Apple and Microsoft considered to make sense. MS thinks that if there are no open windows, you're done using the app. Apple thinks you aren't necessarily done yet, as others have mentioned. I certainly wouldn't want Photoshop to quit every time I closed the last open image I was working on. Would be nice though if Safari would quit when I close the last open browser window. It's quick to relaunch if you really weren't done with it, so wouldn't be much of a bother to have it shut down with the last window.
    2. Menu bars are on the desktop.
    Makes way more sense the Microsoft's approach of repeating the same file menu on every open document in a program. How many places do you need to see File, Options and other common menu headings?
    2. Menu bars are on the desktop.
    Related to number two. The forward app is the only one you can directly work in, so why not have the menu bar change to reflect the choices for that application? When you go back to the previous app you were in, the menu bar changes back. So what loss of functionality is there? It comes back to not having menu bars on every single open window. There's no need or purpose for it.
    3. No delete key.
    Backspace does the same thing.
    4. No Cut command.
    Command+X, not Ctrl+X. This is Mac, not Windows. There's also very little need to ever do this from the keyboard. If you're moving files that are on the same drive/partition, then just drag and drop from the target folder window to the source. It's automatically a move. If going from one physical drive or partition to another, it's automatically a copy. Press and hold the Command key during the drag to make it a move.
    Besides, you don't really think Windows cuts the entire folder or file contents into RAM, do you? If your computer has 4 GB of RAM, and you cut 12 GB of data, it of course can't possibly fit in the clipboard. All Windows does when you do a cut is visually remove the files and folders from the screen. If the items are going to a location on the same drive/partition, it does the same thing as if you did a drag and drop move. The file table is simply updated to reflect the new file or folder locations. If it's to a different drive/partition, it then performs a copy then delete action, same as OS X.
    5. Launching Apps from the Finder.
    A program is just as much a file as any other file. It takes up space on the drive. The OS of course knows what to do with it when you double click an app. Same as it knows what to do when you double click a document related to an app. Windows is no different. An .exe file is also just as much a file as a .doc file. The .exe extension tells Windows to try and treat it as a program to load into RAM. It's not just a simple placeholder. The program has to be made up of something.

  • Units field MEINS for field TOTQTY of DataSource  ... is hidden

    hI,
    I am getting "Units field MEINS for field TOTQTY of DataSource ZDS_BEALO is hidden
        Message no. R8147 "
    error message while creating the generic extration using fuction module...
    Please help to slove this

    I solved this problem myself by writing ABAP program.
    REPORT  ZTEST.
    TABLES ROOSFIELD.
    DATA: ITAB LIKE ROOSFIELD OCCURS 0 WITH HEADER LINE.
    SELECT * FROM ROOSFIELD INTO TABLE ITAB
                           WHERE OLTPSOURCE = 'DATASOURCE_NAME'
                                 AND FIELD = 'WAERS'.
    *update ROOSFIELD set SELECTION = 'X'.
    *ENDSELECT.
    Create a report program and update the value of field "SELECTION" as above.
    Then try to make changes in RSO2 as it needed.
    Let me know if you need my help..
    Thanks,
    Hanuma

  • Units field XYZ for field ABC of DataSource ZRST Message no. R8147

    HI,
    When I'm trying to SAVE my datasource ZRST, I've got following error.
    Units field XYZ for field ABC of DataSource ZRST Message no. R8147
    In extraction structure of this datasource thare are at least two fields that use the same unit field.
    Accordign SAP note no 867795:
    One of the fields is displayed and another is hidden.
    Then the unit field is hidden and the above error occurs.
    This note is valid for component SAP_ABA release 700. I'm running my R/3 source system on SAP_ABA     620.
    Could it be the same case as described in this SAP  note?
    Anybody got same problem? Please advise.
    Thanks
    m./

    Hi,
        Please check the dependencies on the fields, as some fields should have the units defined ,check the fields and activate the datasource.
    hope this helps,
    thanks,
    vrrp.

  • Add logic behind 'Update Opportunity Totals' button in Oracle CRM On Demand

    HI,
    I need to add custom logic behind 'Update Opportunity Totals' button in Oracle CRM On Demand. Can anyone please let me know where can I implement this logic? Where can I find already implemented code of  'Update Opportunity Totals' button.
    Thanks,
    RM

    Pl post this in a Siebel related forum
    HTH
    Srini

  • One field in standard datasource 2LIS_02_ITM can not be found in LBWE

    Dear expert:
    I have one field NOPOS of datasource 2LIS_02_ITM (Purchasing Order Item) need to find the source table.
    Here my question is: NOPOS is a standard field of datasource 2LIS_02_ITM, why can I not find this field in LBWE through maintenance? Any suggestion to find the source table?
    Thanks all for your time in advance~
    Tim

    even if it is a counter field it should be present in DataSource  structure as the infosource of this DataSource  has mapping of this field.
    Check the HELP.SAP.COM documentation for same
    Regards,
    Sharayu

  • Program/Logic behind the Copy functionality in SE38 Transaction

    Hi,
    In SE38 by using the copy option, Program along with sub-objects can be copied to another object.
    Please let me know the Program/Logic behind that functionality.
    Also let me know is there any option in SAP to copy program from one system to another system.
    Thanks,
    Madhuri.

    Hi Madhuri
    This is tha Program logic behind copying object thru se38
    where p_operation would have the value 'COPY'' in it.
      DATA: l_request TYPE REF TO cl_wb_request,
            l_wb_todo_request TYPE REF TO cl_wb_request,
            l_object_name TYPE seu_objkey,
            l_object_type TYPE seu_objtyp,
            l_program_state TYPE REF TO cl_wb_program_state.
      IF trdir-subc = 'I'.
        l_object_type = swbm_c_type_prg_include.
        CALL METHOD cl_wb_object_type=>get_concatenated_key_from_id
          EXPORTING
            p_key_component1 = space
            p_key_component2 = rs38m-programm
            p_external_id    = l_object_type
          RECEIVING
            p_key            = l_object_name.
      ELSE.
        l_object_type = swbm_c_type_prg_source.
        l_object_name = rs38m-programm.
      ENDIF.
      CREATE OBJECT l_program_state.
      CREATE OBJECT l_request
          EXPORTING p_object_type =  l_object_type
                    p_object_name = l_object_name
                    p_operation   = p_operation
                    p_object_state = l_program_state .
      CALL METHOD
        wb_pgeditor_initial_screen->mngr->request_tool_access
        EXPORTING
          p_wb_request      = l_request
        IMPORTING
          p_wb_todo_request = l_wb_todo_request
        EXCEPTIONS
          action_cancelled  = 1
          no_tool_found     = 2.
      IF sy-subrc NE 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
        EXIT.
      ENDIF.

  • Logic behind MC46 & MC50

    Hi Everybody,
    I want to know the logic behind
    1)MC46 i.e. Report for Non moving & slow moving stock
    2)MC50- Report for Dead stock
    My client wants to know the logic behind these reports.
    What i need to explain them exactly?
    Please guide.

    The logic behind these reports is to identify dead and slow moving stock (and it's monetary value) in order to make a stocking decision such as to promote the material (reduce price), scrap the material (full or partial stock quantities). These reports may also help in future demand/forecast planning.
    Dead and slow moving stock has lots of negative impacts on an organisation such as increased inventory levels (monet tied up in stock), reduced stock turn and wasted physical warehouse space (particularly if dead/slow moving stock is preventing a fast moving item from being in the warehouse/plant).
    Regards,
    Matt

  • Sort+logical database using field group and extract

    Hi Folks,
    I have a program which is using Logical database concept and creating a file on application server as below.
    SORT BY
        reguh-zbukr                        "Zahlender Buchungskreis
        reguh-rzawe                        "Payment method
        reguh-ubnks                        "Bankland unserer Bank
        reguh-ubnky                        "Bankkey zur Übersortierung
        reguh-ubnkl                        "Bankleitzahl unserer Bank
        reguh-ubknt                        "Kontonummer bei unserer Bank
        payment_form                       "Brazil: CC, DOC or OP
        regud-xeinz                        "X - Lastschrift
        reguh-zbnks                        "Bankland Zahlungsempfänger
        reguh-zbnky                        "Bankkey zur Übersortierung
        reguh-zbnkl                        "Bankleitzahl Zahlungsempfänger
        reguh-zbnkn                        "Bank-Ktonummer Zahlungsempfänger
        reguh-lifnr                        "Kreditorennummer
        reguh-kunnr                        "Debitorennummer
        reguh-empfg                        "Zahlungsempfänger CPD
        reguh-vblnr                        "Zahlungsbelegnummer
        regup-belnr.  
    LOOP.
    AT NEW reguh-rzawe
    PERFORM store_on_file USING j_1bh1.
    ENDAT
    AT NEW reguh-ubnkl
    PERFORM store_on_file USING j_1bh2.
    ENDAT
    AT NEW reguh-ubnkt
    PERFORM store_on_file USING j_1bh2.
    ENDAT
    AT NEW VBLNR
    PERFORM store_on_file USING j_1bh3.
    AT DATEN
    PERFORM store_on_file USING j_1bh4.
    ENDAT.
    ENDLOOP.
    FORM store_on_file USING daten.
      IF hlp_temse CA par_dtyp.            "Temse
        PERFORM temse_schreiben USING daten.
      ELSE.
        TRANSFER daten TO g_name.
      ENDIF.
    ENDFORM.
    Is Sorting concept different when it comes to logical databases and field groups ?
    I had added a new field in the sort reguh-rzawe.I think due to that it is getting into AT NEW UBNKL and AT NEW UBKNT even though those details are same for the payment methods in the payment run.Even though the house bank number and account number is same for all the payment methods it is getting into AT NEW UBNKL and AT NEW UBKNT for every new payment method in the iteration.
    vblnr-1
    rzawe- A
    ubnkl-12345
    ubnkt-45678
    vblnr-2
    rzawe- A
    ubnkl-12345
    ubnkt-45678
    vblnr-3
    rzawe- B
    ubnkl-12345
    ubnkt-45678
    vblnr-4
    rzawe- B
    ubnkl-12345
    ubnkt-45678
    Can anyone here throw some light on this.
    Thanks,
    K.Kiran.

    Read the documentation for the at-new process.  As I recall the at-new considers the field named, and all the fields to the left of that in the table.  With that in mind, look at how your logic will work.  This could result in more, or fewer, breaks than intended(fewer if, for instance, a field to the left was deleted).

  • New field in the datasource

    Hi all;
    I’m trying to add a new field to the 0CO_OM_OPA_6 datasource.
    The new field is the Cost Center (KOSTL).
    I just add this field to the Append Structure.
    If I check it, the following message appears: “Field KOSTL does not lie within customer namespace”.
    After the activation of the append structure, from the ICORDCSTA1, and remove the “hide field” from the datasource, I tested in RSA3 but the Cost Center columm appears empty.
    Is there any step missing?
    Can anyone help me?
    Regards;
    Ricardo

    Hi
    Whenever you enhance the data source,it is best practice to give name as zz*
    and once you add these fields..system doesnot know how to fill these fields with data..so you have to write code to populate data into your fields..
    go to se38(r/3 side) and give include 'zxrsau01' and click on change...
    write code to fill your fields activate it and now check in rsa3...
    Code sample
    when '0CO_OM_OPA_6'
           do this thing
      Hope it helps
    Thanks
    Teja

  • Appended field in the datasource as selection in infopackage

    Hi,
    I have appended a field in my datasource, say for example, country (ZZCOUNTRY). I set ZZCOUNTRY as selection in the datasource so i can filter by country in my infopackage.  When i check my datasource, ZZCOUNTRY is there. But when i use it in filter, the system is ignoring it.
    Example, if i load all data, i get 5 records. 1 is US, and 4 for CA. when i filter by country US and load my infopackage, i am expecting to get only 1 record, but i still get 5 records.
    do you know if it's possible to use appended field as infopackage filter?
    Thanks
    jti

    Hi
    if u want to enchance your datasouce u are suppose to  maintain the DS in RSA6,and then enable the fields for selections.
    i suppose if the fields are appended fields you can't enable those for selection.
    please check if these fields are enables before u proceed.
    hope this helps
    --- Rashmi

  • What is the logic behind the list of default colors in the color tab of the score options in the project settings interface?

    I desperately want to know why each note is assigned it's particular color in the score tab of the projects settings interface...
    Was this done at random or is there some logic behind it all?  Einstein and Newton have completely different ideas about note/color association...their theorys can be easily found on the internet.  I've messed around with applying their ideas to the user pallette just for fun.  Now, I really want to know if the makers of Logic chose the colors they did for the factory defaults for a particular reason.  Please help if you can!

    hi,
    it's retrieve data from table /BIC/AT07_O00600
    and add to data package, so your records will be more than from source
    hope this helps.

  • What is Apple's logic behind this?

    I open a file (any kind will do) and make some changes. After I'm done, I hit CMD + W to close the file and the program correctly asks if I want to save my changes, close without saving, or cancel closing the file. The Save button is highlighted on the button and outside the button. If I hit the tab button, the outside highlight moves to the different buttons, but the button highlight remains on the Save option, so when I hit enter, it thinks I'm saying to Save.
    Can anyone explain the logic behind this? I just don't get why Apple thinks this is an efficient/right way to do things. Thanks for any helpful answers.

    Hi--
    To actually select the button that has focus (the outside highlight), hit the space bar.
    I suspect the rationale is something like this: they don't want to override the usual functionality of the buttons, but just offer a second or third way to select buttons.
    Many, if not most apps, particularly in the situation you describe, already have pretty solid keyboard shortcuts for the three buttons. Of course, "enter" for "Save", "esc" for "Cancel", and "command"-"d" almost always works for "Don't Save". From observation, of those people who use keyboard shortcuts in dialogs, this is by far the most common way they do it. I don't think I've ever seen anyone use the tab key in dialog boxes (and I think it's off by default except for navigating between text boxes).
    charlie

Maybe you are looking for

  • Lucreate zfs BE dataset does not exist

    Hi guys, I'm trying to upgrade a Solaris 10 full zfs with liveupgrade but unfortunatly after one day search and after re-reading all sunDocs I block on and I cannot create a new BE. The final objective is to have the server on release 10 10/09 for VD

  • How to reference PDF files in Pages09?

    I recently changed full-time to Pages, and still have a few things that I can't comprehend.  Often times, I need to reference PDF files within a Pages document.  Kind of tedious to type the file names.  Is there a way to add those files (as a referen

  • Fonts from Photoshop to Premier not clean

    I'm attempting to make an simple slide show in Premier Pro CS4 with slides that were created layered in Photoshop CS4 Extended.  the slideshow will be dispalyed on a computer screen in a kiosk at a large sales convention. My workflow is: export the g

  • BAPI/IDOC to cancel the sales order ?

    Hi folks, What is BAPI /IDOC to cancel the sales order in ECC via PI . Thanks., Shiva

  • FM/BAPI for Product substitution List

    Hello All, I have a requirement wherein the user will enter substitution materials for a particular material. I have to update these substitution materials in APO so that it will be reflected in tcode /N/SAPAPO/RBA04(Maintain Product Substitution Tab