Sales Order # and Despatch Advice # from Invoice #

Hi all,
If I know the invoice no, from which tables I can get Sales order # and Despatch Advice #?
Please respond.
Regards,
Aisha Ishrat
ICI Pakistan Ltd.

hi,
the document flow is stored in VBFA table where you can find out either subsequent documents or preceding doucments.
And if you specifically want to find for example a sales order for an invoice you can even mention the previous doc category(VBTYP).
so in your case, go to se16 > give VBFA table > give invoice # in the succeding document field and you will see the order as well the delivery number.
regards
sadhu kishore

Similar Messages

  • Creation of Sales Order and Service Contract from Inbound IDOC

    Hi Experts,
    My requirement is to create a Sales Order as well as a Service Contract from one Inbound IDOC. I am getting the Inbound IDOC from a third Party. The message type is ORDERS and Basic Type is ORDERS02. How ever i am using an extension type IDOC which carries all the required data for Sales Order and Service Contract. My requirement is like, to create a Sales Order first.
    I have created a Z FM which is attached to the Process Code and subsequently to the message type. Inside the FM i an calling FM 'IDOC_INPUT_ORDERS' for creation of Sales Order. After that i am changing the IDOC data for the Document Type. I am changing the document type which is responsible for Contract Creation.
    Then I am again calling the FM 'IDOC_INPUT_ORDERS' for creation of Contract with the help of IDOC data. But here the Contract is not getting created. It's getting failed during the Batch input session.
    I need to solve this problem as soon as possible. Please help me. If there are any other options also please share.
    Thanks in Advance.
    Regards,
    Priyabrata

    Actually there is problem with BDCDATA. Inside the FM it's calling transaction with help of BDCDATA. If i am creating a Sales order or contract alone its creating successfully. But when i am trying to create both, it's retuning sy-subrc '1001' after calling the transaction on the second attempt. Is there any problem with BDCDATA like we can't handle with less time gap? Please help and give your inputs.
    Regards,
    Priyabrata

  • New Report for Opens Sales order and P.O from Plant and S.Loc

    Dear Gurus
    We have repory requiement for Open sales order and P.O to deliver from particular plant and S.Loc.
    If you have already developed this kiond of report help me inthis case.
    Thanks
    ramki

    closed

  • EDI for creation of Sales Order and sending copy of Invoice

    Hello Experts,
    I am working on EDI. We have a scenario, where the purchase order created in the 3rd party system has to be converted into a sales order in our SAP system.
    Then, the regular flow would follow uptil delivery and creation of invoice in SAP.
    We have to send a copy of this Invoice back to the 3rd party system.
    So, in effect, we would have EDI at two points, while capturing the PO from the 3rd party and another when sending a copy of the Invoice back to the 3rd party.
    Please advise on how to go about implementing EDI in the above mentioned scenarios.
    Regards,
    Divyata

    Use EDI 850 Process code ORDE FM IDOC_INPUT_ORDERS for PO (Inbound)
    use EDI 810 Process code SD09  FM IDOC_OUTPUT_INVOIC for Invoic (Outbound)
    Edited by: srini korada on Jun 9, 2011 4:51 PM

  • Sales order to be created from Invoice from other system.

    Hi All,
    We have a unusual requirement and would like to take your guidance in this.
    The requirement is as follows:-
    Non SAPsystem team will extract the Invoice information details from their system and put a Excel file on File system
    SAP team will fetch the data from file system
    Conversion from Excel to Idoc format will be a part of SAP system ( IDOC is one indication we can use BAPI etc also )
    SAP system will post the converted data and create a sales order in SAP database
    In short they want to send invoice related data in excel sheet and want us to :-
    Create an Invoice (Invoice print)
    Consume a material u2013 (consume stock including shipping although not actually shipping out)
    Booking the cost on Expenses and Labor u2013 (cost posting expenses and time)
    IMP - Itu2019s not a real time integration
    Now we want guidance as to how and what way should we accomodate this in sap. Should we use idoc or BAPI to create sales order or should we use service orders, etc.
    Plz guide. If you want more info let us know.
    Regards,
    Satish.

    Hi,
    I am not sure if this can be done in configuration..
    But you can the print program of the invoice to get the text and print them...
    Thanks,
    Naren

  • Locking Sales order and line item from reading

    Hi,
    I am writing an interface program to create an offer list inspection report. If two users are running the program at the same time, and if the first user read and processing a sales order line item, it should not read the same sales order line item twice for the second user.
    Please let me know if anybody has used locking sales order at line item level (VBAP).
    The enqueue function for VBAP is not working.
    Any suggestions will be helpful.
    Regards
    Ravikanth

    hi Ravi ,
    u Can lock the Sales Order for processing ,  u cannt restrict users @ tables level.
    u hhave to enqueue the VBELN
    Regards
    Prabhu

  • Sales Order Date and Despatch Advice Date

    Hi all,
    I need to create a view that contains Sales Order #, Despatch Advice # , Sales Order Date, Despatch Advice Date and Sales Organization. Please tell me that using which tables, required view can be created?
    Regards,
    AI.

    In table VBAK, you can take the fields Sales Organisation, po # & Date.
    What do you mean by Despatch Advice # ??  If you are referring to delivery which we generate in VL01N, you can make use of table LIKP for header level and LIPS for item level.
    thanks
    G. Lakshmipathi

  • Inconsistent updation of sales group in Sales order and invoice

    Dear all,
        The sales office and sales group is properly updated in the specific sales area master data of the customer but not flowing in the sales order and subsquently in the invoice. For some documents it gets updated and for others the filed is blank.
    I have checked the master data and also the documents and found no errors. Please help in how to solve the issue. I need 100% updation of sales office and sales group in the order and invoice. Please advice how to solve the issue.
    Regards,
    Parthasarathy.R

    Dear Parthasarathy,
    Request You to post the same query in SD Forum
    You will get quick response there
    this is PP forum
    Hope You Understand
    Regards
    kumar

  • Text copy from customer master to Sales order and invoice

    Dear friends,
    when i maintain the text in the customer master ther needs to copy to sales order and from sales order to invoice.
    Can you please guide me how to do this config
    Thanks
    Raju.

    Dear Raju,
    First you need to do the Text determination for all areas(i.e Customer Sales and distribution,Sales order header,delivery header and billing header) through VOTXN transaction.
    -->Create the Customer text ID under Object KNVV
    Maintain the text for Text ID in the customer master >sales area data>Extras-> Text
    To copy the customer text to the sales order you need to keep KNVV table as Text object in the sales order text access sequence for the text ID.
    If you want to copy the sales order header text to the invoice header first you need to copy the sales order header text to the delivery header from delivery you can copy to invoice.
    When you want to copy the Text from Sales order to delivery the Access sequence will place a role
    If you want to copy the sales order text to the delivery document The Text Object should be VBBK in the delivery Header Text determination access sequence for that Text ID
    Again you can copy the text from delivery to Billing document through checking the Delivery Text field in the billing document detail screen (Top most bottom of the screen).
    Go to VOFA transaction select your billing document type then go in to the details here you can find the Delivery Text field you just check that check box.
    Now system will copy the sales order header text to the delivery header then it will copy to the invoice header.
    I hope this will help you,
    Regards,
    Murali.

  • Report to list manual changes to conditions in sales orders and invoices

    Hi experts,
    Is there a Standard Report to list the manual changes of pricing conditions in sales orders and invoices?
    Should be a selection on the field KONV-KMPRS.
    Please advice.
    Rgds,
    Pri

    Hi priya,
    In the Sales Order,Select Environment and then Changes to See all Changes made.
    Follow the Same procdure for Invoice also.
    There is no Standard report as such to see the changes.
    Thanks,
    Neelima.

  • How to create Sales order and Invoice in Foreign Currency

    Dear All,
    What are the procedures I have to do to create the sale order and Invoice in Foreign currency.
    Is it enough if I maintain the currency in the Customer Master and Excahge rate OBBS.
    or
    We have to do someting in the Sales order (Change the currency document header level)?
    Kindly explain.
    Regards,
    Mullairaja

    Dear Mullairaja
    Under customer master you can maintain currency eg. usd, eur etc. that will do.. (hope you have maintain diift. Dist. Channel for Export sales and maintain Recon A/c for export revenue.) This will copy to Sales order.
    Under t.code OB08 we maintain the Currency Exchange Rates which will help for copying control.
    Under Displaying Billing document - Accounting -  you can click on Display Currency Tab,  here you will understand the rate conversion  i.e from USD to INR.
    Thanks & Regards
    Hrishikesh K

  • Creation of u201CHeader Textu201D in sales Order and Invoice

    Dear friends,
            Can any one guide me the complete configuration settings that are required for creation of u201CHeader Textu201D in sales Order and Invoice. Please help me to overcome this issue.
    Regards,
    Bhanu.

    Hello Bhanu...
    Hope you are aware of the configurations you need to maintain for the Text determination.Anyway, herewith are the steps that may help you to accomplish your requirement.
    Text Determination procedure for sales document header:
    Text can be determined at sales document header level or it can be imported from customer master. The process is...
    Define Text types:Path: Imgsales and distributionbasic functionstext controldefine text types
    Select sales document header. Click on text types go to new entries and define text types. For Eg:Z1
    Define Access sequence:
    Select sales document header
    Click on change icon
    Click on access sequence control button under dialog structure
    Go to new entries and define access sequence number with description.Ex: 55
    Save it and exit
    Define text determination procedure:
    Go to new entries
    Define text determination procedure.Ex: ZX save it and exit
    Assign text id's to text determination procedure:
    Select your text determination procedure(ZX)
    click on text id's in text procedure control button under dialog structure
    go to new entries and maintain entries. Text id:assign text id (Z1) that we defined in the previous step
    Specify sequence No-10
    Check Reference: this indicator specify that the text is reference or copies from preceding object
    Text in obligatory: text will be displayed during copying. the value of this field specifies whether text is obligatory or not and if it is obligatory the how it is to be displayed
    Apart from this... you also have to maintain the text in the Customer master as mentioned in the previous mail..
    For this you have to maintain the customer text.Do the following steps.
    1. Go to Customer master, Choose from the Menu Extras --> Text and mention the text
    2. Then in a sales order automatically wehn you are entering that sold to party..the header message will be appearing..
    In a nutshell i would request you to check weather you have maintained the Sales-Customer text KNVV and also that you have maintained all the required customizing settings for the text procedure, access sequence etc were completed....?
    Also make sure that the text type is also inclueded in the text determination procedure of the sales document header...
    Note: If all the settings of text determination exists and still if the text is not appearing then In sales document Header Text procedure, select sales header procedure, then select Texts in procedure. Check for the Header note, No. box is checked. This check mark ensures text is to be displayed when it is copied..
    Its should be working if all the requried setting are made....
    Reward if this helps..
    Thanks,
    Safeer Rahman

  • Hide the cost and margin fields on Sales Orders and Invoices

    Hi all,
    I need to hide the cost and margin fields in Sales Orders and Invoices. We sell our products to our employees sometimes, hence we don't want them to know cost and margin information.
    Can this be done?
    Cheers

    Go to VOV7 & as per the Item category ,de - select the Check Box Determine Cost.
    Else remove the Condition Type VPRS & Margin Condition type from the Pricing Procedure
    Best Regards,
    Ankur

  • Tax date in sales orders and invoices (Billing)

    Hello Experts,
    I have an issue related to Tax date in sales orders and Billing documents.
    In our environment we calculate taxes at the time of sales order creation and billing document (invoice) creation.
    Currently we modified 'ZXFYTU03' exit to pass tax date which is system date. Our business processes are such that, there is a gap of 3-5 days between sales order creation and billing creation. So for some orders we see tax discrepancies between order and billing.
    Through forums I understand that we can use 'service rendered date' at sales order item level. Solution would be passing date in 'service rendered date', we can pass date in 'service rendered date' field in sales order.
    The problem is to copy same date in billing document 'service rendered date'
    Does anyone have any idea how we can copy the sales order service rendered date to invoice service rendered date?
    Through forum i understand that we can use copy controls, data transfer routines etc...Appreciate if someone can guide me on how i can use these...
    Thanks in advance
    Pradeep

    Tried 2 options...
    1. Modify program RV60AFZC (FORM USEREXIT_FILL_VBRK_VBRP) to pass VBRP-FBUDA = VBKD-FBUDA. But in later part of the process, in SAPLV60A-LV60AA21 (perform fakturadaten_lieferbezogen), VBRP-FBUDA is overwritten by LIKP-WADAT_IST which is goods movement date. So this is not solving my problem.
    2. Modify program ZXVVFU08, to get service rendered date from VBKD-FBUDA based on CVBRK-XBLNR (Sales order) and populate CVBRP-FBUDA. But unfortunately this user exit is being called after user exit 'ZXFYTU03' where tax related data including tax date which is being passed. Somehow tax date in this user exit 'ZXFYTU03' is document creation date which is system date.
    With 2nd option, service rendered date from sales order is copied to invoice doc, but the tax is calculated based on document creation date since the tax user exit 'ZXFYTU03' is being called first...
    Per this, coustom routine did not work...
    Refer: Service Rendered Date (VBRP-FBUDA) for SD Invoice

  • Table For Open Sales Order And Customer Invoices

    Dear Gurus,
    Are there any table to know open Sales orders and pending invoices for Customers?
    Wishes,
    Abhishek

    Hi,
    Go to T code VA05 and select open sales order radio button. Put other input parameters like date range or sold to . Execute you shal get list of all open sales order.
    For pending invoices go to T code VL04 and you get list of all billing not yet created even though GI is done.
    These are standard SAP functionality and can be used rather than looking in a table level.
    Regards
    Vivek

Maybe you are looking for