Current Position:Home > Problem in creation of sales order using BAPI

Problem in creation of sales order using BAPI

Update:10-11Source: network consolidation
Hi Guru's,
              I am currently working on Minimum Order Value problem. If the ordered item is less than 5$, the requirement is to add a new material MOV to the existing order by filling the difference amount and making it to 5 pounds. I am using the bapi BAPI_SALESORDER_CHANGE to amend the existing order with the MOV material. The material is getting created successfully and the order is getting amended. When i tried to process the order for billing It shows incompletion log exist. On checking the incompletion log it shows "missing configuration". But when i go to the configuration of the material it shows green sign. <b>The most important thing is the material MOV has 2 configuration profile, I believe there is a confusion in selecting the configuration profile for creation of MOV </b>. I came to know about that problem because when i go to change mode (VA02) and try to check the configuration, It askes me to choose the configuration profile and when i choose the configuration profile incompletion log is cleared. When i save the order and send it to billing the billing happens successfully. Could any one help me on this issue.......
Parameters passed to BAPI for configuration.
   st_order_cfgs_ref-posex = '900010'.            "PM14/06/07
  st_order_cfgs_ref-config_id = '000010'.       "PM14/06/07
  st_order_cfgs_ref-root_id = '10000010'.         "PM14/06/07
  append st_order_cfgs_ref to t_order_cfgs_ref.   "PM14/06/07
st_order_cfgs_inst-config_id = '000010'.       "PM14/06/07
  st_order_cfgs_inst-inst_id = '10000010'.         "PM14/06/07
  append st_order_cfgs_inst to t_order_cfgs_inst.   "PM14/06/07
  st_order_cfgs_refinst-posex = '900010'.       "PM14/06/07
st_order_cfgs_refinst-config_id = '000010'.       "PM14/06/07
  st_order_cfgs_refinst-inst_id = '10000010'.         "PM14/06/07
  append st_order_cfgs_refinst to t_order_cfgs_refinst.   "PM14/06/07
Thanks in advance...

The Best Answer

Did u have a look at the standard programs which make use of BAPI_SALESORDER_CREATEFROMDAT1
Heres a list...
<b>Please mark helpful answers</b>
  • Problem in creation of sales order using BAPI Update:10-11

    Hi Guru's,               I am currently working on Minimum Order Value problem. If the ordered item is less than 5$, the requirement is to add a new material MOV to the existing order by filling the difference amount and making it to 5 pounds. I am u

  • Creation of sale order using bapi in webdynpro using table control Update:10-11

    only first row is getting updated when checked in va03, the line items are not getting replaced, only first row is committed.. Here is the code for table control i used...

  • Problem regarding the creation of sales order using bapi. Update:10-11

    Hai all, I am creating sales order using bapi but i am, get following error messages : TYPE ID  NUMBER MESSAGE E       VP   112       Please enter sold-to party or ship-to party E       V4   219       Sales document  was not changed I have entered al

  • Creation of sales order Using BAPI Update:10-11

    Dear Friends, I need a complete program for Sales order creation using BAPI with all mandatory fields. I got some sample programs from our friends (SDN) but its not working perfectly. ( Complete working copy of Sales order creation using BAPI. ) Plea

  • Dynamic Credit check - problem -Delivery creation from Sales order Update:10-11

    Hi we have a problem which i would appreciate some help with. Sales order is blocked for credit and subsequently released via VKM1 BUT as soon as line item is selected and then Sales document > deliver - the Dynamic credit block kicks in again straig

  • Problem with creation of Sales Order with reference to Contract Update:10-11

    Hi, I have a problem when creating Sales order with reference to Contract , shipping condition was not copied. Is there any existing copy routines suitable to accomodate this? Thanks!your functional team can help you in finding one.Read other 2 answe

  • Problem while creation of sales order Update:10-11

    Hi Experts, I have created customer and i am creating sales order for the same. I am creating it through transaction VA01 and taking order type as OR. Actually i have changed VAT tax for particular sales org. and testing it for order. I insert approp

  • Sale Order Item Quantity Not Populating When Create A Sale Order Using BAPI Update:10-11

    I am having a problem when creating a sale order using BAPI BAPI_SALESORDER_CREATEFROMDAT2 Problem is that sale order item quantity field is not populating code is as follows ORDER_ITEMS_IN-ITM_NUMBER = '0010'. ORDER_ITEMS_IN-MATERIAL = '000000000010

  • Create sales order va02--bapi Update:11-30

    i copied the program to create s.order from wiki, works fine. noew i need to add this item-hg_lv_item  = p_uepos. itemx-hg_lv_item = 'X'. and i get err why?? pls.Hi Stephanie,   Check this following link for creation of sales order using bapi: http:/


    I am trying to create Sales Order using bapi function, this is giving me error as mentioned below *Please enter SHIP-TO-PARTY OR SOLD TO PARTY *SALES DOCUMENT WAS NOT CHANGED. it does not GIVE ME THE SALES DOCUMENT NO . The BAPI I am using is BAPI_SA