Sales order number in Fi Billing document's assignment field

Hi,
Can anyone tell me how can I pass on the Sales order number in Assignment field of GL Revenue line item while Billing.
Thanks,
Manam.

In copy control from sales documenty to billing document you can choose where the billing document takes the assignment number from. You can select, PO, sales doc number etc.
The field you need is the reference number. You can find that under SPRO, sales and distribution, billing, copy control, Copying control: Sales document to billing document. In the header settings you can choose the reference number. Select B for sales document number.
regards
Michalis Papadopoulos

Similar Messages

  • Create Sales Order With Reference to Billing Document Using BAPI_SALESORDER

    Hi,
    How can i create a sales order With Reference to Billing Document Using BAPI_SALESORDER_CREATEFROMDAT2?
    Thanks in advance,
    Alejandro.

    I have to create sales order with reference to existing billing document. I have tried to following bapis.
    1. BAPI_SALESORDER_CREATEed
    I have successfully created document with following details.
    -->ORDER_HEADER_IN:
    DOC_TYPE =                  ZRK
    SALES_ORG =              3000
    DISTR_CHAN   =            00
    DIVISION =                    00
    ORD_REASON =            100
    SD_DOC_CAT   =          L
    CURRENCY       =         EUR
    REF_DOC          =         100000028
    REF_DOC_CA    =         M
    -->ORDER_ITEMS_IN:
    ITM_NUMBER    =           000010
    MATERIAL          =          701791
    TARGET_QTY     =          0000000001000
    CURRENCY        =          EUR
    REF_DOC           =          100000028
    REF_DOC_CA     =          M
    -->ORDER_PARTNERS:
    PARTN_ROLE      =          SP
    PARTN_NUMB      =         W12001
    COUNTRY             =         NL
    by providing this input i am able to create the document but it is not picking up the net value. so i have passed some extra paramters in  ORDER_ITEMS_IN
    COND_TYPE          =        PNET
    COND_VALUE        =        14,56
    COND_D_UNT        =         PC.
    folowing error is occured: Condition PNET is missing in pricing procedure A V Z0000.
    is it something related to configuration problem?
    2.BAPI_SALESORDER_CREATEFROMDAT1 or BAPI_SALESORDER_CREATEFROMDAT2
    I have used same test data that is used for BAPI_SALESORDER_CREATEFROMDATA (where in i coudl succefully create doc). but here i encounterd following error.
    Unpermitted combination of business object BUS2032 and sales doc. category L.

  • Sales order number  not copied to documents in accounting

    Dear all,
    I have created normal sales order ,delivery and billing and creation of excise billing invoice which i do for the sales  which happens directly from factory.
    now go to VF02, and click on 'accounting overview '  click on accounting document .Here sales order number (COBL-KDAUF) is not copied. where as accounting document generated for excise invoice sales order number is appearing .
    The same is the case with  STO through SD route ....
    kindly suggest . 
    thanks,
    Shankar

    Dear Shankar
    As you would be aware, four Accounting Documents would be generated for one billing document viz
    -  Accounting Document for Customer Debit
    -  Profit Center
    -  Controlling Document
    -  Profitability Analysis
    Of the above four documents, in which you have seen.  You can see the order reference in Profitability Analysis. 
    thanks
    G. Lakshmipathi

  • Populate sales order number in billing document's reference field

    Hi,
    I have a requirement to populate the sales order number in the billing document's reference field. Hence, I have tried to find a user exits but sadly, all the user exits which I found does not break into my break-point.
    Thus, may i know whether any other people has similar requirements? In addition, how do you solve this issue?
    Thanks!

    Solve this issue. Apprantly, I break to the wrong user id which resulted in difficulty in finding the user exits.

  • "In FBL5N unable to view purchase order number and the sales order number"

    Hi,
    Below mentioned is the problem we are facing,
    In the Customer Line Item Display (FBL5N) it is vital for us to be able to view the customer's purchase order number as well as the sales order number for each billing document listed by customer.
    We need to be able to extract this information for each customer and import to an excel spread sheet for analysis, specifically for our larger customers that have over 500 plus lines.
    Kindly advise how to go about the same.
    Regards
    Harish

    Dear,
    Please also check note 152335. There, you will find a more detailed            
    explanation of the issue.                                                                               
    The only way to see some information regarding related PO-es in a Vendor       
    line items is a workaround. For example, it is possible to create              
    a substitution in order to fill in one of not currently used fields            
    like Reference, Text, etc.    
    I hope this helps You.
    mauri

  • Sales order number in accounting document

    Hi All,
    I am doing service sales scenario u2026u2026.and wanted to reflect Sales order number in to accounting documentu2026
    I have seen that in accounting document there is field called sales order but that field is not getting updated after billing document savedu2026u2026..
    my query is how to get this sales order number in to accounting document?
    Thanks
    Raj

    my query is how to get this sales order number in to accounting document?
    Check in your Copy controls VTFA - Order To billing
    Header section - Assign Reference number as "B"- Sales order number .
    then in accounting document reference field will get updated with sales document number.

  • How to pull the Sale order number(sales document) to Accounting document

    Hi Gurus,
    How to pull the sale order number to the accounting document.
    Is any configuration needed to this.
    When i run the FBL5N Repoprt ,Sale order number (Sales document) is not getting updated to accounting document.It is diplaying as blank field.
    Thanks you.

    Hi Shivaji,
    In order to display the Sales document in the customer line item report, you need to add it as a special field thorugh customizing settings.
    Path - SPRO - FA-GL Accounting - GL Accounts - Line Items - Define special fields for finding and sorting data and in that select the table BSEG-and field VBEL2 (Sales document) and save/
    This will work. hope this helsp
    regards,
    radhika

  • Return Order creation referanace to billing document.

    Hi , Experts,
                   I have one issue regarding return process , Pls do the needful ASAP.
    My question : I have created one direct sales order , After thet i have created PGI & billing , But after created billing document , I want to take return taht goods, So i had created return for same sales order quantity, & also created credit memo. But my problem is, that system allow me futher create return sales order with referance to billing document no. At a return order creation time system only give warning message - (There are already returns for item 000010: 2 EA)
    & allow to save return document no. But i want to erroe message after take return all billing quantity. Can any body suggest me, what is the customizing require for this,
    Thanks a lot in advance.
    Regards;
    Happy

    Hi, abdul sir,
                     Here no any error message, My problem is that , why all line item comes in delivery, B'cause i had already deliver 5 line item out of 10 item, Here system take delivered line item with 0 quantity, I don't want that delivered  line item at a time in delivery,
    Regards:
    Happy

  • To save the sales order number in custom table while creation of the order.

    Hi Experts,
    Does there exist any exit to save the sales order number in a custom table while the sales order is created in VA01. The requirement is to capture the sales order number in a Z table when a field (payment terms ) is changed during the sales order creation.
    Regards,
    Sunitha

    Hi Sunita,
    You can store your data in the User exit MV45AFZZ in the form 'userexit_save_document'.
    You can navigate to MV45AFZZ from SE38 wherein an access key needs to be generated for that program, if you know to implement enhancement points then you can create an implicit enhancement point in this form without generating an access Key.
    Regards,
    Ravi Kiran

  • Financial Document not updated with Sale Order Number

    Hello,
    I wish to update the Financial document posting from the billing document with the Sales order and line item number against the revenue account.
    This is not populating in COBL-KDAUF. 
    I have seen some other messages concerning this, but none with answers. 
    Is this possible, I assume it is. 
    If so, are there any other necessary settings? 
    We are not using CO-PA, and I can get the reference number & /or allocation field to populate with the sales order number but not line item.  But I want the coding block filled so that BSEG VBEL2 is populated.

    Hi Roger,
    In the situation that you have a 1:1 relation this is possible with a substitution and look then to the order in the first line from the invoice.
    Where you can have a look to is the sumarization in FI and CO.  TC OBCY for VBAK and VBRK.
    Example:
    When you have 2000 posting lines in an invoice the system can create 1 posting line by used G/L account
    With this transaction you can set-up that there is create one posting line by:
    (G/L account)
    Sales order number
    You have first to look how your set up is. (perhaps when this is set-up correct you have already the order number in the field).
    Paul

  • Sales order number in not coming as a text in Accounting Document

    Hi Friends,
    Sales order number in not coming as a text in Accounting Document in INSTALLMENT BILLING PROCESS
    is there any config missing for this doc number
    Pl advise me
    Raju

    HI Prem,
    Please understand my query.
    In VF01 in accounting document we can see the text document field.
    Here i need the Sales order number as a Text field.
    But it is not coming over here
    Pl advise me
    Raju

  • Reference field with sales order number in accounting document (FB03)

    Hello!
    Does anybody know if it is possible to display in FB03 in accounting document a refference field with sales order number?
    Can parameter AUN be used for this purpose? If so, how can it be set up?
    Thank you in advance for every help,
    Sylwia.

    You can config the rule of copy control for billing by tcode VTFL. for the reference number field you can choose B-sales order number. then when you invoice, the field reference number in the invoice header will be filled with the SO No. And this number will be displayed in FB03.
    hope it will be helpful to you.

  • Copy Sales Order number in Accounting Document

    Dear Friends,
    In accounting document,when we click on G/L Account "Display Document:Line item" will appear.In this view there is an input Sales Order in Additional account assignments.Can anyone tell me how the value gets copied and what are the setting's need.
    Thanks in Advance.
    Regards,

    Hi Jean,
    Thanks for your reply,but this does not solve my problem as this value is copied in Accounting Header,but where as if you go to Line item of indiviual G/L account view you find Sales Order input where it is in display mode.I need to copy the sales order number into this field (COBL-KDAUF).Since we do collective billing and it might be diff sales order and delivery,then this will not solve my problem.
    Awaiting your reply.
    Thanks,

  • VF04 display also sales order number in case of delivery based billing

    Hi,
    for delivery related billing VF04 displays the delivery number in column 'sales document'.
    Does anyone know, if possible to display also the sales order number additonally?
    thanks
    MG

    Hello,
    it is necessary to modify the strcuture VKDFIF used to show the billing due list.
    The include VKDFIZ is reversed for custom development.
    You should add the field for sales order.
    Then you have to fill the added field by userexit.
    The SAP note [69519|https://bosap-support.wdf.sap.corp/sap/support/notes/69519] gives an idea about it (it is for another field, you have to adapt it).
    Best regards,
    Ivano.

  • How to update sales order number (KAUFN) characteristic in the profitability segment of the PA document created at the time of service entry sheet confirmation, as a result of shipment cost document

    Hi,
    We have a scenario wherein we create shipment cost documents against delivery. As a result of shipments fully transferred, a PO for freight vendor is automatically created and a service entry sheet confirmation happens. As a result of service entry sheet confirmation, we have Financial accounting, Controlling and profitability analysis documents created. We have a requirement wherein we need to have the characteristic “sales order number (KAUFN)” populated in the profitability analysis document created as a result of service entry sheet confirmation.
    Could someone please advice how could this be attained in COPA. Thanks for your help in advance.
    Regards,
    Sandeep

    Hi Ajay,
    Thank you for the quick update.
    The document is updated to COPA through OKB9 settings. The profitability segment is updated with fields like customer, product, company code, plant, sales area data, profit center, etc; however the sales order number is missing.
    Could you please elaborate further how could FI substitution be implemented to call for the FM COPA_PROFITABILITY_SEGMENT through user exit? Are you recommending the substitution through GGB1? What could be the possible validation to call for the user exit to be implemented?
    Regards,
    Sandeep Kulkarni

Maybe you are looking for

  • Acrobat 9 standard para Windows XP

    Mi programa ACROBAT 9 STANDARD para Windows XP da errores  y no funciona. No me permite desisntalarlo. ¿Que tengo que hacer?

  • A Guide on How to access VMTN community through your mobile devices.

    Hi Guys, I have written a blog post on how to access the VMTN community on your mobile device when you are are not in front of your PC/laptop. Do check it out and share it with others. http://vpirate.in/2014/02/14/access-vmtn-community-android-mobile

  • JAXB NPE

    I have a simple JAXB project, but when I try to unmarshal from a file, I get the following rather mysterious errors: validating unmarshaller: com.sun.msv.verifier.ValidityViolation: tag name "WMS_IN" is not allowed. Possible tag names are: <WMS_IN> a

  • Minus Front From Two Layers

    I am currently following a tutorial to create some illustrations. One part of this tutorial makes use of the minus-front function with the pathfinder. An ellipse apparently needs to be "subtracted" from the bottom right-hand corner of a rectangle and

  • Accessing Resource Central

    Pardon my asking this simple question as I suspect I am missing something obvious, (I did a search of the forum and did not find anything on it) Where and how do I access RESOURCE CENTRAL ? I want to look at the new scores as well as the sound effect