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

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

  • Problem substituting document number into Assignment field

    We have a requirement to substitute document number and fiscal year into Assignment field when posted to a Sp.GL account (Using FB60). Sort key is substituting doc# and fiscal year into Sp.GL Assignment number. I am trying to use a substitution rule, but it's not working probably because the substitution is being called before document number is generated. Any thoughts or input on this is greatly appreciated.
    Thanks
    Edited by: Chandra Nallam on Jan 29, 2009 3:13 AM

    hi!! guys ,
    Can anybody help me on this BB module of Vistex pl.
    I have one very basic Questions and not getitng the right answer.
    Look at this Business scenario
    1) I have created Billback from Agreement and Invoice and I did accrued this BB like this there are various invocies I accrued thro various agreement and BB combination - I dont see any issues in Config here
    2) now we have got Claim request from the Customer (for the same Partners) now how do I validate what is demanded by customer is same or less or more then the accrual happened thro the BB of Invoice??
    So the issue here is mainly reconciliation of what accrued agains invoice need to be validated here in Claim document so I can take decision.
    so Is this Billback module has got a possibility of reconciling in vistex ???
    Let me know If you or any of your friennd can help me to understand this.
    As you rightly said the document provided by Vistex are really Bad and not much helpful. looking at this i dont see this Product has really helped us much.
    regards,
    Himanshu

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

  • Add Sales Document Number in FBL5N

    How can we add the Sales Order Number in FBL5N. Although we have fields Sales Document Number and Order field but they are not populating.

    I write the following code to get the sales order in function module .
    Firt Try
    FUNCTION ZSAMPLE_INTERFACE_00001650.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(I_POSTAB) LIKE  RFPOS STRUCTURE  RFPOS
    *"  EXPORTING
    *"     VALUE(E_POSTAB) LIKE  RFPOS STRUCTURE  RFPOS
    TABLES : VBRP.
    SELECT SINGLE VBRP~AUBEL INTO E_POSTAB-ZSORDER* FROM VBRP WHERE VBRP~VBELN = I_POSTAB-VBELN.*
    Initialize Output by using the following line -
    E_POSTAB = I_POSTAB.
    I addZORDER field in RFPOSX structure and first I use the RFPOSX in into clause but it gives me the error component ZSORDER does not have component ZSORDER although I followed the instruction. (Is append is same thing like I did)
    Second Try
    I change ZSORDER with AUFNR which is RFPOSX FIELD  then ift gives me error report/program statement missing.
    SELECT SINGLE VBRP~AUBEL INTO E_POSTAB-AUFNR* FROM VBRP WHERE VBRP~VBELN = I_POSTAB-VBELN.*
    ENDFUNCTION.

  • Sort key '011' (site number) without value update in FI document

    Hi
    With regards to vendor master already with sort key 011(site number) was maintained. However, there is always no values update on assignment field in the accounting document. The accounting document was integrated thru MM module when logistic invoice verification done thru tcode MIRO.
    Can anyone please kindly help.
    Regards
    Kang Ring

    Hi ,
    As you are using Std sort key,there should be no problem as there is no other setting other than maintaining the sortkey in the GL.
    Please Check the  Sort key of the Gl in FS00 which is hitting  from MIRO and also confirm that you have maintain the Plant in the concern MM transactions you are referring.
    Regards
    Jabeen

  • Sales Document Number field in ORDER05 IDoc

    Hi All,
    I am using a ORDERS05 message type for my inbound IDoc. I am using the copy of FM IDOC_INPUT_ORDERS. I am getting a Sales Document Number from BizTalk apart from other details. I want to feed this Sales Document Number in IDoc segment, so that the order is posted with the fed sales document number instead of system generating one.
    Please let me know in which segment and field, I should assign the Sales Document Number (received from biztalk) in the IDoc?
    Thanks in Advance,
    Bipen

    Pass external Order number in segment E1EDK02. Set the field QUALF as '066' (External Order Number) and pass the order number in field BELNR (See code lines 69 to 73 of include LVEDAF5S).  This assignment will work only if the Number range configuration for Order document type is External.

  • In FBL5N report user wants the sales document number to be displayed,

    HI, Guys
    Need ur help to sort out the problem
    In FBL5N report user wants the sales document number to be displayed,
    but the sales ducument number column is coming blank and this needs to pick from VBRP table
    As I discussed with Abaper, he reqiures a key field which common in BSEG abd VBRP table
    So,Please guide me in approaching the right way
    Munender

    Hi,
        Speak with your SD consultant. They can set up the copy control in SD so that the sales order is populated in the invoice in field ZUONR (Assignment).This will then copy to the assignment field in accounting.
    Alternatively you can use an exit to populate another field during the Posting.
    Kind regards

  • Sales Document number in FBL5N

    Hi Friends,
    In FBL5N (customer line item report) there is a field "Sales Document" Field Name "VBEL2". But the accounting document which is generated in FBL5N for billing document from SD in not populating the sales order number in this field, this field is blank.
    this field is getting populated for down payments with relevant sales document number and not for invoice document.
    Our client wants the sales order number to be reported in customer line item report for their tracking.
    Can any one please suggest how this can be achieved.
    Thanks & Regards

    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

  • How to populate the sales document number in FD10N or FBL5N report

    Hi Gurus,
    In the reports FBL5N and FD10N i am able to see the Billing document field(VBELN) populated with the number but The sales document number (AUBEL) is not populated with the number.
    How to get this number updated to the FBL5N or FD10N report.
    Thanks in advance.

    Hai
    Goto Settings Special Fields and add the required fields and save and come back and exceute again.
    Regards
    Raghavendra.M
    SAP-Practice

  • Sale document number range

    Dear all,
    I've a small issue with sales document number range. I create a range 01 from 1 to 4999999 by tcode VN01. But when the first sale document is created, the system gets the number 1000001 & assign to this sale doc. (Not 1 as usual). Do you know the reason why ?
    Thank you very much for your help,
    Regards,
    Tweety.

    Go to VOV8, select the sale document type and execute.  There ensure that this 01 is assigned to Number range int.assgt
    If not, maintain 01 and retry to create a sale order.
    thanks
    G. Lakshmipathi

  • Fm for status based on sales document number

    Hello Gurus,
    Can you please provide me the function module to get status( open, complete, inprocess) based on Sales document Number.
    Thanks

    Hi,
    Use FM BAPI_SALESORDER_GETSTATUS for getting the status of the Sales Order.
    Also:
    Check the given requirementcorrectly once again
    Because for sales order we don't use the field OBJNR (object no) to find the ststau
    Generally we use this field OBJNR for finding the Status of the PP,PM related Orders.We will take the OBJNR from AUFK table and Pass it to the JEST table
    and will read the STATUS of the Order
    So for sales order we don't have that field OBJNR
    if needed use the BAPI BAPI_SALESORDER_GETSTATUS to find the sales Order status
    Or use the table VBUK to find the Sales order status
    Reward points if found helpful...
    Cheers,
    Chandra Sekhar.

  • How do I prevent a Sales Document number to be generated

    Hi Experts,
    I'm going to be using bapi_salesorder_create_fromdat1 to simulate a sales order create, but I will not commit it.
    The BAPI has a flag that I can set to prevent a sales order from being created.
    Problem is that: 
    It still generates a Sales Document Number, which I don't want to have happen.
    Has anyone done something similar or at the very least prevent a number from being taken from the number ranges from config?
    Regards,
    Orlando

    Hi Orlando,
    as per your last thread i understand no sales order generated but number rage is taken.
    so for your test purpose you can assign new dummy number range to order type and after your simaltion you can reassign the original.
    I know this is not what you want but still this could be one of soultion to your problem.
    hope this solves your purpose.
    regards/ashu

  • Custom master data for Sales Document Number

    Is it possible to create master data for "sales document number" as a custom field and/or table in R/3?  We have a need to record the "end user" customer of an order but this data may be updated a long time after the order and sale is complete.  IT seems that loading to BW/BI may be simpler if this is treated as document attributes rather than transactional data since no delta will be trigger by changes to this field.  Does anyone have experience with this approach?

    Hi,
    it is possible to create attributes for this InfoObject. Add the Attributes you need in BW. You can use the attributes even if the sales doc is line item dimension of your cube.
    On Sourcesystem side you have to create a generic extractor in SBIW. I think a table view on VBAK or VBAP may fullfill your needs. Of course the tables are not the smallest ones but maybe u can use the timestamp to implement a generic delta. Check whether the timestamp is set when the 'end user' is set. Not every change in the sales document leads to an entry in the delta queue of logistic, but the timestamp should be set.
    After that replicate the datasource to BI and connect it to the attributes of 0SALES_DOC
    I had a similar enhancement at one customer reading the actual transport routes to the sales documents and it worked fine.
    Hope that helps
    Christoph Vortkamp

  • Add sales document number in a  Billing due list(VF05)

    Hi Experts,
    Like the thread There is a requirement to have the Billing due list(VF05) with the VAT numb
    There is a requirement,to have the Billing due list(VF05)-Out put with the sales document number VBAK-VBELN and customer purchase order number VBKD-BSTKD.
    I want to apply the OSS note 398575:
    Replace dummy in the structure VKDFIZ field with  VBELN  and BSTKD .
    in Table T180A , add two new data record:
                                  TBNAM = 'VKDFIF'
                                  FDNAM = 'BSTKD'
                                  ZUART = 'D'
    But my question is : for the record
                                  TBNAM = VKDFIF
                                  FDNAM = 'VBELN'
                                  ZUART = 'D'
    The fileds VBELN already exist in the structure VKDFIF and  don't designate the sales document number.
    What can I do to designate the sales document number added in the structure VKDFIZ ????
    Regards
    Marie-Madeleine

    Hi
    The Tcode VF05 is not billing duelist but it is the list of billing documents. For including the fields you want, please go through the OSS note 485928

