Get PO Confirmation and Invoice Number fron SC line item deial like GUID

Hi All,
I want to create ZReport where i have to find  Purchase Order , Confirmation and Invoice Number fron SC line item .
I am looking for that tables or FM by using which i can give SC line item Guid and i can get the corrosponding PO , Confirmation and Invoice if any.
Please suggest solution.
Thanks in Adavnce,
Snehal

Hello Snehal,
You can use following FMs to get the required deatils:
FM: BBP_PD_SC_GETDETAIL
      E_ITMLIM_REL
      Select the second entry
      Shift+F5
      Take the HDR_GUID_A for PO
      and HDR_GUID_B for Conf
      and HDR_GUID_C for Inv
FM: BBP_PD_PO_GETDETAIL
      enter the HDR_GUID_A
      Goto E_HEADER           select the OBJECT_ID
FM: BBP_PD_CONF_GETDETAIL
      Goto E_HEADER           select the OBJECT_ID
FM: BBP_PD_INV_GETDETAIL
       Goto E_HEADER           select the OBJECT_ID
This could help you.
Regards,
Suneel Kumar

Similar Messages

  • Urgent : Confirmation and invoice number of a line item of a Shopping cart

    I have developed an end to end report in SRM which gives us an end to end report of a shopping cart .
    I have got the Shopping Cart details using FM : BBP_PD_SC_GETDETAIL 
    for each item of the shopping cart in the table E_ITEM  , getting the Po number for it from  E_ITEM- BE_OBJECT_ID
    I called FM BBP_BE_PO_GETHISTORY to get the  Confirmation and Invoice number from  E_HEADER_REL of  BBP_BE_PO_GETHISTORY.
    But this function  module  gives me the confirmation and invoice number  of a particular purchase order and
    I am stuck here as I need to find out the confirmation and invoice number of  a line item and I am not finding a link  between them .
    I  tried using  FM BBP_PD_PO_GETDETAIL ,
                             BBP_PD_PO_GETLIST 
    BBP_PD_PO_DOC_FLOW  and other function modules also , however they give me the confirmation and invoices o a particular PO but I am not    able further drill down to find  confirmation and invoivce of a particular line item of a shopping cart …..
    Please let me know if there is a way to find this out ????
    Useful answers would be rewarded .
    Regards,
    Prabhu

    Hi All ,
    I was able to get a link using the function module  BBP_PD_SC_GETDETAIL . in the tables E_item  has fields BE_OBJ_ITEM  and the BE_OBJ_ITEM which give the po number and po line item number of each line item .
    then i used BBP_BE_PO_GETHISTORY Fm to get the history of the po and read the line item history based on the BE_OBJ_ITEM  no .
    Thanks to all .
    Prabhu

  • How can we get Delivery Slip and Invoice number for the SO in custom Report

    Hello,
    I am developing a new report for the Sales Order.For this , I have to diplay the Deliver slip and Invoice number.
    Could you please explain the logic for this.
    Thanks and Regards
    NTR

    Hi,
    Pass sales order number to table VBFA-VBELV. You will get the complete doc flow. VBTYP_N differentiate whether it is delivery,GI or invoice etc. (Check for domain values for more info on this)
    Thanks,
    Vinod.

  • Sales order query - display invoice date and invoice number

    I have a query that is reading information from both the ORDR and RDR1. How do I link to AR invoice to get the invoice number and invoice date if the line item of the sales order has been shipped (we do not use deliveries so the AR invoice is the next document after the sales order.
    Thanks

    Hi Keith,
    The link between ORDR and RDR1 to invoice:
    RDR1.trgetentry = OINV.DocEntry
    or
    INV1.BaseEntry = ORDR.DocEntry
    Use which is more appropriate to your query
    Regards,
    David

  • VPRS Condition is missing in invoice for bacth determine line item

    Hi Gurus,
    I have an Concern, My user has created Sales order with three line items.
    He did delivery and Invoice individually for each line item.
    For 2 line items he entered batch manually and did invoice there we didn't find any issue.
    For third line item he did auto batch determination there for that item VPRS condition is missing in invoice.
    I have checked the note ( 70038 ) and I have applied the note also, But still I am facing same problem.
    Please provide me solution if any modification need to be done,
    Thanks and Regards
    Subbu

    Hi Subbu
    As VPRS condition type is coming for the first 2 line items and not for 3rd line item , so kindly check the Material Master Record->Accounting tab.What is the difference between the 3rd material and another 1st and 2nd materials.Also check in the Analysis what it is showing for the third line item billing document
    Regards
    Srinath

  • Any function module or bapi to get sales order number and invoice number?

    hi all,
    with delivery order number provided, do we have any function module or bapi to get sales order number
    and invoice number?
    thanks.

    Hi,
    Check
    BAPI_SALESORDER_CREATEFROMDAT1
    BAPI_REMUREQSLISTA_CREATEMULT  Agency Business: BAPI Create Invoice Lists from Vendor Billing Documents
    BAPI_REMUREQSLISTB_CREATEMULT  Agency Business: BAPI Create Invoice Lists from Payment Documents
    BAPI_REMUREQSLISTC_CREATEMULT  Agency Business: BAPI Create Invoice Lists from Posting Lists
    BAPI_REMUREQSLIST_CHANGEMULT   Agency Business: Change Invoice List Documents BAPI
    BAPI_REMUREQSLIST_GETLIST      Agency Business: BAPI Determine Detailed Data for Invoice List Documents
    BAPI_REMUREQSLIST_RELEASE      Agency Business: BAPI Release Invoice List Documents to FI
    Edited by: Neenu Jose on Nov 26, 2008 8:53 AM

  • Confirmation and Invoice Workflow

    Hi All,
    We are trying to implement 1-Step Aproval Work Flow for both Confirmation and Invoice.
    Can anyone explain about how to activate these workflows??
    Regards,
    Rahul

    Hi All ,
    I was able to get a link using the function module  BBP_PD_SC_GETDETAIL . in the tables E_item  has fields BE_OBJ_ITEM  and the BE_OBJ_ITEM which give the po number and po line item number of each line item .
    then i used BBP_BE_PO_GETHISTORY Fm to get the history of the po and read the line item history based on the BE_OBJ_ITEM  no .
    Thanks to all .
    Prabhu

  • Show the PO and Invoice Number along with Distribution Line Info

    Does any one have some code that can show the PO and Invoice number along with the distribution line detail?
    I'm tring to get to the po.po_vendors for segment1 and po.po_distributions_all but it screws up at the po.po_lines_all table which needs outer joins and it's just not working for me.

    In case Invoice Distribution is matched to a Purchase Order then
    ap_invoice_distributions_all.PO_DISTRIBUTION_ID and ap_invoice_distributions_all.DIST_CODE_COMBINATION_ID is the link to po_distributions_all table
    Hope this help
    Ashish

  • Supress radio buttons "Confirmation" and "Invoice" in SHC status overview

    Hello,
    We use SRM 5.0 - Classic escenario.
    I need to know how one can supress the "confirmation" and "Invoice" radio buttons which appear in the status overview of the SHC after the Purchase Order has been created for it.
    Is this Config, Profiles or a BADI one has to aplicate.
    In the last case, can anyone send me some example coding.
    Thanks for any answer,
    Aart

    Hi Disha,
    SDN does not allow me to send my  direccion in one piece.
    So I cut it up in three parts, just add the bits to get the full direccion
    1.     aart.engbersen
    2.     @
    3.     visionone.cl
    Thanks
    Aart

  • Expense's getting Auto Approved and Invoiced.

    HI
    Few of the Expense report/s are getting Auto Approved and Invoiced in the system.
    Due to which a valid GL accoutn combination is not generated.
    Regards,
    V.

    This is related to either your setup or an extension. There must be a hole in your logic if you are using an extension. If not, your Workflow may be setup to do "Go One Stop, then Go Directly." This flow will check for an approver, if it does not exists at the immediate supervisor level, it will autoapprove the Expense report and then flow directly to AP.

  • Classic scenario : Confirmation and invoice in same system ?

    Hello experts,
    My question is as follows.
    I am trying to learn various scenarios in SRM as a beginner.i undrstand how the scenarios are present and what they mean .
    In classic scenario,
    can i create a goods receipt in ERP(MIGO) and then a invoice in SRM ?
    If this is possible, then i wont be able to see the related documents in the shopping cart for the self service procurement business process.
    Help me understand this process and the technical scenario.
    Will there be a constrainst that always the confirmation and invoicing has to be done in the same system. either ERP or SRM ?
    Thanks
    per

    Hi Per,
    1. Yes this is possible, We can create the confirmation and invoice in either systems.
    2. However most of the business requirements would always follow creating the follow on documents in one of the system, mostly ERP. It is totally dependent of the business and the customer. The decision of deciding on the Classic or ECS would always take this into consideration.
    Anything we do in the system should justify the business need of the customer. The possibility to create the documents is a option to provide the flexibility. Hope this helps. Let me know incase of more clarifications.
    Regards
    Mustameer

  • How to default the radio button confirmation and invoice in shopping cart

    Hi Guys,
    In the shopping cart for a limit item I need to default the radio button for CONFIRMATION AND INVOICE as it is now defaluted to INVOICE ONLY .
    Please let me know how to change as I could not achieve it through UI badi.
    Thanks & Regards
    Arun

    Did you try the suggestions mentioned here: To make the field for Display only on the Shopping Cart Portal
    I'm looking for a way to restrict the "Invoice Only" option depending on the product category selected.  Do you know I would do this?
    For example only allow "Invoice Only" to be selected if Product Category X is selected.  If product category Y is selected then grey-out "Invoice Only".
    Matt

  • How to get Storage unit and Warehouse number from Handling Unit.

    hello all,
    I have Handling unit and Material in my program as an input, using these two fields i have to get corresponding storage unit and ware house number, to pick up transfer order.
    Can anybody explain me who can we get Storage Unit and Warehouse Number from Handling Unit.
    I know we can pull transfer order from table LTAK & LTAP using warehouse number.
    But i dont understand how to get warehouse number from handling unit.
    There is table LSUTO which has warehouse and Handling unit relation, but in our system there is not data maintained in that table. So, i was just wondering how can i get warehouse number from the given handling unit number.
    please guide me
    thanks
    Edited by: Mr A on May 12, 2008 1:23 AM

    Hi ,
        Check out the handling unit item table VEPO. You got storage location(LGORT) in it.
    Reward points if it was useful.
    Regards,
    Abhishek

  • Purchase Order Number in Vendor Line Item (FBl1N) and Clear Vendor (F-44)

    Hello,
    I am not getting the Purchase Order Number in Vendor Line Item.(FBl1N).
    Also during Clear of Vendor through F-44 i am not able to identify the Line item on the basis of Purchase Order Number.
    Could any one pleae help me out on this issue as i have to clear the vendor Line item in mass.
    Thanks
    Nitin Jindal
    Moderator: Please, respect the rules of the forum and search SDN before posting new thread. This question has been answered several times. Also, please choose proper forum to post your questions; this one is related to Financials and not to Controlling

    Based on my experience std feature from SD-FI . Depending on the SD Billing config which can be by delivery(VTFL) or sales order(VTFA). You can assign options of A: Cust PO No. B Sales order no. C Delivery no. D External delivery no.  E Actual invoice number to available header fields of Assignment No. or Reference No. Try it out

  • Report invoice document number againt PO line item

    Hi Forums,
    Can any body so kind to tell me is there any standard report in SAP 4.7 C where we can get the list of invoice document number against each line item of PO.
    I have tried the ME2N & ME2L report. If I double click the POH then only it give me the invoice document report. But i want a report where I get invoice document no against each line item wise in PO.
    Thanks in advance.
    Regards,
    sp sahu

    Hi sp sahu,
    I am sorry, but I am not aware of any report which might suit your requirements, this is the reason why I addressed you to the table EKBE. You might build your own report out of this table.
    Sorry!
    Esther.

Maybe you are looking for

  • Getting ORA-22288: file or LOB operation FILEOPEN failed in Windows XP

    Hi All, I am getting the error message ORA-22288: file or LOB operation FILEOPEN failed when I attempt to call a stored procedure containing the following code. bfile_in := BFILENAME( 'SP_IMPORT_NIF20_DIR', v_filename ); /* Open the input file */ DBM

  • Problem in accessing webservice over https with auth cert enabled...Urgent

    Hi All, I am stuck in accessing webservices using ssl and auth certificate. I am using jdk 6 and it is not any issue with the problem I am facing... This is what I do... I have a webservice deployed which is accessible over https. On server, I run..

  • Down payment request at PO header level

    Hi, I am trying to create PO down payment request using F-47 but PO item is mandatory in it. How to create down payment request at PO header level? In my PO, there are more than 50 items. Please help. Regards, Milind Dumbre

  • Song not saving correctly?

    Hello all and Happy Christmas, New Year etc..... I have a problem where as whenever I load a song (usually from recent list) it never loads up as I saved it. i.e. it loads up with small windows, solo buttons missing, transport buttons missing etc. Mo

  • Enable the Debug mode for Dispatcher and Server0.

    Hello All,         In our EP server 7.0(stand alone java) apart from SDM we need to enable the Debug mode for Dispatcher and Server0.I tried to do it from mmc but cannot do so.When I try to right click & enable from mmc the "Enable Process" is not hi