BAPIFM to read Sales Order Item Details

Hello Experts,
Any idea if there is a BAPI/FM which I can use to retrieve all item details of a Sales Order?
~ Vinayak

Hi
Kindly check the below  function module
BAPI_SALESORDER_GETLIST
Regards
Damu

Similar Messages

  • How to read Sales order Item Text of item node?

    Hi Sap Guru's,
    I have urgent requirement, i want to read Sales order item text of item node.
    can anybody give detail code.
    Thanks in Advance,
    Venkat

    hi venkat,
    take a look at this code
    data:
      git_line type standard table of tline.
    data:
      gwa_head type thead,
      gwa_line type tline.
    data:
      v_first type c.
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
      CLIENT                        = SY-MANDT
        id                            = '0002'
        language                      = sy-langu
        name                          = '1000000122000010'
        object                        = 'VBBP'
      IMPORTING
        HEADER                        = gwa_head
      tables
        lines                         = git_line
    EXCEPTIONS
       ID                            = 1
       LANGUAGE                      = 2
       NAME                          = 3
       NOT_FOUND                     = 4
       OBJECT                        = 5
       REFERENCE_CHECK               = 6
       WRONG_ACCESS_TO_ARCHIVE       = 7
       OTHERS                        = 8.
    loop at git_line into gwa_line.
      at first.
        move 'X' to v_first.
      endat.
      if v_first eq 'X'.
        write: / gwa_line-tdline+10.
        clear v_first.
      else.
        write: / gwa_line-tdline.
      endif.
    endloop.

  • Sales order item details configuration

    Hello All,
    I have a requirement to get the Sales order item details configuration programmatically in user exit in sales order create and change.
    In sales order change i am using function module "VC_I_GET_CONFIGURATION".
    Input for this function module is instance (VBAP-CUOBJ).
    I am getting the configuration here. But i am not able to get it in create mode (VA01).
    Can any one help me please.
    Thank You,

    Hi Harish,
    INOB table key is CUOBJ, At run time the VBAP-CUOBJ is not generated yet. Its value is now "999999999999990001".
    I guess once the order is created we will get an entry in INOB.
    Do you have any other way with which INOB entry can be selected ?
    Thank You.

  • Sales order item details with condition types

    Hi Guys,
    I am uploading the sales order details using DIRECT INPUT method in LSMW, one line item having 5 condition types, but in the item level structure BVBAKPOM, I can able to MAP  only four condition types.
    Is there any way to map more then 4 condition type in the ITEM level structure? Or do we need to loop the item level structure.
    Waiting for your valuable replies
    Thanks,
    Gourisankar.

    Hi Harish,
    INOB table key is CUOBJ, At run time the VBAP-CUOBJ is not generated yet. Its value is now "999999999999990001".
    I guess once the order is created we will get an entry in INOB.
    Do you have any other way with which INOB entry can be selected ?
    Thank You.

  • Read Sales Order Item Conditions

    Hi All,
    Quick question. If I have a sales order and item number how can I read the item condtions.
    Is there a function module I can use or is there a table?
    Many Thanks,
    Colm

    Hi Colm,
    For condition you have a table KONV.
    Please check this link
    This link contains the link between different tables in SD Module
    http://www.erpgenie.com/abap/tables_sd.htm
    Best regards,
    raam

  • Info req -- in sales order, item detail tab

    hi all,
    In sales order (VA01), Item detail tab,
    1. what is the purpose of business transaction type field?
    2. if click on the field, it will show list. so, where to create the list?

    Hi
    The purpose of that you have to go thro F1 and understand
    The possible entries for that filed is defined in IMG activity T code OVE5
    IMG--->MATERIALS MANAGEMENT->PURCHASING>FOREIGN TRADE AND CUSTOMS>BASIC DATA FOR FOREIGN TRADE-->DEFINE BUSINESS TRANSACTION TYPES AND DEFAULT VALUES
    Regards
    Raja

  • How to copy sales order item text in to purchase requisition

    Hi Experts,
    We enter text for the sales order items in the sales order item details.
    we have done settings for the purchase requision to copy text from sales order into purchase requisition and this works for purchase requisitions automatically created from sales order.
    we need to get text from sales order to be copied in purchase requisitions which are created by converting the planned order.
    we have tried SPRO settings SPRO->Materials Management>purchasing--->text for purchase requisition.
    but this settings does not works for Pur Req. created by converting the planned order.
    is this because planned order does not have segment for text like sales order and purchase requisition?
    Please let me know if it is possible through standard SAP or with the lease development, any help will be appreciated.
    Thanks
    Anand

    Hi Rajesha,
    Thanks for your reply, some of the items in sales order are procured externally by us and our customer maintains text related to price and specification in the item details of the sales order, MRP creates planned order for these materials and these planned orders are always converted in pur requisition, we want that text from the sales order item details should be copied in to the purchase requisitions converted from planned orders.
    is there any user exit which can be called at the time of saving a purchase req or user exit for converting planned order in to pur req.?
    if there is any such exit available, then I think I can read the pegged requirement of the planned order where sales order item will be found then read the text in the item then copy this text in pur req then save pur req may work.
    but this will be a bulky development, please let me know if we can shorten the development.
    Thanks again
    Anand

  • How to configure Sales order item text copy to Purchase requisition item

    Hi,
    How to configure sales order item text copy to Purchase requisition text then copy to PO item text.
    Regards
    Jack

    Hi Rajesha,
    Thanks for your reply, some of the items in sales order are procured externally by us and our customer maintains text related to price and specification in the item details of the sales order, MRP creates planned order for these materials and these planned orders are always converted in pur requisition, we want that text from the sales order item details should be copied in to the purchase requisitions converted from planned orders.
    is there any user exit which can be called at the time of saving a purchase req or user exit for converting planned order in to pur req.?
    if there is any such exit available, then I think I can read the pegged requirement of the planned order where sales order item will be found then read the text in the item then copy this text in pur req then save pur req may work.
    but this will be a bulky development, please let me know if we can shorten the development.
    Thanks again
    Anand

  • How to read the Sales Order( Item ) System status?

    Hi All,
    My requirement is to display the  System status of the sales order item*. When we go to the sales order display, if i double click on the line item , ii will lead to the next screen.Click on status tab,here we can see the Sytem staus. I would like to know the logic to read this sytem status ?
    Thanks,
    Suresh.

    read tables VBUK, VBUP for SD document status indicators

  • Sale Order Item Level Text Field which table and field

    Hi,
    Thanks for your prompt reply and best solution.
    Can you please tell me one more thing, in sale order at item level the TEXT Field maintaining by user at transaction level now they want that field in one of the report, so can you please tell what is the table and field where i will get this sale order item level text details.

    Hello,
    is this going to work for item level text as well.
    can you tell how to proceed with this functional module
    or is there any other thing required.Please elaborate to
    understand better way.
    You can check out two table in respect to Sales TEXT i.e. STXH (STXD SAPscript text file header) and STXL(SAPscript text file lines).
    The best approach of tracing out the Text in respect to Sales Order would be to use the Function module READ_TEXT and put this FM in SE37 and execute with the following parameter.
    Client
    Text ID of text to be read
    Language of text to be read
    Name of text to be read
    Object of text to be read
    Archive handle
    Text catalog local
    When you are essentially looking to read item level Text with respect to Sales Order then your Text OBject would be VBBP.
    Regards,
    Sarthak

  • Need to modify Sales order Item additional tab B

    Hello all,
    I need to modify Sales order item additional tab B ...by removing the exisitng fields and should add some new fields ....does it have any impact on this screen could be used in any of the other transaction .......i  just wanted if we remove the fields and some new details will have some impact
    Regards,
    KK

    Additional data B is used to add your own fields also known as custom fields in sales order.
    Custom fields can be added to tables VBAK & VBAP (depending on header or item). Similarly you can remove fields if you don't require it anymore.
    In short, your requirement can be met but you have to take help of ABAP consultant since it requires maintenance of user exits and modification of screens.

  • Status is not updated from delivery to sales order item.

    Dear Folks,
    One user created sales order with 10 line items and he created delivery and later he deleted line item 30 in that delivery document and with remaining 9 line item he done the PGI & Billing.Here what is the problem is the deleted line item in sales order status showing as completed and delivered quatity showing as 10.Status is not updated from delivery to sales order item.Please let me know how to resolve this?
    Thanks & Regards,
    murali.

    Dear Murali,
    Please go to VTLA transaction then select your delivery and order types after that go in to the details of the item level settings here you check field called Update document flow under Control data tab.
    I hope it will help you,
    Regards,
    Murali.

  • Sales Order Item to create a Purchase Order

    Hi,
    Iu2019m not SD consultant but I would like to create a sales order and originate a PO for that sales order item.
    Which item category should I select and after that I just have to create the PO, the cost of this PO are also allocated to this sales order correrct?
    Thanks,
    Bo 75.

    Hi,
    Assuming all the basic settings are configured
    Step1: Run T Code VA01 and input the u201Cdocument typeu201D as OR along with your sales area. Then enter your business partner number along with the material number and quantity. Save the order.
    Step2: T Code VA03 input the order number which you have created. Select the line item and (menu bar) Goto u2013 Items u2013 Schedule lines. You will find the u201Cpurchase requisitionu201D for that item just copy the number.
    Note: If you unable to see the u201Cpurchase requ201D in the sales order then make sure you need to change the Item category group of a material in MM02 as BANC in Sales: sales org 2 tab.
    Step3: Run T Code ME21N under the item paste the u201Cpurchase requisitionu201D number generated at sales order level and hit enter that will automatically give all the details, save. You can save the Purchase order.
    This scenario will only help to create purchase order until I know why you want to create a purchase order I canu2019t proceed further.

  • Sales Order Item charge

    In the Sales Order item line have lines charge,
    How to insert the charge ? Is it set in the Item Master or Price List ,please let me know ?
    thanks

    It is not very clear from your post what you actually did. It seems that you applied freight cost during ship confirm. If that is yes, and you haven't done the cost to charge setup then it won't appear as a charge at the line level. When you enter any freight costs associated with the line or delivery during ship confirmation then, those costs are transferred to the order line (during Shipping to OM interface after ship confirm) as price adjustments. Then the conversion of the costs into charges will be triggered, provided the 'cost to charge' conversion setup has been done. The converted charges will be applied to the line. The cost to charge conversion part will require you to define a "Freight and Special Charges List" type modifier to be used along with a seeded (there are many already) / user defined "Cost to charge conversion formula". For details you can refer to "*Setting up Freight and Special Charges For Cost to Charge Conversion*" in OM implementation manual.
    If you want to apply the actual Freight and Special charges at the order/ line level directly then you have to define "Freight and Special charge List" type modifiers and you should have proper security privilege through OM%Charging%Privilege profile to apply the same (as mentioned in my previous post). You can set these modifiers for as automatic application as well.
    Please note these are 2 different functionalities and based on your need you to decide which one is applicable.

  • Pending sales order items

    Hy guys
    Is there a standard transaction to get all PENDING SALES ORDER ITEMS in order to clear inconsistent data previous to implementing MRP in the system?
    tks
    Geraldo

    If VA05/VA05N is not fulfilling, then use table VBAP in t.code SE16. In the selection criteria, make field KWMENG not equal to zero and make field KBMENG cumulative confirmed quantity equals to zero and execute. Download the details into an Excel for further manipulation/data cleansing.
    Regards,

Maybe you are looking for

  • Exclude one field from Logical Database's dynamic selection screen

    Hi Guru, I have a requirement to amend a program to exclude the document number field (bsik-belnr) from the dynamic selection-screen of the logical database KDF(Vendor Database) so that the program will not filter according to the document number. I

  • How to bind a bapi dynamically in webdynpro abap program

    Hi Gurus, I want to bind a bapi dynamically in my webdynpro abap program. I have four bapis in my program. During run time depending on requirement appropriate bapi should be binded to context node. Please send me links to documents or code urgently.

  • Mobile device ?

    What is this, i cannot connect my ipad to the computer because anything ....blabla..... Mobile device...  Can anyone help me ?

  • Can't import mv2 elementary stream

    I'm using DVDSP 412. My project is HDDVD for a Toshiba HD player. (A2) I edited 720P HDV and exported using compressor to HDDVD mpeg 2. I can't import the MV2 into DVDSP. Any suggestions? It is a mpeg 2 elementary file.

  • Scanner refuses to work

    I am using an iMac (10.7.2) along with a Canon Pixma MP620 to scan documents to add to my family tree. The scanner has always been temperamental and often only scans after 5 or 6 attempts but recently it has become unbearable. I have just spent half