Sorting of billing items

Hi Experts,
I need a way of sorting billing document items according to a sequence entered in the SD document, could be  the customers PO order item, any ideas of how to do ?
BR lene

In created the billing due list, you can fill a sort criteriion (SORTKRI). (This is on the selection screen of VF04).
The user exist to fill SORTKRI are in include:
V05IEXIT
USEREXIT_VKDFS_SORTKRI_SALES 
abd
USEREXIT_VKDFS_SORTKRI_DELIVERY

Similar Messages

  • ConfigureCombined invoice for Delivery and Order related billing items

    Dear Guru's,
    Please tell us what settings one have to do in copy controls (like for TAS "OR to F2" & TAN "LF to F2") as to Combined invoice for Delivery and Order related billing items.
    Regards,
    Sai

    Hi Sai,
    for TAS "OR to F2"
    T-code-VTFA
    Target Billing Type --"F2"        and Source Document as "OR"
    At header level you can select .
    Copying requirements "001" Header/order related
    Tick mark copy item number
    At item Level you give
    Copy requirements "028" Order related 3rd party item
    Data VBRK/VBRP= 000
    Billing quantity="A"
    Pos/Neg quantity="+"
    Price type="G"
    and Save
    2)TAN "LF to F2
    Go to Tcode-VTFL
    Target Billing type "F2"   and source document as "LF"
    In header details you give
    Copy requirements "001" Header-order related
    detr export dta="B"
    Allocatio number="B"
    Reference number="A"
    Tick mark copy item number
    In item details you give
    Copy requirements"004" delivery related item
    Data VBRK/VBRP="003" Single invoive"
    Billing qantity="D"
    Pos/neg quant="+"
    Price type=G"
    Price source"E"
    Regards
    Seegal

  • Condition Type VPRS not appearing on some billing items

    Hi,
    I have a discrepancy between COPA and postings on the FI account. In COPA in transaction ke4i I have assigned the SD condition type VPRS - Internal price to the COPA value field VRPRS u2013 Stock Value.
    The problem arises when the outbound delivery is split on several batches. In this case the condition type VPRS does not appear on the invoice for the split billing item and the amount 0 is loaded into to the COPA filed VRPRS for this billing item instead of value that should appear in the VPRS field. And this causes discrepancies between COPA and FI.
    Do you know how to solve this problem? Is it possible to make the condition type VPRS always appear on the invoice, also in case when the delivery is sent in many batches?
    Best regards,
    Marcin

    Hi
    Welcome to the confusing world of Invoice *** batch split.. The situation you are facing is due to incorrect customization of your position types in SD during billing of the batch split. Plz check note 77414
    You can grossly summarize it as below -
    When you have batch split - the line items in Out bound delivery and biling can be divided into 2 types HPOS and UPOS i.e. Main Line items and Sub line items.. The note describes of 3 situations.. Your SD consultant will have to decide which situation you fall in...  based on that config changes have to be made in SD....
    If your billing is done at HPOS level (Main Item) and not at Item splits level or Vice Versa - Then T codes VOV7 and VTFL, you have to make settings accordingly in the fields "Biling Relevance" and "Cost"..
    Also, the item category of HPOS and UPOS has to be different - One has to be relevant for billing/Cost and the other not
    Apart from VOV7 and VTFL, check your settings in T code 0184.. Your Item catg has to be assigned against :
    Delivery Type / usage Type= CHSP/ Item category Group = "Norm"
    To correct the invoices already posted, cancel them and repost after making the config changes...
    Regards
    Ajay M

  • Is it possible to SORT the Login Items on

    Is it possible to SORT the Login Items on
    Apple - System Preferences - System - Accounts - Login Items?
    Useful to load one of them before or after the others.
    Thanks?

    I don't think you can sort them like that but you can achieve this by using apple script.
    for example if you want to launch Mail first and Safari second, paste the following into script editor and save it as an application.
    tell application "Mail" to launch
    tell application Safari to launch
    You can also put a delay between the two:
    tell application "Mail" to launch
    delay 3
    tell application Safari to launch
    this will put a delay of 3 seconds between launches. Now remove Safari and Mail from login items and put the app you made using apple script there instead.

  • How do billing item conditions hit accounting?

    Hello,
    I am picking up the billing item condition values from KWERT and the corresponding GL Account SAKN1 from the KONV tabke. KWERT gets stored with the sign. I need to know how this condition amount will hit accounting. Would it be a debit or a credit entry on the accounting side. How can I do this? I cannot use the debit/credit indicator BSEG-SHKZG as we have a summarization on the material and we are trying to re-determine in a custom code what amounts should have posted to BSEG by material. While I am getting the amounts correctly from KONV, I am not able to figure out how these amounts should be treated on the accounting side - as a debit or a credit?
    Example, on a regular invoice if the value is positive for a G/L account, on the accounting side the value is reverse in sign. However, this cannot be generalized as we can have many different types of invoices and different combinations.
    Thanks,
    Prayarna

    Hi ,
    if u are unable to use BSEG for credit or debit , then what u can do is , ask ur Functional ppl abt the condition types , which one will have -ve values in the pricing procedure..
    i think is the only way to do in this case , finding which condition type is -ve.
    regards
    PP.

  • How do the billing item conditions hit accounting?

    Hello,
    I am picking up the billing item condition values from KWERT and the corresponding GL Account SAKN1 from the KONV tabke. KWERT gets stored with the sign. I need to know how this condition amount will hit accounting. Would it be a debit or a credit entry on the accounting side. How can I do this? I cannot use the debit/credit indicator BSEG-SHKZG as we have a summarization on the material and we are trying to re-determine in a custom code what amounts should have posted to BSEG by material. While I am getting the amounts correctly from KONV, I am not able to figure out how these amounts should be treated on the accoutning side - as a debit or a credit?
    Example, on a regular invoice if the value is positive for a G/L account, on the accounting side the value is reverse in sign. However, this cannot be generalized as we can have many different types of invoices and different combinations.
    Thanks,
    Prayarna

    Hi ,
    if u are unable to use BSEG for credit or debit , then what u can do is , ask ur Functional ppl abt the condition types , which one will have -ve values in the pricing procedure..
    i think is the only way to do in this case , finding which condition type is -ve.
    regards
    PP.

  • No billing items hasbeen found in order

    Dear all,
             In CJ20n i attached a one thirdparty material and that material has generated a PR through PR we generated a PO,GR and the issue is..when we are delivering that material.."NO Billing items hasbeen found in order"...Can anybody please let me know the solution..
    By
    Prathap

    Dear Prathap,
    The third party PR - PO - GR process is a separate section of your project execution & Delivery of material is separate.
    If you are trying to deliver the material, then you should have the delivery address which comes from the "Ship to Party".
    Your WBSE should be a billing element & it should be account assigned to a Sale Order line item. The "Ship to Party" from Sale order is then taken as the "Delivery Address".
    regards

  • Credit check only open billing item

    Dear Folks,
    Is it possible to do a creditcheck in the sales order on the basis of only open billing items and not at open sales order?
    Thank you very much.

    If I have correctly under stood your question, then the answer is <b>NO. It cannot be done.</b> All the three update groups ( in case of Automatic Credit control) consider both Open Items and Open sales order values. Even in the Simple credit limit check, the Credit value is calculated basd on Open Items and the Current Sales Order value.
    <b>Simple credit limit check</b>
    A credit limit check can be carried out when sales documents are created or changed. The check is carried out within one credit control area. When changing a document, the check is repeated if changes regarding quantity or value are made. A credit control area consists of one or more company codes. A sales document belongs to one credit control area depending on the allocation of the sales organization to a company code. The SAP System checks the credit limit which was granted to the customer in this credit control area. The credit control areas and the credit limit of a customer are defined in financial accounting and entered in the customer master record. During the check, the SAP System totals the receivables, the open items from special G/L transactions and the net value of the sales order for every item of a sales document. The open items take into account obligations bound by contract which are not recorded for accounting purposes but which involve expenses through diverse business transactions. The total is compared with the credit limit. If the limit is exceeded, the system responds in the way defined by you in the configuration menu.
    Hence, I think this is not possible in std sap, but if anybody knows a workaround, then I will be certainly glad to know.
    Thanks

  • Problem in sorting tableview line item

    Hi,
    I have only one main page with with one tableview.
    For example, i have the fields in header say field1, field2, field3, field4, field5.
    When i click the header of the field say field2, it sorts the line item which is in table display w.r.t field2.
    But i intend to sort the internal table line item  , which is responsible to display the line item on page.
    Is it possible. If so how?
    Cheers
    RK

    Hi,
    You have to use SORT = "SERVER"  and in input processing validate the code:
    Please see the below example:
    In the view the code should something as below:
    <htmlb:tableView id="tv2"  table="<%=it_vbak%>"
                                          selectionMode     = "none"
                                         onHeaderClick    = "some"
                                         sort             = "SERVER"
                                         iterator        = "<%=controller%>" >
      <htmlb:tableViewColumn columnName="VBELN" > </htmlb:tableViewColumn>
      <htmlb:tableViewColumn columnName="ERDAT" > </htmlb:tableViewColumn>
      <htmlb:tableViewColumn columnName="ERZET" > </htmlb:tableViewColumn>
      <htmlb:tableViewColumn columnName="ANGDT"> </htmlb:tableViewColumn>
      <htmlb:tableViewColumn columnName="ERNAM"> </htmlb:tableViewColumn>
      <htmlb:tableViewColumn columnName="VBTYP" > </htmlb:tableViewColumn>
    </htmlb:tableView>
    In the event handler the code would be something as below:
    data: tv type ref to cl_htmlb_tableview.
    tv ?= cl_htmlb_manager=>get_data(
                            request      = runtime->server->request
                            name         = 'tableView'
                            id           = 'tv2' ).
    sort it_vbak by (tv->data->column_key).
    Bhavana.G

  • Change billing item category

    Dear Experts,
    How to change billing item category in sap? We want to change SD Doc Item Category as M for order related billing document.
    Regards
    BK GAIKWAD

    Hi,
    So, you want to change from Delivery related billing to Order related billing.
    In that case you doNOT directly ONLY change the billing item category. Follow the below -
    1.  Take your item category say ZTN3, in VOV7 change "Billing Relevance" to B (Relevant for Order related billing.....)
    2. In your Sales Doc type (say Z1OR), in VOV8, field "Order - Related Biling" give = Billing Type (say Z1F2)
    3. In "Assign item category" for Sales Doc type, Item cat gr. give ZTN3
    4. In copy control, VTFA, for Z1OR | Z1F2, copy item category TAD and rename it as ZTN3 (if Z1OR | Z1F2 is NOT yet created then create that copying OR | F2)
    5. Test - Create sales order in VA01
    6. Create bill in VF01, give your sales order number and create bill

  • Sorting  the News Items

    Hi all
    <b>Can we sort the news items created using Xml Form Builder based on the Title in the display iview? </b>
    We are using the KM navigation iview for rendering the news and the user has to get the options for <b>sorting based on news title,date</b> etc in a dropdown in the top of the iview.
    (My problem is similar to the sorting options given for the discussion iview. Similar to the options like sorting based on title,author,modified etc provided for discussions we want the same for the news items also.)
    Thanks for any help in advance
    Geogi

    Hi Geogi,
    You can sort the News items based on Title. For this, you have to find out the layoutset of your iview. Then go to System Administration -> System Configuration -> KM -> CM ->  User Interface -> Settings -> LayoutSet. Then select your layoutset. There you will find Collection Renderer. Clicking on the collection renderer will take you to the details page of collection renderer. On the details page, click on Edit button and when the form is editable, click on "Show advanced options" link. There you will see two properties, Property For Sorting and Sorting Mode. For Property For Sorting give the value : <b>cm:displayname</b> and select the appropriate sorting mode.
    This should do the job for you.
    Try and get back.
    Ranjith
    For your second question, i.e. providing a drop down box for selecting the property on which to sort, I think you will have to go for a new layoutset. I am not sure if you can use the existing layoutset to get this functionality. Anyway I'm not sure about this. Let's wait to see what other SDNers have to say about that.
    Ranjith
    Message was edited by: Ranjith Vijayan

  • VF01 Billing Item Screen Exit for ( Prog SAPMV60A / Screen 6102 )

    Hello SAP Gurus!
       This is my first question on SAP/SDN...so, I am hoping that this will be a great start!
    Here is the requirement-
    I have to add a custom field at the Billing Item level for transaction VF01. I noticed that there is screen 6102 (Subscreen Container for BAdI LB_BIL_TAB_CUST_ITEM) on program (SAPMV60A).
    In the flow logic, there is code -
      call subscreen customer_screen including gs_cust_tab-item_program
                                                                    gs_cust_tab-item_dynpro.
    an then there is BADI I found using SE18 -
    BADI_SD_CUST_ITEM (Tab Page for Own Data - Billing Document Item Detail)
    Problem is I couldnt find anywhere in SPRO where I can implement this BADI. I am wondering if this screen has to be modified using an Access Key. Any help in this matter is greatly appreciated!

    hi santhosh ,
    i am also faced with the same problem ..
    only diff that instead of BADI_SD_CUST_ITEM
    i want to use BADI_SD_CUST_HEAD
    but it says that this BADI is for SAP internal use only !!
    what can we do for this !!
    pls respond .. Thanks in Advance !!
    Edited by: abhijit dangat on Dec 16, 2008 8:27 PM

  • Sorting of order items on invoice

    How can we make sorting on order items in invoice when we are clubbing together many sd-orders in one invoice?
    In the document flow, the sd-orders are sorted in a correct matter - but when we look at the invoice the materials is not sorted in the same way.
    Take a look at the link [sorting|http://img212.imageshack.us/img212/2433/sortingdocumentflowvsinit8.jpg]
    I would expect the order items from sd-document 37403, then 37404 etc. to be sorted in the invoice in the same way as document flow - hence order items from 37403 first, then order items from 37404 etc.
    Is this possible and if so how?

    I haven't received any answers or feedback to this question.....does it mean it is not possible to sort this on the SD-side?

  • How can I report which Ressource Related Billing items are not billed yet?

    Hi SDN's
    On my WBS's I have a number of costs - time registrations, travel costs and other finance postings. Some of them are billed, some of them are still not billed. When I go into DP91, this transaction clearly knows which items are already billed, since only the outstanding items are shown here. However, looking into tables COEP and AD01DLI* I do not find any clear references that can give me the basis showing non-billed items in a report.
    Does any of you know how DP91 keeps track of which items on my WBS are billed and which are not?
    Kind regards
    Steen Koefoed

    steve626 said:
    "... There you will be able to see if a more recent version of Safari, etc. was replaced with an older version."
    Not exactly. That screen shows my most recent Safari update was 5.1.2 on 12/16/11 -- then it shows the Mac OS X Update Combined was installed on 1/2/12. That's when my Safari got downgraded to 5.0.5, but that detail is missing from the Installed Updates preference pane.
    It looks like once an update gets installed, Software Update remembers that -- but does not take the newer update off the list if an older version replaces it???
    So, even though I see Security Update 2011-006 was installed on 10/21/11, I'm not sure if the OS Combo Update replaced any security items with older bits. Is there anything specific to security updates that I might be able to check?
    -gw

  • One Billing Document with Delivery- and Order-Related billing items

    We wish to include both delivery-related and order-related billing items in a single billing document. Is that possible using configuraiton? We have seen some forums indicate it is not possible without ABAP.
    Thanks SAP gurus!

    Bradley,
    I still think this is possible.
    Delivery related billing or order related billing is decided by the configuration of billing relevance in the Item category. So if those things are properly configured, it should be possible to include delivery related items and order related items together in one invoice document.
    When you do that, you have to ensure that the item categories are relevant for either delivery related billing or order related billing.
    Then in copy control, only order related I.Cs shoudl be configured in VTFA and only delivery related I.Cs should be configured in VTFL. There should not be any mix up in this configuration. If there is any mix up, then it may cause problems.
    If these two configurations are done, it is possible. You may also note that in VF01, it asks only for documents, not specifically deliveries or orders. So it is possible in standard SAP itself. Please configure it and try it.

Maybe you are looking for