Sales Order with Variant Configuration

I´m trying to create a Sales Order with Variant Configuration.
First, I tried to create the order with the BAPI SD_SALESDOCUMENT_CREATE but It would not let me update characteristics.
Then I separated into two BAPI's:
SD_SALESDOCUMENT_CREATE to create Sales Order and  BAPI_SALESORDER_CHANGE to modify the characteristics.
I run the two SAP BAPI's from SAP and create the Sales Order and make the characteristics correctly, but when I try to invoke from The Middleware the message  V1 555 The sales document is not yeat complete  is displayed and does not update the characteristics.
Both functions are such as Remote-enabled Module.
The remote user profile is SAP ALL
Reviewing where the message is used, I see that the message is in the include MV45AF0B_BELEG_BEARBEITEN_ENDE
IF DA_LINES> 0 AND
SY-NE SPACE AND BINPT
CTU_AMODUS BI_INFO-NA 'A' AND
CATTAKTIV IS INITIAL.
MESSAGE I555.
ENDIF.
Do you have any idea why since Middleware is not working?.
Best Regards.
Blanca Segovia.

Hi Diwakar
I changed the creation of Sales Order using only SD_SALESDOCUMENT_CREATE and using Commit Work and it is the same, running the function from se37 create the Sales Order and make the characteristics correctly, but when I try to invoke from The Middleware the message V1 555 The sales document is not yeat complete is displayed and does not update the characteristics.
I Open that Sales order in VA02 and check 'Incompletion Log'  the screen show 1 Configuration, I Open the tab of the characteristics without changing the characteristics and only save, then the status changes to Complete document.
You give me another idea that could be happening?
Thank you very much.
Blanca Segovia.

