List materials in deliveries

Good morning.
I have a problem with list materials in deliveries.
When you enter a product into an order, whose included into a list of materials, it explotes and create automatically others positions. If you modify the quantity of the main position, the system changes the quantity of the others positions automatically.
For exemple:
Pos   qty    Main pos
10     100       0
20      50       10
30      40       10
If I modify the main position quantity it automatically change the positions 20 and 30:
Pos   qty    Main pos
10     50      0
20      25       10
30      20       10
But this not happen in deliveries.You have to change the subpositions manually. So if you change the main position, and do not change the subpositions, the delivery is incorrect:
Pos   qty    Main pos
10     50       0
*20      50       10*
*30      40       10*
Is there any way to change the subpositions automatically in deliveries when you change the main position, like occurs in ordres?
Thanks.

hello, friend.
i assume you are dealing with BOM and it is the main item quantity you are changing.  please check the item category group of the main item (using MM03).  is it LUMF?  if so, then i have a hunch that this could be the reaon why only the component items that are relevant for delivery, and the quantities are copied from the sales order and not as a result of the main items.
however, i will try to test this hypothesis.
regards.

Similar Messages

  • List of Inbound deliveries whose GR not  done

    All SAP Gurus,
    How we can know the List of Inbound deliveries whose GR not  done for perticular palnt?
    Regards,

    Hi Rajan,
    In VL06I > List Inbound Deliveries
    - plant > can be filtered trough SLoc (plant+SLoc identifies a SLoc uniquely) - of course not the best, but can be used...
    - fully processed / partially processed GR > 'Total gds mvt stat.' field can be used for this
    GR date cannot be given as selection criteria > you have to customize the report and add the necessary fields (plant field can also be added, better than filter plant trough SLoc), create an own query or you can use MB51 as well.
    As per my knowledge there's no better standard report than VL06I and MB51 for this purpose.
    Csaba

  • List of Inbound deliveries for POs.

    Hi,
    I want to pull out a list of inbound deliveries for POs from production data.
    I am not even sure that they have these inbound deliveries or not. How do I get a list of POs which have inbound deliveries created.
    I tried searching the tables EKKO, EKPO, but of no use.
    What is the easiest way out?
    Regards
    MS

    Hi,
    This are the list of inbound delivery transaction which may help you;
    VL06     Delivery Monitor
    VL06I     Inbound Delivery Monitor
    VL06IC     Confirmation of putaway inb. deliv.
    VL06ID     Inbound Deliveries for Distribution
    VL06IF     Selection inbound deliveries
    VL06IG     Inbound deliveries for goods receipt
    VL06IP     Inbound deliveries for putaway
    VL10B     Purchase Orders Due for Delivery
    VL10D     Purch. Order Items due for Delivery
    VL10E     Order Schedule Lines due fVL10H     Items Due for Delivery
    VL10F     PurchOrd Schedule Lines due for Dlv.
    VL10G     Documents due for Delivery
    VL34     Worklist Inbound Deliveries
    VL64     Worklist Inbound Deliveries
    VL65     Inbound Delivery Purge Report
    VL66     Inbound Delivery Delete Report
    VLUNIV     Change Delivery (General)
    Br,
    Tushar Patankar

  • List of inbound deliveries with status of Inbound delivery

    Dear all,
    I need to get list of inbound deliveries with status of Inbound delivery. please let me know where can i get it. either table or tcode. also table would be helpful

    Hi,
    Go to VL06O and select the list of deliveries option.
    enter your delivery type .
    You can have header as well as item level details.
    Regards,
    Krishna O

  • List of outbound deliveries to be invoiced

    Hi all,
    can you please give me the list of outbound deliveries to be invoiced. Vl06o gives the list of outbound deliveries created.
    but i want all the list which are delivered and yet to be invoiced.
    very urgent.
    thanks in advance.
    anil.

    Hi Anil - Please run VF04 and provide input details (sold to, etc) and execute to display the list... also, check "delivery related Invoice" option to see what delivery documents are awaiting billing documents.
    Thanks
    Nikhil

  • List of inbound deliveries whose GR is pending

    All SAP Gutrus,
    In VL06I; we can get is the list of all the inbound deliveries done in perticular period for entire client.
    But how we can gwt  the list of inbound deliveries done for perticular period for the perticular plant.
    And more ever is it posible to get the list of thoe inbound deliveries whose GR has been done or GR is pending?
    Please reply.
    Regards,

    HI Can try with VL06IG or  VL06IP

  • PO No. Not Available in T-Code VL06F (List Of outbound deliveries)

    Hi Team,
    I was checking list of outbound deliveries in T-Code VL06F (List Of outbound deliveries) here.
    1. PO no. coming as Sales order no. only so how to bring PO no. from sales order to delivery please Guide.
    please find attached doc. here.
    2. What are the settings required for this
    Thanks
    YRHSP

    Hi SP,
    System will populate Purchase document value either as Sales order number (VBAP-VBELN) or Purchase order number (EKPO-EBELN)
    This is standard code put
    there is no configuration for this
    you have to make code changes specific to your requirement
    There is an enhancement point where you can try
    FELDAUSWAHL_SONDERREGELN_05 SPOTS ES_SAPMV50A
    check with your developer on feasibility of this enhancement
    thanks
    santosh

  • List of Inbound Deliveries with handling units

    I am looking for standard report where i can get the list of inbound deliveries with handling units linked to them.
    I saw VL06I but could not get the details.
    Regards
    Sameer

    I think only HUMO (tab: "Assignment to objects") is the transaction in which you can get a list with IBD no. and HU no. However, the selection screen is not be the best...
    In VL06I you also have the handling units ("List Inbound Deliveries" button) both on selection screen and in the report.
    Please carefully read OSS notes 368917 and 122282 about this.

  • List of blocked deliveries at PGI

    Dear All,
    There is a situation, we have configured the static credit check at PGI level .
    The system throws an error message if the recievebakes have exceeded, somehow there is a requirement for a list of all delivery documents blocked for credit at PGI level, we have checked VKM1, it does not display teh blocked documents.
    Please help.
    Regards
    Aadesh

    Hi
    In transaction VKM4, enter the credit control area and click on Deliveries
    system will retrieve Deliveries which credit status
    you can also check VKM5
    VKM5 you have may get all deliveries for all sales organization/Credit control areas
    regards,
    santosh

  • VLO60-list of outbound deliveries.

    Hi Gurus,
    In the transaction code: VL06O, I selected the tab list of out bound deliveries and executed. In the output report I got  Delivery number details , ship-to party  data, GI Date ,Deliv.date .But Iam not getting the   Serial number data.
    Can you please provide some inputs why the serial number data is not showing in the report.
    Please provide how to get the Serial number data in the output.
    Your efforts are highly appriciated.
    Thanks and Regards
    H@RIPRIY@.

    Hi Haripriya,
    Run the  Report "RIOBJK00".
    Please find the below link
    Query to extract serial number form SD delivery item
    Kindly revert back with the updates
    Thanks
    Dasaradha

  • LIST materials

    Hi ,
    Can any one explain me about this program.
    REPORT Z_LIST_MATERIALS.
    TYPE-POOLS: SLIS.
    TABLES:MARC, MARD, VBAP, LIPS, EKPO, VBFA, EKBE, MARM, VBBE, MARA, MBEW.
    SELECTION-SCREEN BEGIN OF BLOCK SEL WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS: S_WERKS FOR MARC-WERKS, " Plant
                   S_MATNR FOR MARC-MATNR, " Material
                   S_MTART FOR MARA-MTART. " Material Type SELECTION-SCREEN END OF BLOCK SEL.
    PARAMETERS: P_VARI LIKE DISVARIANT-VARIANT. " ALV Variant
    CONSTANTS: FORMNAME_TOP_OF_PAGE TYPE SLIS_FORMNAME VALUE 'TOP_OF_PAGE'.
    DATA: BEGIN OF INV OCCURS 100,
           WERKS LIKE MARD-WERKS, " Plant
           MATNR LIKE MARD-MATNR, " Material
           MTART LIKE MARA-MTART, " Material Type
           STPRS LIKE MBEW-STPRS, " Standard Price
           AVAIL LIKE MARD-LABST, " Available
           LABST LIKE MARD-LABST, " Unrestricted use
           INSME LIKE MARD-INSME, " Quality Inspection
           RETME LIKE MARD-RETME, " Returns
           TRANS LIKE MARC-UMLMC, " Stock in transit (calculated)
           UMLMC LIKE MARC-UMLMC, " Stock Transfer (plant)
           UMLME LIKE MARD-UMLME, " Transfer (SLoc)
           WESBS LIKE EKBE-WESBS, " GR Blocked Stock
           TRAME LIKE MARC-TRAME, " Stock in transit
           SPEME LIKE MARD-SPEME, " Blocked
           KWMENG LIKE VBAP-KWMENG, " Sales orders
           LFIMG LIKE LIPS-LFIMG, " Scheduled for Delivery
           MENGE LIKE EKPO-MENGE, " Open Purch. Orders
           VALUE LIKE MBEW-SALK3, " Stock Value (Calculated)
           MEINS LIKE MARA-MEINS, " Unit of measure
         END OF INV.
    DATA: FIELDTAB TYPE SLIS_T_FIELDCAT_ALV,
         HEADING  TYPE SLIS_T_LISTHEADER,
         LAYOUT   TYPE SLIS_LAYOUT_ALV,
         EVENTS   TYPE SLIS_T_EVENT,
         REPNAME  LIKE SY-REPID,
         F2CODE   LIKE SY-UCOMM VALUE  '&ETA',
         G_SAVE(1) TYPE C,
         G_EXIT(1) TYPE C,
         G_VARIANT LIKE DISVARIANT,
         GX_VARIANT LIKE DISVARIANT.
    INITIALIZATION.
    REPNAME = SY-REPID.
    PERFORM INITIALIZE_FIELDCAT USING FIELDTAB[].
    PERFORM BUILD_EVENTTAB USING EVENTS[].
    PERFORM BUILD_COMMENT USING HEADING[].
    PERFORM INITIALIZE_VARIANT.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_VARI.
    PERFORM F4_FOR_VARIANT.
    AT SELECTION-SCREEN.
    PERFORM PAI_OF_SELECTION_SCREEN.
    START-OF-SELECTION.
    PERFORM GET_MARD.
    PERFORM GET_UNIT_OF_MEASURE.
    PERFORM GET_MARC.
    PERFORM GET_EKPO.
    PERFORM GET_LIPS.
    PERFORM GET_VBAP.
    PERFORM GET_OPEN.
    PERFORM GET_PRICE.
    END-OF-SELECTION.
    PERFORM BUILD_LAYOUT USING LAYOUT.
    PERFORM WRITE_OUTPUT.
    *&      Form  INITIALIZE_FIELDCAT
          text
         -->P_FIELDTAB[]  text                                           *
    FORM INITIALIZE_FIELDCAT USING P_FIELDTAB TYPE SLIS_T_FIELDCAT_ALV.
    DATA: L_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
    fixed columns (obligatory)
    CLEAR L_FIELDCAT.
    L_FIELDCAT-TABNAME    = 'INV'.
    L_FIELDCAT-FIX_COLUMN = 'X'.
    L_FIELDCAT-NO_OUT     = 'O'.
    L_FIELDCAT-FIELDNAME  = 'WERKS'.
    APPEND L_FIELDCAT TO P_FIELDTAB.
    L_FIELDCAT-FIELDNAME  = 'MATNR'.
    APPEND L_FIELDCAT TO P_FIELDTAB.
    totalized columns
    CLEAR L_FIELDCAT.
    L_FIELDCAT-TABNAME   = 'INV'.
    L_FIELDCAT-SP_GROUP  = 'A'.
    L_FIELDCAT-DO_SUM    = 'X'.
    L_FIELDCAT-FIELDNAME = 'LABST'.
    APPEND L_FIELDCAT TO P_FIELDTAB.
    L_FIELDCAT-FIELDNAME = 'INSME'.
    APPEND L_FIELDCAT TO P_FIELDTAB.
    L_FIELDCAT-FIELDNAME = 'RETME'.
    APPEND L_FIELDCAT TO P_FIELDTAB.
    L_FIELDCAT-FIELDNAME = 'UMLME'.
    APPEND L_FIELDCAT TO P_FIELDTAB.
    L_FIELDCAT-FIELDNAME = 'WESBS'.
    APPEND L_FIELDCAT TO P_FIELDTAB.
    L_FIELDCAT-FIELDNAME = 'SPEME'.
    APPEND L_FIELDCAT TO P_FIELDTAB.
    columns with different description
    L_FIELDCAT-FIELDNAME = 'KWMENG'.
    L_FIELDCAT-SELTEXT_M = 'Sales Orders'.
    L_FIELDCAT-SELTEXT_S = 'Sales Or'.
    L_FIELDCAT-SELTEXT_L = 'Sales Orders Qty'.
    APPEND L_FIELDCAT TO P_FIELDTAB.
    L_FIELDCAT-FIELDNAME = 'LFIMG'.
    L_FIELDCAT-SELTEXT_M = 'Sched. Delivery'.
    L_FIELDCAT-SELTEXT_S = 'Schd. Del'.
    L_FIELDCAT-SELTEXT_L = 'Scheduled for Delivery'.
    APPEND L_FIELDCAT TO P_FIELDTAB.
    L_FIELDCAT-FIELDNAME = 'TRANS'.
    L_FIELDCAT-SELTEXT_M = 'Stk. in transit'.
    L_FIELDCAT-SELTEXT_S = 'Stk. trns'.
    L_FIELDCAT-SELTEXT_L = 'Stock in transit (sum)'.
    APPEND L_FIELDCAT TO P_FIELDTAB.
    L_FIELDCAT-FIELDNAME = 'AVAIL'.
    L_FIELDCAT-SELTEXT_M = 'Available'.
    L_FIELDCAT-SELTEXT_S = 'Avail.'.
    L_FIELDCAT-SELTEXT_L = 'Stock Available'.
    APPEND L_FIELDCAT TO P_FIELDTAB.
    L_FIELDCAT-FIELDNAME = 'MENGE'.
    L_FIELDCAT-SELTEXT_M = 'Open Orders'.
    L_FIELDCAT-SELTEXT_S = 'Open Ord'.
    L_FIELDCAT-SELTEXT_L = 'Open Purchase Orders'.
    APPEND L_FIELDCAT TO P_FIELDTAB.
    columns not displayed
    CLEAR L_FIELDCAT.
    L_FIELDCAT-TABNAME   = 'INV'.
    L_FIELDCAT-SP_GROUP  = 'A'.
    L_FIELDCAT-NO_OUT    = 'X'.
    L_FIELDCAT-FIELDNAME = 'MEINS'.
    APPEND L_FIELDCAT TO P_FIELDTAB.
    L_FIELDCAT-FIELDNAME = 'UMLMC'.
    APPEND L_FIELDCAT TO P_FIELDTAB.
    L_FIELDCAT-FIELDNAME = 'TRAME'.
    APPEND L_FIELDCAT TO P_FIELDTAB.
    L_FIELDCAT-FIELDNAME = 'STPRS'.
    APPEND L_FIELDCAT TO P_FIELDTAB.
    L_FIELDCAT-FIELDNAME = 'VALUE'.
    APPEND L_FIELDCAT TO P_FIELDTAB.
    ENDFORM.                               " INITIALIZE_FIELDCAT
    *&      Form  BUILD_EVENTTAB
          text
         -->P_EVENTS[]  text                                             *
    FORM BUILD_EVENTTAB USING P_EVENTS TYPE SLIS_T_EVENT.
    DATA: LS_EVENT TYPE SLIS_ALV_EVENT.
    CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
          EXPORTING
               I_LIST_TYPE = 0
          IMPORTING
               ET_EVENTS   = P_EVENTS.
    READ TABLE P_EVENTS WITH KEY NAME = SLIS_EV_TOP_OF_PAGE
                              INTO LS_EVENT.
    IF SY-SUBRC = 0.
       MOVE FORMNAME_TOP_OF_PAGE TO LS_EVENT-FORM.
       APPEND LS_EVENT TO P_EVENTS.
    ENDIF.
    ENDFORM.                               " BUILD_EVENTTAB
    *&      Form  BUILD_COMMENT
          text
         -->P_HEADING[]  text                                            *
    FORM BUILD_COMMENT USING P_HEADING TYPE SLIS_T_LISTHEADER.
    DATA: HLINE TYPE SLIS_LISTHEADER,
           TEXT(60) TYPE C,
           SEP(20) TYPE C.
    CLEAR: HLINE, TEXT.
    HLINE-TYP  = 'H'.
    WRITE: TEXT-101 TO TEXT+23.
    HLINE-INFO = TEXT.
    APPEND HLINE TO P_HEADING.
    CLEAR TEXT.
    WRITE: 'User: ' TO TEXT,
            SY-UNAME TO TEXT+6,
            'Date: ' TO TEXT+25,
            SY-DATUM TO TEXT+31,
            'Page: ' TO TEXT+50,
            SY-PAGNO TO TEXT+56.
    HLINE-INFO = TEXT.
    APPEND HLINE TO P_HEADING.
    ENDFORM.                    " BUILD_COMMENT
          FORM TOP_OF_PAGE                                              *
    FORM TOP_OF_PAGE.
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
          EXPORTING
               IT_LIST_COMMENTARY = HEADING.
    ENDFORM.
    *&      Form  INITIALIZE_VARIANT
          text
    FORM INITIALIZE_VARIANT.
    G_SAVE = 'A'.
    CLEAR G_VARIANT.
    G_VARIANT-REPORT = REPNAME.
    GX_VARIANT = G_VARIANT.
    CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
          EXPORTING
               I_SAVE     = G_SAVE
          CHANGING
               CS_VARIANT = GX_VARIANT
          EXCEPTIONS
               NOT_FOUND  = 2.
    IF SY-SUBRC = 0.
       P_VARI = GX_VARIANT-VARIANT.
    ENDIF.
    ENDFORM.                               " INITIALIZE_VARIANT
    *&      Form  F4_FOR_VARIANT
          text
    FORM F4_FOR_VARIANT.
    CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
          EXPORTING
               IS_VARIANT = G_VARIANT
               I_SAVE     = G_SAVE
          IMPORTING
               E_EXIT     = G_EXIT
               ES_VARIANT = GX_VARIANT
          EXCEPTIONS
               NOT_FOUND  = 2.
    IF SY-SUBRC = 2.
       MESSAGE ID SY-MSGID TYPE 'S'      NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ELSE.
       IF G_EXIT = SPACE.
         P_VARI = GX_VARIANT-VARIANT.
       ENDIF.
    ENDIF.
    ENDFORM.                               " F4_FOR_VARIANT
    *&      Form  PAI_OF_SELECTION_SCREEN
          text
    FORM PAI_OF_SELECTION_SCREEN.
    IF NOT P_VARI IS INITIAL.
       MOVE G_VARIANT TO GX_VARIANT.
       MOVE P_VARI TO GX_VARIANT-VARIANT.
       CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
            EXPORTING
                 I_SAVE     = G_SAVE
            CHANGING
                 CS_VARIANT = GX_VARIANT.
       G_VARIANT = GX_VARIANT.
    ELSE.
       PERFORM INITIALIZE_VARIANT.
    ENDIF.
    ENDFORM.                               " PAI_OF_SELECTION_SCREEN
    *&      Form  GET_MARD
          text
    FORM GET_MARD.
    SELECT MATNR WERKS LABST INSME RETME UMLME SPEME
            FROM MARD
            INTO CORRESPONDING FIELDS OF INV
            WHERE MATNR IN S_MATNR
            AND   WERKS IN S_WERKS.
       COLLECT INV.
    ENDSELECT.
    PERFORM FILTER_BY_MATERIAL_TYPE.
    ENDFORM.                               " GET_MARD
    *&      Form  FILTER_BY_MATERIAL_TYPE
          text
    FORM FILTER_BY_MATERIAL_TYPE.
    LOOP AT INV.
       CLEAR INV-MTART.
       SELECT SINGLE MTART
              INTO INV-MTART
              FROM MARA
              WHERE MATNR EQ INV-MATNR
              AND   MTART IN S_MTART.
       IF SY-SUBRC EQ 0.
         MODIFY INV.
       ELSE.
         DELETE INV.
       ENDIF.
    ENDLOOP.
    ENDFORM.                    " FILTER_BY_MATERIAL_TYPE
    *&      Form  GET_MARC
          text
    FORM GET_MARC.
    LOOP AT INV.
       SELECT SINGLE UMLMC TRAME
              FROM MARC
              INTO CORRESPONDING FIELDS OF INV
              WHERE MATNR EQ INV-MATNR
              AND   WERKS EQ INV-WERKS.
       IF SY-SUBRC EQ 0.
         INV-TRANS = INV-UMLMC + INV-TRAME.
         MODIFY INV.
       ENDIF.
    ENDLOOP.
    ENDFORM.                               " GET_MARC
    *&      Form  GET_EKPO
          text
    FORM GET_EKPO.
    DATA: WESBS LIKE INV-WESBS,
           SHKZG LIKE EKBE-SHKZG,
           MEINS LIKE EKPO-MEINS,
           LMEIN LIKE EKPO-LMEIN.
    LOOP AT INV.
       CLEAR: WESBS, SHKZG, MEINS, LMEIN.
       SELECT YWESBS YSHKZG XMEINS XLMEIN
              INTO (WESBS, SHKZG, MEINS, LMEIN)
              FROM EKPO AS X JOIN EKBE AS Y
              ON   XEBELN = YEBELN
              AND  XEBELP = YEBELP
              WHERE XMATNR EQ INV-MATNR
              AND   XWERKS EQ INV-WERKS
              AND   XLOEKZ NE 'L'.
         IF SHKZG EQ 'H'.
           MULTIPLY WESBS BY -1.
         ENDIF.
         IF MEINS NE LMEIN.
           PERFORM CONVERT_UNIT_OF_MEASURE CHANGING INV-MATNR MEINS WESBS.
         ENDIF.
         ADD WESBS TO INV-WESBS.
       ENDSELECT.
       MODIFY INV.
    ENDLOOP.
    ENDFORM.                               " GET_EKPO
    *&      Form  GET_LIPS
          text
    FORM GET_LIPS.
    DATA: LFIMG LIKE INV-LFIMG.
    LOOP AT INV.
       CLEAR: LFIMG, INV-LFIMG.
       SELECT OMENG
              INTO LFIMG
              FROM VBBE
              WHERE MATNR EQ INV-MATNR
              AND   WERKS EQ INV-WERKS
              AND   VBTYP EQ 'J'.
         ADD LFIMG TO INV-LFIMG.
       ENDSELECT.
       MODIFY INV.
    ENDLOOP.
    ENDFORM.                               " GET_LIPS
    *&      Form  GET_VBAP
          text
    FORM GET_VBAP.
    DATA: KWMENG LIKE INV-KWMENG.
    LOOP AT INV.
       CLEAR: KWMENG, INV-KWMENG.
       SELECT OMENG
              INTO KWMENG
              FROM VBBE
              WHERE MATNR EQ INV-MATNR
              AND   WERKS EQ INV-WERKS
              AND   VBTYP EQ 'C'.
         ADD KWMENG TO INV-KWMENG.
       ENDSELECT.
       INV-AVAIL = INV-LABST - INV-INSME - INV-KWMENG - INV-LFIMG.
       MODIFY INV.
    ENDLOOP.
    ENDFORM.                               " GET_VBAP
    *&      Form  GET_UNIT_OF_MEASURE
          text
    -->  p1        text
    <--  p2        text
    FORM GET_UNIT_OF_MEASURE.
    LOOP AT INV.
       SELECT SINGLE MEINS
              FROM MARA
              INTO INV-MEINS
              WHERE MATNR EQ INV-MATNR.
       MODIFY INV.
    ENDLOOP.
    ENDFORM.                               " GET_UNIT_OF_MEASURE
    *&      Form  GET_OPEN
          text
    FORM GET_OPEN.
    DATA: BEGIN OF XTAB OCCURS 10,       " Open orders table
              WERKS LIKE EKPO-WERKS,
              LGORT LIKE EKPO-LGORT,
              MATNR LIKE EKPO-MATNR,
              MENGE LIKE EKPO-MENGE,
              MENGK LIKE EKPO-MENGE,
            END OF XTAB.
    RANGES: L_WERKS FOR MARD-WERKS.
    LOOP AT INV.
       REFRESH XTAB.
       CLEAR: XTAB, L_WERKS.
       MOVE INV-WERKS TO L_WERKS-LOW.
       CALL FUNCTION 'MB_ADD_PURCHASE_ORDER_QUANTITY'
            EXPORTING
                 X_MATNR = INV-MATNR
                 X_MEINS = INV-MEINS
                 X_ELIKZ = SPACE
                 X_LOEKZ = SPACE
            TABLES
                 XTAB    = XTAB
                 XWERKS  = L_WERKS.
       MOVE XTAB-MENGE TO INV-MENGE.
       MODIFY INV.
    ENDLOOP.
    ENDFORM.                               " GET_OPEN
    *&      Form  GET_PRICE
          text
    FORM GET_PRICE.
    LOOP AT INV.
       SELECT SINGLE STPRS
              FROM MBEW
              INTO INV-STPRS
              WHERE MATNR EQ INV-MATNR
              AND   BWKEY EQ INV-WERKS
              AND   BWTAR EQ SPACE.
         IF SY-SUBRC EQ 0.
           INV-VALUE = INV-STPRS *
                     ( INV-LABST + INV-INSME + INV-TRANS + INV-SPEME ).
           MODIFY INV.
         ENDIF.
    ENDLOOP.
    ENDFORM.                    " GET_PRICE
          FORM CONVERT_UNIT_OF_MEASURE                                  *
          text                                                          *
    -->  P_MATNR                                                       *
    -->  P_VRKME                                                       *
    -->  P_QUANT                                                       *
    FORM CONVERT_UNIT_OF_MEASURE USING P_MATNR P_VRKME P_QUANT.
    DATA: UMREZ LIKE MARM-UMREZ,
           UMREN LIKE MARM-UMREN.
    SELECT SINGLE UMREZ UMREN
            INTO (UMREZ, UMREN)
            FROM MARM
            WHERE MATNR EQ P_MATNR
            AND   MEINH EQ P_VRKME.
    IF SY-SUBRC EQ 0.
       COMPUTE P_QUANT = ( P_QUANT * UMREZ ) / UMREN.
    ENDIF.
    ENDFORM.
    *&      Form  BUILD_LAYOUT
          text
         -->P_LAYOUT  text                                               *
    FORM BUILD_LAYOUT USING P_LAYOUT TYPE SLIS_LAYOUT_ALV.
    P_LAYOUT-F2CODE       = F2CODE.
    P_LAYOUT-ZEBRA        = 'X'.
    P_LAYOUT-DETAIL_POPUP = 'X'.
    ENDFORM.                               " BUILD_LAYOUT
    *&      Form  WRITE_OUTPUT
          text
    FORM WRITE_OUTPUT.
    SORT INV BY WERKS MATNR.
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
          EXPORTING
               I_PROGRAM_NAME     = REPNAME
               I_INTERNAL_TABNAME = 'INV'
               I_INCLNAME         = REPNAME
          CHANGING
               CT_FIELDCAT        = FIELDTAB.
    IF SY-SUBRC <> 0.
       WRITE: 'SY-SUBRC: ', SY-SUBRC, 'REUSE_ALV_FIELDCATALOG_MERGE'.  ENDIF.  CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
          EXPORTING
               I_CALLBACK_PROGRAM = REPNAME
               I_STRUCTURE_NAME   = 'INV'
               IS_LAYOUT          = LAYOUT
               IT_FIELDCAT        = FIELDTAB
               I_DEFAULT          = 'A'
               I_SAVE             = G_SAVE
               IS_VARIANT         = G_VARIANT
               IT_EVENTS          = EVENTS[]
          TABLES
               T_OUTTAB           = INV.
    IF SY-SUBRC <> 0.
       WRITE: 'SY-SUBRC: ', SY-SUBRC, 'REUSE_ALV_LIST_DISPLAY'.  ENDIF.
    ENDFORM.                               " WRITE

    Hi Priya,
      Hope you want an Idea on ALVs ..The ALV Grid control is a flexible tool for displaying lists. The tool provides common list operations as generic functions and can be enhanced by self-defined options..
    The ALV Grid control is used to build non-hierarchical, interactive, and modern-design lists. As a control, it is a component that is installed on the local PC...
    The wrapper class implemented to encapsulate ALV Grid functionality is “CL_GUI_ALV_GRID”. in this code..  the other way to display lists with ALV utilizing “REUSE_ALV...” is being used...
    And for the selection-screens..
    for the events..
    AT SELECTION-SCREEN.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_VARI.
    are the events triggered from the selection-screeen..
    on VALUE REQUEST is triggered on a F4 key press on the parameter..
    This is the technical explanation that you can give..
    hope this helps you..
    ps:reward points if you find it helpful
    regards
    satesh

  • Inbound deliveries list with status

    Dear all,
    I need to get list of inbound deliveries with status of Inbound delivery. please let me know where can i get it. either table or tcode. also table would be helpful

    Please check this answered link:
    Inbound delivery Report
    Re: Inbound Del Note Info for a GR
    Edited by: Afshad Irani on May 19, 2010 10:44 AM

  • Is there any t.code for getting list of deliveries not yet invoiced?

    Hi,
    Is there any t.code or report where we can get the list of outbound deliveries not yet invoiced, and also the value for how much it will be invoiced.
    For example, I have one order with net price as 100, and it has outbound delivery created and not yet invoiced. I want a list of those deliveries with the net price of the quantity delivered.
    Do anybody have any idea on this ?
    Thanks
    Surya

    Hi All,
    In VF04 and VL06F we will get list of outbound deliveries, but I want the information in such a way that if that delivery is invoiced for how much value it will be invoiced? so, the list should contain the delivery number the value for how much the invoice will be created.
    Thanks
    Chandramouli

  • List of materials with no associated routing...report

    Hi all,
    I need to develop a program to display a list of materials that do not have an associated routing. SAP tcode C223 lists materials with associated production versions. Do you think there is another standard SAP transaction that might get me close to my goal?
    regards,
    Mat

    Not sure about a standard transaction, but I have written a program to do this same exact thing in the past.
    Really all you need to do is check against table MAPL.
    Regards,
    Rich Heilman

  • List of Deliveries

    Hi experts!
    How can I execute VL06O in background in order to create a list of open deliveries every Monday morning?
    There is no such function - is there any other possibility?
    Thanks for your help.
    Best regards,
    Corinne

    Go to transaction VL06O - General Delivery list Outbound deliveries
    Select button 'list of outbound deliveries'
    Input your search criteria as
    sales orgn
    Dist channel
    Division
    shipping point
    or whatever is your requirement.
    Now from menu bar, select Program -> output in background
    Now, background Print parameter screen opens
    click enter button
    Now, start time screen opens
    Select date & time button
    since you want to schedule a background job every Monday
    click date/time button and enter schedule start date and time as 06/07/2008 & 08:00 hours(or whatever  time is your requirement)
    Now select 'period values' button.
    select weekly button and save it. You could see 'periodic job' check box is checked automatically.
    Now click save button to save your background job.

