How to pass delivery date through BAPI while creating a sale order

Dear frndz,
     I am using 'BAPI_SALESORDER_CREATEFROMDAT1'
to create a sale order .
    I don't have any problem..
    But I have to pass schedule line delivery date through this bapi .
   I used REQ_DATE in structure BAPISCHDL.
   But I can' t get it.
   Through which parameter can i meet this..
   The sale order should be created line item wise along with my delivery date..
  Any suggestions...
regards.
siva

Dear frnd,
    Danq for your response..I can't use DLV_DATE for this requirement..
    But I used REQ_DATE in the structure BAPISCHEDULE .
   I came to know that the problem i faced previously  was only
internal data conversion.
    Now am able to pass my delivery date..
    so I am closing the thread..
Regards.
siva

Similar Messages

  • Mapping datas from idoc while creating a sales order.

    Hi Friends,
    From the idoc i want to fill the field 'YOUR REFERNCE' in the tag ORDER DATA at header level while creating a sales order. From which segment i can find the datas for that field.
    Your answers will be valuable.
    Thanks,
    Bestin
    Edited by: Be$t!N on Aug 26, 2009 4:41 PM

    Hi,
    You can find the Your Reference field in the segment E1EDKA1 and the field name is IHREZ.  This Your reference field is at the Partner level. This is a standard field.
    If you can let me know at which place you want this field to be populated then we can find another suitable field in the IDOC.
    Thanks,
    Mahesh.

  • How to resolve the issue of route while creating a sales order using IDOC

    Hi,
    When I am creating a sales order mannualy the the route is correct and matching  also but while using IDOC try to create a sales order then the route is showing wrong.
    I tried to debug the program SAPMV45A but I am not getting anything.
    Could any body help me on this.
    Waiting for quick response.
    Best Regards,
    BDP

    Hi Bansidhar,
                 You need to debug the Function Module thats assigned to your Process code.
                 In standard config for Sales Order, Process Code ORDE is assigned to FM IDOC_INPUT_ORDERS. And this FM uses Call Transaction Method to create Sales Orders. SO you can  debug this FM.
               Hope this helps you solving the problem.
    Regards
    Srikanth  M

  • Error while creating the sales order using Proxy

    Hi Folks,
    I am trying to create a Sales Order using Proxy via BAPI "BAPI_SALESORDER_CREATEFROMDAT2" :
    and i got this type of standard error message
    <Message>FB call: insufficient parameters</Message>
    few days back only i used the same bapi for creating the Sales Order and did it successfully...using the same parameters
    I don't have any clue about this type error .
    Kindly guide .
    Regards,

    Hi Nikhil,
    How refreshing the cache and restart the server will help ?
    basically i am testing the scenario at R/3 end only by generating XML template in SPROXY.
    My ECC 6.0 is on sp 12....I am not sure is it configuration related error or a bug ? as i have used the same code in ECC 6.0 with sp 09.
    regards,

  • Pop-up while creating a sales order using VA01

    Hi Experts,
           i need to create a pop up in transaction VA01 to input a custom field value. i have done that and it is working fine.
    But when we use the Sales order create BAPI to create a sales order the pop-up still appears.
    This is not required.
    I need to pop-up only for online execution.
    I have checked that parameters of T180 and it is same in both cases.
    Even sy-batch does not help.
    Please suggest how i can avoid this.
    Thanks & Regards,
    Amit

    Hi,
    Check SAP Note 209278 - Display of customer-specific fields in sales doc for mantaining your own fields,
    Regards,
    Eduardo

  • Material Listing Error while creating the sales order

    Hi Guru's
    I have mantained a material in the lisitng for A002 combiantion for SO/DC/Pric. ref. material
    While creating the sales order is throwing an error as material is not listed so the transaction is not possible.
    I have done the basic invetingation on the folowing aspects
    1)checking the material in the listing
    2)Validity periods
    3)Material not blcoked
    4)Mateial is extened for the respective sales org
    Kindly help ASAP.
    Thanks & Regards
    Tarakaram

    Dear SAP SD 007
    I can confidently tell that an enhancement or an user exit has been applied in your scenario
    You have to check that
    Normally when creating a sales order with respect or referring billing documents the qty will be in editable mode and it is standard problem
    Your people has solved the standard problem by enhancement
    Usually OR--LF-PGI----F2 (SAY THE QTY IS 25 UNITS)
    Now you are creating returns order with reference to F2 in the return order type Re there is a standard issue that user can edit the qty to 30 from the original 25
    To solve this only your people have used userexit
    Line items and qty greyed out means definately there is some enhancement or user exit applied
    You have to check that
    Regards
    Raja

  • Error while creating the sales order with billing reference

    hi alll
    i am getting error while creating the sales order with billing reference.The line items are coming in grey.I am not able to change the items as well as the quantity field.Can u guide me
    cheers
    shalsa007........

    Dear SAP SD 007
    I can confidently tell that an enhancement or an user exit has been applied in your scenario
    You have to check that
    Normally when creating a sales order with respect or referring billing documents the qty will be in editable mode and it is standard problem
    Your people has solved the standard problem by enhancement
    Usually OR--LF-PGI----F2 (SAY THE QTY IS 25 UNITS)
    Now you are creating returns order with reference to F2 in the return order type Re there is a standard issue that user can edit the qty to 30 from the original 25
    To solve this only your people have used userexit
    Line items and qty greyed out means definately there is some enhancement or user exit applied
    You have to check that
    Regards
    Raja

  • Required delivery date not to be cpoied into sales order from quotation

    My requirement is that required delivery date should not be copied when i create a sales order with reference to quotaion,
    In the sales document types i have unchecked propose delivery date .it works fine while creating quotaion but then when i create sales order with ref to quotation the required delivery date is copied into the sales order which i dint want.
    Kindly guide me on this

    Hi,
    I think if u dont want to copy only required delivery date from QT to OR  you need to write the routine and has to assign in VTAA -Coping requirements.
    if u assign 502 it ill not copy quantiy in schedule lines i think.
    Just ask your ABAPer about 502 , if it work then assign the same to ur document types in VTAA.
    Hope this will helps u
    Regards,
    Ramesh
    Edited by: Ramesh on Mar 30, 2009 11:25 AM

  • How to put the value in Header test while creating the sales order

    Hi ,
    I am creating the Sales order using the Idoc Orders05 .
    I have to pass the value in the header text 1. the value is a transaction id which is a string value.
    If anyone has an idea how to do this using the the Orders Idoc. it would be a great help
    Thanks
    Nikhil

    If you have access to idoc before calling the processing Function module, Adding header text segments E1EDKT1 and E1EDKT2 to the idoc will create the header text.
    Regards
    Sridhar

  • How can we  prevent the PO while creating the sales order

    Hi All,
    How can we prevent the PO number while creating sales order with existing PO. I have checked the box in sales document type as A but still im able to create sales order with same PO.
    Thanks in advance.
    Naveen

    Hi
    In VOV8 check the box
    Check Purchase Order Number
    The purpose of this field is to check for duplicate
    purchase order (PO) numbers during sales order entry. When you select A in
    this field, SAP gives a warning message during sales order creation if another sales
    document for same customer with the same PO number exists already. Leave this
    field blank if you do not want SAP to check for duplicate PO numbers.
    regards
    Prashanth

  • Line item data is not saving while creating a Sales order using Interactive

    Hi all,
    I am creating a sales order Using Interactive forms. In the form i am having Header data and line item data.I had created two structures one for Header data and one for Line item data. For entering  the LINE ITEM DATA i had created a Dynamic table with Buttons ADD ROW and DELETE ROW.
    User will Add the Row or Delete the Row based on the requirement.
    My issue is When ever the user clicks the SUBMIT button after entering the header data and 3 line items data , Sales order has been created with only first line item and the remaining two line items are not created.
    My Interactive form is like below
    HEADER DATA
    DOC_TYPE
    SALES_ORG
    DIST_CHN
    DIVISION
    PURCH_NO
    PARTN_ROLE
    PART_NO
    LINE ITEM DATA
                             ITEM_NO      MATERIAL          PLANT          QTY        COND_TYPE            COND_VALUE
    ADD ROW
    DELETE ROW
                                                                                    SUBMIT
    My  code for the method ONACTIONCLICK is like below
    method ONACTIONCLICK .
    data:
          Node_Adobe       type ref to If_Wd_Context_Node,
          Node_Zsaleheader       type ref to If_Wd_Context_Node,
          Elem_Zsaleheader       type ref to If_Wd_Context_Element,
          Stru_Zsaleheader       type If_Main=>Element_Zsaleheader,
          Node_Zsaleitem       type ref to If_Wd_Context_Node,
          Elem_Zsaleitem       type ref to If_Wd_Context_Element,
          Stru_Zsaleitem       type If_Main=>Element_Zsaleitem.
      data: header_data type BAPISDHEAD.
      data: item_wa type BAPIITEMIN.
      data: item_data type table of BAPIITEMIN.
      data: partner_wa type BAPIPARTNR.
      data: partner_data type table of BAPIPARTNR.
      data: sales_order type BAPIVBELN-VBELN.
      data: Errorlog type BAPIRETURN1.
    navigate from <CONTEXT> to <ADOBE> via lead selection
      Node_Adobe = wd_Context->get_Child_Node( Name = IF_MAIN=>wdctx_Adobe ).
    navigate from <ADOBE> to <Zsaleheader> via lead selection
      Node_Zsaleheader = Node_Adobe->get_Child_Node( Name = IF_MAIN=>wdctx_Zsaleheader ).
      Node_Zsaleitem = Node_Adobe->get_Child_Node( Name = IF_MAIN=>wdctx_Zsaleitem ).
    get element via lead selection
      Elem_Zsaleheader = Node_Zsaleheader->get_Element(  ).
      Elem_Zsaleitem = Node_Zsaleitem->get_Element(  ).
    get all declared attributes
      Elem_Zsaleheader->get_Static_Attributes(
        importing
          Static_Attributes = Stru_Zsaleheader ).
      header_data-DOC_TYPE = Stru_Zsaleheader-DOC_TYPE.
      header_data-SALES_ORG = Stru_Zsaleheader-SALES_ORG.
      header_data-DISTR_CHAN   = Stru_Zsaleheader-DISTR_CHAN.
      header_data-DIVISION = Stru_Zsaleheader-DIVISION.
      header_data-PURCH_NO = Stru_Zsaleheader-PURCH_NO.
      partner_wa-PARTN_ROLE   = Stru_Zsaleheader-PARTN_ROLE.
      partner_wa-PARTN_NUMB = Stru_Zsaleheader-PARTN_NUMB.
       append partner_wa to partner_data.
        Elem_Zsaleitem->get_Static_Attributes(
        importing
          Static_Attributes = Stru_Zsaleitem ).
      item_wa-ITM_NUMBER = Stru_Zsaleitem-ITM_NUMBER.
      item_wa-MATERIAL   = Stru_Zsaleitem-MATERIAL.
      item_wa-PLANT = Stru_Zsaleitem-PLANT.
      item_wa-REQ_QTY = Stru_Zsaleitem-REQ_QTY.
      item_wa-COND_TYPE   = Stru_Zsaleitem-COND_TYPE.
      item_wa-COND_VALUE = Stru_Zsaleitem-COND_VALUE.
      append item_wa to item_data.
    CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT1'
      EXPORTING
        ORDER_HEADER_IN           = header_data
      WITHOUT_COMMIT            = ' '
      CONVERT_PARVW_AUART       = ' '
    IMPORTING
       SALESDOCUMENT             = sales_order
      SOLD_TO_PARTY             =
      SHIP_TO_PARTY             =
      BILLING_PARTY             =
       RETURN                    = errorlog
      TABLES
        ORDER_ITEMS_IN            = item_data
        ORDER_PARTNERS            = partner_data
      ORDER_ITEMS_OUT           =
      ORDER_CFGS_REF            =
      ORDER_CFGS_INST           =
      ORDER_CFGS_PART_OF        =
      ORDER_CFGS_VALUE          =
      ORDER_CCARD               =
      ORDER_CFGS_BLOB           =
      ORDER_SCHEDULE_EX         =
    endmethod.
    PLEASE SUGGEST ME IF ANY CODE CHANGE IS REQUIRED
    Thanks in advance
    Ajay

    Hi,
    The item data is not read because, the dynamically added rows should also reflect back to the Web Dynpro context. When the user clicks on Add Row, use the Onsubmit event to add a empty line to internal table and then bind it to the context. And if the user removes a row, remove a row from internal table and bind it back to the context.
    You may refer this article.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/802f0ed1-a17a-2c10-7db4-d515a5b047ed
    Regards,
    Runal

  • How to change the currency of the order  while creating the sales order??

    Hi all,
    I am new to this field.I have to create a Sales Order with reference to another
    SO but with different sold to party.Here i also have to change the currency of
    order from dollar to GBP.
    Please assist me to do this.
    Thanks.
    syed

    Hi
    Goto VA01 and try to create the order with reference to the Old order
    and after that order details are copied to the New order then, change the Sold to party and the currency in the Sales order Header and see? whether it allows you to change it or gives some error? then based on that you have to check and do further processing.
    Try and see
    If it won't allows you to change
    then create a New SO with the new sold to and currency and just take the old orders data from VBAK and VBAP tables and enter into the new order fields and save it will be created.
    <b>Reward points for useful Answers</b>
    Regards
    Anji
    Message was edited by:
            Anji Reddy Vangala

  • Problem while creating a Sales Order from RFC

    Dear All,
    I get an error ( Errror ID "TD" Number "600" ) "Text XXXXXXXXXX000001 ID X106 language EN not found" whenever I try to create a Sales Order for a particular Customer and Material.
    But when I create Manually using VA01 for the same details, a Sales Order is created Successfully.
    The error is coming from the Standard Function Module "SD_SALES_ITEM_MAINTAIN".
    Please let me know if any of you have come accross similar problem and if yes, please provide me a solution.
    Thanks and Regards,
    Dinakaran.R

    Hi Dinakaran,
    How ru passing the values in the RFC????
    pass the item details through the tables option of FM...else it will give the error...
    Regards,
    Vamshi

  • Product allocation error while creating a sales order

    Hi Gurus,
    My client is using the availability check against  product allocation functionality in sales order.while I am creating the sales order and entering the material system is throwing the error message product allocation XXX is invalid,after pressing the enter button system has thrown another error "incorrect index structure for table XMVERF_POS/000010" and unable to save the order.
    I have checked the material master and the product allocation is assigned in basic data 1 view,I have also checked the IMG settings it has maintained and assigned to infostructure.Please let me know is there any config settings are missing related to product allocation.
    Regards,
    hari challa.

    Please check if storage location is populated for the material. Also may be this material is a non-stock material and not relevant for storage location check.. If you have any non-stock items in your order and if you are populating the storage location in the order automatically, then this happens. Please check your code and bypass the check for non stock items.
    Hope this helps
    Regards
    Sai

  • Error while creating a sales order BAPI_SALESORDER_CREATEFROMDAT2

    Hi All,
    I am using the BAPI BAPI_SALESORDER_CREATEFROMDAT2 to create a sales order.
    I am passing all the required fields and also the rejection code at the item level.
    Also I am using a variant configuration material and hence ai am filling the VC config tables.
    When I execute this BAPI it is giving me the error 'Item 000010's configuration can no longer be changed' although configuration is maintained for this material.
    When I try the same case with no rejection code and with VC configuration, the sales order is created.
    When I try the same case again with rejection code and NO VC configuration, the sales order is created.
    When I maintain both the rejection code and VC configuration I am getting the error.
    Does anyone have any idea what is causing this error or I am supposed to populate any flag in ORDER_ITEMS_INX to get this correctly.
    Any answers will be greatly apppreciated!
    Thanks
    Sandeep

    Sandeep,
    There are a few SAP Notes that you should investigate, some of which you may have already seen.  First, I'd suggest you look at [Note 481102|https://service.sap.com/sap/support/notes/481102] and its three related Notes: [774346|https://service.sap.com/sap/support/notes/774346], [550431|https://service.sap.com/sap/support/notes/550431], [366265|https://service.sap.com/sap/support/notes/366265].
    If these Notes do not help then check if [Note 1099414|https://service.sap.com/sap/support/notes/1099414] has been applied in your system.  If it has been applied, then [Note 1116144|https://service.sap.com/sap/support/notes/1116144] might solve your issue.  If neither of these two notes are applied, then it could be that they both need to be applied.  However, if both notes are already applied, then you may want to consider opening a customer message with SAP.  Since these two SAP Notes are relatively new, it makes me think that you might have discovered a related error that has not been reported to SAP yet.
    Best Regards,
    Jamie

Maybe you are looking for

  • Dhcdbd no longer available.

    Howdy, I've noticed that the package dhcdbd is no longer available in the repo's. Is this something I should leave installed or should I remove it? I know there was a recent upgrade to network-manager, has this effectively taken over what dhcdbd did?

  • Jukebox Zen Xtra - "Harddisk Probl

    So tonight I brought my Zen home and plugged it into my computer to add some new music when I realized it was no longer working. I had been playing music earlier today. Now however, it boots, freezes at the welcoming screen of EAX, and then reverts t

  • Database recovery from the server backup - 10g Oracle with Linux

    My server OS is Linux and nightly we are taking a whole logical volumes backup as it is and databses are not shutdown. so i would like to know how much worth keeping this copy in recovery purposes as it is taking few hours to copy all daily. If some

  • Outlook crashing whilst searching secondary mailbox (non cached)

    Hello, We are experiencing an issue where outlook is crashing when searching a secondary mailbox. This mailbox is accessed by 4 people, and they all experience the same issue. Initially, the mailbox was running in cached mode, but now the primary mai

  • Is the Waveburner UPC/EAN bug fixed in Logic 9?

    Still on Logic 8 in OSX10.5.8 over here. Anyone seen this? In Waveburner, I go to (Disk->Disk Options->) I enter the UPC code for the CD I'm authoring. I click OK. I go back to it (Disk->Disk Options->) It's not there. Has this been fixed in Logic 9?