Urgent issue sales order

Hi,
I have done one exit for sales order, But i am getting a tipical error ie i am getting blank vbeln in vbak table along with the generated vbeln at the same time both sales order no and a blank order is creating. can any one advice how to proceed. ie this error may be from my exit or from any other thing.
tks in advance.

Hi
Just Debug and check while field or variable carries the vbeln to the table.. Try to identify it.. Pass your generated value into that, Also check whether the variable after populating target, get cleared and check any which value is stored first in the table ur generated or blank. so taht you can identify the reason.. Hope you can identify...
Reward points if useful..

Similar Messages

  • URGENT: REGARDING SALES ORDER REPORT

    HI,
    I making a report on sales order in which i have to display the      sales order no,date,customer no,date,material issued to customer,date of issue,invoice no,date,quantity,amount of invoice.
    can anbody tell what are the tables used for making dis report .
    currnetly i am using VBAK,VBAK,VBRP.
    PLZZ help me out as it is really urgent to me & help will be deifnately rewarded.
    Edited by: ric .s on Feb 19, 2008 11:01 AM

    Hello,
    Go through the Diagram on the page hope it will help you.
    http://www.erpgenie.com/abap/tables_sd.htm
    Thanks,
    Gunjan

  • Make payment before issue sales order

    Dear all,
    Here is my problem. After customer agreed on the sales quotation, I had to collect payment from customer before issuing a sales order. How can it be done in SBO? i tried AR reserved invoice but sales order had closed after adding AR reserved invoice. Any ideas?
    Thanks & Regards,
    Raymond Ong

    Hi Raymond,
    You can print the sales order and issue it. Did you create a incoming payment on account. ys th estandard functionality the AR resever will close the SO and you can still do a delivery on the AR reserve invoice
    Any correction to the AR - Reserve Invoice
    Regards,
    Rakeh N

  • Exchange Rate Issue-Sales order-Accounting Doc

    Dear Gurus,
    There is a issue with currency rate.
    For example;  I create customer order and invoice with using exchange rate :"B"
    But company code is assigned to Currency rate : "M".
    And,    SAP converst amount my local currenct by using "M".
    It must be "B".
    How can I fix this error?
    King Regards,
    Edited by: Fsmehmet on Jun 7, 2011 11:39 AM

    Hi,
    System will convert your currency in the sales documents to the currency maintained in the Company code and sales organization statistics currency.
    To maintain/continue with the currency in your sales order get in touch with a finance person who would be able to help you with the same.
    Regards,
    Amit

  • Urgent: create sales order in CRM 4.0

    good morning,
    I'have a problem, i must create a sales orders in CRM 4.0 with Bapi or Function call. I tried tu use: 1) BAPI_BUSPROCESSND_CREATEMULTI and BAPI_BUSPROCESSND_SAVE but finished with error "can't save document";
    2) 'CRMXIF_ORDER_SAVE', but finished without errors and does not create a sales document;
    3) BAPI_SLSTRANSACT_CREATEMULTI i don't know how fill table INPUT_FIELDS.
    help!
    another ideas?
    Thanks.
    ALe

    I've the same problem, i also created a sales order using bapi CRMXIF_ORDER_SAVE. But its not working. if ur program is worked. please send it
    my code is
    *& Report  Z_PURCHASEORDER_CREATE_SP                                   *
    Description : program to create Purchase order using BAPI.
    REPORT  Z_PURCHASEORDER_CREATE_SP .
    TABLES : CRMD_ORDERADM_H , CRMD_ORDERADM_I.
    *DATA DECLARATION
    CONSTANTS : C_X VALUE 'X'.
    *Structures to hold PO header data
    DATA : HEADER TYPE STANDARD TABLE OF CRMXIF_BUSTRANS WITH HEADER LINE ,
           RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE.
    DATA  : IT_ITEM TYPE STANDARD TABLE OF CRMXIF_BUSTRANS_ITEM WITH HEADER LINE ,
            WA_ITEM TYPE CRMXIF_BUSTRANS_ITEM.
    data : ws_langu like sy-langu.
    Parameters
    selection-screen begin of block b1 with frame title text-001.
    parameters : proc_tp   like header-PROCESS_TYPE default 'YOR1',
                 doc_date  like header-POSTING_DATE default sy-datum,
                 logsysfi like  header-LOGICAL_SYSTEM default 'CRDCLNT220'.
                co_code   like header-co_code default '0103',
                p_sold    TYPE kunnr default '2000000060',
                p_ship    TYPE kunnr default '2000000060'.
    selection-screen end of block b1.
    selection-screen begin of block b2 with frame title text-002.
    parameters : item_num like it_ITEM-ITEM_NUMBER  default '00001',
                 material like it_ITEM-product_id default '300000020'   .
                quantity like it_ITEM-TOTAL_QUANTITY default 10.
    selection-screen end of block b2.
    START-OF-SELECTION.
    *DATA POPULATION
    ws_langu = sy-langu.   "Language variable
    *POPULATE HEADER DATA FOR PO
    HEADER-PROCESS_TYPE  = PROC_TP    .
    HEADER-POSTING_DATE   = sy-datum    .
    HEADER-LOGICAL_SYSTEM   = LOGSYSFI     .
    *POPULATE HEADER FLAG.
    *HEADERX-PARENT_GUID  = c_x.
    *HEADERX-doc_date   = c_x.
    *POPULATE ITEM DATA.
    wa_ITEM-ITEM_number  = item_num.
    wa_ITEM-product_id = material.
    *wa_ITEM-TOTAL_QUANTITY = 10.
    append wa_item to it_item.
    *wa_ITEM-ITEM_number  = '10'.
    *wa_ITEM-product_id = '000000000300000020'.
    *wa_ITEM-QUANTITY = quantity.
    *append wa_item to it_item.
    *BAPI CALL
    CALL FUNCTION 'CRMXIF_ORDER_SAVE'
      EXPORTING
        data          =  header
    IMPORTING
      RETURN        =
    *Confirm the document creation by calling database COMMIT
    *CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
      WAIT          =
    IMPORTING
      RETURN        =
    **end-of-selection.
    ***Output the messages returned from BAPI call
    LOOP AT RETURN.
    WRITE / RETURN-MESSAGE.
    ENDLOOP.

  • Very Urgent (Regarding Sales order)

    Hi Experts!
    I am stuck in a problem and I seriously need your comments/thoughts
    I am calling BAPI_SALESORDER_CHANGE to update a sales document. Along with other updates, at the header level, i need to update the user status to 'planned' i.e status 11. In the context of the BAPI call, the user status update should happen. If for some reason the user status could not be updated, the BAPI COMMIT should not happen. Changes should roll back.
    Has anybody came across such a situation? Is there any exit/enhancement which I can use for this purpose?
    Any quick help will be highly appreciated.
    Thanks

    Hi Kiran
    To update status of sales order, try using FM: STATUS_MAINTAIN.
    Try doing as below:
    1. Use the above FM to update Sales Order - Header/Item Status
    2. Change sales order using : BAPI_SALESORDER_CHANGE for other changes.
    3. Commit the changes
    Kind Regards
    Eswar

  • Sales Order replication issue from SAP CRM  (7.0) to ECC

    Hi,
    I have issue in replicating the sales order from CRM to ECC below are the issue details ...
    Issue:
    Sales Order is created in CRM and Mbdoc is generated with status:001 (Yellow state),Order is not replicated to ECC system.
    I am trying to Replicate the sales Order1.Created Trnascation type: ZLS1 in CRM
    2.Number range assigned as Internal in CRM and External number range in ECC
    3.Item categories has been defined in Both the system.
    4.SMOEAC settings are completed successfully.
    5.Maintained table:SMOFPARSFAin both systems.
    Checked Couple of things:
    1.No items found in SMQ1 (Out bound queue ) in CRM
    2.Checked in SMQS,none of the entries found.
    Please let me know if i missed any of the settings to replicate the sales OrderPlease help us on this regards ASAP
    Thnaks.
    CRM Consultant.

    >
    Robert Kunstelj wrote:
    > Check in status shema of that order that it doesn't block distribution to R3.
    >
    > Also check that you don't have any fillters set in R3AC1.
    >
    > And also tell me, do you see in SMW01 CSA mbdoc for that orders? If yes, are they in red state and when you select one and click on button Show bdoc message extended data, do you get structure or not?
    >
    > Regards.
    Hello Robert,
    Here is the answers for the questions raised...
    1. I checked status schema ,understand distribution status is " To be distributed " in the sales order in CRM
    2.In R3ac1 ,standard document "SALESDOCUMENT " doesn't have the any filter setttings related to my transaction type.
    3.Mbdoc (Notification ) is generated in SMW01 with status " 001 " (Yello state),failed to reprocess the Bdocs.I coudn't able to find the Outbound queue in CRM for the corresponding order in CRM.
    4.I can see the Bdoc structure in the extended data in SMW01.
    Thanks.
    Sathya.

  • Storing the Material Sale Order Wise

    In our Scenario PO is made Sale Order wise, but when the Material is received and entered in the Stock, it become difficult to indetify the Material which has come against which SO.
    My requirement is that if the Material is received Sale Order Wise then it shud be saved in the Store Sale Order Wise and also at the same time it will be issued Sale Order wise, to keep the track of material being issued against Sale Order Wise.
    i hope i have cleared my query, any clues.....
    abhishek suppal

    Hi,
    When you are trying to create PO with reference to SO what is the item category used in SO, Use item category as "TAB" then SO will generate a Purchase Requisition. Convert this Purchase requisition in to Purchase Order, account assignment will be copied as "E Individual Customer stock" Sales order and Cost element will populate from PR.
    When you post the GR for above PO, the stock is managed as Special Stock indicator "E" sales order stock, in MMBE also it displays as SO stock.At the time of GR value is booked to SO and stock will be shown in MMBE.
    This stock is reserve for particular SO against which you have procured, but you can transfer post the same from SO stock to your OWN stock
    Hope this clarifies,
    Thanks & Regards,
    Sridhar

  • Sales orders not showing on MD04

    Hi Gurus,
    Last week we had copied production environment into quality system. Now when the users are creating sales orders in Q system, they are not able to see the sales orders in MD04? What is the reason for this?
    Thanks
    Anusha

    Go to your sales order and note the schedule line category of the line item which you want to check
    In t code VOV6 for the schedule line category there is a check box for transfer of requirements near to Availabilty check tick box
    If you tick that then this order for this line item will appear in MD04
    Check :
    MD04 - Configuration Points
    http://sap.ittoolbox.com/groups/technical-functional/sap-log-pp/md04-issue-sales-orders-2584812

  • Schedule Line Date Showing in future in Sales Order though the Stock is available in system on same date

    Hello All,
    Good Morning,
    We have received an Incident where in the Sales Order during the ATP Check we do user is getting the future schedule line date in future as enclosed in the screen shot below. User has created the Sales Order on 12052014 for 7 line items. For the Line Item 7 the Stock is available in the system on same day but still after ATP Check the date is shown in future.
    I wan to replicate the scenario in Quality to find the exact bug to fix the Issue but not able to replicate for same customer and material i am getting the current date as confirmed delivery date. please guide me if you can share some inputs so that i can go in right direct and fix the issue.
    Please respond it is critical Issue.
    Thanks,
    Farhan.

    Hello All Experts,
    Many Thanks for all the Inputs you have given.
    Finally we have replicated the Issue in Quality 2 Days Back and Indeed it was great Achievement.
    Finally We have given to Abaper to debug it find the root cause.
    Let me summarise the actual Issue.
    Issue : Sales Order Schedule Line showing future date for the Materials which are having Product Allocation even though the Stock is available and Allocation Qty also available in the PA Master Data we maintained..
    We created one Sales Order for Line Item A and B. Line Item A is having Product Allocation. When we created Sales Order for both Line Item A and B we got Schedule Line Date as 13.06.2014. Then we Schedule the Re-Scheduling Job in V_V2 and check the effect. For Line Item A the Schedule Line Date got changed to 01.07.2014 and Line Item B it was same as before.
    Would like to know is there any config setting at Schedule Line Level we have missed just want to cross check if there is any or something in Product Allocation Configuration.
    Please refer screen shots below for more details of Sales Order before and after effect in Re-Scheduling.
    Please provide your inputs on this.
    Thanks,
    Farhan.

  • Sales order quantity billed instead of delivered quantities?

    Hello.  I am having an issue with billing delivered quantities.  This is the scenario:
    3rd party, non stock materials, are assigned to a network activity in cj20n.  These items generate a PR which is then converted to a PO and goods receipt is posted to the network activity. A sales order is created and assigned to this wbs.  Delivery from project is then carried out in CNS0 and picking and goods issue is posted in vl02n.  If full quantity received to project is not issued out in vl02n, upon billing in vf01, the total sales order quantity is billed.  How do I alter my configuration such that only delivered quantities are billed?

    Hi
    Its seems that your sales order quantity billing issue has been solved.If it is solved then kindly share with us,how the problem has been solved.As there prices are not picking in the billing document, so please check the pricing type that has been maintained in the VTFL copy control.Secondly also check in VOV7 wheather item category is relevant for pricing has been maintained or not.
    You get the delivery document to determine prices from sales order to delivery through copy controls.
    NOTE:If the issue(Sales order quantity billed instead of delivered quantities) has been solved then kindly close the thread and  post your issue through new thread
    Regards
    Srinath

  • Additional field in the sales order header Purchase Order Data tab

    Hi,
    I want to add an additional field in the below screen:
    VAO1 > Go to > Header > Purchase Order Data >
    Under Sold to party section i want to add an additional field.
    Is this possible through configuration?
    Please let me know.
    Thanks in advance
    Edited by: Kase on Dec 20, 2011 7:06 AM

    Hi Kase,
    Check this below link it might be helpful for your issue
    sales order - Additional data B
    new fields in sales order
    Regards
    Pradeep

  • Sales order is on overall block still requirements are passed to md04/md07.

    Hello Experts.
    Sales order is on overall block still requirements are passed to md04/md07.
    Please suggest...

    Hi Experts,
    Issue:  Sales orders are on overall block at header level. still sales orders are passing demand in MD04 and MD07 -
    here in this case the actual scenario is
    This Sales order was created on 09/28/2007. with overall block at header level.
    then sevral times header block for this order was removed & it was last set on 8 feb. 2009.
    after this, there was no change in delivery block at header till the date.
    in mean time at every month there was program from legacy system which used to change the below info from SO
    (In schedule lines --> shipping tab).
    except Delivery date.
    Delivery date         D   08/31/2007
    Goods issue date          07/30/2009
    Loading date              07/30/2009
    Material avail.date       07/30/2009
    Transportation Plan. Date 07/30/2009.
    *if we replicate this scenario in dev. and check this, system will not allow to keep above dates as delivery date is in past.
    Now if we check SO is on oveall block at header, but we can see Ruquirement for the same SOs in MD04.
    (*Note : here we found that date in MD04 for requirement of this SO, is same as date on which legacy system changed the data in SO for schedule line.)
    we have replicated the sales cycles like this in development with different possibilities of Blocks on SO header as well as Item level. but they are working fine with dev. and quality system, as all config. settings are fine.(as suggested above by experts).
    but it seems like a bug kind of thing.
    kindly revert if someone has faced issue like this ,knows to get rid of it.
    Regards,
    Sujit

  • Sales Order Stock  To  Vendor

    Hi experts
    How to issue Sales order stock to Vendoer For Subcon.
    Rajendra

    Thanks For your Replay
       Scenario is Damaged goods will be taken inside required repair will be done.If repair is  not possible that damaged item will be sent to Vendor's Palce,receipt from vendor, outbond delivery to customer.
    Transaction are
    In SD Repai Order(RA)>Goods Receipt--> Repair or  (how to send to vendor)? ---> Outbond Delivery.
    Plz help me in this regard
    Rajendra

  • Cannot create delivery for sales order though stock exists in location

    We have a consignment issue sales order for which we're unable to create a delivery.  In MMBE we can see that stock exists for this part/batch# at this particular consignment customer location; however, when we try to create the delivery for this, we get an error saying that no stock exists.  My assumption is that something else is "holding" that stock (another un-issued delivery maybe?)  How do I find out what is reserving this material/batch?
    Thanks in advance for your help.

    There are different ways to find out such delivery documents.
          - in VL02N - press F4- enter your shipping point ( if this material delivery happens from single shipping point)
         - VL06O - enter relevant selection criteria & Material- enter the status not equal to "C- completed'.
    Regards,
    Reazuddin MD

Maybe you are looking for

  • Ipod touch not recognized by Itunes V10

    Hi, my daughter's IPod Touch is not being recognized by Itunes. Issue seems to have arisen with V10 but not 100% sure. My PC will recognize her IPod touch, and her PC will recognize my older IPod model. Reloaded Itunes, and updated IPod touch softwar

  • Help me to convert Java and Jsp Files into WAR File!!!!

    I need someone to help me to convert some java servlet files and jsp files into a WAR file. I need it URGENTLY and I'll be very grateful to anyone who is willing to help me! My email is [email protected] Thanks!!!!

  • Bleed settings come out wrong when export to PDF

    I'm working on a 5x13 door hanger in InDesign with a .125" bleed on all sides. I did the front in Illustrator and brought it into ID and I did the back entirely in ID since it's text heavy. When I export it to PDF with bleed and crop marks showing, t

  • Using iweb as a store

    first i guess, is it possible to have a website made from iweb be an online store? and if so what are the possibilities? how would i go about incorporating a paypal account into the website? and if i can get this far how many options do i have for or

  • 8 cores or 4 cores for Motion?

    Hello, I know to upgrade the graphics card because thats what runs Motion. But does Motion use or need 8 cores? Thanks