How to use "discontinuation data" in BOM item ?

Hi everyone!
I would like to use "discontinuation data" in BOM item , not in MRP4 view, how to set? thanks!
Dandan

>
dandan li wrote:
>
>
> I want to know the  "discontinuation data" in BOM item, not  Priority of AltItemGroup !
Dear Dandan Li,
Plz Re-check Mr. SmanS Reply in that thread
it is Regarding As per ur query
More over Plz try to encourage your repliers always
[committed quantity in production order;
Like wise there are many other threads of ur's
Plz Don't misunderstand
Regards
Madhu

Similar Messages

  • How to use open data set in SAP

    Hi SAP Gurus,
            Could anyone help, how to use open data set in SAP.
          I need to upload a file from Application server (ZSAPUSAGEDATA) to internal table (IT_FINAL).
    Thanks & Regards,
    Krishnau2026

    Hi Krishna.
    These are the steps you need to follow.
    tables: specify the table.
    data: begin of fs_...
            end of fs_    " Structure Field string.
    data: t_table like
            standard table
                      of fs_...
    data:
    w_file TYPE string.
    data:
      fname(10) VALUE '.\xyz.TXT'.
    select-options: if any.
    PARAMETERS:
      p_file LIKE rlgrap-filename.
    w_file = p_file.
    select .... statement
    OPEN DATASET fname FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    *OPEN DATASET fname FOR OUTPUT IN BINARY MODE.
    LOOP AT t_... INTO fs_....
    write:/ .....
    TRANSFER fs_... TO fname.
    or
    TRANSFER t_... TO fname
    ENDLOOP.
    CLOSE DATASET fname.
    Reward points wisely and if you are benefitted or ask for more detailed explanation if problem not solved.
    Regards Harsh.

  • How to use Jquery Data Grid in HTML

    can anyone please tell me how to use JQuery Data grid in my HTML page with example.
    I have one HTML page i want the standard JQuery Data Grid with search and pagination functionality.

    Guys I have got the solution
    thanks a lot
    please refer this link for JQGrid
    http://www.codeproject.com/Articles/609442/Using-JqGrid-in-ASP-NET

  • How to use TRIM  DATA in CFFORM?

    How to use TRIM DATA in CFFORM? when data is retrieving from
    DATABASE. Wanna rtrim and ltrim while spaces.

    Better to trim those values after the form submission.
    Once you put them into form,
    user may also makes mistake by hitting space, right?
    Also, by trimming all form fields after submission, you will
    be sure that your DB is clean... no whitespaces on it.
    Well unless someone insert data directly onto it :)

  • How to use same Data Type and Length for two fields

    How to use same data type and length for two fields when using 'FOR ALL ENTRIES IN' in a select statement? For instance the select queries are :
    SELECT bukrs gjahr belnr lifnr budat bldat zlspr dmbtr waers shkzg
    FROM bsik
    INTO TABLE it_bsik
    WHERE bukrs = p_bukrs
    AND lifnr IN s_lifnr.
    IF it_bsik IS NOT INITIAL.
    SELECT belnr gjahr awkey awtyp
    FROM bkpf
    INTO TABLE it_bkpf
    FOR ALL ENTRIES IN it_bsik
    WHERE belnr = it_bsik-belnr
    AND gjahr = it_bsik-gjahr.
    IF it_bkpf IS NOT INITIAL.
    SELECT belnr gjahr lifnr xblnr
    FROM rbkp
    INTO TABLE it_rbkp
    FOR ALL ENTRIES IN it_bkpf
    WHERE belnr = it_bkpf-awkey+0(10)
    AND gjahr = it_bkpf-awkey+10(4).
    ENDIF.
    ENDIF.
    Here it gives an error in the 3rd select query that 'When you use the addition "FOR ALL ENTRIES IN itab", the fields "GJAHR" and "IT_BKPF2-AWKEY+10(4)" must have the same type and the same length.'
    Kindly clarify.

    Hi Saurabh,
    Please see the example code that I have developed for you. It will help you solve the problem.
    REPORT ZTEST_3 .
    tables : BKPF.
    data : begin of it_bkpf occurs 1,
             belnr type RE_BELNR,
             awkey type awkey,
             awtyp type awtyp,
             gjahr type GJAHR,
           end of it_bkpf.
    data : begin of it_bkpf1 occurs 1,
             belnr type RE_BELNR,
             awkey type gjahr,              " change the data type
             awtyp type awtyp,
             gjahr type GJAHR,
           end of it_bkpf1.
    data : begin of it_rbkp occurs 1,
             belnr type BELNR_D,
             gjahr type gjahr,
             lifnr type LIFRE,
             xblnr type XBLNR,
           end of it_rbkp.
    select belnr
           awkey
           awtyp
           gjahr
           from bkpf
           into table it_bkpf
           where BUKRS = 'TELH'.
    loop at it_bkpf.
    it_bkpf1-belnr = it_bkpf-belnr.
    it_bkpf1-awkey = it_bkpf-awkey+10(4).           "Here only append the required length.
    it_bkpf1-awtyp = it_bkpf-awtyp.
    it_bkpf1-gjahr = it_bkpf-gjahr.
    append it_bkpf1.
    clear it_bkpf1.
    endloop.
    select  belnr
            gjahr
            lifnr
            xblnr
            from RBKP
            into table it_rbkp
            for all entries in it_bkpf1
            where belnr = it_bkpf1-belnr
    This is just an example. Change the fields according to your requirement.
    Regards
    Abhii
    Edited by: Abhii on Mar 9, 2011 9:08 AM

  • How to use Sql data source from Essbase 9.3.1

    Hi All,
    How to use Sql data source from Essbase 9.3.1 for ASO cube.Are there any rules and limitations for that.
    Do we need to create any data source connection for this purpose. If there please let me know the dteps to create that connection.
    Regards

    Yes you need to create one DSN connection and you have to use DSN name and login details at the time of building/loading of the outline.
    Create DSN
    Goto Administrative tools -> DataSources (ODBC) and add the DSN name and specify the Server name of SQL and login details and database.
    goto data prep editor and click on File Menu and Click on Open SQL option Next window opens.
    There you have to enter the details of the DSN connection and SQL query to build/load.
    Thanks,
    Prathap

  • How to use CS_BOM_EXPL_MAT_V2  to include bom under Phantom

    Hi every1,
    How can I get documentation for this function module CS_BOM_EXPL_MAT_V2 
    We want to explode BOM on single level ,including Material which is coming under Phantom assembly too.
    eg. I have one material 1xxxxx.
    after exploding single level bom suppose I'll get these material
    1xxxx1
    1xxxx2
    1xxxx3 and if 1xxxx3 is Phantaom assembly and under this item again I may have 1xxxx1 as bom item.
    that means for my parent material 1xxxxx, I want 1xxxx1 should come 2 times !
    Is there any simpliest way to get or for this item again I need to use this FM again ?
    Pl. do help me.
    Thanks in Advance.

    Hi,
    THE FM 'CS_BOM_EXPLOSION_MAT' mentioned above holds true if u dont hv any alternatives for the BOM.
    eg: If ur component in turn has BOM with 3 alternatives namely 01,02,03
    then ideally FM should pick all the items uder these 3 components but this FM picks by default the 1st
    alternative & ignores the rest.
    So there are changes dat the list which u hv gpt is not 100%.          
      Through Tcode CS12 u can see the level wise components for a BOM.
    U can gather the component details with this Tcode if u hv very few BOMs to explore.
    But if the count is higher u hv to select acoding way for it....
    Attaching a part of code to explore multilevel BOM.....hope dis ll help u......
    1 ST LEVEL
      SELECT MATNR  WERKS  STLNR  IDNRK  STLAL
            FROM ZMAT_PLANT
           INTO TABLE IT_BOM
           FOR ALL ENTRIES IN IT_INPUT    **maintain materials to be explored in IT_INPUT
           WHERE WERKS = IT_INPUT-WERKS AND
                 MATNR = IT_INPUT-MATNR.
      CONCATENATE DOWNLOAD
                  '1_FILE'
                  '.TXT'
                  INTO DOWNLOAD1.
      LOOP AT IT_BOM ASSIGNING <FS_BOM>.
        MOVE <FS_BOM>-MATNR TO IT_CHECK_MAT-MATNR.
        MOVE <FS_BOM>-WERKS TO IT_CHECK_MAT-WERKS.
        APPEND IT_CHECK_MAT.
        COUNT = COUNT + 1.
      ENDLOOP.
      SORT IT_CHECK_MAT BY MATNR WERKS.
      DELETE ADJACENT DUPLICATES FROM IT_CHECK_MAT COMPARING MATNR WERKS.
    2 ND LEVEL
      IF NOT IT_BOM[] IS INITIAL.
        SELECT *
             FROM ZCOMPONENTS
             INTO TABLE IT_STPO
                   FOR ALL ENTRIES IN IT_BOM
                   WHERE MATNR = IT_BOM-IDNRK AND
                         WERKS = IT_BOM-WERKS.
      ENDIF.
      SORT IT_STPO BY MATNR WERKS.
      CONCATENATE DOWNLOAD
                  '2_FILE'
                  '.TXT'
                  INTO DOWNLOAD1.
      LOOP AT IT_STPO ASSIGNING <FS_STPO>.
       MOVE <FS_STPO>-MATNR TO IT_CHECK_MAT-MATNR.
        MOVE <FS_STPO>-WERKS TO IT_CHECK_MAT-WERKS.
        APPEND IT_CHECK_MAT.
        COUNT = COUNT + 1.
      ENDLOOP.
      UNASSIGN <FS_STPO>.
      SORT IT_CHECK_MAT BY MATNR WERKS.
      DELETE ADJACENT DUPLICATES FROM IT_CHECK_MAT COMPARING MATNR WERKS.
      SORT IT_STPO BY IDNRK WERKS.
      LOOP AT IT_STPO.
        READ TABLE IT_CHECK_MAT WITH KEY MATNR = IT_STPO-IDNRK
                                         WERKS = IT_STPO-WERKS
                                              BINARY SEARCH.
        IF SY-SUBRC <> 0.
          MOVE IT_STPO-IDNRK TO IT_STPO1-MATNR.
          MOVE IT_STPO-WERKS TO IT_STPO1-WERKS.
          APPEND IT_STPO1.
        ENDIF.
        COUNT = COUNT + 1.
      ENDLOOP.
    REGARDS ,
    AJIT.
    Edited by: AJIT THAKUR on Apr 16, 2009 10:51 AM
    Edited by: AJIT THAKUR on Apr 16, 2009 10:54 AM

  • How to use cursor data in more than one location in form?

    hi all.
    is it possible to make cursor as global or public in the form so i can use its data in more than location for testing like in buttons triggers.
    for example:
    if i declare the following cursor in "WHEN-NEW-FORM-INSTANCE" trigger
    CURSOR cur
    IS
    SELECT ID, NAME
    FROM PERSON;how can i use this cursor in other triggers in other buttons in the form?
    thanks

    kareem wrote:
    now i have the old data- from cursor and the new- from tableNo, you have not. When you open the cursor you get the state of the database at the current SCN.
    If you
    - open your cursor, fetch the data and close the cursor
    - update some data
    - open your cursor, fetch the data and close the cursor
    you will get the updated data from your cursor the second time (unless your update isn't a uncommited autonomous transaction but I wouldn't go down that route).
    You will have to save your data somewhere or you might take a look at flashback: http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/consist.htm#i20759
    cheers

  • How to use cursor data in more than one location in the form?

    hi all.
    is it possible to make cursor as global or public in the form so i can use its data in more than location for testing like in buttons triggers.
    for example:
    if i declare the following cursor in "WHEN-NEW-FORM-INSTANCE" trigger
    CURSOR cur
    IS
    SELECT ID, NAME
    FROM PERSON;how can i use this cursor in other triggers in other buttons in the form?
    thanks

    kareem wrote:
    now i have the old data- from cursor and the new- from tableNo, you have not. When you open the cursor you get the state of the database at the current SCN.
    If you
    - open your cursor, fetch the data and close the cursor
    - update some data
    - open your cursor, fetch the data and close the cursor
    you will get the updated data from your cursor the second time (unless your update isn't a uncommited autonomous transaction but I wouldn't go down that route).
    You will have to save your data somewhere or you might take a look at flashback: http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/consist.htm#i20759
    cheers

  • How to use multiple data controls in a single JSF page

    Hi,
    I am using Essbase Data Control to in my project to get Essbase Cube data into ADF table/Pivot Table.
    Suppose if [Item] dimension has this hierarchy [category] -> [Segment] -> [Brand] -> - [Item]
    I need to display Category in one column and Segment in the next Column and [Brand] in the another column.
    Different types of Category, Segment and Brands should display as table data(data values).
    Using MDX query I can not print [Item] hierarchy in different columns..so I am planning to use multiple data controls.
    Could any body help me to get the solution.

    Hi,
    sounds like you want to try the Pivot table
    http://download.oracle.com/docs/cd/E21764_01/apirefs.1111/e12418/tagdoc/dvt_pivotTable.html
    I don't think that multiple Data Controls is the solution to the problem
    Frank

  • How to use due date in credit management

    hi,
    i want to calculate my credits according to net due date
    how can i use due date in credit management?
    thank you

    Not sure what do you mean by "use due date in credit management". 
    If  you want to calculate due date per billing document, for example, for such as customer statement, you may use "BSID-ZFBDT + BSID-ZBD1T" (Baseline date + Cash disc day 1).

  • How to use Key Date in query

    Imagine an invoice was created for a customer on the 1st of January 2008 for £1000
    On the 1st of Feb, he paid $300, owing $700
    On the 1st of Mar, he paid $450, owing $250
    On the 1st of Apr, he paid $250.
    If I run an AR report today the 10th of Aug, I would see he owes nothing. What I want to do is to run the report today based on the 2nd of March and see a debt of £250. I dont want to use the posting date in the selection criteria henceI think this is the case when you use a key date but I’m not sure how to use this in the query properties of BI7. What Characteristic do I need to specify as time dependant? Is there anything else I should consider?

    hi,
    Key Date setting is for the 'time dependent' master data.
    Lets say u have a Characteristic MATERIAL with a time dependent attribute MATERIAL GROUP as follows.
    MATERIAL FROM TO MATERIAL GROUP
    ABD 01/01/1995 12/31/2003 X
    ABD 01/01/2004 12/31/9999 Y
    Depending on what you have for the Keydate, the Material group is selected.
    If your key date is, ex, 06/12/2001 there material group is X. Or if key date is 02/15/2005, material group is Y.
    If you do not enter any value for keydate, system automatically assumes today' date.
    hope it helps..

  • How to use format-date with the report parameter

    Hi all,
    How to use the format-date function with this tag,
    <?param@begin:P_FROM_DATE?><?$P_FROM_DATE?>
    this form date is coming from report parameter and is coming like this 2012/11/01 00:00:00.
    So now i need this in DD-MON-YYYY fromat.I tried like this <?param@begin:P_FROM_DATE?><?$format-date:P_FROM_DATE;'DD-MON-YYYY'?>
    but its giving error. Can any one pls tell how to convert it to customized date format.
    thanks & Regards
    Srikkanth.M

    Issue solved.
    Ref this link
    XML date Format

  • How to use WD data into BSP??

    Hi All,
    i have senario as,
    in my BSP application i am calling WDA application passing url to iframe.
    now i want to use the data from WDA application into the BSP...for eg. context data.
    how can i use it into BSP application.
    please let me know.
    Regards,
    Chandra

    Hi Chandra,
    You can't pass the information(Context Data) from WDA to BSP directly so you just store the information in some variables or internal tables use the normal user paramenters like EXPORT & IMPORT or SET and GET parameters. Thgoruhg this way only you can communicate the data between these 2 technologies otherwise you need to save the data in some ztable and use the same table in both technoloes.
    I hope i make you clear.
    Warm Regards,
    Vijay

  • How to use Changed Data Capture?

    Hello,
    I want to use CDC to load my DW in real time. I am testing ODI in that mode.
    I have two tables:
    SRC Employe (empl_ID, name, surname, salaire, age) and TRG Employe( empl_ID, name, surname, CreDate, UpdDate) on SQL Server 2005. I wish to load data from SRC Employe to TRG Employe. I want that this data are charged in real time.
    how to do this? I know that I must use OdiWaitForData and OdiWaitForLogData but in ODI documentations, explanations are not sufficient.
    how to use OdiWaitForData and OdiWaitForLogData?
    thanks in advance
    Billyrose

    Hello,
    but when I created a package and added OdiWaitForLogData, pb began. the step that has OdiWaitForLogData succeed. but my interface failed. the step "Load Data" failed.why?
    There is no reason for that. WaitForXXX does not affect the data stored in the CDC infrastructure, but just detects it.
    - What type of CDC are you using: simple or consistent set?
    - Did your interface used journal data only?
    - What error did you get precisely on the "Load Data" task?
    Could you tell me how to schedule a package?For scheduling, I think you should have a look at "Generating a Scenario" in the user manual. under the generated scenario node, you'll see the schedule node and you can start scheduling from here.
    Regards,
    -FX

Maybe you are looking for