Purchase requistion number and line item number linkage with work order opr

Hello,
I want to know what is the link between Purchase requisition number along with its line item number with work order operation number.
For the non stock component assign to Work order operation ( say operation 10) the PR get generated for that component which assign to that operation .
in which table we can find that PR as input and output as Work order number along with its operation .
In AFVC table if we put PR as input then it does not show any entry for that PR number?
Regards
Vaibhav

HI Vaibhav,
If you have the Work Order Number AUFNR, then you can get AUFPL from AFKO.
Then Pass AUFPL to AFVC table to get BANFN(Purchase requisition number) and BNFPO(Item number of the purchase requisition in the order).
Regards,
Ravi

Similar Messages

  • PO Number and Line Item Number for Invoice Plan Number

    Hi Experts,
    Can somebody please guide me how to fetch the PO Number and respective PO Line Item Number for an Invoice Plan (FPLNR).
    In FPLA Table, PO number is available but line item number is not available.  If a PO is having multiple line items, different line items will have different Invoice Plan numbers.
    Thanks in Advance.
    Radha Krishna Madineedi

    Hi Ramesh,
    I have got the answer after posting this thread.  We can get the PO Number and the Line Item from EKPO Table itself by passing the FPLNR.
    Anyway,  thanks for your reply.
    Regards
    Radha Krishna.

  • MIGO-sales order number and line item not validated for 501E mvt in MIGO.

    Hi All,
    In MIGO i am trying to post for 501E(specisl stock=order on hand) movement type, here i am entering the material and in the where TAb even if I enter wrong sales order number or wrong sales order line item number. the system allows to post .
    its not validating the material against the sales order number and line item number that is entered to check whether that material really exists in that particular sales order or not.
    is there a way to fix this?
    Thanks
    Mahendra

    hi
    i dont think vvalidation is possibel
    as the system dont know whaich material is assigned to which SO
    as we r takeing the stock without PO
    if u want to validate then system can validate the quantity that is also with use of some user exit
    correct me if i am wrong

  • Line item number and ledger item number posted differently

    Hi Friends ,
      I have a BAPI for posting the documents in SAP from another system.This BAPI is using the standard BAPI -  'BAPI_ACC_DOCUMENT_POST' to post the documents.But when I post the document using this BAPI the line item number and ledger item number in the document are posted differently. ie . for line item no 1 ledger item is 24 .But when I am posting it directly it is same ie for line item no 1 ledger item no is also 1.Lot of other programs in our R/3 system is dependent in this logic.What could be the parameters in BAPI that could affect line item and ledager item ? Can anybody help me in finding out the reason for this ?
    Thanks in advance ,
    Joby

    Hi ,
    Anybody can help me on this issue ?
    Thanks in advance ,
    Joby

  • According to PO number and Line item data should come once but its repeatin

    I am calculating IR Quantity and IR value......
    for a PO  if there are four same  line items i wanted them once but they are displaying for each and every line item
    If my po is 2003000151 and line item 0010 if both are same then i wanted ir quantity 500
    but its displaying like this
      PO                 item   IR
    2003000151   0010 500
    2003000151   0010 500
    2003000151   0010 500
    2003000151   0010 500
    I need like this
    2003000151   0010 500
    2003000151   0010
    2003000151   0010
    2003000151   0010
    If po number and line item are same IR quantity should be displayed only once..
    What should be done if it should not repeat in each and every line item if both PO and line item are same

    i am having internal table of it_ekko.
    in that i am having some data of PO no, Line Item,IR value and IR qty......
    i am having data like below.
    PO                        Line Item   IR Value    IR QTY 
    200310051          0010         1500           4500
    200310051          0010        1500           4500
    200310052         0010           0                   0
    200310052          0010       0               0
    now where ever IR value and IR qty is present i wanted that to display only once against that PO and line item
    i wanted like below
    PO                        Line Item   IR Value    IR QTY 
    200310051          0010         1500           4500
    200310051          0010            0              0
    200310052         0010             0                0
    200310052          0010            0               0
    Field names for IR value and IR Qty are Menge2 and dmbtr2.
    How to do that.........
    I cant use
    Delete adjacent duplicates of it_ekko by ebeln = wa_ekko-ebeln and
                                                                          ebelp = wa_ekko-ebelp.
    because i wanted that po and same line items , how many times it is like that only.....
    in it_ekko table i only wanted to delete duplicates of menge2 and dmbtr2.
    Pls suggest the code

  • PO comparison with similar materila number and line items

    Dear Friends,
       I wish to know in a report how i classify the pos having similar material and line items in each other, Like po number is 12 and has material numbers 1, 2, 3
    where po number 13 and has material 1,2,3. how i fetched the data from the table and classify them with similar material and line items, please tell me. any article, example, code will be grete help of mine,
    thanking you
    regards
    Naim

    Guess you need to display report with Purchase Order nos where Material nos are similar.
    On selection screen add parameters Material and Line Item no. Both should ba mandatory.
    Get data from EKPO where MATNR = P_MATNR and EBELP = P_EBELP.
    Display the same in report output.
    Just need to check with you - Material nos can be same on multiple POs but Material, Item no combination may not be.
    I can use same material in another PO with different Line Item as other PO already has some line items. Why do you need this check?

  • How to get PO number and line item in he check item method of MB_MIGO_BADI

    Hi All,
    First time I am using BADI and I am stuck in one issue.
    I am using CHECK_ITEM method of MB_MIGO_BADI.
    While pressing CHECK button MIGO for a GR(wrt to a PO),a warning message has to displayed.This warning message has to displayed according to the line item in the purchase order.
    In the CHECK_ITEM method, how I will get the PO number and the line item imported into that method.?
    Thanks.

    HI  ,
    in Check_item method 
    DATA: ls_extdata TYPE zqsscrap_screen_field .
    LOOP AT gt_extdata INTO ls_extdata .
    endloop.
    Check what you are getting  .
    regards
    Deepak.

  • Customer line item balance mismatch with work list balance

    Hi Gurus,
    While viewing the work list, it shows a different balance against the customer open items . for example there are 4 open items amounting to $ 29000 with a customer. But in work list it shows $33, but if we double click on that particular row it shows all the 4 open items  and for another customer it is not taking in to account one open item in the work list. what configuration needs to be checked for this ?
    Help in this regard will be highly appreciated.
    Regards
    Narayanan

    there are a few things to check here.
    1 - In the extractation from AR have you got the correct date.
    In FDM_COLL_SEND01 run this for the customer in question with output details ticked. This will show the data being passed to Collections Management.
    You need to check when the last time you ran this, as it could be picking up old data.
    Check the date in your variant for UDM_GENWL.
    Lastly, can you confirm if you have activated any BADI;s to influence the worklist? Perhaps something here is changing the totals.

  • User Exit for ME52N with Purchase Requisition number & line item number

    Does anyone know which user exit I could use to get at the purchase requisition number and line item number when I am trying to change a PR.  I see various exits with im_req_item but when I code a popup in the include it is not appearing.  I am just not finding the right exit.

    You can use enhancement MEREQ001, function exit EXIT_SAPLMEREQ_005. This enhancement description gives impression that it can only be used if you have custom fields but it can be used even when you don't have custom fields.

  • BAPI_SALESORDER_CREATEFROMDAT2 Purchase order line item number

    Hi Freinds,
    I have small issue using the function module "BAPI_SALESORDER_CREATEFROMDAT2" , it is creating incomplete sales orders when the Saleorder line item number and POline item number are different.
    Example:
    If i assign the same value like "000010" for ptb_items-itm_number,ptb_items-po_itm_no it works fine and sales order doesn't have any incomplete log.
    but when i have different values like "000010" for   ptb_items-itm_number and "000123" for ptb_items-po_itm_no. both the cases all other information is same.
    Could anybody helps me to fix this problem so that i can avoid creating incomplete sales orders.
    Thanks for the quick reply and help.
    Regards,
    Praveen

    Hello Praveen
    The items structure BAPISDITM has a field <b>PO_ITM_NO</b> (Item Number of the Underlying Purchase Order) which most likely links the two numbers together.
    Regards
       Uwe

  • BOM Item number and the pr number created through network

    We can create PR through network. If we know the PR number and the item number, how do we find the BOM item number in the network?
    BOM item number
    Item number of the BOM components copied into the order.

    RSDB
    RSBD POSNR

  • GR Doc# and GR Line Item Number

    Hi All,
    We have custom defined infocube actually WM-stocks.Now our requirement is to add GR Number and GR line Item Number. can be these be added to Infocube or should we go for ODS? any help from experts?
    Data has been loaded from generic datasource which is based on LQUA table.
    regards

    Hi,
    We implemented just the opposite:
    A cube for line items, an ODS for header data which didn't went to the cube (I mean those data that cannot be calculated by summing up item data).
    If we need summary data from ODS, we use RRI.
    Everything depends on a level of details you need. In our case we needed analysis on item data.
    Best regards,
    Eugene
    Message was edited by: Eugene Khusainov

  • Hi,How to trace  line item number in SHC

    Hi friends,
    I would like to know from where this line item number in SHC comes?
    Wether we need to do any settings or it is system generated?
    In my case this is jumping like if one item in SHC is having line item number 1 then next one is coming like 20 ?....so its a strange......
    Regards,
    Navneet

    Hi
    <u>SPRO Path</u>
    Supplier Relationship Management -> SRM Server -> Cross-Application Basic Settings -> Number ranges -> Define number ranges for shopping cart and follow-on documents
    <u>In SPRO Setting, you define number range settings for shopping cart, etc.. using SNUM / BBNU transactions.</u>
    Technically speaking, there is a field NUMBER_INT inside the BADI Standard SRM Structure, which is called at run-time to create a number (Satrting with 10, then 20, then 30, and similarly onwards... ). [Similar to the line item numbers, what are created in R/3 system Purchase order number, Sales order number transactions]. Incase you implement BBP_DOC_CHANGE_BADI, you can find the detailed numbers in every line item..
    Hope this will help.
    Do let me know.
    Regards
    - Atul

  • Restriction on number of line items in an automatically generated document

    Hi all,
    As per my info, an accounting document must have a minimum of 2 line items to complete the document. At the same time an accounting document can have a maximum of 999 line items.
    My observation:-
    When I am posting depreciation using t-code AFAB, system is posting depreciation document (document type AF). While checking, I found that the system has posted around 16 document for a period.
    On further checking, I observed that the each document contains a max 100 line items.
    I am using SAP 4.7
    My Query:-
    a> Is there any way / place wherein we can restrict the maximum number of line items possible for a given docuemnt type or for all document types in the client?
    b> In case it is not possible to restrict the number of line items per document, what could be possible reason for the system behaviour wherein it is posting about 100 line items per document & thereafter starts a new document.
    Thanking you in advance
    Santosh K Agarwal

    Hi,
    I have been reading CIN. There I came across with a statement i.e. "There is restriction on no of line items to be in an Excise Invoice".
    where you read this i dont know
    but yes for outgoing excise invoice we can put limitation in sap cin
    as per incoming excise invoice i think no  limitation
    in path SPRO-tax on goods movemnet-India-basic setting-maintain excise registration here you can maintain this
    and yes this for india only for other country they may have different
    Regards
    Kailas ugale

  • Number of line items in each Invoice

    Hi Gurus,
    I have one requirement
    i need to display one column in the Report i.e. "Line items per eachinvoice" which should give the number of line items per that Invoice
    when iam using tcode 'FB03' at ECC - Document Display it is giving
    for Doc 1111 - 2 line items
    for Doc 2222 - 12 line items
    so in the report that column should display
    2 for Doc 1111
    12 for Doc 2222
    please guide me how to do this
    Thank you

    create a formula with constant 1
    and set the exception aggregation as Total, and set the reference char as Line Item.
    Make sure you have Invocie in the report.
    - Danny

