Find Invoice Number of a shopping cart

Hi All,
The Flow we follow here for shopping carts is .
Shopping cart --> PO fpr shp cart ---> Confirmation --->Invoice .
I am developing an end to end report and reached to a point wher i have the confirmation number , however i want to find the invoice number based on the confirmation number .
I have got the confirmation number with the help of function module BBP_PD_CONF_GETLIST by passing the po number to the importing parameter .
How do i proceed to get the invoice number of the shopping cart based on its confirmation number .....
You help is highly appreciated ..

Hello
What scenario you are implementing Extended classic or Classic ?..
You can use the FM's
BBP_PD_SC_GETHISTORY
BBP_PD_GET_DOCFLOW
BBP_PD*FLOW FM for PO, CTR etc..
Reward point if useful
Thanks and Regards
Pushkar Joshi

Similar Messages

  • Get the confirmation number  of a shopping cart based on its po number

    Hi All,
    I have a requirement where i need to find the confirmation number based on the  shopping cart number .
    I have fetched the po number from BBP_PDBEI table .
    How do i further proceed to get the confirmation number of the shopping cart ?
    Your help is  be highly appreciated .

    Hi,
    There are no of ways:
    Based on PO ;
    If your PO is in SRM (and replicated into R/3), and the GR is created directly in R/3, then there is no reference of this R/3 GR in SRM. The only way to get it it to read the backend PO history.
    To do this, you can try to call the BBP_PD_PO_GETDETAIL is SRM, with I_READ_BE_DATA = 'X'.
    You will get your R/3 reference (R/3 material doc number) in export tables E_HEADER_REL and E_ITMLIM_REL, and actual item values in E_ACTVAL.
    Also you can query the tables BBP_PDHGP and BBP_PDIGP to get the refernce doc no for PO and then use FM BBP_PD_CONF_GETDETAIL to get the details fo a particular confirmation.ALso you can search confirmations by "Reference Document", use BBP_PD_CONF_GETLIST, with parameter I_REF_DOC_NO, and then use BBP_PD_CONF_GETDETAIL for the found confirmations.
    Based on SC:
    You can use the FM 's BBP_PD_CONF_GETLIST to get the list of confirmations for SC's and "BBP_PD_CONF_GETDETAIL" to get details for a specific Confirmation.
    Also you can directly query on table BBP_PDHGP.
    HTH.
    BR,
    Disha.
    Do reward points for helpful answers.

  • Line item confirmation and goods reciept number of a shopping cart

    Hi All ,
    I am waiting for any response from u guys to my below post ....
    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 ????
    Has anybody have an idea 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 to find Invoice number linked to FI accounting document number ??

    Hello All,
    I have been looking around for all possible combinations to find the link between FI accounting document number (BSEG-BELNR) and Intercompany Invoice number (for which billing corr. to STOs' or POs' is done).
    The requirement is that during ERS posting, we have accounting document numbers (BSEG-BELNR) and associated STOs' for this (BSEG-EBELN), but we are unable to map the Intercompany Billing Invoice number(s) (where the billing corr. to STOs' obtained from BSEG-EBELN) to this accounting document number (BSEG-BELNR).
    Any pointers or detailed view solution would be of great help.
    Thanks,
    Ansh

    Hello DPM,
    Thank you for the descriptive help. But my requirement is to look for Intercomapny Billing number (VBRK-VBELN) linked to an accounting document number (BSEG-BELNR) and not Invoice Receipt Number.
    The steps that I am following are:
    From BSEG, found EBELN (Stock Transfer Order) and XREF3 (Reference Key, combination of fiscal yr., some ref. number, maybe GR no. and ref item no.), based on BELNR (Accounting document number).
    From EKBE, found XBLNR (Reference Delivery Number or Direct Intercompany Billing Number on which GR is done) based on
    EKBE - EBELN = BSEG - EBELN
    EKBE - BELNR = BSEG - XREF3 (only ref and item no., considering it to be a GR no.)
    EKBE - VGABE = '1' and EKBE - BEWTP = 'E'.
    From VBRP, found VBELN (Intercompany Billing No., which is a desired number) based on
    VBRP - AUBEL = EKBE -EBELN (Stock Transfer Order)
    VBRP - VGBEL = EKBE - XBLNR (Delivery number)
    Here, I am not sure about 2 things:
    Whether the reference no in BSEG-XREF3 will always be Goods Receipt number for Stock Transfer Order or not. If not, then what it can be and how I will have to proceed further then.
    Secondly, If in case for an accounting document number, I have 2 Stock Transfer orders (BSEG - EBELN) and same reference number (BSEG-XREF3), then from History table (EKBE) I get only single delivery based on which GR was doen for both STOs', then I shall be getting single Intercompany Billing Invoice from VBRP or different ?
    Kindly provide your inputs.
    Thanks,
    Ansh

  • How to find the list of open shopping carts

    Hi ,
    i want to develop a custom program to find out the list of open shopping cart ( that is shopping cart in approved state but no follow on document created ). what is the best way to find this  ?
    the idea is to find the lsit of all open shopping carts created for a user who has left the organization and then change the goods recipient of shopping carts

    Hi,
    I guess you could use the function BBP_PD_SC_GETLIST to provide some output of incomplete documents or narrow down a list based on various criteria like maybe of any BE_* objects are empty etc:
    BE_REFOBJ_TYPE
    BE_LOG_SYSTEM
    BE_REFOBJ
    BE_REFOBJ_ITEM
    BE_OBJECT_TYPE
    Regards,
    Jason

  • How to find approvers who approved the shopping cart

    Hi All,
      My requirement is as follows:
      If I give the shopping cart document id, I should be able to find
      1) the list of approvers who approved the document
      2) how much time they have taken to approve the document
      3) any pending approvals for the document.
    Can anyone help me in this?
    Thanks,
    Sivagami R

    Hi..
       Here is technical details which will help if you are in SRM 7.0..
       The below methods are in the class /SAPSRM/CL_WF_EVENT_FACADE
       Pass the SC GUID to method 'GET_WORKFLOW_ID_BY_DOCUMENT'  .. get the header workitem id.
       1 . to get the current approvers list call the method GET_CURRENT_AGENTS..
       2.  to get the previous approvers list call the method GET_PREVIOUS_AGENTS.
      if you are in SRM 5.0 then use the below FM's..
    1 . call the FM BBP_PDH_WFL_WI_FROM_OBJECT_GETu2019 to get the header workitem id..
    2 . call the FM u2018BBP_WFL_DIN_APPR_FINALLIST_GETu2019  to get the list approver's for a SC
    3 . if you need the workitem details then call FM BBP_PDH_WFL_WI_DETAILS_GETu2019..
    Regards,
    Saravanan

  • Find invoice number(BKPF) using invoice logistic number(RBKP)

    Tell me standard Function Module to find out invoice document number(BKPF-BELNR) using invoice logistic number (RBKP-BELNR)?

    Hi,
    although it´s not by means of a fm, here´s a solution:
    Best regards.

  • Vendor part number for non catalog item in shopping cart?

    I have a requirement to get the vendor part number field in shopping cart basic data for non catalog item. This field is available for catalog items, would it be possible to make the same field available for non catalog items as well?

    Hi Gummadi,
    You can create custom fields in Shopping cart uisng a BADI and can populate the information.
    BBP_CUF_BADI can be used to create customer fields.
    Please get discuss with your ABAP fellow for the creation of customer field.
    Award points for helpful answers.
    Rgds,
    Teja

  • My shopping cart number increasing everytime 2.

    Dear All,
    My shopping cart number range is increasing everytime 2.
    Per example as of now my shopping cart number 0000001 if i create next shopping cart nmber is coming 3.
    Can you please suggest me where we have control on this
    Thanks
    Ravi

    Ravi,
    I looked at Define Number Ranges for Shopping Carts and Follow-on Documents in the IMG and didn't see anything about an increment factor.  There are some BADIs, BBP_BS_GROUP_BE, is one of them, that be implemented to customize number assignments.  See if that is causing your issue.
    Otherwise, unless no one else replies, it could be a bug and you might need to open an OSS message to SAP.
    Regards, Dean.

  • How to get business partner no from guid of shopping cart

    Hi experts,
    is there any relation between guid of shopping cart  and business partner in but000 table , here  we need to find the approver for the shopping cart based on guid  , when it is just being created in single step approval. we are using process controlled workflow in srm 7.0.
    Thanks
    kamakshi

    Hi Kamakshi,
    I do not which FM can do the trick.  But you can build your own FM by searching table swiwiobjct, provide below data:
    -  objtype = 'BUS2121'
    -  objkey = shopping cart number
    -  wi_stat = COMPLETED
    -  wi_rh_task = TS10007991 (or other tasks to set SC status to released)
    Then  the value(s) of field wi_aagent should be the user ID of approver.
    Regards,
    Donald

  • Bid Invitation history (associated Shopping cart)

    Hi
    I am trying to figure out the tables where a BID invitation's history is maintained. Basically i am trying to link a particular BID invitation number with the shopping cart number it is associated with.
    Can someone tell me which table/function can help me find the link between BID invitation and shopping cart.
    Thanks
    Nagender

    Hi
    <b>Try BBP_PD transaction -> Best transaction for finding details of any type of document in SRM.
    It will give all the tables involved in this case.
    It by default works for BUS2121 -> shopping cart
    and change the Business object type from BUS2121 (shopping cart) to the Bid (BUS2001* -> not sure chk it out)
    and then give your Bid invitation number and execute it. On the next screen, it will display at least one line, and on the line when you click, you can see all the details of that document. Even the back-end document details as well.</b>
    Let me know incase you face any issues.
    Hope this will help.
    Please reward suitable points, incase it suits your requirements.
    Regards
    - Atul

  • Creation of Shopping Cart Infocube on the top of DSO(0BBP_SC)

    Hi Experts,
    I am new to SAP BW/BI. So please help me in solving this issue. I am planning to create an Infocube on top of Standard Shopping Cart DSO (0BBP_SC - Shopping Cart - Individual Documents). There is no standard Infocube for shopping Cart so i have to create a new one.I am doing this to improve performance (So that i can built aggregates, rollups, compression on Cube).
    We are using SRM 5.0, SAP BI 7.0
    Does this make sense, let me know if i need to post any further information.
    Thanks,
    SAPBWI

    Hi Dennis,
    I really appreciate for quick response. Please input your feedback on the below situation:
    We are currently using the shopping Cart DSO along with PO Account Assignment DSO for reporting (on Multiprovider). Due to heavy load and constant change in user requirements there have been performance issues in the past. Now the end users want separate reports on Shopping Cart and PO Account Assignment. So I came with up the idea of building the Cube on top of Shopping Cart DSO and then built separate Report.
    Present situation of the report:
    Variable Entry:
    Created on Date, Cost Centers, Internal Orders, Purchase Group, SC Created By, Goods Recipient, Requestor, Vendor
    Some of the Characteristics we are using in report:
    Shopping Cart Date, Shopping Cart Number, Purchase Order Number, SC Created By, SC Requestor, Goods Recipient, Purchasing Group, Controlling Area, Cost Center, Chart of Accounts, G/L Accounts, Order, Vendor, PO Line item Number, SC Item Number, SC Status, Shopping Cart Name & many custom fields pulled from the SRM system.
    Please let me know for this scenario the good practice (Reporting on DSO or CUBE)
    Thanks,
    SAPBWI

  • Creation of Shopping cart from CPPR

    Hi,
      While creating shopping cart from Collective processing, we have implemented BBP_DOC_CHECK_BADI for validations. Now, after this BADI, in the standard process the messages are being appended in the /SAPSRM/IF_SOA_MSG_HNDL~GET_ERROR_CODE. The creation is failing in Quality system but it is successful in Development system. Can you please tell me reason for difference in Error Handling process in both the systems.
    The messages are getting cleared in Development system in BBP_PDH_MSG_INTERNAL_SAVE while in Quality system, it is not getting cleared. I found a parameter IV_METHOD in this FM and the sequence of calling this FM with IV_METHOD is differing for both.  Are there any SAP notes?
    In Brief,the error message from the BBP_DOC_CHECK_BADI Implemention are being cleared in Development system and not getting cleared in the Quality system.
    Please provide me some points to resolve this.
    Thanks inadvance,
    Deepthi
    Edited by: Deepthi B on Sep 29, 2010 1:02 PM

    Hi Dennis,
    I really appreciate for quick response. Please input your feedback on the below situation:
    We are currently using the shopping Cart DSO along with PO Account Assignment DSO for reporting (on Multiprovider). Due to heavy load and constant change in user requirements there have been performance issues in the past. Now the end users want separate reports on Shopping Cart and PO Account Assignment. So I came with up the idea of building the Cube on top of Shopping Cart DSO and then built separate Report.
    Present situation of the report:
    Variable Entry:
    Created on Date, Cost Centers, Internal Orders, Purchase Group, SC Created By, Goods Recipient, Requestor, Vendor
    Some of the Characteristics we are using in report:
    Shopping Cart Date, Shopping Cart Number, Purchase Order Number, SC Created By, SC Requestor, Goods Recipient, Purchasing Group, Controlling Area, Cost Center, Chart of Accounts, G/L Accounts, Order, Vendor, PO Line item Number, SC Item Number, SC Status, Shopping Cart Name & many custom fields pulled from the SRM system.
    Please let me know for this scenario the good practice (Reporting on DSO or CUBE)
    Thanks,
    SAPBWI

  • Invoice number field in Table BSEG..

    I have the accouting document no.I want to find out the invoice no.Which field in  BSEG table is invoice no.??

    Hi,
    In BSEG you don't find Invoice number. You can see the purchasing document number.
    BSEG- EBELN
    Invoice number in BKPF table. As suggested by other frined .
    BKPF -AWKEY (Invoice number+Year).
    Regards,
    Chandra

  • Backend PO not getting created inspite of Complete shopping cart

    Dear All,
    We are having Classic Scenario with SRM 5.0 in integration with ECC 6.0 with support pack SAPKIBKT09.
    After Shopping cart creation with all details (fixed vendor, material, price etc) still backend system doesn't create PO. It always creates PR. Wht settings are missing plz suggest.....
    I understand that I have maintained under "Define objects in Backend system" as Purchase order if item data complete otherwise PR. Product categories has been transfered from backend.Document type has been created as ECPO in backend for PR and PO both.
    Kindly suggest any solution or pointers....
    Thanks
    Regards
    Dinesh Singh

    have you specified the backend po no range under
    SRM IMG ->Supplier Relationship Management->SRM Server->Cross-Application Basic Settings->Number Ranges->SRM Server Number Ranges->Define Number Ranges per Backend System for Follow-on Documents
    no range of POs (preferably as PO)
    this interval should be defined in above step
    Define Number Ranges for Shopping Carts and Follow-on Documents
    this no range should match to the external no range in ECC under
    IMG->Materials Management->Purchasing->Purchase Order->Define Document Types-> the desired PO doc type in ECC
    Aslo for attribute BSA yr ECC PO doc type should be available.
    If you are using ECC contract as a SOS for SC item
    For that coontract type in ECC the PR type should be liked in contract doc type config.
    Also check the logic in BADI BBP_CREATE_BE_PO_NEW
    BR
    Dinesh

