Issue while developing BDC of Sales Order.

Hi,
While qriting the BDC for sales Order, I am facing problem is the number of materials having same header data is more than 3. Can anyone guide me?

Instead Use BAPI
Check the link Below
link:[BAPI_SALESORDER_CREATEFROMDAT1|http://abaplovers.blogspot.com/2008/02/bapi-sales-order-create-code.html]
link:[Create sale order with reference|http://www.sap-img.com/fu036.htm]

Similar Messages

  • Issue while trying to create Sales Order from Inbound Idoc ORDER05

    Hi All,
    I am trying to create a sales order through an Inbound idoc ORDERS05 created out of a Purchase order. The header pricing conditions from the Purchase orders gets populated in E1EDK05 segment and this needs to go to the Sales order header conditions while trying to create the Sales order.
    But when the fields are getting incorrectly mapped to the Sales order. Issue  being, the segment E1EDK05-BETRG contains the condition value. But this fields gets populated to the KOMV-KWERT (condition value) screen field on the Sales order header conditions. But this should have got mapped to field KOMV-KBETR (Rate). If I look at the Purchase order, E1EDK05-BETRG is the field getting fetched from field KOMV-KBETR on the Purchase order. So this should have correspondingly got mapped to KOMV-KBETR on the Sales order as well.
    This looks like a standard behavior. But if any of you have encountered this issue before please let me know if any Correction instructions are available for the same. If this some issue in Pricing conditions configuration, do let me know.

    Hi Paaavan
    You can set a break-point include "FV45PFAP_VBAP_BEARBEITEN_VORBE" that is called by both the SAP Standard and BAPI where the data is prepared and checked in the internal table XVBAP. Compare both SAP standard VA01 and your 'Z' program for what may be different in XVBAP.
    I think the problem my be with regards to the business_object number that is hardcoded in the standard function module. It has given me issues before and hence I tend to use the function module  SD_SALESDOCUMENT_CREATE to create sales documents with.
    Regards,
    Marius

  • Starting AMT FailedI am facing the same issue while opening AMT/Mobile Sale

    Hi All,
    I am facing a issue while opening AMT/Mobile Sales Appl/System Maintenance. I am getting the error saying 'UI_CORE_APPL_LAUNCH_FAILED_STA'. Could anyone out there  please tell me how to resolve this issue?
    I checked the UID and PWD under HKEY_LOCAL_MACHINE\SOFWARE\SAP\MSA\MW\secutiry for IDES DB and they are consistent with the ODBC parameters for IDES.
    Much appreciated,
    Karuna.

    Hi All,
    my issue is resolved. The problem with my issue was the missing entry in the table SMO_AUTH_SYS. I found the note 687679 and ran the report according to it. With that table SMO_AUTH_SYS was populated with the record. Later i was able to connect to AMT and gave the standard role SAP_AMT_USER and since then i am able to log into MSAA application and also MSY application
    My issue is resolved. Thanks for everyone who tried to help me out.
    Thanks,
    Karuna.

  • Budget error while creating delivery from sales order

    hi Gurus,
    System is throwing error PB603 "Item 004 WBS element ABC-XXX budget exceeded" while creating delivery from sales order.
    I am picking material from unrestricted plant stock (not in project stock).
    I am also confused as sales order has 3 line items & error shows Item 004 !

    Hi Kuldeep,
    Check this note,
    Note 159387 - Message BP603: incorrect line item is displayed
    Its valid only till 4.6. Might give you some idea but.
    Regards,
    Gokul

  • Error while creating quotation in sales order verion ?

    Dear All,
    while creating an quotation in sales order version management getting an error.
    Sales Doc. MsgType Message Class        Msg.No. Message text
               E       AM                        53 Specify either address number or address
               W       V1                       555 The sales document is not yet complete:
               E       V4                       219 Sales document  was not changed
    thanks
    vincent

    Dear Vincent
    May be this is related ABAP Issue please check with them because i found same issue
    "BAPI_SALESORDER_CREATEFROMDAT2" - getting error while executing in se37.
    "Specify either address number or address handle " BAPI_SALESORDER_CREATEFR

  • Update terminated error while doing changes in sales order

    Hi
    We had found below error message while trying to save a sales order
    RV_sales_document_update
    Report-LV45UF0V
    Row 265
    Error details-SAPSQL_ARRAY_INSERT_DUPREC-671
    This had happened for 2 sales orders alone..
    "SAPSQL_ARRAY_INSERT_DUPREC" "CX_SY_OPEN_SQL_DB"
    "SAPLV45U" or "LV45UF0V"
    "VBEP_BEARBEITEN"
    We are not using any user exit for VBEP...
    Can u please tell us how to overcome this error
    Regards
    Sudha

    How was it solved ? I have the same Issue.
    << Moderator message - Everyone's problem is important. But the answers in the forum are provided by volunteers. Please do not ask for help quickly. And consider opening your own thread on this >>
    Thanks
    Abhinav
    Edited by: Rob Burbank on Jan 12, 2011 4:08 PM

  • Termination Issues in VL01N reference with Sales Order

    Hi Group,
    we were facing issues while creating the Delivery(VL01N) with reference of the Sales Order and getting an Express termination message as under:
    'Enter a Batch'.
    we found information with tcode 'SM13' with the Function module 'RV_MESSAGE_UPDATE'.
    kindly provide your valuable inputs.
    Regards,
    Vishnu

    There can be various reason for these kind of termination. Normally this due Number range overlapping or Object requested is currently locked by some other user. If you have used TCode SM13. Then you might have checked the reason why the 'Termination' Message appeared. So, there you can check ABAP run time errors is cause. If you can post :
    - Status
    - Class (mandatory)
    - Number (mandatory)
    - Error Details
    In that case, we will be in better position to assist you.
    Regards
    JP

  • Post Goods Issue - Tracing backward to update Sales Order & Delivery Docs

    I have a requirement as follows. I need to do a Sales Document change and a delivery document change prior to  goods Issue being done. The situation is to prevent SAP's normal back order processing from kicking off. I am quite confused about which method to use to achieve this. Wether BAPI &/or BDC &/or User Exit ???
    Please help you will be rewarded with points....

    Hello Srinivas
    The business requires that like order line items be consolidated to one line item prior to the order going to the warehouse for picking. this will aid in picking at the warehouse as well as result in the customer invoice not reflecting more than one line item for the same material. In the case where the customer has truly ordered more than a case, i.e. 1 case 2 eaches. The documents in SAP should still reflect 2 line items.
    The business also states that there be a 1 to 1 relationship between sales order and delv note. This means any unconfirmed line items must be closed out after del. note is created for the sales order. The closing out of the sales order will stop SAP from automatically creating a backorder once the unconfirmed line items become available in inventory.
    The business also requires that all partial line items in the delv. due to stock not available at the time of picking (those line items need to be updated) with the pick qty. And the line items which were not picked need to be automatically cancelled out. In addition the order line item must be rejected with a reason code for the line item which were not picked.
    We have a daily IDOC interface which creates shipments and updates delivery qty.
    I hope that clarifies the business. Pls let me know.
    Regards

  • Unable to update the serial number through bdc in Sales Order

    Hi experts,
    I written the inboud FM for to update the 3rd party items serial number to the sales orders through BDC Call transaction Method.
    Here i am facing a problem when i have the 19 item Quan ,it is updating correct through idoc , when ever there is moe than 19 and at that if any serial number repeated for that if i am changing at that time it is loosing the control of the BDC and giving the control to the salesorder screen.
    how can i handle that control again has to come to BDC prgrm......
    Thnks,
    Regards,
    Bharani

    Hi,
    Can you please let me know the segment in ORDERS05 Idoc to process the Payment card information and if the standard Function Module can handle the creation of a Sales Order with data for Payment Card.
    We have a requirement to map the Tokenized Number of the Credit Card send from a store front end to ECC mapping via SAP-PI.
    Thanks in Advance,

  • Issue in schedule lines on sales order

    Hi all,
    While creating a sales order, system is creating schedule lines after two days of order creation. I want that schedule lines should be created for the same date.
    Please suggest that what should I do for this?
    Please respond.
    Best Regards,
    AI.

    hi,
    check whether any delivery scheduling is been maintained
    IMG>SALES AND DISTRIBUTION>BASIC FUNCTION>DELIVERY SCHEDULING AND TRANSPORTATION SCHEDULING>MAINTAIN DURATION
    choose shipping point and remove the "Loading time w.days" and "Pick/pack time wrkdys" if maintained any
    choose route and remove "transit lead time"
    now try with new sales order
    regards
    senya

  • Issue with Delivery Grouping in Sales Order

    Hello Gurus,
    I have a problem in Sales Order (VA01 & VA02). The issue is as follows.
    We have created a material called “FREIGHT” to calculate the Shipping & Handling cost in a Sales Order. This material has no ATP CHECK, so the Material Av. Date (MAD) is determined as immediate or the current date.
    But the business process we want to implement is, the FREIGHT material should not be delivered separately, but should be grouped with one the line items in the sales order which has the earliest material available date and copy the corresponding dates to FREIGHT line item and delivery grouping should be done.
    1. Say 1st line item is a BOM Material, next item is a standalone material (Non-BOM), and 3rd item is FREIGHT material.
    POSNR   Matnr           Qty     DlvGrp  DlvDt  MAD  LoadingDt
    10     BOM (Parent)     1    1   x-date   09/11/2006    x-date
    11     SKU1 (Child)     x        x-date   09/11/2006    x-date
    12     SKU2 (Child)     x        x-date   09/11/2006    x-date
    20     Non BOM    1     2        x-date   09/06/2006    x-date  
    30     FREIGHT      1      2        x-date   09/06/2006    x-date  
    I know the above example may not be that clear, but this is the space available when you post your topic.
    Based on the above example, the earliest material available date is for Line item 20 i.e. 09/06/2006 and assume FREIGHT is also tied to the above line item (20) i.e. line item 20 & 30 are delivery grouped.
    Say if I delete line item 20, now FREIGHT should be tied to line item 10 and delivery grouping should also take place get changed to 1 for FREIGHT item.
    I need to achieve this using user-exits, but HOW?
    Appreciate your views and the solution for the scenario.
    Thanks.
    Regards,
    Suresh Ganti

    Hi Suresh,
    I guess you can accomplish this using SAVE_DOCUMENT_PREPARE in MV45AFZZ. In table xvbap you will find all order items with an update indicator. If an item has indicator 'D' (deleted) and field GRKOR (delivery group) filled you should find the corresponding FREIGHT line having the same value for GRKOR. Then find the remaining non-FREIGHT item with the earliest material availability date and set the value of GRKOR for this item to the same value as the FREIGHT item.
    Regards,
    John.

  • Error while creating OTR by sales order from SAP ECC to TM

    Hi Experts,
    We are trying to integrate ECC to TM. As of now we have managed to send sales order to TM but getting the following error. Messages are getting failed in SAP TM. Even if the product exists in the system (TM) still the error message persists. I have CIFed location, business partner, product from ECC and everything exists in SAP TM with the same business system group. Kindly advise.
    Thanks & Regards,
    Aunkur De

    Hello Aunkur De,
    Could you check if the business partner was assigned in to your location?
    I have passed for a issue like that.
    Best regards,
    Vicente Picardi

  • Run Time Error while Entering Quantity in Sales Order

    Dear All,
    Iam getting Run time Error while iam entering material quantity in sales order.Please  find the screenshot of the same.
    kindly Help Me.Me. Plz note that we had done a system copy two days back to our new server.
    Rgds
    Thomson
    ST22 Screenshot

    Dear All
    Its Resolved Thanks For your Valuable time Support
    INCLUDE LV03VFB4 inside below code trigger error.
    PERFORM VVBBD_AUFBAUEN USING WA_AVBBD
                                        WA_AVBBD-APOMOBILE
                                        DA_SUBRC
                                        DA_UPDKZ
                                        DA_VVBBD_TABIX
                                        0.
    This Was the Error some how 0 was there we are removed the 0 now it is working fine
    Rgds
    Thomson

  • Goods issue dates are different in sales order & delivery

    Hi,
    We have a situation where in sales order schedule line tab goods issue date is 21.30.2011
    but in delivery the planned GI date is 28.03.2011.
    There are two line item in the sales order & in both the line items all the dates are same.
    Same route is there in sales order & delivery.
    In delivery Item category avalability check Off is Y(Do not check avail. when reporting results of pick.request)
    All the dates(delivery,loading,Transportation planning) are different .
    waiting for responce.
    Thanks In advence
    Susrikant

    goods issue date is 21.30.2011
    What was the Actual GI date in delivery??  This should be the same as schedule line date.
    thanks
    G. Lakshmipathi

  • Information Messages while creation of the sales order thru EDI 850

    Hello All,
    I am trying to create a Sales Order using EDI 850. When i am doing the same i am getting the information messages and the Sales Order is not created and the IDOC is in 51 status. I am using the ORDERS05 Idoc Type.
    Following are some of the messages i get:  1. Oldest of open items overdue; 2. Document Complete 3. ISO Country code not found.
    some are valid message and i have already fixed them. But when i create the sales order manually it gives me the sales order number even though i get the information messages.
    Please let me know is there any setting that i have to make for EDI process to counter the information messages.
    Thank You,
    Suresh

    whats the final message you got? that will give you what is the issue.
    in you look at IDOC_INPUT_ORDERS, it does some basic validations first, and collect those errors in ERRTAB and set the status to 51. for manual reprocessing of the IDOC, it doesnt care about those pre validations, and goes directly into VA01 processing

Maybe you are looking for

  • How can get & use java true type fonts in my applets

    Hi I could get the System fonts in my Applet by making use of Toolkit.getFontList() I have used getGraphicsEnvironment to get fonts but my browser doesn't support it.I get ClassNotFoundException. How can I get & make use True Type Fonts in my Java Ap

  • Help with dataset

    Hi, I keep getting the same error 3 times in my browser with the code below. This is the error I get: Spry.Data.XMLDataSet.createObjectForNode() caught exception while accessing attributes: TypeError: Result of expression 'node.attributes' [null] is

  • SAP ESS / MSS Project - Multiple countries

    Hi experts, I'm starting a new project with a multinational client to implement SAP ESS / MSS Portal in multiple countries. What should be the best approach to implement ESS and MSS roles: - Create different roles for different countries (example: 1

  • Please insert adobe after effects cs4 into drive G:\ to continue installation

    Why show message that "please insert adobe after effects cs4 into drive G:\ to continue installation" while installing Adobe After effects cs4? How to do it? My computer OS is windows 7 (32bit). Who can help me?

  • Program closes as soon as it opens.

    I tried to open Garageband today (I haven't used it in about a month) and it took an extremely long time to open. As soon as it did open, it closed before I could do anything. All I get is the "Program quit unexpectedly" message. Anybody know what co