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.

Similar Messages

  • Sales Order Item level Configuration data

    I need sales order item level configuration data. I use following function modules to get, But my issue some of configuration DON"T have value only description available. I needs configuration with values or without values ( menas all)
    But function modules not giving complete results.
    CE_I_GET_CONFIGURATION
    VC_I_GET_CONFIGURATION_IBASE
    VC_I_GET_CONFIGURATION
    CUD0_GET_VAL_FROM_INSTANCE
    Any info ?

    Tried could not find why the function moudle not considering entries don't have values
    But in sales order config  screen if i press page (list) its showing values that don't have values

  • 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

  • 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.

  • 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

  • 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 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

  • ITEM DETAILS: CONFIGURATION  in sales order

    Dear  guru,
    In the sale order if we want to see the variant configuration details for a particular line item then after selecting the line item we press
    the ITEM DETAILS: CONFIGURATION icon. Once we press this icon then the system will take us to a display characteristic value screen where we
    can see the configuration details of that particular line item. But now in PRODUCTION SYSTEM we are not finding any value for a variant
    configuration material in the sale order display characteristic value screen, eventhough it is maintained in the material master MRP3 view.
    But in deveploment  client  it is showing correctly.
    Pl. suggest

    Get with the VC person and have them move all the model details to PRD

  • Add items to sales order by "Item details: configuration".

    Hi Experts.
    I need to add item to sales order but not in normal way but like this:
    1. Mark higher level item
    2. Click: Item details configuration
    3. Click: Result
    4. Click: Insert
    5. choose material.
    Do you know any FM for this?

    Hi
    If you didn't get anything then why don't you try with creating a recording in SM35 and call that recording. We did somehow similar thing. We couldn't find any function module and my ABAPER asked me to create recording in SM35 and he converted that into some BAPI or may be he called directly that recording. If you are ABAPER then try this and if you are functional like me then talk to your ABAPER.
    Thank$

  • Configured Sales Order Items using BAPI_SALESORDER_CREATE

    Hello
    I am trying to use the BAPI_SALESORDER_CREATEFROMDAT2 to create a Sales Order for a Configured Item .
    I get my item on the Sales Order but no Configuration Data behind it .
    I am populating the the order_items_in & order_items_inx tables and linking using po_itm_no fields .
    I am also populating the order_cfgs_ref , order_cfgs_inst , order_cfgs_value fields with the relevant Characteristics data .
    I have looked at the SAP Note 549563 and can see no differences between the info on that and what I am doing .
    Does anyone have any advice or experience of doing this ?
    Regards
    Paul

    Hi all,
    I managed to create a dummy sales order in SAP R/3 using the DCOM Connector and Borland Delphi 7.0 Professional.
    Hoping the below listed example will help, here we go:
        ctrlBAPI: TSAPBAPIControl;
    var
      order, header, items, partners, ret: Variant;
         try
               order := ctrlBAPI.GetSAPObject('SalesOrder');
               header := ctrlBAPI.DimAs(order, 'CreateFromDat1', 'OrderHeaderIn');
               items := ctrlBAPI.DimAs(order, 'CreateFromDat1', 'OrderItemsIn');
               partners := ctrlBAPI.DimAs(order, 'CreateFromDat1', 'OrderPartners');
               ret := ctrlBAPI.DimAs(order, 'CreateFromDat1', 'Return');
               // The values....
               header.Value('DOC_TYPE') := 'TA';  
    { the order type is as you see it when you log in with language 'DE' }
               header.Value('SALES_ORG') := '2000';
               header.Value('DISTR_CHAN') := '10';
               header.Value('DIVISION') := '10';
               header.Value('REQ_DATE_H') := now;
               header.Value('PURCH_NO') := 'Test BAPI Delphi';
               partners.Rows.Add;
               partners.Value(1, 'PARTN_ROLE') := 'AG';
    { The partner function is as you see it when you log in with language 'DE' }
               partners.Value(1, 'PARTN_NUMB') := 'M9531057';
               // Line 1...
               items.Rows.Add;
               items.Value(1, 'MATERIAL') := '000000000000000354';
               items.Value(1, 'REQ_QTY') := '00000003';
               // Line 2
               items.Rows.Add;
               items.Value(2, 'MATERIAL') := '000000000000003595';
               items.Value(2, 'REQ_QTY') := '00000005';   
               // Insert this order in R/3...
               order.CreateFromDat1( OrderHeaderIn := header,
                       OrderItemsIn := items,
                       OrderPartners := partners,
                       Return := ret);
               ShowMessage('Return type: ' + ret.Value('TYPE') + #13 + 'Message: ' + ret.Value('MESSAGE'));
            except
                    on E:Exception do
                            ShowMessage(E.Message)
            end;
    If you need more help, do not hesitate to ask,
    Bogdan CIOC

  • How to set "Configuration Variant" for a sales order item using function

    Hello All,
    I use function module 'SD_SALES_DOCU_MAINTAIN'  to create Customer Indep. Requirements but how to set "Configuration Variant" for a sales order item.
    Is their any idea or sample code?

    Hi Zhijun zhang,
    <u>http://help.sap.com/saphelp_nw2004s/helpdata/en/c0/98038ce58611d194cc00a0c94260a5/content.htm</u>
    <u>http://help.sap.com/saphelp_nw04/helpdata/en/c0/980374e58611d194cc00a0c94260a5/content.htm</u>
    A variant is simply an SAP report where the parameters for running the report have been set by the user and then saved with unique name. This allows future retrieval and execution of the report faster without reentering the parameters. As a convention the variant name should start with with the digits 50 so searchs for LHU variants is easier and quicker.
    The first link will guide you by screen shot wise.
    Award points if it adds information.
    Thanks
    Mohan

  • Regarding changing of configuration data of Sales Order/item

    Hi,
    I have taken configuration data of sales order/item from VC_I_GET_CONFIGURATION function module, i should change some of the data and save them back,
    Can any one provide the function module name to save the configuration data in SAP sytem,
    Thanks in advance,
    With regards,
    P.Prasanth.

    Try with Function module
    CE_C_PROCESSING.also you can use
    CE_I_SET_CONFIGURATION
    CUCB_CHANGE_CONFIGURATION
    CUD0_CONFIGURATION_TO_DB

  • Sales Order Item configuration

    Hi,
    In my scenario, if there is any change in Sales Order Item configuration (characteristics), i have to create an entry in custom table.
    TCode - VA02
    How do i check if it is changed or not and in which exit?
    Thanks,
    Vetri

    Hi Vetri,
    The tables I told you about are only relevant for old values. For the new values after changing the document and before saving the document will be available in some internal tables and only the technical team will be a competent team to find out how the new values can be found out during run time.
    The checks you want to enable can be enabled in the user exit USEREXIT_SAVE_DOCUMENT or USEREXIT_SAVE_DOCUMENT_PREPARE based on the scenario.
    You can reward if this helps you.
    Message was edited by:
            Navaneetha Krishnan

  • Display item configuration of a sales order item from a program

    hello experts,
    I have a scenario in which I need to use a call transaction from my report program to sales order item configuration, is there a way to achieve this??
    Thanks for your help.
    Selvam A

    Hello Selvam,
    This should be similar to any other call transaction.
    When the user clicks on the sales order item, call the sales order item configuration transaction and skip initial screen.
    If you are doing this in the report output, add the code in 'at line selection' and by using get cursor.
    cheers,
    Sushil Joshi

  • Creation of sales order with Variant configuration info

    Hi friends,
       I am creating sales order along with Variant configuration data. We have 3 level BOM structure.
    I am using BAPI_SALESORDER_CREATEFROMDAT2 and filling in ORDER_CFGS_REF, ORDER_CFGS_INST, ORDER_CFGS_PART_OF ORDER_CFGS_VALUE, ORDER_CFGS_REFINST
    tables exactly the same way BAPISDORDER_GETDETAILEDLIST FM returns.
    Sales order is being created with no variant configuration information.(Not in the header level atleast)
      Can any one help me on this.
    Thanks
    Seshagiri

    Updating Variant Configuration data for SO item became little tricky for us in an ongoing implementation. After spending some hours investigating the correct combination of data to pass, we were able to post the document correctly. As no detailed documentation is available online for this scenario, I hope this post will help community for similar requirements. J
    For updating Variant configuration (VC) data for Sales order item, we need to populate below tables of standard FM or BAPI (e.g. SD_SALESDOCUMENT_CREATE).
    Normally the standard FM or BAPI does not return any error messages in case configuration data is not updated successfully.
    ·         SALES_SCHEDULES_IN: The required date field should be populated with appropriate value (REQ_DATE).
    ·         SALES_ITEMS_IN: Field PO_ITM_NO should be populated with appropriate value.
    ·         SALES_CFGS_REF Table:
    1.       This table should have 1 record per item.
    2.       Combination of CONFIG_ID and ROOT_ID should be unique across line items.
    POSEX
    000010
    CONFIG_ID
    000001
    ROOT_ID
    00000001
    SCE
    1
    COMPLETE
    T
    CONSISTENT
    T
    CBASE_ID_TYPE
    G
    ·         SALES_CFGS_INST:
    1.       This table should have 1 record per item.
    2.       Combination of CONFIG_ID and INST_ID should be unique across line items.
    CONFIG_ID
    000001
    INST_ID
    00000001
    OBJ_TYPE
    MARA
    CLASS_TYPE
    300
    OBJ_KEY
    MATNR value
    QUANTITY
    Quantity value
    QUANTITY_UNIT
    Quantity Unit
    COMPLETE
    T
    CONSISTENT
    T
    OBJECT_GUID
    MATNR value
    PERSIST_ID_TYPE
    G
    ·         SALES_CFGS_VALUE:
    1.       Combination of CONFIG_ID and INST_ID should be unique across line items.
    2.       We can have multiple characteristics for a material. In that case appropriate records should be inserted in this table. Note that CONFIG_ID and INST_ID should be same for all the rows you insert in this table for multiple characteristics for a material.
    3.       The characteristic value should be in SAP internal format.
    CONFIG_ID
    000001
    INST_ID
    00000001
    CHARC
    Material characteristics
    VALUE
    Material characteristics value
    ·         SALES_CFGS_VK:
    1.       Combination of CONFIG_ID and INST_ID should be unique across line items.
    2.       We can have multiple characteristics for a material. In that case appropriate records should be inserted in this table. Note that CONFIG_ID and INST_ID should be same for all the rows you insert in this table for multiple characteristics for a material.
    CONFIG_ID
    000001
    INST_ID
    00000001
    VKEY
    Material characteristics

Maybe you are looking for