Reg: Getting an error for getting Delivery number

Hello ABAPers,
Could you pleae assist me, For getting Delivery number based on the Sales Order Number.
Here for getting Delivery number i used "BAPI_OUTB_DELIVERY_CREATE_SLS" Function Module, how ever i'm getting the below error message through Retrurns. i.e The sales document is not yet complete: Edit data.
it would be a great helpful if you provide with sample coding. Thank you.
Regards
Mallikarjun

to get delivery, read document flow table VBFA for next document....  However, the error you're mentioning comes from incompletion processing....probably cannot create a delivery when the SO document is incomplete!  Complete the SO document (by processing the incompletion data) and try again.

Similar Messages

  • How to get Delivery Number at AR-Transaction Lines ?

    Hi,
    We are trying to develop a custom invoice output from AR Transactions (12.0.5). What our aim is to get Delivery Number from Transactions screen at Line Level. We want to provide this, because our client wants to show Delivery Number at this Invoice output...
    How can we provide this ?
    I will be very grateful for any assistance
    Thanks in advance...
    Cagri

    Nagamohan
    First of all i want to thank you for your support.
    we found out that interface_line_attribute3 coloumn is referenced with Waybill field at shipping transactions form. and this field can be seen at Line Transaction Flexfield at AR-Transaction Lines...
    Thanks in advance
    Cagri

  • How to get Delivery number for given Equipment number?

    Hi,
    I have the equipment number and this equipment contains material number and serial number. From these information, how do I get the delivery number/order number?
    Thank you.
    Ashish

    Hi All,
    The problem is solved.
    Here is the link >>
    Table OBJK > give equipment number ->>>> this will give us a list of records.
    Now go to SER01 > It will have only one record to get corresponding to value of different OBKNR received from filter. Means if we get 5 records from OBJK then out of 5 only one record will have corresponding record in SER01 and rest 4 records will not have any value SER01.
    To understand the logic review function module SERIAL_LS_PRINT which works otherway round. It takes delivery and item number and gives us back serial number.
    My requirement is otherway round but I know the path to get desired values.
    Thank you all for your help.
    Cheers,
    Ashish
    Edited by: Ashish Arya on Mar 4, 2008 2:05 PM
    Edited by: Ashish Arya on Mar 4, 2008 3:49 PM

  • Getting delivery number by  using Purchase order number

    Hi,
      I need to get a delivery number for a perticular Purchase order number.give me the sap tables link for getting the delivery number by using the purchase order number.
    As per my knowledge,
    'Likp' for delivery number and
    'ekbe' for purchase order.how we can link these 2 tables?
    Thanks,
    suma.

    U can use the field BELNR field EKBE to link the two tables..please not that it is only valid for VGABE = 8.
    select EEBELN EEBELP EBELNR LVBELN
    into itab
    from ekbe as E inner join likp as L
    on Ebelnr = lvbeln
    where vgabe = 8
    Regards
    Anurag
    Message was edited by: Anurag Bankley

  • How to get delivery number in message type I

    hi,
    i created a screen with some input and output fields ,
    if i entered sales order number i will get item details of the sales order ,
    i kept a button in the screen  if i press that button delivery number shd displa with message "your delivery number is  ****    " and number shd display...
    plz can any 1 help me
    thanx in advance...

    Hi,
    Try the following,
    Say you get your delivery number in a variable v_delno (table VBFA), then where you are displaying the message
    message 'Your delivery number is &' with v_delno type 'I'.
    Output will replace & with the value contained in variable v_delno.
    Hope this helps.
    Regards,
    Sachin

  • BAPI to get delivery number and Sales order

    Dear all,
    Is there a standard BAPI that would help me get the delivery number and sales order number when Shipment number is given as an input?
    Regards,
    Neha.

    BAPI_SALESDOCU_CREATEFROMDATA  Creating a Sales and Distribution Document
    BAPI_SALESORDER_GETSTATUS      Sales Order: Display Status  
    BAPI_SALESORDER_SIMULATE       Sales Order: Simulate Sales Order
    Reward Points if useful.

  • Get delivery number for PO items for complaint display report

    Hi All,
    I am working on Complaint Display report, While delivering the line items for a PO sometimes vendor may do mistake and then customer generates the complaint display report to let the vendor know the delivery mistakes. Delivery mistake can be done because of the following:
    1. Charging amount more than was it was mentioned on PO
    2. Not delivering complete quantities and etc.
    Now I want to get the delivery items for each goods receipt item.
    Information that I have is the invoice number and vendor number and the line item material number.
    Thanks,
    Mark

    You can refer to Purchase Order History Table ( EKBE) for this.You can pass the Purchase Order or Invoice number to the EKBE-EBELN and EKBE-BELNR fields respectively. set EKBE-VGABE = '2' ( i.e invoice receipts). EKBE-BEWTP = 'IR' or 'IR-L' ( Po history category).
    Hope it solves ur problem.

  • GR error for outbound delivery

    Hi,
      User had mistakenly processed GR for partial line items during MIGO transaction against OBD.
    When user is taking GR for that pending materials which had processed without order reference(VL01NO transaction) then system is giving eror message of "Update control of movement type is incorrect (entry 605 _ _ _ L)"
    plz suggest

    You must do customization via OMJJ
    Movement Type: 605
    from left side Update control / WM movement types
    Such a record as below must be customized
    MvT Val.Update Qty update S Mvt
    605  X X F
    Regards

  • Getting ZVAT Error for some items

    We are getting ZVAT errors for some QC number & line items..
    Please provide the cause.

    Hi,
    I hope you have created ZCST and ZVAT by copying JIN6 & JIN7. Also in V/06 against the above two
    condition types, ensure that "D" is assigned to Condition Class and Condition Category.
    Go to V/08, select your pricing procedure and check whether you could see any of the
    following condition types
    a) JCST or JIN1
    b) JLST or JIN2
    Subsequent to introduction of VAT system in India, both JIN1 & JIN2 were replaced with
    JIN6 & JIN7. May be, you would have copied JCST and JLST. Nevertheless, as I already mentioned,
    you should check in V/06 for Condition Class and Condition Category.
    follow this path -
    SPRO Logistics General - Tax on goods movement - India - Basic settings -
    Determination of Excise duty - Condition based excise determination -
    Assign tax code to company code.
    There maintain the tax code to company code. Also  mention the tax code for the above condition type in FV11.
    rgds
    Raj
    Edited by: RAJEEV SHARMA on Aug 20, 2010 5:53 PM

  • Table for P.O or STO to fetch  Delivery number.

    Is there any other table for delivery like LIPS where i can enter P.O or STO (EBELN) number and fetch its delivery (VBELN) ?
    Based on STO or P.O number can I fetch data of outboound and Inboudn delivery ?
    I tried using
    LIPS -vgpos , but it is line item table AND
    EKES table in this table  based on P.O or STO i can get VBELN i.e Delivery ,
    But it work only with P.O not with STO

    Hi,
    You can get it from the table EKBE.
    Give the PO number you will get the list of documents created for the PO.
    For the delivery number the field PO history Cat = L (Delivery note)
    FOR GI the field PO history Cat = U.
    Regards,
    Gopal.

  • SERIAL number field to be identified for a delivery.

    Hi Experts ,
    I need your help for following.
    I need technical detail (Table-fieldname) for serial number , when a goods issue for serialised item is done.The same can be seen in VL02n =>Extras=>Serial Numbers.
    SERNR field is there in lips table but it is blank for the delivery number.Please let me know how can i find the serial number for a particular movemnt type and delivery.
    Thanks

    Hello,
    First check your customization of Serial number for delivery, whether this is maintained or not.and if it is maintained then check last number.
    use tcode SNRO.
    there also you can simply find out the field by pressing F1 on related field.
    Have a Nice Day,
    Regards,
    Sujeet

  • For object RF_BELEG number range does not exist

    Hi,
    while doing PGI, i get an error For Object RF_BELEG ,number range does not exist in company code ABCD. Where do i create the number range for this. I tried with FBN1 but not useful.
    " Diagnosis says, the database table NRIV has the delivery class as C. Make chages in customizing. "
    what could be the reason for this error? can anyone help me to fix this error.
    i tried to fix it through transaction code 'SNRO' and 'OBA7' but in vain
    can anyone help me out

    Try Extending the same in VN01 , and assigning it to your relevant document
    Cheers

  • VL04 - Problem in capturing delivery number in background

    Hi Friends,
    I have a requirement to run VL04 and then do goods issue for all the deliveries created. All of this has be done in the background Can someone please help me in capturing delivery numbers when VL04 is run as BDC ? I read a thread in SDN which spoke about getting delivery number from VBSS table but I do no know how to capture the SAMMG for that table.
    Please help. Other approaches of getting this done are also welcome.
    Thanks,
    Dikshitha G

    when writing bdc for error handling try this code
    "change this as per your requirement
    *       STRUCTURE FOR THE BDCMSGCOLL to handle errors                  *
    data : wa_bdcmsgcoll type bdcmsgcoll,
           it_bdcmsgcoll like table of wa_bdcmsgcoll.
    data : l_mstring(480).
    "your code"
    *FM FOR ERROR HANDLING.
        loop at it_bdcmsgcoll into wa_bdcmsgcoll.
          select single * from t100 where sprsl = wa_bdcmsgcoll-msgspra
                                    and   arbgb = wa_bdcmsgcoll-msgid
                                    and   msgnr = wa_bdcmsgcoll-msgnr.
          if sy-subrc = 0.
            l_mstring = t100-text.
            if l_mstring cs '&1'.
              replace '&1' with wa_bdcmsgcoll-msgv1 into l_mstring.
              replace '&2' with wa_bdcmsgcoll-msgv2 into l_mstring.
              replace '&3' with wa_bdcmsgcoll-msgv3 into l_mstring.
              replace '&4' with wa_bdcmsgcoll-msgv4 into l_mstring.
            else.
              replace '&' with wa_bdcmsgcoll-msgv1 into l_mstring.
              replace '&' with wa_bdcmsgcoll-msgv2 into l_mstring.
              replace '&' with wa_bdcmsgcoll-msgv3 into l_mstring.
              replace '&' with wa_bdcmsgcoll-msgv4 into l_mstring.
            endif.
            condense l_mstring.
            write: / wa_bdcmsgcoll-msgtyp, l_mstring(250).
          else.
            write: / wa_bdcmsgcoll.
          endif.
        endloop.
        if sy-subrc = 0.
          write: / wa_bdcmsgcoll.
        endif.
      endloop.
    endform.              

  • What is t-code for return delivery to supplier ?

    what is t-code for return delivery to supplier ? I understand it can also be done through MIGO.
    And how can I get delivery number so that I can create invoice to send to vendor.

    Hi,
    If the Recieved material for any reason is rejected and needs to send back to Vendor.
    There is 2 options.
    1) At the time of GR if the material is rejected you can make return delivery in MIGO using Movement type 122 .
    with reference to this 122 document you can send the material back to vendor immidiatly.
    2)If the Material is accepted and Vendor invoice also processed and material is at production then if the material found rejected
    you need to create the Return PO for that vendor.
    Using ME21N enter all the details like Std PO and at item overview you need to select the check box Return.
    So the PO gets created.
    Against this returns PO you need to do the Goods reciept.
    So system will take movement type 161 automatically and your inventory stocks will goes less for that quantity.
    You need to raise the credit memo to debit the Vendor account in MIRO or any other process.
    So that your account also matched with qty & Value
    Then you send the Credit memo details to vendor along with material to the vendor.
    rgds
    Chidanand

  • Automatic generation of Idoc for outbound delivery

    Hi Experts,
    I need to generate Idoc automatically for each outbound delivery created in VL01n. I just wanted to know that whether we need to asign output type for each delivery number manually or is there any automated process available to generate Idoc for all the outbound deleveries automatically. Could some one share the information regarding the above matter and other information if there is any.

    Hi,
    U wont manuallly assign the output type for every delivery u create.
    There will be Customization part which will be done by Functional  guys and they will do that configuration.
    This will auotomaticcaly set the Output type, medium..
    Ones the configuration is done u just need to create partner profiles ( port and rfc by Basis people) .
    Rvert back if any issues,
    regards,
    Naveen