Maybe you are looking for

  • Problem while assigning smartform in NACE

    Hi all, I am getting the following error while trying to assign a Z-smartform in NACE transaction. Rewards assured <b>Diagnosis</b> For output type NEU and transmission medium 8 an entry has been maintained in the table of processing programs, but in

  • Error creating VM on Hyper-V Windows server 2012 R2 (0x80070569).

    I recently installed in my domain a member server 2012 r2 with Hyper-V Role, and got the following error when creating a new vm: Logon failure: the user has not been granted the requested logon type at this computer.(0x80070569). The user is momber o

  • Macbook Pro 2.6ghz i7 2013 system freeze when using Premiere/AME CC 2014

    I have a Macbook Pro i7 2.6ghz form late 2013 and I have been experiencing some serious problems with my system freezing while using Premiere Pro and whilst rendering from AME. I am running the latest version of CC (8.1) on OSX 10.9.5. GFX card: NVID

  • Http adapter call rfc: BAPI_PO_GETDETAIL1has an  error,who can help me!

    Hello, everyOne! I have a question! When I call BAPI_PO_GETDETAIL1.request, I pass on parameters "PURCHASEORDER=5523" which exists in ECC6. However, the return message displays "<message>Document 5523 does not exist</message>". That is non-exist. I u

  • RSS Visualizer missing from 10.4.11-help?

    I have an iBook G4 with OS 10.4.11 loaded and RSS Visualizer is an option in the Preferences/Screensaver window. I also have an iMac G3 600MHz (Snow) running 10.4.11 as well and fully updated using Software Update as far as it would go. But RSS Visua