Similar Messages

  • BAPI/FM in ECC to create a sales order with variant configurable material

    Hi all,
    I need to create a function module that creates a sales order in ECC with a variant configurable material.
    can some one tell me if there is a in built function module or BAPI that i can make use of to create a sales order with variant configurable material in ECC.
    Regards,
    Jessica Sam

    Thanks MxG,
    I dont know how to use this BAPI. .Can you suggest me a sample code.
    My reqmnt is, i have
    Sold to party, ship to party, bill to party , VC config material and all char values that should be populated while creating a sales order.
    please help me with what values should i populate in i/p paramters and and how to use this BAPI with some sample code if posible.
    Regards,
    Jessica.

  • 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

  • BAPI/ FM in CRM to create a sales order with variant configurble material

    Hi All,
    I need to create a sales order using variant configurable material in CRM not manually through GUI. I need to develop a function module that will create sales order using variant configurable material in CRM .
    Can some one tell me if there is an in-built BAPI/Function Module availabe in CRM to create sales order using variant configurable material in CRM .
    When i researched i found that there is a BAPI 
    BAPI_BUSPROCESSND_CREATEMULTI which can create a sales order in CRM.
    I dont know if this can create a sales order with varinat configurable material in CRM
    can some one guide be how i can build a function module in CRM which generates a sales order with variant configurable material.
    Regards,
    Jessica Sam

    Jessica
    I am not a CRM expert and am still learning. But you can try the BAPI CRMXIF_ORDER_SAVE and see if that helps.
    Good Luck
    Ram

  • Regd : Error during saving the  sales order for Variant configuration

    Hi -
    When the item( config material) is saved in the sales order , system scheduled the production order and getting an error as " Posting Rule for Assembly order for item 000010 could not be generated".
    Any solutions regarding the error.

    Hi,
    This is the process of Assembly to order with variant configuration. In material master, you can maintain gen item category 0002 (configurable material) in basic data view, sales 2 view item category grp 0002 and strategy group 82 in MRP 3 view. After creating of material master, BOM & Routing, You can create sales order in VA01 transaction.
    In this VA01, When you create sales order, system will check material availability, capacity checking and system will show variants for each items. And also when you will save the sales order, system will create production order no immdiately.
    So you can maintain the above settings compulsory.
    please let me know any clarification.
    Regards,
    Mohan

  • BAPI for Creating Sales Order For Variant Configuration Materials

    Dear Gurus,
    Before posting this thread, we have referred many SDN threads, OSS notes and other sites for any sort of help..but no success..All threads and other referrals are not much of help as they are kind of incomplete( Perhaps, we are unable to understand them..no offense).
    Few checked threads on this subjects are:
    http://scn.sap.com/thread/34590
    http://scn.sap.com/thread/851070
    http://scn.sap.com/community/abap/blog/2014/04/23/update-vc-variant-configuration-data-using-standard-bapi-in-sales-order
    http://scn.sap.com/community/abap/blog/2014/07/15/creating-orders-with-variant-configured-items-using-bapisalesordercreatefromdat2
    http://scn.sap.com/community/abap/blog/2014/04/23/update-vc-variant-configuration-data-using-standard-bapi-in-sales-order
    http://scn.sap.com/thread/120144
    OSS: 549563
    Well, we're using the BAPI (BAPI_SALESORDER_CREATEFROMDAT2) which creates the sales order successfully but without the characteristic values in line items.
    We're passing data to the following parameters - ORDER_CFGS_REF, ORDER_CFGS_INST, ORDER_CFGS_VALUE to create the variant config but not able to see it getting created.
    Pls find attached BAPI coding document for your reference.
    If you could throw any light on this issue will be of great help for us.
    Thank You in Advance!!!
    Reg,
    Jagan-SD.

    Jagan nath
    Try below.
    you would need miimum of 3 segments to pass variant config data using this bapi
    ORDER_CFGS_REF for each configurable item
    POSEX = ITEM #
    CONFIG_id , root_id - Start with 1 and increment it for each configurable line item
    ORDER_CFGS_INST
    CONFIG_ID - from above
    INST_ID - Start with 1 and increment it for each configurable line item
    OBJ_TYPE = "MARA'
    CLASS_TYPE = '300'
    OBJ_KEY = material #
    ORDER_CFGS_VALUE
    CONFIG_ID for the item, INST_ID for the item
    charc for characteristic value
    VALUE for characteristic value
    Reference thread
    How to Fill Configuration Data in BAPI BAPI_SALESORDER_CREATEFROMDAT2
    Hope it will solve your issue.
    Thanks
    Ritesh

  • Create a production order with variant configurator data

    Hello,
    Can anyone tell me the way to create a production order with variant configurator data. Is there a BAPI ? an IDOC ?
    Is there several steps ?
    I have to create an interface which creates automatically PP orders. The data input is a file.
    Thanks for your help

    Hi,
    There are fews BAPI's available for creation of Production Order. They are:
    BAPI_PRODORD_CREATE
    This bapi will suit to your requirement, as input will be provided from file.
    Others are
    BAPI_PRODORD_CREATE_FROM_PLORD " this converts planned order to production order
    BAPI_PRODORD_CREATE_FROM_REF      " this creats production order considering other production order as reference.
    Hope your query is answered.
    Regards,
    Brajvir

  • Process order with variant configuration material

    Hi,
    I create a process order for a material XX.
    This material has a BOM with a material that has variant configuration "class type 300" for price configuration.
    When I save the process order I get a message saying "There are still characteristics for components to evaluate". I dont want to evaluate this material in my process order.
    What can I do to not have this message?
    Regards.

    Hi all,
    Yes, I work with variant configuration. But sales orders are not involved.
    What I do is:
    1) I create a purchase order for material X (this material belongs to a BOM), this material has variant configuration. I give a value to the characteristics in the PO.
    2) I create a process for a material XXX that has a BOM (material X is in the BOM and cannot be removed).
    3) When I save the process order the system asks me to evaluate again the characteristics. This is what I dont want it to do.
    Any ideas?
    Regards.
    Eduardo

  • BOM explosion in sales order  in variant configuration?

    Hi All,
    After searching all threads iam posting this .
    My requirement is
       In sales order the material(ZDESKTOP) which has been created in KMAT with item caragery gruop 0002(Configuration) has compenents like PROCESSESOR,DRIVE,KEYBOARD,STORAGE,MEMORY,etc where again each components have 3 varieties(values).while creating sales order the components and picking of values is running well.THE GREEN LIGHT IS ON IN VARIANT CONDITIONS.pricing is picking for variant conditins(values)
    These values are stockable items which i created as semifinished.
    item catagery TAC is determined.
    Now my problem is the values(sub-items) which are attracted pricing should reflect as sub items of ZDESKTOP.
    I have created a BOM also for ZDESKTOP.
    I HAVE GET ONLY THE PRICED VALUES AS SUB-ITEMS.
    HOW TO DO THIS SCENARIO?
    Need Help.
    Regards,
    Reddyy
    Edited by: REDDYY SD on Feb 4, 2009 12:51 PM

    Hi
    check your Item category group in material master , sales org view, if it is 0002 Configuration this material use for varient configuration, but your case it may be LUMF  (Structure/mat. below) it used for sub item price.
    It is , one of the reason.
    Regards
    Paulraj.S

  • User Exit - VA01 / VA02 Sales Order, using Variant Configuration Fields

    Hi,
    I'm doing a user exit for creating / changing a sales order (VA01/VA02), and in my program I'm trying to use the characteristic values in variant configuration: Extras -> Configuration.
    I know there's a whole bunch of data in SAPMV45A, but I can't seem to find what I need. Structure RV45A is the closest I can find, but the characteristic name / value fields appear empty during the execution of the user exit.
    Any help would be greatly appreciated.
    Thanks!

    R u creating your own user exit or using the ones which are available for VA01/VA02?
    If you can use existing ones, to get the more details abt them, please have a look at below link.
    http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm
    I hope it helps.
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • Get Classification status of item in Sales Order for variant configuration

    Hi Experts,
    I want to get the classification status against the variant configuration of item in sales order.
    When i enter the sales order in VA03 , at the item level, I select the item and click on item configuration icon below.
    Here I can see the variant configuration. Now if I do not maintain the configuraiton correctly, then the classification status shows either locked or incomplete. When it is properly maintained  it shows released. ( When it is locked, the classificaiotn status shows a red signal at the left bottom corner).
    My requirement is to capture this classification status at the item level of each Sales Order.
    How can I get this.

    Hi!
    try this code:
    * Initialization
      CALL FUNCTION 'CUDB_INIT'.
      CALL FUNCTION 'CE_C_INIT'.
    * read configuration from database
      CALL FUNCTION 'CUCB_GET_CONFIGURATION'
           EXPORTING
                instance                     = vbap-cuobj
           IMPORTING
                configuration                = gt_configuration
           EXCEPTIONS
                invalid_instance             = 1
                instance_is_a_classification = 2
                OTHERS                       = 3.
      IF sy-subrc <> 0.
        WRITE: /'   No configuration data found!'.
        EXIT.
      ENDIF.
    * only sinlgle-level configuration possible
      READ TABLE gt_configuration ASSIGNING <gs_instance> INDEX 1.
    * get and show status
      SELECT SINGLE * FROM tclc WHERE
           klart EQ <gs_instance>-conf-klart
           AND statu EQ <gs_instance>-conf-cstatus.
      FORMAT COLOR COL_NORMAL.
      IF tclc-frei = 'X'.
        WRITE: /'Status:', icon_green_light AS ICON.
      ENDIF.
      IF tclc-gesperrt = 'X'.
        WRITE: /'Status:', icon_red_light AS ICON.
      ENDIF.
      IF tclc-unvollstm = 'X' OR tclc-unvollsts = 'X'.
        WRITE: /'Status:', icon_yellow_light AS ICON.
      ENDIF.
      FORMAT COLOR OFF.

  • Sales Order with Product Configuration - Reporting in BW?

    Hello,
    Do you know how this works? is there an SAP BBlock on this matter?
    I'm involved in an CRM upgrade project, to Ehp1, and it was decided that the products would now have to be configurable.
    XCM was successfully setup, configuration process is working great,  and now we need that data visible in BW when reporting on Sales orders, quotations, and opportunities.
    Thank you in advance for any help,
    Best regards,
    D

    Hi Diwakar
    I changed the creation of Sales Order using only SD_SALESDOCUMENT_CREATE and using Commit Work and it is the same, running the function from se37 create the Sales Order and make the characteristics correctly, but when I try to invoke from The Middleware the message V1 555 The sales document is not yeat complete is displayed and does not update the characteristics.
    I Open that Sales order in VA02 and check 'Incompletion Log'  the screen show 1 Configuration, I Open the tab of the characteristics without changing the characteristics and only save, then the status changes to Complete document.
    You give me another idea that could be happening?
    Thank you very much.
    Blanca Segovia.

  • BAPI_SALESORDER_CREATEFROMDAT2 for creating sales orders with configurable

    Hi All,
    I want to create sales order with a material which in turn triggers a configurable network order.
    I am using the following BAPI : BAPI_SALESORDER_CREATEFROMDAT2.
    After reading the "[Variant Configuration (LO-VC)|http://help.sap.com/printdocu/core/print46c/en/data/pdf/lovc/lovc.pdf]" documentation, I thought I had to populate the
    following tables ORDER_CFGS_REF, ORDER_CFGS_INST and ORDER_CFGS_VALUE.
    The call function return no errors and the sale order is well created. However, I have no values in the network.
    If I created a sale order in VA01, a network is created with value. So the customizing is good.
    Do you have any idea how to populate this tables ? Sample code will be very helpful.
    We found in this forum a lot of sample code about configurable material, with obj_type populate with MARAu2019. But no example with configurable network.
    Actually I complete these tables like this :
    " E1CUCFG
      ls_order_cfgs_ref-posex = '000010'.
    *  ls_order_cfgs_ref-config_id = '000010'.
      ls_order_cfgs_ref-config_id = '000001'.
      ls_order_cfgs_ref-root_id = '00000001'.
      ls_order_cfgs_ref-complete = 'T'.
      ls_order_cfgs_ref-consistent = 'T'.
    *  ls_order_cfgs_ref-cbase_id = '4ECADFC4BE9F03A6E10080000AC4AB76'.
    *  ls_order_cfgs_ref-cbase_id_type = 'G'.
      APPEND ls_order_cfgs_ref TO lt_order_cfgs_ref.
    " E1CUINS
      ls_order_cfgs_inst-config_id = '000001'.
      ls_order_cfgs_inst-inst_id = '00000001'.
      ls_order_cfgs_inst-obj_type = 'PLKONET'. u201C(in replacement of MARA)
      ls_order_cfgs_inst-class_type = '300'. u201C(or 020).
      ls_order_cfgs_inst-obj_key = '01000000801'.
      APPEND ls_order_cfgs_inst TO lt_order_cfgs_inst.
    " E1CUVAL
      ls_order_cfgs_value-config_id = '000001'.
      ls_order_cfgs_value-inst_id = '00000001'.
      ls_order_cfgs_value-charc = 'XXXX'. u201C(corresponding to Flag DTA)
      ls_order_cfgs_value-charc_txt = 'Flag DTA'.
      ls_order_cfgs_value-value = '0'.
      APPEND ls_order_cfgs_value TO lt_order_cfgs_value.
    Thanks,

    Have a look to OSS-Message 567348. There is sample coding for using BAPI_SALESORDER_CHANGE, but the parameters should be the same to yout BAPI
    Best regards
    Torsten Manhardt

  • Sales order costing for Configured Material (Material Variant Not KMAT Mat)

    Hi All
    For a Configured Material (Variant) (Not KMAT Material), which is having Std price costed.
    But if we create a Sales Order for the Configured Material, what options are availale to Execute Sales order costing and take the sales order value to COGS during Delivery.
    The reason being Client wants to Cost BOM items are price which is different from the Price used in Std cost estimate due to Price Volatility.
    I can understand we can do this in KMAT, but not sure how to do in Conifgured material. We can execute sales order costing and get Statistical cost value in EK02/EK01, but how to get this value posted during PGI..?
    Thanks
    Aravind

    Hi Ajay
    Even if i maintain M in Valuation filed, my Material Variant HALB material is already having standard cost in its material master and it is picking the std cost during PGI Delivery and hitting COGS A/c.
    Now how to get my sales order costing to real and post my sales order costing value to GI..this is the client requirement.
    Due some complication KMAT is not used and logistics go with Material Variant

  • Configure-to-Order (CTO) Production with Variant Configuration and Assembly

    We are trying to create a Configure-to-Order (CTO) Production with Variant Configuration and Assembly Processing.
    I have set up the required master data for variant configuration which is working fine in a sales order. I have used startegy group 82 in the MRP view of the material master for Finished goods/header material. A production order with BOM explosion is getting generated automatically during the creation of the sales order.I have stock of components available. Uploaded using 561 movement type (unrestricted stock).The requirement class that is being determined is 201.
    ISSUE:
    Availability check of the components in the production order that is getting automatically generated during sales order creation is failing. The components are not getting confirmed inspite of initialising the stock of the components in the plant we are using.
    I am looking for pointers on the important settings related to the availability check in Configure to Order scenario that have to checked to resolve this issue.
    TIA

    Hi,
    Availability check controls for Production order will be done in OPJK for plant , order type combination. Based on the settings either for creation or release system will carry Availability check of components. you can set the controls such that release can be possible even if parts are missing.
    If you have settings to restrict the release if components are missing and there is stock in unrestricted, then you need to transfer the stock to the sales order using MB1B and 413 movement type so that system can recognize the availability and allow the release of order.
    Based on your requiremnts you can map the settings in OPJK
    Hope this will help
    Regards,
    Brahmaji D

Maybe you are looking for

  • Game center with multiple IDs

    Hi, I have a single iTunes account with all my apps etc. However, I have an iPhone which is mine and and iPod Touch which I let my kids play on. When I upgraded to iOS 5 I now can't seem to get Game Center to login to my account on the iPhone and my

  • Can't run java program with GUI

    My computer can run java program properly. However, for those program with GUI (using swing), my computer is unable to display the GUI. What's wrong with it? Is there any PATH I need to set before running GUI program? Thanks icedgold

  • Url for the 5.1 upgrade ???

    what is the direct url to download the new update for the 5.1   ???

  • DIO - Single Line vs Port (U8) Write

    I have a wierd situation: I am using a NI 6509 Digital I/O card, with 4x digital outputs connected to P2.3 thru P2.6. 1. I setup a task to write to these lines using a group of global virtual channels - all done in MAX. 2. I have used this task/setup

  • Problems Faced with Partitions in Oracle 9i.

    I have a doubt regarding the partitions in Oracle 9i can you please help me regarding this? Create table t1 ( x number, y number, z number); insert into t1 values (1,1,1); insert into t1 values (2,2,2); insert into t1 values (3,3,3); Create table t2