Info on stack structure

Hello!
could someone help me out a little, i have to dig up information on Stack structure..ir its features and its main operations...
where can i find this kind of information??
or could some1 who knows a lot help me out???
thanks!! :D
ahhh, another question i have to answer is about run-time activation record stack?
my text book is not that good.....thanks!!!

Try here.

Similar Messages

  • How to repeat a stacked structure sequence?

    Hello,
    I have a program that runs under a stacked structure sequence.
    Now i want it to repeat to the first frame every time the sequence is over.
    can this be done? how?
    thanks in advance
    Eyezik.

    Hi Eyezik!
       A little tip, repeated in many places on this forum: when possible, avoid using stacked sequence structure, use instead flat! Stacked S hides code, and make it less readable and debuggable.  Of course, Stacked S saves space on the screen, but not always this is good, since when diagram becomes huge, it's time to modularize.  So, it's good to force ourself to code keeping "clean" block diagrams!
       Let's go further, if possible, use subVIs, in cascade, and force sequence execution with dataflow (the error out of the first subVI to the error input of the second, etc...)
    graziano
    PS.: this is my advice, but you'll find a reference in "the labview style book"

  • Read Info from a structure

    Hi all.
    I'm currently trying to do a report that only wants to look at active production orders. The only place i can find this information is in the structure 'CAUFVD' field 'ASTTX'.
    Can anyone suggest the best way to pull this info into my report.
    Thanks

    Hi,
    You will get all the orders in the field AUFNR of the table which you populated.
    From AUFNR you should get OBJNR using the database view CAUFV like this.
    SELECT OBJNR FROM CAUFV
    INTO TABLE T_OBJNR
    FOR ALL ENTRIES IN T_AUFNR        "Your internal table
    WHERE AUFNR = T_AUFNR-AUFNR.       
    For that OBJNR pass all the values in a loop like this:-
    LOOP AT T_OBJNR INTO WA_OBJNR.
      CALL FUNCTION 'STATUS_TEXT_EDIT'
           EXPORTING
                FLG_USER_STAT     = 'X'
                OBJNR                      = WA_OBJNR
                ONLY_ACTIVE         = 'X'
                SPRAS                     = 'EN'
           IMPORTING
                LINE                    = CAUFVD-STTXT
                USER_LINE         = CAUFVD-ASTTX
           EXCEPTIONS
                OBJECT_NOT_FOUND  = 1
                OTHERS            = 2.
    ENDLOOP.
    Regards,
    sUBHASHINI

  • Housekeeping - info on Bex structures

    Hi,
    We are in the process of starting a number of housekeeping activities...one of the them will involve deleting many of the huge number of structures that our users have created in Bex.  Does anyone if we are able to pull information out from a table that will allow us to perform some analysis such as the date they were created and date last used etc?
    any info appreciated,
    thanks
    Mike

    Hi Michael,
    try to see in www.service.sap.com/bw->SAP BW InfoIndex->BW Statistics...here you can find these docs: 'How to Set up BW Statistics 2.x/3.x' (pdf) and 'SAP BW Performance Monitoring with BW Statistics' (ppt)...
    Hope this helps.
    Bye,
    Roberto

  • Required info on tree structure.

    Hi All,
    Can any body help me in displaying data in a tree structure in PDA.
    We have a requirement where the data comes with parent & child relationship, each child may or may not be a parent and the tree may drill more than 10 levels.
    when user clicks on the node all the subsequent childs need to be displayed and on the second click the tree need to be collapsed to that node level.(this should be similar to some of the data in sap ex: functional locations)
    IS there a component in MI / MAM application to acheive the same else what is the possible way for this.
    Your help will be well appriciated.
    Thanks & Regards,
    Sai.K. K

    Hi Sai,
    well, the answer is unfortunally a NO in the first place.
    MI is based on standard JSP and AWT functionality - up to Version 7.0 - and both runtime environments do not support that stuff on PDA.
    If you run the APP on Lapop only, you could build something like that with Java Script in HTML or extend the functionality there with some Add ons externally available that can be filled by normal XML. But this is outside the usual MI scope, it depends on your creative level. WebDynpro on the other side supports you with a tree view as I remember, so this could be an option - but again, only on Laptop.
    The question is: why do you not split the tree view to several pages? I have no idea about the amount of data you need to carry with you, just in the first place already. Usually tree view could mean a lot of data and this could end up in a long waiting time just to display the first page. Perhaps it is an option to show the actual level of the tree and if the user selects on item, then this item is added to the path (how has he got there) and the next level is displayed in the screen. Pretty much like the Windows Workplace, where every klick on a folder opens a new window with just the info of that window. Performance wise tis could perhaps be the better option.
    Does this help?
    Regards,
    Oliver

  • Howto get info about a structure !?

    Hi,
    I found a structure with field: ADRC_STRUC - REMARK
    I need to know what table it takes it's data from. Howto ?
    I tried the "Where-Used-List" ... but its not simple
    I want to see the SELECT INTO clause... i belive...
    //Martin
    Message was edited by: Martin Andersson

    Hi Martin,
    This is what I typically do, if I need to find out what table(s) that a given structure ultimately points to.
    1. As suggested by others here, debugging is one option.
    2. Go to SE12, give the structure name, do a where used in programs, tables and function module interfaces. You may end up in getting a lengthy list but you need a good process of elimination to get to the tables. If the structure is used in a table as an INCLUDE or APPEND structure, well and good. But if it is used in a program or a function module interface, I would go to the code and see where the structure is getting filled and with what information. If you could continue to follow this trace, to the main program where the data declarations are at, you will find the tables that are defined. Sometimes searching for a 'Select' statement could lead you to the table.
    Though it sounds cumbersome, most often, I could get my answer and in a quick time.
    Hope this helps,
    Srinivas

  • How about this implementation of BOM Explosion(simulate stack)

    REPORT  YZWX00301_06 LINE-SIZE  142
                         LINE-COUNT 65
                         MESSAGE-ID YM1
                         NO STANDARD PAGE HEADING .
    INCLUDE
    INCLUDE: YXXI00050.
    *TABLES use table define
    TABLES: MARA,        " Material General Table
            MARC,        " Plant Data for Material
            MDMA,        " MRP Area table
            EORD,        " Vendor table
            A018,        " Vendor material mapping table
            KONP,        " Vendor condition table
            MAST,        " Material BOM table
            STPO,        " Material BOM Component table
            STAS.        " Material BOM Component table detail
    *CONSTANTS define
    CONSTANTS:
      C_DAT_X        TYPE C VALUE 'X',
      C_MODE         LIKE dxfields-fileoper VALUE 'R',
      C_MASK         LIKE dxfields-filemask VALUE '.',
      C_FLG_LOCATION TYPE C VALUE 'A',
      C_DFPATH(15)   TYPE C VALUE '\bmwx\'.
    Work Area Define
    ---- build stack structure -
    DATA: BEGIN OF WK_STACK,
            LEVEL(1)      TYPE C,            "Save Level
            QUANT         TYPE I,            "Save Quantity
          END OF WK_STACK.
    ---- BOM work area -
    DATA: BEGIN OF WK_BOM,
             LEVEL(1)     TYPE C,            "BOM LEVEL
             MATNR        LIKE MARC-MATNR,   "MATERIAL      18
             POSTP        LIKE STPO-POSTP,   "ITEM CATEGORY  1
             MENGE        LIKE STPO-MENGE,   "BOM COMPONENT 13
             DATUV        LIKE STPO-DATUV,   "VALID FROM    10
             DATUB        LIKE STPO-DATUV,   "VALID TO      10
    END OF WK_BOM.
    ---- DATA work area -
    DATA: BEGIN OF DATAITEM,
             LEVEL(1)     TYPE C,            "BOM LEVEL
             MATNR        LIKE MARC-MATNR,   "MATERIAL
             POSTP        LIKE STPO-POSTP,   "ITEM CATEGORY
             MENGE        LIKE STPO-MENGE,   "BOM COMPONENT
             DATUV        LIKE STPO-DATUV,   "VALID FROM!!!
             DATUB        LIKE STPO-DATUV,   "VALID TO
             EKGRP        LIKE MARC-EKGRP,   "PURCHASE ORG
             LIFNR        LIKE EORD-LIFNR,    "Vendor code     10
             MARK(1)      TYPE C,             "Mark
             KBETR        LIKE KONP-KBETR,    "Rate price      11
             KONWA        LIKE KONP-KONWA,    "Currency        5
             KPEIN        LIKE KONP-KPEIN,    "Unit Qty        5
             KMEIN        LIKE KONP-KMEIN,    "Condition Unit  3
             DATAB        LIKE A018-DATAB,    "Condition from  10
             DATBI        LIKE A018-DATBI,    "Condition to    10
           END OF DATAITEM.
    ---- File Line work area -
    DATA: BEGIN OF LINE,
             WERKS(4)     TYPE C,                               "Plaint   4
             MATNR(18)    TYPE C,             "Material Number 18
             EKGRP(3)     TYPE C,             "Purchase Group  3
             LIFNR(10)    TYPE C,             "Vendor code     10
             VDATU        LIKE EORD-VDATU,    "Vendor valid from 10
             BDATU        LIKE EORD-BDATU,    "Vendor valid to   10
             MARK(1)      TYPE C,             "Mark
             KSCHL(4)     TYPE C,             "Condition type  4
             KBETR(18)    TYPE C,             "Rate price      11
             KPEIN(5)     TYPE C,             "Rate unit       5
             KONWA(5)     TYPE C,             "Currency        5
             KMEIN(3)     TYPE C,             "Condition Unit  3
             DATAB        LIKE A018-DATAB,    "Condition from  10
             DATBI        LIKE A018-DATBI,    "Condition to    10
           END OF LINE.
    *Local Data Object Define
    DATA:  WK_CNT TYPE I,                   "Count variable
           WK_LVL TYPE I,                   "BOM level
           WK_QTY TYPE I.                   "BOM component qty
    DATA: WK_LIFNR LIKE EORD-LIFNR,
          WK_MATNR LIKE MARC-MATNR.
    *Internal Table define
    DATA TAB_STACK LIKE STANDARD TABLE OF WK_STACK.   "STACK TABLE
    DATA TAB_BOM   LIKE STANDARD TABLE OF WK_BOM.     "FOR BOM
    DATA TAB_DATA  LIKE STANDARD TABLE OF DATAITEM.   "FOR ALL
    Parameter in Block1
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.         "TITLE TEXT-001.
    PARAMETERS:
      P_WERKS LIKE MARC-WERKS DEFAULT 'WX01',              "Plant
      P_STLTY LIKE STPO-STLTY DEFAULT 'M',                 "BOM Category
      P_MATNR LIKE MARC-MATNR OBLIGATORY,                  "Material
      P_STDAT LIKE EORD-VDATU OBLIGATORY DEFAULT SY-DATUM. "Standard Date
    SELECTION-SCREEN END OF BLOCK B1.
    Parameter in Block2
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: P_SCREEN RADIOBUTTON GROUP R1.     "Screen output
    SELECTION-SCREEN COMMENT 03(21) TEXT-001.
    SELECTION-SCREEN POSITION 32.
    PARAMETERS: P_FILE RADIOBUTTON GROUP R1.       "NTFILE output
    SELECTION-SCREEN COMMENT 34(17) TEXT-002.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK B2.
    Parameter in Block3
    SELECTION-SCREEN BEGIN OF BLOCK B3 WITH FRAME.
    PARAMETERS:
    P_NTFILE(45)  TYPE C    LOWER CASE OBLIGATORY.
      P_PCFILE      LIKE RLGRAP-FILENAME.
    SELECTION-SCREEN END   OF BLOCK B3.
    INITIALIZATION
    INITIALIZATION .
      CLEAR :  WK_CNT,
               WK_LVL,
               WK_QTY,
               WK_MATNR,
               WK_STACK,
               WK_BOM,
               DATAITEM.
      WK_LVL = 0.
      WK_QTY = 1.
      REFRESH: TAB_STACK,
               TAB_DATA,
               TAB_BOM.
    *&      AT SELECTION-SCREE ON VALUE-REQUEST
    *AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_NTFILE.
    PERFORM F_SHOW_FILE_POPUP CHANGING P_NTFILE.       "Popup display
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_PCFILE.
      PERFORM F_FILENAME_GET USING P_PCFILE
                          CHANGING P_PCFILE.
    *&      Form  F_FILENAME_GET
      --> ST_DAT_PATH     : Preset path
      <-- ST_DAT_FILENAME : Selected file name
    FORM F_FILENAME_GET USING st_dat_path
                     CHANGING st_dat_filename.
      CALL FUNCTION 'WS_FILENAME_GET'
        EXPORTING
          def_filename     = SPACE
          def_path         = st_dat_path
          mask             = ',.,.,'
          mode             = '0'
          title            = 'TXT-file select'
        IMPORTING
          filename         = st_dat_filename
        EXCEPTIONS
          inv_winsys       = 1
          no_batch         = 2
          selection_cancel = 3
          selection_error  = 4
          OTHERS           = 5.
      IF sy-subrc <> 0.
        MESSAGE s002(yf1) WITH 'F_FILENAME_GET' sy-subrc.
      ENDIF.
    ENDFORM.                    "F_FILENAME_GET
    MAIN PROCESS
    START-OF-SELECTION.
    ---- Check material -
      PERFORM CHECK_PROD.
    ---- get vendor data -
      PERFORM GET_VENDOR_DATA.
    ---- output screen/file -
      IF P_SCREEN = 'X'.
        PERFORM SET_OUTPUT.            "Output to screen directly
      ELSEIF P_FILE = 'X'.
        IF P_PCFILE <> ''.
          PERFORM DOWNLOAD_DATA.       "Write data into ntfile
        ELSE.
          MESSAGE E007(00) WITH 'P_PCFILE'.
        ENDIF.
      ENDIF.
    END-OF-SELECTION.
      ULINE (142).
      WRITE: /002 'Component Material Count:', WK_CNT.
    TOP-OF-PAGE
    TOP-OF-PAGE.
      WRITE: /002 'Product:', 013 P_MATNR,
              030 '****** BOM Price List ******',
              070 SY-DATUM,
              095 'PAGE:',
              100 SY-PAGNO.
      ULINE (142).
      WRITE: /001   '|Level',
              007   '|Material',
              026   '|Cat',
              030   '|Quantity',
              044   '|From',
              055   '|To',
              066   '|PurG',
              071   '|Vendor',
              082   '|MK',
              085   '|Price',
              101   '|Crncy',
              107   '|UnitQty',
              115   '|Unit',
              120   '|From',
              131   '|To',
              142   '|'.
      ULINE (142).
    *&FORM CHECK_PROD
    text
    -->p1      text
    <--p2      text
    FORM CHECK_PROD.
      SELECT SINGLE * FROM MARC
                     WHERE WERKS = P_WERKS           " Plant
                     AND   MATNR = P_MATNR           " Material
                     AND   DISPR IN ('F100','F200'). " Product
      IF SY-SUBRC = 0.
        PERFORM CHECK_BOM1 USING MARC-MATNR MARC-WERKS. " CHECK_BOM1
      ELSE.
        MESSAGE E022.
      ENDIF.
    ENDFORM.                                         " CHECK_PROD
    *&FORM CHECK_BOM1
    text
    -->p1      text
    <--p2      text
    FORM CHECK_BOM1 USING VALUE(FP_MATNR) VALUE(FP_WERKS).
      SELECT SINGLE * FROM  MAST
                      WHERE MATNR = FP_MATNR     AND      "Material
                            WERKS = FP_WERKS.             "Plant
      IF SY-SUBRC = 0.
        PERFORM PUSH_STACK USING WK_LVL WK_QTY.   "Save parent attribute
        PERFORM CHECK_BOM2 USING MAST-STLNR.                    "Check BOM2
      ENDIF.
    ENDFORM.                                                    "CHECK_BOM1
    *&FORM CHECK_BOM2
    text
    -->p1      text
    <--p2      text
    FORM CHECK_BOM2 USING VALUE(FP_STLNR).
      SELECT * FROM  STPO
               WHERE STLTY = P_STLTY        AND        "BOM category
                     STLNR = FP_STLNR.                 "BOM number
        PERFORM POPOUT_WK.                  "Pop out to work area
        WK_BOM-LEVEL = WK_LVL.              "Current BOM level
        WK_BOM-MATNR = STPO-IDNRK.          "Material number
        WK_BOM-POSTP = STPO-POSTP.          "ITEM Category
        WK_QTY       = STPO-MENGE * WK_QTY. "For Stack
        WK_BOM-MENGE = WK_QTY.              "BOM Component qty
        PERFORM CHECK_BOM3 USING STPO-STLTY STPO-STLNR STPO-STLKN.
        PERFORM CHECK_BOM1 USING STPO-IDNRK P_WERKS.
      ENDSELECT.
      PERFORM POPOUT_STACK.
    ENDFORM.                                                    "CHECK_BOM2
    *&FORM CHECK_BOM3
    text
    -->p1      text
    <--p2      text
    FORM CHECK_BOM3 USING VALUE(FP_STLTY) VALUE(FP_STLNR) VALUE(FP_STLKN).
      SELECT SINGLE * FROM  STAS
                      WHERE STLTY = FP_STLTY        "BOM category
                      AND   STLNR = FP_STLNR        "BOM number
                      AND   STLKN = FP_STLKN        "BOM item
                      AND   DATUV <= P_STDAT        "Valid from
                      AND   LKENZ = ' ' .           "Valid
      IF SY-SUBRC = 0.
        WK_BOM-DATUV = STAS-DATUV.                  "Valid from
      ENDIF.
      SELECT SINGLE * FROM  STAS
                      WHERE STLTY = FP_STLTY        "BOM category
                      AND   STLNR = FP_STLNR        "BOM number
                      AND   STLKN = FP_STLKN        "BOM item
                    AND   DATUV > P_STDAT         "Valid from
                      AND   LKENZ = 'X' .           "Invalid
      IF SY-SUBRC = 0.
        SELECT SINGLE * FROM  STAS
                       WHERE STLTY = FP_STLTY        "BOM category
                       AND   STLNR = FP_STLNR        "BOM number
                       AND   STLKN = FP_STLKN        "BOM item
                       AND   DATUV > P_STDAT         "Valid from
                       AND   LKENZ = 'X' .           "Invalid
        IF SY-SUBRC = 0.
          WK_BOM-DATUB = STAS-DATUV.          "Valid to
          APPEND WK_BOM TO TAB_BOM.
        ENDIF.
      ELSE.
        WK_BOM-DATUB = '99991231'.          "Manul input
        APPEND WK_BOM TO TAB_BOM.
      ENDIF.
    ENDFORM.                                                    "CHECK_BOM3
    *&FORM PUSH_STACK
    text
    -->p1      text
    <--p2      text
    FORM PUSH_STACK USING VALUE(FP_LVL) VALUE(FP_QTY).
      WK_STACK-LEVEL = FP_LVL + 1.
      WK_STACK-QUANT = FP_QTY.
      APPEND WK_STACK TO TAB_STACK.    "Push stack
      SORT TAB_STACK BY LEVEL.         "Sort table by level
    ENDFORM.                           "PUSH_STACK
    *&FORM PUSH_STACK
    text
    -->p1      text
    <--p2      text
    FORM POPOUT_STACK.
      DESCRIBE TABLE TAB_STACK LINES WK_CNT.
      IF WK_CNT > 0.
        DELETE TAB_STACK INDEX WK_CNT.     "Popout stack
        SORT TAB_STACK BY LEVEL.           "Sort table by level
      ENDIF.
    ENDFORM.                               "POPOUT_STACK
    *&FORM POPOUT_WK
    text
    -->p1      text
    <--p2      text
    FORM POPOUT_WK.
      DESCRIBE TABLE TAB_STACK LINES WK_CNT.
      IF WK_CNT > 0.
        READ TABLE TAB_STACK INTO WK_STACK INDEX WK_CNT.   "Popout stack
        IF SY-SUBRC = 0.
          WK_LVL = WK_STACK-LEVEL.                         "Current Level
          WK_QTY = WK_STACK-QUANT.                         "Parent Qty
        ENDIF.
      ENDIF.
    ENDFORM.                    "POPOUT_WK
    *&FORM DOWNLOAD_DATA
    text
    -->p1      text
    <--p2      text
    FORM DOWNLOAD_DATA.
      DATA: L_RETURN     TYPE   SY-SUBRC.
      PERFORM GUI_DOWNLOAD
                  TABLES
                     TAB_DATA
                  USING
                     P_PCFILE
                     'X'
                  CHANGING
                     L_RETURN.
      IF L_RETURN <> 0.
        MESSAGE S020.
      ELSE.
        MESSAGE S021.
      ENDIF.
    ENDFORM.                    " DOWNLOAD_DATA
    *&FORM GET_VENDOR_DATA
    text
    -->p1      text
    <--p2      text
    FORM GET_VENDOR_DATA.
      LOOP AT TAB_BOM  INTO WK_BOM.
        CLEAR DATAITEM.
        SELECT * FROM MARC
                WHERE WERKS = P_WERKS             "Plant
                  AND MATNR = WK_BOM-MATNR.       "Material
          DATAITEM-EKGRP = MARC-EKGRP.
          SELECT SINGLE * FROM  MARA
                          WHERE MATNR = MARC-MATNR    AND   "Material number
                                MTART IN ('1211','1221').
          IF SY-SUBRC = 0.
            SELECT COUNT(*) FROM  EORD
                           INTO  (WK_CNT)
                     WHERE WERKS  = P_WERKS        AND  "Plaint
                           MATNR  = WK_BOM-MATNR   AND  "Material
                           VDATU <= P_STDAT        AND  "Valid-From
                           BDATU >  P_STDAT.            "Valid-To
            IF WK_CNT > 1.
              DATAITEM-MARK = '*'.
            ELSEIF WK_CNT = 0.
              MOVE-CORRESPONDING WK_BOM TO DATAITEM.
              APPEND DATAITEM TO TAB_DATA.
            ENDIF.
            SELECT * FROM  EORD
                     WHERE WERKS  = P_WERKS        AND  "Plaint
                           MATNR  = WK_BOM-MATNR   AND  "Material
                           VDATU <= P_STDAT        AND  "Valid-From
                           BDATU >  P_STDAT.            "Valid-To
              MOVE-CORRESPONDING WK_BOM TO DATAITEM.
              DATAITEM-LIFNR  = EORD-LIFNR.             "Vendor code
              SELECT  * FROM  A018
                        WHERE LIFNR  =  EORD-LIFNR  AND  "Vendor code
                              MATNR  =  EORD-MATNR  AND  "Material
                              EKORG  =  EORD-EKORG  AND  "Purchase org
                              DATAB <=  P_STDAT     AND  "Valid-from
                              DATBI >   P_STDAT.         "Valid-to
                DATAITEM-DATAB = A018-DATAB.    "Condition From
                DATAITEM-DATBI = A018-DATBI.    "Condition To
                IF SY-SUBRC = 0.
                  SELECT * FROM  KONP
                           WHERE KNUMH = A018-KNUMH   AND   "Cnd Number
                                 KSCHL = A018-KSCHL   AND   "Cnd Type
                                 KAPPL = A018-KAPPL.        "Cnd Cat
                    DATAITEM-KBETR = KONP-KBETR.            "Price
                    DATAITEM-KONWA = KONP-KONWA.            "Currency
                    DATAITEM-KPEIN = KONP-KPEIN.            "Price Unit
                   DATAITEM-KMEIN = KONP-KMEIN.            "Unit of Material
                    APPEND DATAITEM TO TAB_DATA.            "Append TAB_DATA
                  ENDSELECT.
                ENDIF.
              ENDSELECT.
            ENDSELECT.
          ELSE.
            MOVE-CORRESPONDING WK_BOM TO DATAITEM.
            APPEND DATAITEM TO TAB_DATA.
          ENDIF.
        ENDSELECT.
        IF SY-SUBRC <> 0.
          MOVE-CORRESPONDING WK_BOM TO DATAITEM.
          APPEND DATAITEM TO TAB_DATA.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    "GET_DATA
    *&      Form  SET_OUTPUT
          text
    -->  p1        text
    <--  p2        text
    FORM SET_OUTPUT .
      CLEAR WK_CNT.
      LOOP AT TAB_DATA INTO DATAITEM.
        WRITE: /001   '|', 002 DATAITEM-LEVEL,   "Material Number
                007   '|', 008 DATAITEM-MATNR,   "Purchase Grp
                026   '|', 027 DATAITEM-POSTP,   "Item category
                030   '|', 031 DATAITEM-MENGE,   "BOM Component qty
                044   '|', 045 DATAITEM-DATUV,   "BOM valid from
                055   '|', 056 DATAITEM-DATUB,   "BOM valid to
                066   '|', 067 DATAITEM-EKGRP,   "Purchase Org
                071   '|', 072 DATAITEM-LIFNR,   "Vendor
                082   '|', 083 DATAITEM-MARK,    "Mark flag
                085   '|', 086 DATAITEM-KBETR,   "Price
                101   '|', 102 DATAITEM-KONWA,   "Currency
                107   '|', 108 DATAITEM-KPEIN,   "Unit Qty
                115   '|', 116 DATAITEM-KMEIN,   "Unit OM
                120   '|', 121 DATAITEM-DATAB,   "Cnd From
                131   '|', 132 DATAITEM-DATBI,   "Cnd To
                142   '|'.
        WK_CNT = WK_CNT + 1.
      ENDLOOP.
    ENDFORM.                    " SET_OUTPUT

    Prabhu Peram,
    Thanks very much.
    I want to show an idea of BOM explosion by constructing a stack.
    BOM explosion uses first-root-searching and pushes the "root" material into stack.If the "root" has no left-child,pops out the "root" material and searchs the right-child....and completes the entire BOM explosion.
    Message was edited by:
            Mic chen
    Message was edited by:
            Mic chen

  • Structure of SAP Script.....

    Hi,
           What is the structure of SAP SCRIPT..... If anybody knows help me....
    Thanx in adv,
    Regards,
    <b>SureshKumar.V</b>

    Hi,
    Check the links for info on SAPSCRIPT structures -
    BAPI Tutorial
    Re: Sapscript
    Re: Sapscript
    Re: sapscript: how to align empty fields?
    Re: Addition of new fields to SAP script
    Re: scripts
    Re: scripts
    Regards,
    Amit
    Reward all helpful replies.

  • Uploading data in to info cube.

    Hi
    I am new to APO. I was able to create infocube and all that stuff. but was not able to upload data in to info cube,
    Can some one explain me the process of uploading data in to info cube.
    Regards
    Deepu

    HI Deepu
    There could a lot of reasons why the data is not getting loaded in the info cube. It all depeds what type of data source is being used to load the data. That is are you trying to load the data through a flat file or you are using another info provider (info cube, ODS, etc) to load the data in your info cube.
    For example, if it is a flat file, you may want to check if the format of the file is correct or you could preview the data before you upload the entire file, etc
    If you are loading it from an another info provider, then you could first try and load the same in the PSA and see if the data is loaded in the PSA properly.
    So if you can describe the error that you are getting while you upload data, it wil be more clearer. Also if you can add a little bit of architecture of what are trying to build, it will be better to give pointers.
    In the meantime, the process of uploading data into the info cube is that first you have to create a data source depending upon your source system. Then you may create a info source, transfer structure and communicattion structure. Then you create the info provider (in your case the info cube), then create the update rules and then the info package finally to load the data.
    I hope this helps.
    Rgds, Sandeep

  • PPCI: Create customer info type

    Hi,
    I tried to create a new info type for OM. I used PPCI but get the following error.
    Any ideas why i can't successfully create info type 9010
    Structure HRI9010 exists
    Structure P9010 does not exist
    Table HRP9010 does not exist
        HRP9010 not created in the database
        Database index XXXX not created
    Module pool
    Module pool MP901000 does not exist
    Include MP901020 does not exist
    Include MP9010BI does not exist

    hi
    this link might be useful
    how to create OM Infotype
    Regards
    sameer

  • How to add a field in Info Source

    hi,
    I have added an extra field in extract structure at R/3 and successfully replicated to BW.
    Can anyone pls tell me how to add an extra field (info object) in info source (transfer structure and Transfer rules) and ODS.
    pls explain step by step.
    regards,
    Avneet

    Hi,
    To add the field
    1) goto the RSA6 double click on it
    2) double click on the extract structure
    3) u will get ur extract structuter then u can see the append structure at the top left click onit
    4)give the name of the structure..
    5) enter the NEW field startign with "Z"
    6) Save it
    7) Go to Cmod and then create a project
    8) the assign components as EXIT_SAPLRSAP_002 (for trasaction data)
    9) Go inside the include adn srite a code to fill the values to ur NEW field from the table u wnat move
    10) save the code and activate it
    11) Go to RSA3 and test the extractor
    12) check ur NEW field is there or not (if u dont find ur field go to rsa6 adn double click ur DS and then see that there is a HIDE mark i schecked or not)
    13) if everything looks fine from R3 side
    14) then Replicate the data source in BW
    15) u will find the new fild in the Trasfer structure
    16)assign to the IO which u want to mapp.. adn Activate it
    17) Add a new IO in Cube
    18) check all ur Update rules to map to fill the new IO from R3
    19) The Load the data to Cube
    Hope it helped
    Thanks
    DST

  • Material Group on structure S124

    Hello
    I am a beginner using Logistic Information System, I am trying to update the structure S124 trough Transaction OLI1, apparently it updates correctly but, when I go to SE16N to check the info of the structure, I see the field Material Group empty for all the rows, anyone knows how could I update this specific field?
    Thank you in advance
    Regards

    Hi,
    Are you trying to create a Service PO?  If yes, then kindly check in t-code ML91 whether the material group is defaulted.  If yes, remove that and change it during PO creation.
    Thanks

  • Est-il possible d'avoir un exemple plus détaillé de l'utilisation d'une structure évènement?

    Je cherche à piloter une charge programmable de type Prodigit 3254 series grace à Labview sous Windods XP. Une démo était fournie avec le matériel mais comporte beaucoup de bug et surtout surcharge l'UC à 100%. J'ai essayé d'utiliser une structure évènement pour palier à ce problème mais je perd le controle de la charge. Mon programme d'origine me permet de la controler, de faire évoluer sa config mais dès que l'ajoute la structure évènement je perds le controle de tout. Est-il possible d'avoir des détails sur la manière d'utiliser une structure évènement? sur son mode de fonctionnement? Rien ne figure dans le livre de programmation de Francis Cottet pour la version 6.1. Merci d'
    avance

    Bonjour, vous pouvez trouver les infos concernant la structure évènement ici :
    Loops and Structures : http://zone.ni.com/devzone/devzone.nsf/webcategories/E27D46969B82A7FD86256A23005B6947
    Plus précisément dans :
    - Event-Driven Programming in LabVIEW
    - Use the Event Structure in LabVIEW to Capture a Panel Close Event
    - Inside LabVIEW : Event-Driven Programming
    N'hésitez pas à me dire si cela répond à votre besoin.
    Cordialement
    Nicolas François
    National Instruments France

  • 2960x & 2960s stacking?

    Hey guys recently I tried to introduce a 2960x switch into a 2960s stack.
    I prepped the bpth switches and made sure the prefer sdm was set to default as well as setting the stack port speed on the 2960s stack to 10 so its would be compatible.
    Once i stacked the switches i got a version mismatch error and an auto upgrade message, after waiting roughly 40 minutes with no succcessful upgrade i removed the X switch from the stack
    below are the IOS running on both switches
    *    1 52    WS-C2960S-48FPS-L  15.0(2)SE5            C2960S-UNIVERSALK9-M
         2 28    WS-C2960S-24TD-L   15.0(2)SE5            C2960S-UNIVERSALK9-M
    3 52    WS-C2960X-48FPD-L  15.0(2)EX4            C2960X-UNIVERSALK9-M
    Any thoughts on how to successfully stacked these?? Thanks in advance

      Hi,
    some info about stacking different switch 2960S with 2960X.
    More info is available at:
    http://www.cisco.com/c/en/us/products/collateral/switches/catalyst-2960-x-series-switches/white_paper_c11-728327.html
    Hope this can help you.
    Mixed Stacks: FlexStack and FlexStack-Plus
    The 2960-S and 2960-X support a mixed stack of 2960 models. All  these 2960 models run the FlexStack protocol, allowing them to be  stacked together into a single stack. The exception is the 2960-XR does  not stack with either the 2960-X or the 2960-S. The 2960-XR has the  IP-Lite feature set, and this is not compatible with the LAN Base  feature set on the 2960-X and 2960-XR. Table 2 shows all the allowed  mixed stack combinations. What is crucial is the Cisco IOS Software  feature set. All 2960 models with the LAN Base Cisco IOS Software  feature set can stack together.
    Table 2. Allowed Mixed Stack Combinations
    Mixed Stack Combination
    2960-XR IP Lite
    2960-X LAN Base
    2960-S LAN Base
    2960-XR IP Lite
    Yes
    No
    No
    2960-X LAN Base
    No
    Yes
    Yes
    2960-S LAN Base
    No
    Yes
    Yes
    Table 3 shows FlexStack-Plus backward compatibility and performance of 2960-X and 2960-XR with the 2960-S switches.
    Table 3. Backward Compatibility
    Scale of Mixed Stack Combination
    Max Stack Bandwidth
    Stack Limit
    Cisco IOS Software Feature Set
    2960-XR IP Lite
    80Gbps
    8
    IP Lite
    2960-X LAN Base
    80Gbps
    8
    LAN Base
    2960-X, 2960-S LAN Base
    40Gbps
    4
    LAN Base
    When the 2960-S and 2960-X members are stacked together, the entire  stack (even the 2960-X members) fall back to FlexStack capabilities.  Mixing 2960 members limits the max stack members to four, and 20Gbps  stack bandwidth per member, and 40Gbps per stack.

  • Creating a Stack

    Hi everyone,
    I am new to Flash Builder and designing an app.  I am trying to add a function that lets me undo previous actions that have occurred.  For this I would like to create a stack structures which "pushes" actions that occur and whenever the undo button is hit the actions will be "popped" returning to the value it once was.  If anyone has any tips on creating a stack structure and its functions I would be very interested.
    Thanks

    Sorry, I don't know what you mean by view state or model state.
    The basis of why I want to store values is that I am subtracting numbers from a larger number.  If the undo button is pressed then the previous subtracted value will be added back to the total.  I'm using Flash Builder Burrito and couldn't find any information on creating a stack.

Maybe you are looking for