Link between alocation table(WA01) and purchase order PO/STO

HI,
I have on doubt regarding allocation table which we create in WA01.
During the creation of allocation table, when we select line item and goes into taxts tab and enter some text like "abcd". I just to know does this text hav any relation with PO. or does allocation table and PO/STO have a link .

hi,
     I hope you can use the EKBE for fetching the good reciept data for those purchase orders.
regards,
Veeresh

Similar Messages

  • What is the link between the tables DRAW and MARA

    Hi,
    Can you tell What is the link field between the tables DRAW and MARA
    Nagesh

    Hi,
    There is no direct relationship. But you can find the materials attached as object liink to the document in table DRAD.
    Hope it helps,
    Rajat

  • Table Link between the Functional Location and work order

    Hi Gurus,
    I am stuck in a big problem and have to find a way to list down the work order with a specific user status in the system. I am trying to link it based on the functional location as the inputs will have to be functional location and the date. Can any one guide me with the tables to link these two???
    Thanks in advance
    Anoop

    Hi,
    Depending on your exact requirement, you might be able to select from view VIAUFKST_IFLOS. This would allow selection based on order, functional location and various dates. The field IPHAS will give you some system status information - value will indicate which status the order has reached. Example value = 3 indicates order is technically completed.
    To get the exact system status (or user status) you need to read the JEST table. Read this table by OBJNR. The object number will have the format OR005000123456 (where 5000123456 is the order number). It will be available in the order tables.
    Status values in JEST are in the internal format - example I0002 = REL. Check transaction BS23 to see the link. User status values will have the format E0002. If INACT flag is set in a jest record then that status value is not active. If you want to check for a specific status value then call function STATUS_READ.
    -Paul

  • Link between delivery line item and sales order item schedule line.

    Hello friends,
    This is a continuation of my earlier query - for which I got half the solution, and this is the remaining problem.
    I want to know: from delivery document line item, how to link it to sales order line item's schedule line (when there are multiple schedule lines with identical quantities).
    Thanks for your help.
    - Chetan

    This is the code which i used for the same purpose and its working.
    Hope this will help you too....
    ****it_itab  is my final internal table.
    *Internal table for manupulating the Delivery balance when
    *its used in more than one schedule line
    TYPES: BEGIN OF ty_new,
           vbeln TYPE vbep-vbeln," so no
           posnr TYPE vbep-posnr," so line no
           etenr TYPE vbep-etenr," schedule line
           delno TYPE lips-vbeln,"delivery no
           delposnr TYPE lips-posnr,"del item no
           totval TYPE vbep-wmeng," total del wise value
           val   TYPE vbep-wmeng," del wise used value
           sdval TYPE vbep-wmeng,"schedule wise  del used value
           sdtotval TYPE vbep-wmeng," total Schedule value
         END OF ty_new.
    DATA:it_new TYPE ty_new OCCURS 0,
         wa_new TYPE ty_new.
    DATA: it_vbepvb TYPE TABLE OF vbepvb,
            wa_vbepvb LIKE LINE OF it_vbepvb,
            fvbfa TYPE TABLE OF vbfa,
            fvbup TYPE TABLE OF vbup,
            fvbap TYPE TABLE OF vbapvb.
      LOOP AT it_vbak INTO wa_vbak.
        LOOP AT it_vbap INTO wa_vbap
                WHERE vbeln = wa_vbak-vbeln.
      SELECT * FROM   vbfa INTO TABLE fvbfa WHERE vbelv = wa_vbap-vbeln
                                             AND  posnv = wa_vbap-posnr.
      SELECT * FROM   vbup INTO TABLE  fvbup WHERE vbeln = wa_vbap-vbeln
                                             AND  posnr = wa_vbap-posnr.
      SELECT * FROM   vbap INTO TABLE fvbap WHERE vbeln = wa_vbap-vbeln
                                             AND  posnr = wa_vbap-posnr.
      SELECT * FROM   vbep INTO TABLE it_vbepvb WHERE vbeln = wa_vbap-vbeln
                                             AND  posnr = wa_vbap-posnr.
      CALL FUNCTION 'RV_SCHEDULE_CHECK_DELIVERIES'
        EXPORTING
          fbeleg                        = wa_vbap-vbeln
          fposnr                        = wa_vbap-posnr
      FVERRECHNUNG                  = ' '
      FS073_ALT                     = ' '
      IF_NO_SORT                    = ' '
        TABLES
       fvbfa                         = fvbfa
       fvbup                         = fvbup
       fxvbep                        = it_vbepvb
      FVBLB                        =
        fvbap                        = fvbap
    EXCEPTIONS
      FEHLER_BEI_LESEN_FVBUP        = 1
      FEHLER_BEI_LESEN_FXVBEP       = 2
      OTHERS                        = 3
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      SORT it_vbepvb BY vbeln posnr edatu.
      LOOP AT it_vbepvb INTO wa_vbepvb
                    WHERE vbeln = wa_vbap-vbeln
                      AND posnr = wa_vbap-posnr.
        to write data of schedule line with no delivery
        MOVE wa_vbepvb-olfmng_flt TO wa_itab-openqty.
        IF  wa_vbepvb-bmeng EQ wa_itab-openqty.
          CLEAR wa_itab.
          PERFORM schedule_data.  "schedule line based data to be displayed
          MOVE: wa_vbap-lgort TO wa_itab-lgort.
          MOVE: wa_vbepvb-etenr TO wa_itab-etenr,
                wa_vbepvb-bmeng TO wa_itab-kwmeng,
                wa_vbepvb-olfmng_flt TO wa_itab-openqty.
          APPEND wa_itab TO it_itab .
          CLEAR wa_itab.
        ENDIF.
        LOOP AT it_vbfa INTO wa_vbfa WHERE vbelv = wa_vbepvb-vbeln
                                            AND  posnv = wa_vbepvb-posnr.
          READ TABLE it_likp INTO wa_likp WITH KEY vbeln = wa_vbfa-vbeln.
          CHECK wa_likp-bldat >= wa_vbepvb-edatu.
    check the Delivery doc date with the schedule line confirmed date
          CLEAR: delbal, deltot,wa_new.
          LOOP AT it_new INTO wa_new WHERE vbeln = wa_vbepvb-vbeln
                                         AND       posnr = wa_vbepvb-posnr
                                         AND       etenr = wa_vbepvb-etenr.
            deltot = deltot  +  wa_new-sdval.
          ENDLOOP.
          delbal = wa_new-sdtotval - deltot.
          CHECK sy-subrc <> 0 OR delbal GT 0.
          MOVE wa_vbepvb-olfmng_flt TO wa_itab-openqty.
          CHECK  wa_vbepvb-bmeng NE wa_itab-openqty.
    ****To check whether this delivery is already fully allocated against
    any other schedule.
    LOOP AT it_lips INTO wa_lips WHERE  vbeln = wa_vbfa-vbeln
                                           AND posnr = wa_vbfa-posnn.
            MOVE: wa_likp-bolnr TO wa_itab-vesname.
            MOVE: wa_likp-vbeln TO wa_itab-delno.
            MOVE: wa_likp-wadat TO wa_itab-wadat.
            MOVE: wa_likp-anzpk TO wa_itab-anzpk.
            MOVE: wa_likp-lddat TO wa_itab-lddat.
            MOVE: wa_likp-ernam TO wa_itab-ernam.
    ******end of code added by IVL1 on sep 27 2007 #3618
            PERFORM schedule_data.
            IF wa_lips-umvkz <> 0.
              tempquant = wa_lips-umvkn / wa_lips-umvkz.
            ELSE.
              tempquant = wa_lips-umvkn. "delivery qty
            ENDIF.
            tempquant = tempquant * wa_vbfa-rfmng.
    ***New logic added to get delivery qty schedule wise****
            MOVE: wa_vbepvb-etenr TO wa_itab-etenr,
                  wa_vbepvb-bmeng TO wa_itab-kwmeng,
                  wa_vbepvb-olfmng_flt TO wa_itab-openqty. "jo
    **if delivery qty is less than or equal to schedule line qty******
            IF tempquant LE  wa_vbepvb-bmeng.
              wa_itab-delqty =  tempquant.
              LOOP AT it_new INTO wa_new  WHERE  vbeln = wa_vbepvb-vbeln
                                         AND     posnr = wa_vbepvb-posnr
                                         AND     etenr = wa_vbepvb-etenr
                                         AND     delno  = wa_lips-vbeln
                                         AND     delposnr = wa_lips-posnr.
                MOVE-CORRESPONDING  wa_itab TO wa_new.
                wa_new-delposnr = wa_lips-posnr.
                wa_new-val = tempquant.
                wa_new-totval = tempquant.
                wa_new-sdval  = tempquant.
                wa_new-sdtotval = wa_vbepvb-bmeng.
                MODIFY TABLE it_new FROM wa_new .
                IF NOT sy-subrc IS INITIAL.
                  APPEND wa_new  TO it_new.
                ENDIF.
              ENDLOOP.
              IF sy-subrc <> 0.
                MOVE-CORRESPONDING  wa_itab TO wa_new.
                wa_new-delposnr = wa_lips-posnr.
                wa_new-val = tempquant.
                wa_new-totval = tempquant.
                wa_new-sdval  = tempquant.
                wa_new-sdtotval = wa_vbepvb-bmeng.
                APPEND wa_new TO it_new.
              ENDIF.
             wa_itab-delqty =  tempquant.
             CLEAR tempquant.
            ELSE.
        lips qty > so schedule lineqty
              CLEAR deltol.
              LOOP AT it_new INTO wa_new WHERE    vbeln = wa_vbepvb-vbeln
                                          AND      posnr = wa_vbepvb-posnr
                                         AND     etenr = wa_vbepvb-etenr
                                          AND     delno  = wa_lips-vbeln
                                          AND    delposnr = wa_lips-posnr.
                deltol = deltol  + wa_new-val.
              ENDLOOP.
              LOOP AT it_new INTO wa_new  WHERE    vbeln = wa_vbepvb-vbeln
                                          AND      posnr = wa_vbepvb-posnr
                                          AND     delno  = wa_lips-vbeln
                                          AND    delposnr = wa_lips-posnr.
                MOVE-CORRESPONDING  wa_itab TO wa_new.
                wa_new-val = wa_new-totval - deltol.
                wa_itab-delqty =  wa_new-val.
                wa_new-delposnr = wa_lips-posnr.
                wa_new-totval = tempquant.
                wa_new-sdval  = wa_new-val.
                wa_new-sdtotval = wa_vbepvb-bmeng.
                MODIFY TABLE it_new FROM wa_new .
                IF NOT sy-subrc IS INITIAL.
                  APPEND wa_new  TO it_new.
                ENDIF.
              ENDLOOP.
              IF  sy-subrc <> 0.
                MOVE-CORRESPONDING  wa_itab TO wa_new.
                wa_itab-delqty =  wa_vbepvb-bmeng.
                wa_new-delposnr = wa_lips-posnr.
                wa_new-val =  wa_vbepvb-bmeng.
                wa_new-totval = tempquant.
                wa_new-sdval  = wa_vbepvb-bmeng.
                wa_new-sdtotval = wa_vbepvb-bmeng.
                APPEND wa_new  TO it_new.
              ENDIF.
            ENDIF.
            IF NOT wa_lips-lgort IS INITIAL.
              MOVE: wa_lips-lgort TO wa_itab-lgort.
            ELSE.
              MOVE: wa_vbap-lgort TO wa_itab-lgort.
            ENDIF.
            APPEND wa_itab TO it_itab .
            CLEAR wa_itab.
          ENDLOOP. 
        ENDLOOP.
        CLEAR wa_vbepvb.
      ENDLOOP.
        ENDLOOP.
        CLEAR wa_vbak.
      ENDLOOP.

  • Table display link between PSA Table name and corresponding Datasource

    Hi Colleagues,
    Is there a table from which one we can see the datasource corresponding to the PSA table name ?
    Thanks

    RSDSSEG
    you still have to give the version number... which can be 000 .. 001 or something

  • Linking document info record and purchase order

    Hi all,
    I hope that someone can help me because I'm having a problem with creating links between document info records and purchase orders.
    By default in SAP I can create links between document info record and purchase order ITEMS! When I create that link, I can see it in document info record under Object links tab, but when I double click on the number of purchase order nothing happens (I expected that this purchase order will open).
    Why is that so?
    Why can't I access purchase order from document info record even though the link exists?
    The other question is about creating object links to purchase orders, not purchase order items! Is it possible to link document info record with purchase order?
    I would appreciate quick answer because we're in the middle of a project and we're stuck with that problem.
    Thanks!

    Hi Karlo,
             As you mentioned, object links could be linked to Purchase order items. In customisation you maintain these entries under the node SPRO > Cross Application Components> Document Management--> Control Data --> Define Document Types --> Define Object Links.
    There are many links in the standard system (possible entries).
    The system automatically determines the screen number (dialog box) where the key data for the object is maintained for document maintenance.
    You can check the screens when the screen entry is missing or contains errors by doing the following:
    Start the Object Navigator and display the objects for the development class  CV.
    Expand the function group 130. The structure nodescreens lista all screens that can be used for object links.
    You can make an object link to SAP objects that are not shown in the possible entries list. To do this, proceed as follows:
    In the standard system, there are already two special screens for the module pools SAPLCV130 and SAPLCV140 for the linked SAP object.
    You must create two new screens with the same number for the module pools SAPLCV130 and SAPLCV140 .
    The processing logic must follow that of screen 1204 in program SAPLVC130.
    Create function module OBJECT_CHECK_XXXX (XXXX = object name)
    If the object can be classified, this function module already exists .
    Otherwise copy the function module for linking equipment DOCUMENT_CHECK_EQUI and change it as required for the new object.
    Hope the above instruction helps in solving your problem,
    Sojan
    Note : Award points if you find the information useful

  • Link between Fixed Asset and Purchase Order Tables

    Hi,
    I am working in Fixed Asset Report. I have a folllowing Doubts.Please clarify.
    1. How to link the Fixed asset tables with PO_HEADERS_ALL
    2. I took the Asset_Account field from FA_ASSET_DISTRIBUTIONS_V . But how to link with this table to other Fixed asset tables.
    Please give me the link between these tables. It will be grate helpful for me.
    Thanks,
    Prakash

    Hi,
    This should be mentioned/explained in [Oracle eTRM|http://etrm.oracle.com/] website (which is down for now). Others who already know the exact link may be able to help.
    Regards,
    Hussein

  • Linking Between Sales Order And Purchase ORder

    Dear Gurus,
      How to link the Sales Order Number and Purchase Order Number. I know the Sales Order Number and I need the tables from which I can know the Purchase Order Numbers for that Sales Order Number.
    Points will be awarded.
    Thanks,
    Ravi

    Hi,
    Goto Table Mseg-kdauf is sales order no.
    get mseg-ebeln is purchase order.
    Or u can do the following code.
    from sales order no VBELN get VBFA-VBELV.
    SELECT SINGLE vbeln  FROM  likp
             INTO l_delno
             WHERE  vbeln   = vbfa-vbelv.
    SELECT SINGLE ebeln
               INTO l_sono
               FROM ekbe
               WHERE  belnr = l_delno    
               AND   bewtp = 'L' .  
    L_DELNO IS PURCHASE ORDER.
    If it is helpfull pls reward it.
    Regards
    Srimanta

  • Need help to find out link between process order and purchase order.

    Hi All,
    Need help to find out link between process order and purchase order.
    We have purchase order, we can find out associated process order in MD09 (No Purchase Requisition found in Purchase order). When I tired to replicate this scenario with same material in system but not able to do.
    Please suggest me what needs to check to get purchase order link to process order.. (this is not subcontracting )
    Edited by: SAP PQ on Sep 26, 2011 5:24 PM
    Thanks,
    SAP PQ
    Edited by: SAP PQ on Sep 26, 2011 5:24 PM

    MD09 is pegging. In SAP pegging is dynamic, meaning that there's no fixed link between purchase order and process order in your case.
    This is why you did not get the same result when you tried again later.
    Such a link can exist only if you do direct procurement for the order.

  • How to map values between Contract and Purchase Order...

    Hi friends,
                        We are using SRM 5.0 (ECS). I am facing a problem with Purchase Order.
    . I am creating Contract locally through Live Auction. After that I am creating Purchase Order through Live Auction. So in Purchase Order Quantity, Net Price, Gross Price, and Long Text etc. not coming which is defined in Contract.  PO capturing the values from Live Auction, means no relation between the Contract and Purchase Order. After making Contract again I have to changes in the Purchase Order.
                So how to map the values from Contract to PO in SRM?  I want to map between contract and Purchase Order like R/3. At the time of creation of PO ( in R/3 )  we can adopt the Contract so all the relevant values comes from Contract to PO. In SRM how will I do?
    Please suggest me.

    When you create PO and a contract from a Live Auciton, they will not be mapped.
    While creating a PO (BBP_POC - Process Purchase Order); in the PO line item assign the contract and item reference. Only then they will be linked.
    Hope this helps.
    Regards
    Kathirvel

  • Tables for credit Memo and Purchase order

    Hi all,
    I need to develop a report to dispaly all the credit memos for the open qty,
    My issue that is  there any table where we can have information for credit memos and purchase order,
    like the input fields is company code,customer number,fiscal year,
    hope you understnad,
    Please let me know if you need any more information,
    Thanks&Regards,
    Cghand

    Hi
    Invoice Verific. table:
    RBKP - Document Header: Invoice Receipt
    RSEG - Document Item: Incoming Invoice
    Regards
    Prasanna

  • Table to link in b/w plant and purchase org for material?

    Hi Gurus,
    what is the table to link in b/w plant and purchase org for material?
    I want to know the materials available for particular plant and purchase org combination..
    thanks in advance..

    hi
    plz check that the materials are created on basis of PLANTS
    so u can get list of materials plant wise in MM60
    now this plants may be assigned to different P Org  ,so u have to find that PO to plant linkage
    if u need all this on one report then try to create a new z programme or use query writting
    regards
    kunal

  • Sales Order and Purchase Order linkage in tables  for third party orders

    Hi all ,
    For third party process order s
    In which table can I find the Sales order and Purchase Order linkage .
    thanks
    ksr

    Hi Sridhar ,
    Refer Table EKKN for PO and SO Linkage.
    Table EBKN for PR and SO Linkage.
    Regards
    Ramesh Ch

  • Automatic Link of  Documents in purchase requisition and purchase order

    Dear guru.
    I have created a document in CV01N and I have linked it in document data view of a material master(MM02).
    For every purchase requisition and purchase order position created for this material I need that the system execute an automatic link to this document.
    How can I do that ?
    Thanks

    Hello,
    You can only derive the attached documents from the preceding documents only (for example. Purchase Requisition). Deriving the attached document from the material master is not a standard scenario. This scenario is not in the system. You need to manually attach it.
    bg, Gabor

  • Whats the fieldname and table name for purchase order delivery date

    hi all,
        whats the fieldname and table name for purchase order delivery date
      thanks and regrads

    EKET-EINDT is the delivery date according to the schedule lines.
    for example the line item has 100 qty.
    it is sent in three schedules (40, 40, 20).
    Then EKET will have 3 records for one PO Line item.
    The final delievry data is the EKET-EINDT for the 3rd schedule line item.
    Regards,
    Ravi

Maybe you are looking for

  • Blackberry Desktop Software 6 will not install

    Hi I am having real trouble installing Blackberry Desktop software 6, my problems started when my computer downloaded Blackberry Desktop Software 6 and a McAfee virus protection update at the same time then tried to install them both. After many syst

  • Digital editions 2.0 won't open

    had the old digital editions but it was not working anymore so downloaded 2.0...this will not open at all. tried to uninstall it but it says it is running and I have to close it...BUT  how do I close it if I can't open it??  thank you

  • OCSP missing in IIS 8.5

    Hi Guys, I am building a new CA infrastructure, on 2012 R2, but I'm having a little trouble configuring my OCSP server. The server has IIS installed already, and is hosting the CDPs, I insatlled the Online Responder role, configured it etc... The iss

  • Adobe CS3 Design Standard for Mac - lost disks

    Hi! Situation: I'm buying a new mac, and do not want to use Migration Assistant to transfer my software (mainly as I'd like to do a clean install and not migrate a load of junk that may be on my older mac). I have lost my cs3 install disks. I'm a reg

  • MP will not boot from CD

    I'm trying to upgrade to SL from Tiger but the system will not boot from the CD. It reconizes the cd And launchs giving the install option. When install is selected I get a screen with only a restart option. After restart it comes back to the origina