Tables or FM needed to get purc req for a sales order

hi
when you go to the /sapapo/rrp3 transaction ( product view ) in SCM system you will get lot of views for a given product and location like elements, periods, pegging overview etc.,. . In the pegging overview for example we have recpt element and reqmt element colums which contain the sales order number and purchase req number. I want to know the database tables names where i can get this information. basically i want to what are purchsae reqs or purchase orders linked to a given sales order or material.
thanks

You can go to SE11 and see all field of table /SAPAPO/MM_DOC and their description.
It will tell you details of GUID.
Than you have to go to individual table and read actual product from GUID.
like MATKEY for Material GUID.
/SAPAPO/ORDER_GUID     CHAR     22     0     GUID of an Order Object
/SAPAPO/LOCID     CHAR     22     0     Internal Location Number (Customer, Supplier, or Plant)
/SAPAPO/MATID     CHAR     22     0     Internal Number (UID) for Product
Manish

Similar Messages

  • Not getting single delivery for two sales orders

    Hi Sapians,
    I am getting one delivery for two sales orders in VL10A.  But in another case, out of two sales orders, for one order I went to partner functions and changed the address line of ship to party while creating sales order.(Since for that particular order the ship to address is different). then as usual I proceeded to VL10A. But this time system gives two seperate delivery document numbers instead of one which is given earlier. Can any of the experts help me in this regard.
    Thanks for your response in advance.
    Raksha Agarval

    Hi Raja,
    Just now I came out with exact problem. While creating sales order, in the header data partner function tab, if we select the ship to party line item and go for details tab and change the address first line item (that is street number), the same change is also if we do in second sales order also, then if we go for delivery in VL10A, then system gives two delivery documents instead of one.( though, all the requirements are met, like same plant, shipping point, shipping conditions, incoterms.. etc).
    Even after meeting the requirements, as per SAP standards also why system giving two delivery documents? is the problem.
    Please come with possible reasons
    Thanks in advance,,
    Raksha.

  • Get OTF data for a sales order document

    I have a problem in getting the information of the created sales order document number  as OTF data. I need this OTF data so to convert into PDF format using function module 'CONVERT_OTF_2_PDF'. My situation is i am keeping a parameter for sales order document number . when i execute the report after giving a sales order document number, i should get the OTF data .

    Hi!
    Firstly you have to define what technique is used for creation of sales order as printed document - smartform or sapscript. Then proceed as follows.
    In case of smartform:
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    formname = 'ZFORMNAME'
    IMPORTING
    fm_name = v_form_name
    EXCEPTIONS
    no_form = 1
    no_function_module = 2
    OTHERS = 3.
    w_ctrlop-getotf = 'X'.
    w_ctrlop-no_dialog = 'X'.
    w_compop-tdnoprev = 'X'.
    CALL FUNCTION v_form_name
    EXPORTING
    control_parameters = w_ctrlop
    output_options = w_compop
    user_settings = 'X'
    IMPORTING
    job_output_info = w_return
    EXCEPTIONS
    formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 4
    OTHERS = 5.
    i_otf[] = w_return-otfdata[].
    In case of sapscript:
      options-tdgetotf = 'X'.
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
    options = options
      CALL FUNCTION 'CLOSE_FORM'
    IMPORTING
      RESULT                         =
      RDI_RESULT                     =
       TABLES
         otfdata                        = i_otf
       EXCEPTIONS
         unopened                       = 1
         bad_pageformat_for_print       = 2
         send_error                     = 3
         spool_error                    = 4
         OTHERS                         = 5.
    i_otf -
    Regards,
    Maxim.

  • Using bsid and bsad I needed get partner name related to sales order

    Hi
    Using bsid and bsad I needed get partner name related to sales order
    I have gone through the tables but its vbeln column is blank
    How can I make relation between bsid and bsad with vbak if vbeln and column is blank in the table bsid and bsad.
    Please guide me.
    Regards
    Sebastian
    Edited by: Sebastian John on Apr 21, 2009 3:35 PM

    BSID-VBELN = VBRK-VBELN.
    Billing document number is there in BSID table.
    Regs.

  • Hard drive died.  Need to reinstall on new laptop with windows 7 64 bit system,  Need to get activation code for CS3 Web Premium.

    Hard drive died.  Cannot uninstall CS3 to remove copy registration. Need to reinstall on new laptop with windows 7 64 bit system,  Need to get activation code for CS3 Web Premium.

    Thank you Bob.
    Just to clarify - in terms of backing up one set of these, would that just be so I had it on disk and didn't need to re-download from Adobe if the installation got corrupted somehow?  Or do I need a backup for some other reason?
    Thanks

  • I'm thinking of buying an iPad.  Can I use my home's wifi or do I need to get a plan for it?

    I'm thinking of buying an iPad.  Can I use my home's wifi or do I need to get a plan for it?

    Another thing to note is that if your cell plan/carrier supports it (it's free with Verizon Shared plans), you can also use your mobile phone as a mobile hotspot (Personal Hotspot on iOS devices) and use your phone's data to access the internet on the iPad. I purchased an iPad 3 with Verizon 3G/4G cellular built-in but have never activated it. I instead use Personal Hotspot with my Verizon Wireless cellular (phone) plan. If you go this route, you can save money over purchasing a Wi-Fi/Cellular iPad and just choose the Wi-Fi model. But also realize that if you choose to at some point to use the iPad when you're away from Wi-Fi, you won't have the built-in cellular capability that a Wi-Fi/Cellular iPad would have.

  • I need to get raw plugin for Canon 5D Mark iii for CS6  the adobe website has changed and I can not find the download.. it keeps looping me back to the product download

    I need to get raw plugin for Canon 5D Mark iii for CS6  the adobe website has changed and I can not find the download.. it keeps looping me back to the product download page without the raw

    Which operating system are you using?
    Have you tried Help>Updates from within photoshop cs6 to get either camera raw 8.3 or 8.7.1, which should enable photoshop cs6 to open the canon 5D Mark III files.
    (version of camera raw depends on your operating system)
    If that doesn't work try one of the following camera raw plugin installers:
    Camera raw 8.7.1 plugin
    https://helpx.adobe.com/x-productkb/multi/camera-raw-plug-in-installer.html
    If you have windows xp or vista or mac os x snow leopard (10.6.8), then you'll have to use the camera raw 8.3 plugin installer:
    https://helpx.adobe.com/x-productkb/multi/camera-raw-84-support-policy.html

  • Redemption code needed to get serial number for Lightroom is not activated. What to do?

    redemption code needed to get serial number for Lightroom is not activated. What to do?

    Redemption Code http://helpx.adobe.com/x-productkb/global/redemption-code-help.html

  • My iphone serial number claims to have been replaced. But it is actually not. I need to get it replaced for a screen issue ASAP! Please help

    My iphone serial number claims to have been replaced. But it is actually not. I need to get it replaced for a screen issue ASAP! Please help

    This was told to me by Apple Store reps... They have asked to contact Apple support help line .. nobody answers there.. I am stuck! There is no email id that i can find either to contact Apple support

  • Is there any link between oe_order_headers_all and hz_cust_accounts tables. I need to find the cust_account_id for some order_number. Please help me with this

    Is there any link between oe_order_headers_all and hz_cust_accounts tables. I need to find the cust_account_id for some order_number. Please help me with this

    you can link
    OOH.invoice_to_org_id=CUST.cust_account_id   -- invoice customer
    OOH.sold_to_org_id=CUST.cust_account_id   -- sold to customer
    OOH.ship_to_org_id=CUST.cust_account_id   -- ship to customer

  • How I can get the Billing Type for the sales order and its items

    How I can get the Billing Type for the sales order and its items. I mean from which SAP tables and how?

    Hi,
    You need to use two tables.
    First use VBFA. Enter the sales order number in the field Predecessar and the value M in SubCt field. This will give all the billing document number for the sales order items.
    Then use the billing document numbers in table VBRK, where in you can get the billing document type.
    Regards,

  • Table For Open Sales Order And Customer Invoices

    Dear Gurus,
    Are there any table to know open Sales orders and pending invoices for Customers?
    Wishes,
    Abhishek

    Hi,
    Go to T code VA05 and select open sales order radio button. Put other input parameters like date range or sold to . Execute you shal get list of all open sales order.
    For pending invoices go to T code VL04 and you get list of all billing not yet created even though GI is done.
    These are standard SAP functionality and can be used rather than looking in a table level.
    Regards
    Vivek

  • Tables related for open sales orders

    Hi all,
    I need to fetch the list of open sales orders
    based on the range of customers.  I have seen va05
    but in that only single customer
    is allowed. I want for range of customers based on that list of open
    sales orders.
    can any tell me for this requirement is any std tcode available if not
    what tables  I have to use to fetch data.
    any suggestion will be rewarded.

    Hi ,
      can you check these tables in sales
    Name Description Uses
    LIKP Shipped Lines header
    LIPS Shipped Lines detail
    VBAK Order header Every order (unless archiving)
    VBAP Table fields Every line item (unless archiving)
    <b>VBBE</b> Open sales order line items Great file, but be careful. Contents don't reflect orders that do not affect purchasing (go figure).
    VBEP Schedule line item
    VBFA Document flow Let's you move from order to shipping document to invoice.
    VBUK Order status
    VBUP Line item detail status
    VBFK Invoicing header
    VBFP Invoicing detail
    <b>Reward pts if found usefull :)</b>
    regards
    Sathish

  • I just paid for and downloaded the wrong version of Adobe Acrobat X Pro. I downloaded the Microsoft version and I have a Mac running OX Yosemite. How do I get a credit for what I ordered and then reorder the correct Mac version of Adobe Acrobat X Pro

    I just paid for and downloaded the wrong version of Adobe Acrobat X Pro. I downloaded the Microsoft version and I have a Mac running OX Yosemite. How do I get a credit for what I ordered and then reorder the correct Mac version of Adobe Acrobat X Pro

    If you ordered Acrobat via subscription, then you can use either Windows or Mac version.  Just download/install the Mac version, then activate it with your Adobe ID.
    If you purchased the perpetual license, then you need to Contact Customer Care bu chat or phone.

  • Tables for archived sales order data

    Hi,
    ABAP Gurus would like to know in which tables will I be able to see data of archived sales orders (it is not VBAK)
    Any help would be greatly appreciated.
    Thanks in advance.
    Mick

    Hi,
    If I am understanding correctly, your system has data archiving implemented.
    If that's the case then there is no table which will store archived sales order.
    For that you need to go to T.Code SARA.
    Choose object name SD_VBAK.
    Click on READ.
    This will show a screen giving a name of program and option to execute in background or foreground.
    This is how you can retrieve the info about archived Sales Order.
    Hope this helps
    Regards
    Nishant
    Message was edited by:
            Nishant Rustagi

Maybe you are looking for

  • Access specifiers !!! ??? !!!

    In many examples I often find that members ( be they classes, interfaces, variables ) are declared "public" in a class with package access. Consider this: // c08.Accessible.java package c08; public class Accessible { String s = "Non public Member"; p

  • My Magic Mouse will work side to side but not scroll

    I have a magic mouse it will not scroll up and down. I can scroll left to right though.

  • Gr/ir clearing in month end

    hi in case of gr/ir why should do gr/ir clrg in month end in f.13. up getting vendor invoice ,it should be credit ,other than what will happen here plz tell me clearly thank u sowmya

  • I was trying to connect IBM RAD with MSSQL 2000 to generate crystal reports

    After establishing connection through wizard succesfully I try to use the parameters of the connection in .INI file. while establishing normal connection this error msg pops up. Failed to open a rowset. Details: :SQL Exception: [SQL Error Code] 0 [Er

  • Archived project missing menu

    I archived an idvd project w both menu and assets included, or whatever the 2 boxes are - i cannot remember. I transferred the file to another machine (both intel - same os, versions, ect) but when i open the archived project, the video plays if i 'p