Maybe you are looking for

  • HT201269 how to download music from my iphone4s to a pc

    I am trying to download my music from my Iphone 4s to my new PC with windows 8. Any help with this would be greatly appreciated. I downloaded I-tunes to my PC and I cannot seem to find a way to import the music from my Iphone to the I tunes.   

  • How to transport a custom bapi (written by me) to another server

    Hello friends, We have a software that is integrated with SAP. To make our software work with SAP, we have some custom bapis created on SAP side. We would like to transfer them to another server that is on a different network. After reading many docu

  • I have downloaded PDF Converter and its not working properly

    the pdf I am attempting to convert to edit is not working. I have converted it to all that is available and the lines are off  in someplaces and some data is in the wrong place when I try to Move it I can't or it makes it worse. what can I do?

  • New Solaris Rookie needs help.

    I am new with SUN Solaris, I mean I know nothing about it (I'm HP-UX SysAdmin). My boss gave me 3 additional Sun Solaris8 to manage. 2 are in production that I will not touch for now. 1 is test and learnig box - Sun E450. I re-installed Solaris8 OS o

  • BI Apps Installation

    Hi All, I want to install BI Apps Installation, on Edelivery, I found following files. My question is should I download all of them OR some of them. Also tell me installation steps. This installation is for HOME PC Windows XP. Oracle Business Intelli