Sales order number in Assignment field

Hi,
The requirement is to capture Sales order number in the assignment field of the accounting document.
Pls adv how to meet this.
I have seen the tables BSEG and BKPF , but Sales order number is not coming in either of the tables.
Regarsd

OK lets start at the begining you have a sales order or sales orders, then a delivery or deliveries and then a billing document.
OK the Sales Order is captured in table VBAK being the header and VBAP the line item detail.
VBRK and VBRP are the line items details of the Billing Document
The billing document can be found in the accounting document tables BSEG, or BSID, BSAD.
In the create Finance document BAPI from SD you can code in the sales order, however you need to consider that a single accounting document may have more than one sales order.
If you have processes where there is a single sales order for every accounting document then this will work.
Hope this helps, award points if this is useful.

Similar Messages

  • Sales order number in assignment field by sort key

    Dear All,
    I want to populate sales order number in assignment field in GL account by when i want to create new sort key(which we assign in GL master in second Tab) system is not allowing me to use fied KDAUF (Sales order) .
    Kindly suggest the solution for that.
    Regards
    Shayam

    Thanks for Reply
    I have already tried validation and sub situation but that is not working and second is it is related to FI GL line item so SD consultant cant help i  that.
    Regards
    Shayam

  • Sort key- Sales document number in assignment field-

    Hi,
    Please clarify how sales document number flows in to revenue line item when we release billing document to a/c in VF01/VF02.
    We maintained sort key042(sales order)- FS00 for G/L account .
    But data flowing to few documents only. What is reason?
    Thanks
    Chidambaram

    Hi
    In order to get the value you require in BSEG-ZUONR you need to populate field vbrk-zuonr in the userexit (RV60AFZC:                 
    USEREXIT_FILL_VBRK_VBRP)                                                                               
    In FI documents which are created from SD billing documents the assignment number in the customer line item of the FI document   (BSEG-ZUONR) is filled with the assignment number in the header of the billing document in FORM ACCOUNTING_HEAD_LINE of function module RV_ACCOUNTING_DOCUMENT_CREATE:                                       
    FORM ACCOUNTING_HEAD_LINE. (LV60BF00)                                
      XACCIT-ZUONR = VBRK-ZUONR.               
    Kind Regards
    davide

  • 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

  • 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,

  • Sales Order Number Field in f-29

    Dear Sap gurus,
    While i am posting in f-29 system asking date,company code , Customer 2000 specil g/l   k  amount 300  Bank a/c g/l 250000 amount 500 Text: Cus.adv payment and display document overview in this one i need sales odrer number field how can i get this one. obc4 also like g001 is sales order number field is optional and ob41 in this one field is optional.
    Regards
    Kanth

    Hi,
    Enable the filed for the GL accounts assigned to customer account and the spl GL being posted to and also check if the Field status for the posting key 19 that i allows the field. I am seeing the field as ready for input in the screen please check.
    Regards
    K.R

  • 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.

  • 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.

  • Sales order number not appears  in account assignment tab

    Hi,
    User raised PO for third party and account assignment category.But ,Sales order number  and its item not appear in account assignment tab.
    Can anybody help me.
    Lucky.

    Hi Lucky,
    Z Account assignment is not in standard SAP it is customized, u have to check the settings in SPRO->MM->PURCHASING->ACCT ASSIGNMENT-> ITEM CATEGORIES as well u have to know why this is customized, since there is deviation from standard i'm really not able to locate the issue. this is purely based on the requirement done, if it is as per standard SAP sales order number will definitely show in acct assingment tab view.
    Thanks for your inputs on this issue.
    Regards
    Rang

  • Customer Sales Order number to display in Purchase Order idoc

    Hi experts,
    I have the Customer Sales Order number in the PO item level under "account assignment" tab.
    But it does not show in the idoc xml ouput of the PO.
    Could you let me know if it is not standard field to display in the ORDERS05 idoc type of the PO?
    If not what print program or form that can be used to show the sales order number.
    Also I want to show the Customer PO number into the Purchase Order idoc VBKD-BSTKD and the PO date will be in VBKD-BSTDK.
    This is very urgent !  Will reward.
    Rgds,
    Pri

    Hi experts,
    I have the Customer Sales Order number in the PO item level under "account assignment" tab.
    But it does not show in the idoc xml ouput of the PO.
    Could you let me know if it is not standard field to display in the ORDERS05 idoc type of the PO?
    If not what print program or form that can be used to show the sales order number.
    Also I want to show the Customer PO number into the Purchase Order idoc VBKD-BSTKD and the PO date will be in VBKD-BSTDK.
    This is very urgent !  Will reward.
    Rgds,
    Pri

  • Sales order number in customer line item

    Hi All,
    we have a requirement whereby we need to get the sales order number in the customer line item. Normally, the sales order number is populated in the GL line item (BSEG - VBEL2). We need to copy the sales order number to the customer line item.
    Can anyone let me know if you have worked on such requirement.
    Thanks in advance!!
    Aman Goel

    You can map Sales Order number to either 'Assignment' or 'Reference' fields in accounting document using Copy control function in SD. Please use transaction VTFA, this needs to be maintained for combinations of billing type and sales document type. Please ensure these fields are not currently used in your system for other information.
    Following fields can be mapped to 'Assignment' or 'Reference'.
    A Purchase order number
    B Sales order number
    C Delivery number
    D External delivery number
    E Current billing document number
    F External delivery no. if available, otherwise delivery no.
    If you currently use 'Assignment' or 'Reference' fields for other details, you can use user exit EXIT_SAPLV60B_008.
    Thanks
    Venkata Ganesh Perumalla
    Edited by: Venkata Ganesh Perumalla on Oct 4, 2010 11:52 AM

  • 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.

  • Sales order number user exit in Purchase order

    hi,
        There is a sales order number in Purchase order(item level/account assignment/sales order no)
      Now, i have to populate the SO no in  orders 05.
       Can any one say the user exit for populating the sales order number in PO.

    Hi
    Check the below exits related to purchasing in which the table EKKN is referenced
    EKKN will have VBELN (sales order No) and POSNR (item of sales order)
    M06B0001
    Role determination for release of requisitions
    M06B0001
    Changes to communication structure for release of requisitions
    M06B0003
    Number range and document number
    M06B0004
    Number range and document number
    M06B0005
    Changes to communication structure for overall release of purchase requisitions
    M06E0004
    Changes to communication structure for release of purchasing document
    M06E0005
    Role determination for release of purchasing documents
    ME590001
    Grouping of requisitions for PO split in transaction ME59
    MEETA001
    Determination of schedule line type (backlog, immediate requirement, forecast)
    MEFLD004
    Determination of earliest delivery date for checking at time of goods receipt (PO only)
    MELAB001
    Generation of forecast delivery schedule: realization via creation profile
    MEQUERY1
    Enhancement for document overview ME21N / ME51N
    MEVME001
    Calculation of default GR quantity and over/underdelivery tolerances
    MM06E001
    User exits for inbound EDI messages and outbound purchasing documents
    MM06E003
    Number range and document number
    MM06E004
    Control of import data screens in purchase orders
    MM06E005
    Customer fields in purchasing documents
    MEREQ001
    Customer's own data in purchase requisitions
    MM06E007
    Change document for requisitions when converting into POs
    MM06E008
    Monitoring of contract target value in case of release orders
    MM06E009
    Relevant texts for "Texts exist" indicator
    MM06E010
    Field selection for vendor address
    MM06E011
    Activation of requisition block
    MM06L001
    Exits for determination of ratings in vendor evaluation
    MMAL0001
    ALE source list distribution: outbound processing
    MMAL0002
    ALE source list distribution: inbound processing
    MMAL0003
    ALE purchasing info record distribution: outbound processing
    MMAL0004
    ALE purchasing info record distribution: inbound processing
    MMDA0001
    Default values for delivery addresses
    MMFAB001
    User exit for generation of releases
    MRFLB001
    Control items during release creation
    LWBON001
    Enhancement of LIS update through extension of the communication structure MCKONA (business volumes and rebate income)
    LWBON003
    Change settlement data for end-of-period rebate settlement before creation of settlement documents
    LWSUS001
    Customer-specific source determination in Retail
    LMEXF001
    Conditions in purchasing documents without invoice receipt
    LMEKO002
    Enhance communication structure KOMP for price determination
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Extension of input fileds in Sales order for account assignment

    Dear Gurus,
    Can anyone tell me how to extend input fields like Statistical order(COBL-AUFNR)  and cost center(COBL-KOSTL) in sales order for accounting assignment and these fields have to be ready for manual entries. The order types are ZHGA and ZHV.
    Which program has to be modified and how it can be modified?
    Thanks a lot for help and advice.
    Cheers,
    Ricky
    Edited by: Ricky.Martin on Apr 23, 2010 10:45 AM

    Dear Rajendra,
    There is a manual change for tax classification for material master in va02 initially it was blank now it is changed to ' 0 ' is any way influencing....?
    Definitely material Tax classification will influence to determine the Tax code.
    -->So Make sure that customer and material master having proper tax classification indicator.
    -->Have you Update the price after changing the tax classification in the sales order.by going to item dat -->condition tab then click on Update push button bottom of the conditions screen.
    -->Once again the check the condition record maintanence also for your MWST access sequence.
    I hope this will help you,
    Regards,
    Murali.

  • 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