Maybe you are looking for

  • MS Office Document Cache keeps failing repeatedly...

    The thread under title "The Microsoft Office cache encountered a problem (with Office 2013 ProPlus Preview/Beta)" described exactly my problem, but discussion on that thread has been locked without any solution to the problem. I'd like to add one sym

  • 10.4.6 Upgrade Problem - Hard Disk

    hi, i just installed the 10.4.6 update and my computer got as far as the white screen with the gray apple on it. it's been sitting this way for over 45 minutes. i powered down to restart and now i can't get past the gray apple screen. i tried to boot

  • VS Program to work with SharePoint that is not on the same machine

    Hello! I am fairl new to programming in Visual Studio and even newer trying to work with SharePoint. I've just learned that VS and SharePoint must be installed on the same machine, but then a virtual development machine can be set up. If that is the

  • Message-Mapping: Button Connect marked field and subsructures is disabled

    Hi everybody, I have a graphical mapping. And I want wo use the button "Connect marked field and subsructures". But the button is disabled. (Other buttons in this panel are also disabled) Do you know any reasons? Thanks Regards Mario Edited by: Mario

  • Enhancement of Controlling Datasource

    Hi all,. i have a datasource 0CO_PC_01 from product costing which is pulling data from AUFK AUFK, AFPO, COSS, COSP, COSB, COSL, COKEY, TKA09, TKV09 but its not having a date field (technical completed date of production order) but the field is in AUF