Getting SC details using Backend Purchase Order

Hi Friends,
I am running a report in backend (R/3), I want to get shopping cart details from SRM simply by passing backend <b>purchase order number.</b>
Can you suggest me a function module in SRM side please?
Regards.
Pras

Pras-
I can't think of an existing FM to get SC details knowing the backend PO number, however you can easily find the shopping cart ID if you use view BBP_PDVIEW_BIH, select using your PO number as BE_REFOBJ, technical docuemnt type for PO as BE_REFOBJ_TYPE, and ideally you should do the select per PO item # and R/3 Logical system.  So just make a wrapper function module with this logic.
The cart will be returned in the table as the object ID.
You can then use the function BBP_PD_SC_GETDETAIL to get your shopping cart details you required.
Regards-
b

Similar Messages

  • Report that gives me details using my Purchase Order number

    Dear Gurus,
    Could you please tell me is there any report,where if i give the P.O.number it should list all the related items to the P.O. Provided i give the p.o number as the reference in all the invoices.
    Thanks and Regards
    Balaji Dhanavel

    Hi,
    Use ME87 t.code.
    Enter PO number in Purchasing document field and execute.
    If PO history records is 1 - only Goods receipt is done, 2- Inovice also done.
    Place the cursor on document and click on PO history old, system will display the history of PO.
    Regards,
    Chandra

  • HT6015 School have been using VPP for a while.  We would like to avail the use of Purchase order to order apps.  How do we set this up?

    Does anyone know how to set up account so we can order any apps using a purchase order with the exact amount instead of usig a voucher? Not sure if Im in the right place. 

    I don't understand quite what you're asking. Can you provide more detail of what you're trying to do?

  • Paying for Skype Premium using a Purchase Order/In...

    Hi,
    Our University would like to pay for a Skype Premium account using a Purchase Order system - i.e. we send out a Purchase Order to Skype, Skype sends an invoice, and we then send payment to Skype.
    Would this be possible, or is there an email address I can use to contact Skype directly about this?
    Thanks,
    Massimo

    I guess you are talking about due date for a billing document.
    There's an FM Determine_Due_date for that. before that you'll have to use FM FI_DOCUMENT_READ with I_AWTYP as VBRK and I_AWREF as Billing Document Number. You will get T_BSEG entry.
      CALL FUNCTION 'FI_DOCUMENT_READ'
       EXPORTING
         i_awtyp           = 'VBRK'
         i_awref           = po_vbeln
       TABLES
         t_bseg            = i_bseg
      SORT i_bseg BY vbeln.
    READ TABLE i_bseg WITH KEY vbeln = 'Billing Document Number'.
      IF sy-subrc IS INITIAL.
        MOVE-CORRESPONDING i_bseg TO wa_faede.
        CALL FUNCTION 'DETERMINE_DUE_DATE'
             EXPORTING
                  i_faede                    = wa_faede
             IMPORTING
                  e_faede                    = wa_faede
             EXCEPTIONS
                  account_type_not_supported = 1
                  OTHERS                     = 2.
    This wa_faede will have due date in one of its fields.
    Hey do reward points if this post is helpful.

  • Define status for backend purchase order in SRM7.02

    Hi,
    i am working in SRM 7.02 classic scenario using PI.
    When the SC is converted to Backend PO, some PO XML are failed due to various reason. Instead i need to create a PO in held status.
    For the same, we have settings 'Define status for Backend purchase order' in SPRO. If we maintain the information in this setting that is enough..??It will work??
    1.I heard there is some enhancement need to done for the same to work ...??if it is what is the enhancement ???
    2. if it is work, then all PO will be created in Held status or only error PO will be created in Held status?? remaining in released status ???
    Kindly advice me ..
    Thanks

    As far as,  BAPI_PO_CREATE1, you need to pass
    MEMORY_UNCOMPLETE = abap_true
    MEMORY_COMPLETE   =  abap_false
    for POHEADER, pass,
    MEMORY = 'X'
    MEMORYTYPE = 'H'
    for POHEADERX, pass,
    MEMORY = 'X'
    MEMORYTYPE = 'X'
    Though you will be using ESOA for this, this knowledge would help.
    Regards,
    Ganapathi

  • Block GL / cost element to be use in purchase order

    hi expert,
    i want to ask is there any way to block GL been use in purchase order but in meantime can use in FI posting?
    I heard can done with cost element block for integration posting?
    Can any expert advice the detail?
    Thanks.

    There is no standard functionality to block any GL for specific purpose.
    We can block it for entire company code/Chart of Accounts.level
    However at OB28 create a new validation
    We use WE document type for GR or RE document type for Invoice
    Go to OB28
    Prerequisite
    If the Document type = WE or RE
    Check
    GL account is not equal to 123456
    Message....check GL Account
    Srinivas

  • How to know which Smart-Form is being used for Purchase Order print output

    Hi Gurus ,
    How to find which Smart-Form and and methods/program being used for Purchase Order print output in SRM  ?
    In ECC we have tcode NACE where we can check all the details.Is there something similar in SRM ?
    Please help.
    Regards,
    Saurav

    There is no similar transaction in SRM for your purpose. Usually if the customers customize the smartforms, they would choose to use their own form by implementing BADI BBP_OUTPUT_CHANGE_SF. Take a look into your system and see if this BADI is implemented. If so, debug it (by pressing "Print Preview" for a PO for example) and find out what form it is using. Or, if the BADI is not implemented, by default, the system uses form BBP_PO.

  • Item text in Purchase Order getting updated with info. record Purchase Order Text

    Hello All,
    I am working in a roll out project and facing issue in text repeating twice for the line item in the Purchase Order for the new company code for which rollout is happening
    Issue:
    Item text in Purchase Order getting updated with info. record Purchase Order Text
    01) PO Text is maintained in the material master under "Purchase Order Text" tab
    02) The PO text that is maintained in material master is getting updated in the Purchase Info. Record
    03) When Purchase Order is created, the "Item Text" gets updated in the Purchase Order automatically only for the new company code for which rollout is happening. when printed, this results in the text getting duplicated twice
    03.1) this behavior is not observed in the Plants/ Company code that is already Live
    Configurations in the system:
    The copying rules for the "Texts for Purchase Orders" is
    Source Object = "Info Record", Source Text="Purchase Order Text", Fix="*"
    We have modified the Purchase Order form to print one of  the condition types maintained for calculating the tax. Other than this there is no change to the plants that are already live.
    I could not locate any "Purchase Organization" / "Company Code" / "Plant specific configuration.
    Am I missing any configuration or where can I look in what is causing this error.
    Request help from the experts in the forum.
    with Regards,
    Dhandapani R

    There is no company/purchasing/plant specific customizing for purchase order text.
    The customizing copying rules for the "Texts for Purchase Orders" affects all equally .
    If the text in the purchase order in ME23N is already filled different to other plants, then you either have a modification in place, or the texts are differently maintained in the referenced data (vendor, material, info record, contract)

  • TABLES USED IN PURCHASE ORDER CREATION

    Hi all,
    I want to know the tables used in purchase order creation header line.
    Those which are refereed by structure mepo_topline
    especially...
    mepo_topline-superfield
    MEPO_TOPLINE-ebeln etc.....
    Looking forward to hear from you all.
    regards,
    VKC

    hi,
    you can check in the include : MM06EFTO Form routine
    FORM mepo_get_topline USING ex_topline LIKE mepo_topline
    Its referring   MOVE-CORRESPONDING ekko TO ex_topline.
    so it is EKKO table.
    sometimes it refers to EKBE table also.
    Regds
    Sivaparvathi
    Please reward points if helpful..

  • Get billing list by customer purchase order

    Hi Experts:
                     Is there any standard T-code which can get billing list by customer purchase order ?
                    Billing contains delivery-related and order-related,
                    one po can has several sales order,and one sales order has several DN or Billing.
                   Pls give me some advice.
                                                                                    Thank you very much.

    Dear Friend,
    There is no standard Tcode for your requirement.There is two way to get so,
    1. Either go for Abap Developed report.
    2. Or try to get the some through Table.
    Regards
    AJIT K SINGH

  • Cannot use create purchase order in SRM 7.01

    Hello,
    We are upgrading from SRM 5.0 to SRM 7.0.Classic scenario.  In the workset purchasing of the role operational purchasing you can use Create Documents -> purchase order. if I click on it I recieve the following message:
    The table does not contain any data
    If I then choose start I get the following message:
    Transaction type could not be determined; inform system administrator
    Can anybody explain to me if is this a purchase order which would be created in SRM ? As we are in the classic scenario we don't want that. If this is a local purchase order how can we create a purchase order in ECC using SRM 7.01
    Thanks for your help!
    Antoinette

    Hi,
    In a classic scenario, the SAP SRM system is used mainly to capture procurement requisitions from employees in the form of shopping carts. All other procurement activities take place in the backend materials management system.
    So you cannot create po in SRM it will be created in ECC.
    Regards,
    Goutam Kolluru.

  • Error Message not getting clear while creation of purchase order

    Hi All,
    I am facing one problem while creating purchasing order.
    I have written one user-exit for purchase order. User has to enter purchase requisition number for certain purchase order type. If he doesn’t enter PR number, we have to throw an error message.
    I have used the MM06E005 for the same. User exit is working fine, but the problem is, all error messages are collected in log and it will be displayed in a dialog screen when you check the document (Transaction ME21N).
    When I enter PR number and check the document, the error message is still there, system is not clearing the error log. I have created “Z” message class and have used in User exit.
    Do you guys have any solution for this? Am I using the right user exit? What should I do to clear the error message?
    If you don’t have answer, please pass it to your friends also….
    Thanks a lot in advance…

    Hi Rob,
    Your inforamtion was good enough to start. thanks a lot for that. I tried to implement the same but no luck this time also.
    FYI..
    The FM exit name is EXIT_SAPMM06E_012 and see the following code, i used.
    TYPES:  BEGIN OF type_my,
            subrc TYPE sysubrc,
            msgid TYPE symsgid,
            msgty TYPE symsgty,
            msgno TYPE symsgno,
            msgv1 TYPE symsgv,
            msgv2 TYPE symsgv,
            msgv3 TYPE symsgv,
            msgv4 TYPE symsgv,
            END   OF type_my.
    DATA:  my TYPE type_my.
    DATA : GV_PO(10) TYPE I.
      if I_EKKO-BSART = 'Z005'.
      GV_PO = I_EKKO-EBELN.
        loop at TEKPO.
          if TEKPO-BANFN is initial.
           message E000(ZBC_MESSAGES) with TEKPO-EBELP.
            my-subrc = sy-subrc.
           my-msgid = sy-msgid.
           my-msgty = sy-msgty.
           my-msgno = sy-msgno.
            my-msgid = 'ZBC_MESSAGES'.
            my-msgty = 'E'.
            my-msgno = '000'..
            my-msgv1 = sy-msgv1.
            my-msgv2 = sy-msgv2.
            my-msgv3 = sy-msgv3.
            my-msgv4 = sy-msgv4.
      Cleaning
            CLEAR:
            sy-subrc,
            sy-msgid,
            sy-msgty,
            sy-msgno,
            sy-msgv1,
            sy-msgv2,
            sy-msgv3,
            sy-msgv4.
      Generate message
            mmpur_message my-msgty my-msgid my-msgno
            my-msgv1 my-msgv2 my-msgv3 my-msgv4.
      Remove message from message list
            mmpur_remove_messages_by_id GV_PO.
          endif.
        endloop.
    It is still not working. Moreover i don't have PO number at run time.
    I hope this clarify the problem in more detail.
    Meanwhile i am searching for OSS as suggested by Michael Bennett.

  • Reading information of Backend - Purchase Order

    Hello,
    We use SRM 5.0 - Clasic escenario
    I have a question regarding Confirmation of Purchase orders in SRM.
    I understand that in table BBP_PDBEI the number of te Purchase order (and its position) is stored wth which SRM goes to the R/3 Backend to retrieve the necesary information.
    With this information, the confirmation can be executed.
    I would like to know what Function, BAPI, IDOC, report etc.. SRM is using to retrieve these Purchase order information form the R/3 Backend!
    Thanks for any help.
    Aart

    Hi Aart,
    - in the standard we read the general data of the PO with the backend BAPI: BAPI_PO_GETDETAIL.
    Backend release:     ->     ...with the SRM Function module:
    R/3_4.70-ERP_2.0   ->    B470_PO_GETDETAIL
    R/3_4.5B-R/3_4.6C  ->    B45A_PO_GETDETAIL
    R/3_3.1  ->    B31I_PO_GETDETAIL
    - You can find more function modules for the backend PO reading if you search in the table BBP_FUNCTION_MAP with the object 'BUS2012'. Here you will find the function modules to the backend PO.
    - For more specific PO data you can use the META_READ_TABLE. With this FM you can access any table of the backend system.
    Kind regards,
    Peter

  • Is there a way to create consignment stock without using a Purchase Order

    Hi Gurus,
    Is there a way tp created unrestricted consignment stock for a material without first creating a Purchase Order and then using MIGO. Is there a way to create directly into inventory?
    Thanks for your help!

    Hi Charlie/All,
    Still having the same issue.
    I checked t-code OMEV to make sure Consignment Info Record is activated
    I checked the EINE table to verify the Infor Record was created for consignment
    In MIGO I use the following:
    Goods receipt - other - movement type 501K
    material, vendor, qty entered
    error msg: purchase info record not founf in purchasing organization??
    not sure why..thank for all your help so far...

  • Getting error in goods receipt purchase order

    I am getting the error when running the goods receipt purchase order..
    "Account determination for entry 1000 (COA) BSX 1200 ( Co Code) -- CAR1 ( raw material )not possible"
    Can some one suggest me for above error..
    Praveen

    Hi
    Check valuation grouping code is active in OMWD for the valuation area and then check OBYC settings for chart of accounts - for BSX transaction key - GL account has been assigned.
    Thanks

Maybe you are looking for