Maybe you are looking for

  • Google finance charts are not working correctly - bug not present in FF 3.5

    Google finance charts do not let you zoom correctly, and will not let you go scroll back in time very far. == URL of affected sites == http://www.google.com/finance?q=NASDAQ%3AGOOG

  • Airport Express Total Frustration

    I'm totally frustrated. I've had my Airport Express for about 3 months. I used it a lot at the beginning, and everything worked fine, but I haven't used it for a while. Now that I'm back trying to use it.... ...It can't be found by iTunes and it can'

  • What files need to be cleaned periodically in Oracle Apps R12 ?

    Hi In Oracle Database, periodically we clean alertlog,trace files from bdump,udump,cdump directories and at AIX OS level, /usr/tmp, /var/tmp, /root,we clean .tmp,.log files. Similarly,what files needs to cleaned from Oracle Apps R12 directories perio

  • ADF Faces manuTree

    If I put in menuTree for commandMenuItem rendered to false. <af:menuTree startDepth="2" var="node" value="#{menuModel.model}" > <f:facet name="nodeStamp"> <af:commandMenuItem text="#{node.label}" action="#{node.getOutcome}" rendered="false"/> </f:fac

  • Wireless security for iPad Air in the UK

    I need to secure my iPad Air while using Hot Spots in the UK.  I have seen downloads for VPN but not sure of how they would work while traveling.  any advise would be greatly appreciated.