Maybe you are looking for

  • How can I pass URL parameter value to text field?

    Dear Masters, I have a text field. I want it to have a value based on the URL parameter, for example: http://myapplication.net:7777/pls/apex/f?p=102:1:::::P1_RTNUM:9448,P1_EMAILADD:email.add.here I want the value of the text field = P1_EMAILADD after

  • The iPod can not be synced. The disk could not be read from or written to.

    I try several time to send my song list from libraly to iPod. But it's show me that " The iPod can not be synced. The disk could not be read from or written to. " About this problem i try to do manythings follow some reply for advice me. but i still

  • SubContractor issue not updated in purchase order history

    Hi Masters       Can anybody explain me why the material document regarding the material issued to sub contractor is not updated in the purchase order history? Is it a Standard one or anything missing in the configuration? Regards Mohan

  • Performance Management - Legacy  data migration

    We are going live in mid-feb. We would like to migrate the legacy appraisal data (non-SAP) into SAP Performance Management How do we do this? Is it possible to create the VB , VC objects by a report. I am considering creating a transition appraisal d

  • Transferring music with Homesharing

    I just bought a new computer and downloaded itunes. I bought a few new songs to add some new flair to my iphone's overplayed library. Since I have home-sharing, I thought it was simply authorzing the computer and then adding the songs to my phone. I