Need to retrieve Order Configuration data in Userexit.......

I need to pull out order Configuration data while creating the order. I neead to check whether there are any orphand condition there on the order so basically i need to check the values of the table IBIN, IBINVALUES & IBSYMBOL at runtime while creating the Order......
can anybody pls help me out.....

Any body know how to pull the order configuration data in VA01 userexits ???

Similar Messages

  • Production Order Configuration  data

    Hi All..
    I need to display the Configuration data (Char Description and values) of Production Order into the smart form.
    (Path : CO03>Enter Prod Order No>Header->Configuration )
    Functional Consultant told me to use Function Module "CUCB_CHANGE_CONFIGURATION".
    But its giving RunTime Error.
    Presently, the configuration data is retrieved from Sales Order using Functional Module "VC_I_GET_CONFIGURATION"..
    Please help me out to fetch the data from this path into an internal table....
    (Path : CO03>Enter Prod Order No>Header->Configuration )
    Regards
    Pavan

    check this
    CO_OCC_DISPLAY_CONFIGURATION
    this FM used in that CO03 program itself.
    put a break-point over here then debug the system.This FM also using the same VC so i think u are not passing req.params
    check this Include program which has all Fms for Config.data.
    <b>LCEI0UXX</b>
    Regards
    Prabhu

  • Sales order configuration data to the IDoc

    Hi Experts,
    I need to make sure that always in the outbound IDoc (ORDERS05) the segment E1CUVAL contains VALUE_TXT element for every VALUE element.
    can you please tell where can I find the code that is in which user exit, to change it for checking E1CUVAL segment.
    the configuration values are coming from the Sales order.
    Thanks in advance.
    MK
    Edited by: mk.xi on May 2, 2008 10:48 AM

    Hi Advait,
    I think you can populate configuration data for inbound IDoc ORDERS05.
    In user exits of IDOC_INPUT_ORDERS, you can search table VBAP for given material (will be posted) and find <b>VBAP-CUOBJ</b> (not initial). Then call function module VC_I_GET_CONFIGURATION to find all available  configuration/characteristics data for above matarial.
    From here, you can populate segment E1CUREF, E1CUCFG and C1CUVAL.
    data: i_configuration like conf_out occurs 0 with header line.
    data: l_instance like inob-cuobj.
    clear: i_configuration.
    refresh: i_configuration.
    select single *
    from vbap
    if sy-subrc = 0.
      l_instance = vbap-cuobj.
    endif.
    call function 'VC_I_GET_CONFIGURATION'
      exporting
        instance            = l_instance
      tables
        configuration       = i_configuration
      exceptions
        instance_not_found  = 1
        internal_error      = 2
        no_class_allocation = 3
        instance_not_valid  = 4
        others              = 5.
    loop at i_configuration.
    endloop.
    Hope this will give you an idea.
    Regards,
    Ferry Lianto
    Note: Please award point for helpful answer.

  • Saler order configuration data into IDoc

    Hi Experts,
    I need to make sure that always in the outbound IDoc (ORDERS05) the segment E1CUVAL contains VALUE_TXT element for every VALUE element.
    can you please tell where can I find the code that is in which user exit, to change it for checking E1CUVAL segment.
    the configuration values are coming from the Sales order.
    Thanks in advance.
    MK
    Edited by: mk.xi on May 2, 2008 10:50 AM

    Mk,
    I found some sample user exits for you,
    EXIT_SAPLEINM_011,
    EXIT_SAPLEINM_002,
    EXIT_SAPLEINM_007,
    EXIT_SAPLEINM_004,
    EXIT_SAPLEINM_005,
    EXIT_SAPLEINM_008
    Check whether they suit or not.
    Other thing is, even if you do not find any customer-function with parameter to idoc_data, you can find alternatively looking for tables parameter resembling EDIDD structure. I am able find some with tables parameter int_edidd.
    You can definately find some.
    Regarding the points:
    Our motivation to provide you answers is getting some points.
    When you get a answer, find whether it is helpful/veryhelpful etc.. Mark it helpful/veryhelpful, then ask another question. This is how normally goes.
    Best Regards,
    Suraj Kumar

  • Need to retrieve this required data

    i've a master detail form
    i have query screen that user should fill its items & then press button (Extract)that will leads it to execute the whole query query go_block(master) execute query ;
    the parameters is divided in to two parts some is compared in the master query & the others is in the detail query
    but when i choose fill the parameter of the detail & press extract it retrieves all the master & doesnot retrieve the details while it should retrieve the coressponding master with the requested detail

    Let your parameter block items be param_11 -for doc number, param_12 -for customer no for master block
    and param_21 - for container number and param22 -for container type for detail block
    Your where clause for master block should be
    Where (doc_no = :param_11 or :param_11 is null)
    and (cust_no = :param_12 or :param_12 is null)
    and exists (select 1 from detail_Table
    Where doc_no = detail_Doc_no /*relation between master and detail*/
    and (detail_container_no = :param_21 or :param_21 is null)
    and (detail_container_type = :param_22 or :param_22 is null)
    .....etc for all parameters belongs to detail
    )If you have set the relation b/w master and detail perfectly, then i dont think you require any where clause for detail block

  • Retrieve item level dates during service order creation before saving

    I have a requirement where I need to retrieve item level date (First Response i.e. APPT_TYPE as SRV_RFIRST) and modify the date and put it back to the same screen field when ever a line item is entered.
    To do this we found a BADI CRM_SERVICE_I_BADI which triggers when ever we enter line item. We tried many FM which retrieves item level dates from buffer CRM_DATES_READ_MULTIPLE_OB; CRM_DATES_READ_SINGLE_OB;
    CRM_DATES_READ_SINGLE_OW;
    Most of them are returning all the dates except first response. No configuration issues. Can anyone help me how to get the first response date during creation.
    Thanks
    Vamsee

    Hi Vamsee,
    Do you happen to know the solution? We have similar issue too as we can not retrieve the new entered dates and process it in BADI CRM_SERVICE_I_BADI.
    I would appreciate your reply if you have a solution.
    Thanks,
    Bin

  • Sales Order confirmed date in work days

    Is there a way to change configuration so a Saler Order will confirm based on the Factory Calendar??
    I created a new Order Type (VOV8) but see no option to change from calendar days to work days.
    Bascially, I need the sales order confirmation date to be based on work days and not calendar days. 
    Is this possible???

    Hi,
    Sales Order is created for particular Sales Area i.e. SO + DC + Div. And Sales Org. is the highest org unit in SD.
    At Sales Organizational level you maintain Sales Org calendar and not factory calendar.
    Factory Calendar is basically used at plant level which comes under MM module.
    So, by SAP std practice i dont think it will be possible..............
    Or you can do one thing that is,........maintain the same sales org calendar as factory calendar..........so i think it will help you....
    But can you elaborate you point so that we can understand properly.............
    regards,
    Sagar

  • Sales orders flow - dates difference

    Dear All,
    I need to build a model for a report which needs to have the days difference between the sales order creation date, delivery date, goods issue date  and billing date. The lowest level of detail should be the Sales Order/Item and one Sales Order/Item can origin different Delivery Items.
    Base on this, i'm wondering how can i model this scenario...
    Do you have any suggestion?
    Thanks in advance and best regards,
    Nuno

    Hi,
    I need to build a model for a report which needs to have the days difference between the
    Sales order creation date,
    Delivery date,
    Goods issue date ,
    Billing date.
    In your question you didn't mension what differences you need
    Eg:
    Sales order creation date - Delivery date
    Goods issue date - Billing date
    Sales order creation date - Billing date
    Delivery date - Goods issue date
    Like what combination you need?.
    Steps:
    Bring all InfoObejcts into Cube and once youn have all required InfoObecjts in your cube then in reporting level you can play like any thing. So first bring all Dates data into Cube. Use 0SD_C03 InfoCube with relavent datasources.
    Then Use Formula Variables with Replacement pathes and then do simple Substractions at reporting level. Your problem is resolved.
    See the below Article how I'm calculating Age of teh Material. Here I'm using Custome Exit Variable to get teh System Data, but in your case you don't need it, you just use Formula Variable with Replcemet Path and replace with Date and then do Substartion.
    Calculating the Ageing of the Materials
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/a-c/calculating%20the%20ageing%20of%20the%20materials.pdf
    https://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
    Thanks
    Reddy

  • 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

  • Custom ATP Check using Variant Configuration Data in sales order

    I have a requirement to modify the standard SAP ATP check by including the variant configuration data entered on a item.  Standard SAP does not use/include the characteristics data when doing the ATP. None of the available user exits would allow me to do this.
    The scenario is the client has a configurable product that exist in inventory as one item, base unit as IN2.  The batches that exist in inventory have the characteristics of width and length.  The order data specifies a width and a length, they need the ATP to identify the availability based on the characteristics of the batch.
    The solution was to present the user with a list of batches based on the characteristics that meet the criteria.  The user would then have the option of choosing one of the batches which would mean that the line item would include the batch #.  If the user does not want any of the batches, they could choose to select a Make to Order option, which would change the item category of the item, so that it creates a production order upon saving the order.
    The problem I am having implementing this solution is I have not been able to identify the internal table(s) that contains the characteristics data in SAPMV45A after the configuration screen is called.  If anyone knows where that information is during the sales order processing, it would be greatly appreciated.

    Hello Jean,
    Have you managed to find a solution as yet? I know you have not received any replies but am hoping you were able to resolve the problem as we are facing the exact issue on our project.
    Please let me know,
    Thanks,
    Tanya

  • An error was encountered trying to retrieve configuration data.

    Hi All,
    I need help on this please,
    I am getting below error when I am trying to create DAD.
    An error was encountered trying to retrieve configuration data.
    Failed to initialize configuration parameter ApacheMainServer.. Entity not found. Resolution: Entity not found Base Exception: oracle.ias.sysmgmt.repository.plugin.advanced.apache.parser.ParserException Error scanning D:\OraHome_1\Apache\Apache\conf\httpd.conf. Start quote at line 346 column 12 does not have ending quote. Error scanning D:\OraHome_1\Apache\Apache\conf\httpd.conf. Start quote at line 346 column 12 does not have ending quote
    Can anyone please help me how to avoid this?
    Thanks,
    Swathi.

    Please paste the DAD entry here for review and the file name and version of your AS.
    regards

  • Configuration data on sales order not update with idoc ORDERS05

    Hi All,
    I'm trying to post Inbound ORDERS05 to create a sales order with configuration data. In particular i'm using the messsage type ORDERS, process code J3AA (identification J_4A_IDOC_INPUT_ORDERS).
    On the IDOC tree, segments E1CUREF,E1CUCFG,E1CUINS,E1CUVAL are correctly valorized.
    It is creating the order but not updating the configuration data, can someone please let me know if there are other fields/Segments that need to be populated in order to get the config updated in the sales order ?
    Thanks
    Piergiorgio

    Hi ,
    I am facing similar issue ( Configuring data in orders idoc )
    Please give  your inputs if your successfully
    Thanks,
    Raghu..

  • Configuration data in sales order

    Hi,
    I want to create a customised report for the configuration data (characteristic & its assigned value) against each line items of a sales order.
    Request you to let me know what what are the tables & fields to be captured for the config data in a sales order.
    Regards,
    Rajesh

    Hi,
    Try this logic
    1) Pass the inputs like Material Number or Plant or Created on to VBAP table to fetch sales item related data along with CUOBJ. This CUOBJ will hold the configuration value set.
    2) Pass this CUOBJ number to FM VC_I_GET_CONFIGURATION which retuns configuration value set ( Char + Char values)
    3) Print the output in ALV form with all the data needed corresponding to each sales  order item
    Hope this will help
    Regards,
    Brahmaji D

  • Need Suggestion to Stage Process Order related data

    Hi All,
    Could anybody help me by providing the solution or suggestion for the problem which I am describing here. The problem is like to stage the process order related data (which are downloaded from SAP ECC for sending to machine data base or confirmed by machine data base which will be sent to SAP ECC) can we use NetWeaver Data Base by creating separate tables or by creating separate schema in NetWeaver DB or we will go for separate DB to stage all transactional data of Process Order.
    Thanks in Advance.
    Chandan

    Hello Chandan,
    1) Yes you can use underlying Netweaver DB either by creating new tables or by creating new schema but as per MII best practices it is Not Recommended because by mistake you might end up affecting the NW and MII configurations
    2) There is no hard and fast rule saying you must stage Data but it is very good if you do it because,
                           a) Your data will be buffered when SAP is down
                           b) Faster processing
                           c) Ability to perform more analysis on data through many drill downs to sub-levels
    3) I would recommend going for a separate DB to stage all your SAP Data (both for sending or receiving data from ECC)
    Hope this helps!!
    Regards,
    Adarsh

  • Need to retrieve data from IBM Travelstar Hard drive from G3 Powerbook

    The only problem is the G3 I had is broken, i now have a Macbook Pro Intel and need to retrieve the data from the old Hard drive.
    I have removed the drive from the G3 but is it possible to connect it to my Macbook pro?
    I'm considering buying an old G3 and fitting it to that then using target mode to retrieve the files.
    Mac Book Pro 17" Intel   Mac OS X (10.4.7)  

    The most cost-effective solutions may be one of the external drive adapters such as the one from Newer Tech.
    I'm considering buying an old G3 and fitting it to that then using target mode
    Just FYI, G3s do not support target disk mode. You'd have to have an AGP G4 or later.

Maybe you are looking for