Splitting criteria.

hi
can we remove sales organisation from splitting criteria of invoices or invoice list ?
thanks,
nandish.

Hi,
You can write a code in using enhancement point in the include "   LV60AB09" You can restrict the Split happening based on the Sales organisation.
You can make it happen for specific Sales order type and Delivery type.
Go to Se38 enter the above include "LV60AB09" Click on Display once the include is displayed.Go to menu Edit and Enhancement operations --Show Implicit Enhancement operations it will be dispalyed with highlighted.
if vbrk-fkart=" " and likp-lfart =" ".
if ovbrk-fix is not initial.
ovbrk-fix-vkorg=vbrk-vkorg
end if
Regards

Similar Messages

  • Additional splitting criteria

    Hello,
      I need to use two custom fields as splitting criteria during delivery creation from Sales Order and during invoice creation from delivery: as fields ZUKRL and ZUKRI, provided for this aim, are already almost completely full, I need an additional way to achieve this.
    Does anybody know of there is a user-exit or a routine, or something else, where I can carry out changes to make the program behave with my custom fields in the same way as it happens with ZUKRL and ZUKRI?
    Thanks in advance.
    Best regards,
    Andrea

    Hi,
    Giving below an example of splitting based on the Item category.
    In trx VTFA (if your billing is sales order based) choose your billing type and SO type, there select your item categories and there select the field VBRK/VBRP data. In that field you will see the currently used routine. With the help of your ABAP guy create a copy of that routine under a different number and add your lines of code. Let's say you use routine 001. 
    FORM DATEN_KOPIEREN_001.
    Header data
    VBRK-xxxxx = ............
    Item data
    VBRP-xxxxx = ............
    Additional split criteria
    DATA: BEGIN OF ZUK,
    MODUL(3) VALUE '001',
    VTWEG LIKE VBAK-VTWEG,
    SPART LIKE VBAK-SPART,
    END OF ZUK.
    ZUK-SPART = VBAK-SPART.
    ZUK-VTWEG = VBAK-VTWEG.
    VBRK-ZUKRI = ZUK.
    ENDFORM.
    This is how it should look after modification:
    Header data
    VBRK-xxxxx = ............
    Item data
    VBRP-xxxxx = ............
    Additional split criteria
    DATA: BEGIN OF ZUK,
    MODUL(3) VALUE '001',
    VTWEG LIKE VBAK-VTWEG,
    SPART LIKE VBAK-SPART,
    PSTYV LIKE VBAP-PSTYV,    <- New line
    END OF ZUK.
    ZUK-SPART = VBAK-SPART.
    ZUK-VTWEG = VBAK-VTWEG.
    ZUK-PSTYV = VBAP-PSTYV.   <- New line
    VBRK-ZUKRI = ZUK.
    ENDFORM.
    Like wise incorporate your fields which you intend to do the splitting.
    Regards,
    Saju.S

  • Split criteria for document creating

    Hello Gurus,
          if I want to split a document (such as delivery document) into several target documents (such as billing documents), where can I set this split criteria ?
    thanks very much!

    Hi Bo,
    Basically, all fields which are copied to the header of the delivery (table LIKP) via the routines of the copy control lead to a delivery split. Furthermore, some fields are copied to the header by all means and are relevant for the split there.
    Split fields that cannot be changed are:
    VSTEL     Shipping point
    KUNNR     Goods recipient
    ROUTE     Route
    The following split-relevant fields can be affected via the copy control, however, they should not be filled differently from the defaults since they are necessary for the control of the shipping process:
    VKORG     Sales organization
    AUTLF     Full delivery indicator
    VSBED     Shipping condition
    FKARV     Billing type (customer billing document)
    LIFSK     Delivery block
    STAFO     Update group for statistics
    STWAE     Statistics currency
    KKBER     Credit control area
    KNKLI     Account number of the customer with the credit limit default
    GRUPP     Customer credit group
    SBGRP     Processor group for credit management
    CTLPC     Credit management: Risk category
    CMWAE     Currency key of the credit control area
    WAERK     Currency of the sales document
    INCO1     Incoterms 1
    INCO2     Incoterms 2
    KZAZU     Indicator order combination
    KDGRP     Customer group
    PERFK     Invoicing dates (calendar identification)
    In the table with delivery header data LIKP, there is the field ZUKRL. which can be filled with any values by using copying control. The contents of this field act as a splitting criterion during delivery creation.
    If you have access to SAP Market place, then you can review the below SAP Notes:
    546668     FAQ: Delivery split when creating deliveries
    355404     Why was there a delivery split during creation?
    Hope this helps you,
    Regards
    Nikhilesh

  • Invoice Split Criteria

    Hi there,
    When trying to create Invoice using the Billing Due list, the Billing documents are split based upon the Sales Order number. The Header copy control (F2 and LF) controls this (The Allocation Number and Reference number fields)
    Our requirement is to Split based on the Sales / PO number in general, but for a few Sales Org, we do not want the Invoices to be split on the SO/PO number.
    My question is, if there is an user-exit / BADI to achieve this or if there is some other means of getting this to work.
    <b>What we have explored so far:</b>
    We have explored using the ZUK (VBRK-ZUKRI) Data VBRK/VBRP in the Copy control item level. This one only comes into play as a combination criteria after the Split as mentioned above has already occured. Hence does not seem to be of help.
    Explored RV60AFZZ and other RV60AF* user-exits. All these pieces of code come into play after the Split has taken place and hence cannot be used.
    Any other pointer would help.
    Regards,
    Anand

    Hi Anand
    Try the VBRK-ZUKRI with an If condition.
    if sales org = 1000
    split by SO and PO
    elseif sales order = 2000
    split by PO number
    endif.
    Reward if this helps
    Thanks

  • Billing Splitting criteria - routines

    Hi,
    I know that is possible to combine multiple sales order into one invoice in VF01 or VF04.
    Is possible to combine different sales order in to one billing document provided, if the following are the same:
    1.Payer
    2. Payment terms
    3. Billing date.
    4. Currency
    I have 2 sales order with those requirements, but it always create 2 invoices....
    I am using only standard routines: 001 for header, and 002 Item lvl.
    What routine should i have in VBRK/VBRP (item)?
    Thanks
    BR

    Hi Thor,
    I am giving you a example of dunning process by which i think you will be able to understand:
    suppose you have a post-paid mobile connection and for that every month bill is generated; if you skip on month billing, in next month bill you will get appened two months bill in a single invoice.
    if you see it in larger extent it is the same happening with your requirement.
    Regards
    Krishnendu

  • How to split all the fields of output ls-l from an internal table

    Hi all,
    Using ls-l command i have brought the file attributes of a file like its read and write permissions,creation date ,path etc in a internal table.
    Now how to split all these fields from the internal table or what should be the splitting criteria.
    The field contents of internal table are like this:
    -rw-rw----    1  devadm     sapsys     18360    apr  29......so on
    I want to split this into different fields.
    Kindly suggest.
    Thank You.

    Hi,
    I think the delimiter will be space. For date alone (Apr 29) you need to concatenate after the string has been split.
    Thanks and regards,
    S. Chandramouli

  • MRS (Multi Resource Scheduling) - Automatic splitting and calc. of AA/RU

    I'm at a bit of a loss to figure out the cause of this issue I'm having.  In our Sandbox if I assign a demand to a resource and the criteria from the Automatic Assignment Split from the Planning Board Profile is met then the demand is automatically split.  In addition, the AA and RU columns are automatically updated to take into account the demand that was just assigned.  All this in Sandbox is occuring as I expected.  However, in our Development box, which is configured the same (the best I can tell), when I assign a demand to a resource that meets the Automatic Assignment Split criteria the demand is not split.  Also, the AA and RU does not get calculated, in fact, the RU continually shows 100%.  Any ideas where else I might go look?

  • PO split  in  sourcing cockpit   ?      :-(

    Hello my helpful friends.je.je
    I have quick question for the SRM gurus:
    In the sourcing cockpit, I selected 20 items (per example) and the application splits those items among 2 purchase orders.
    What is the reason of this behavior ?  I know that ebp separates direct and indirect materials.   But in this case everything is indirect.
    Is there any field that may cause a PO split ?
    Thanks and regards from Mexico !
    diego

    Following is the criteria which is used to split POs
    For Backend Purchase Orders
      Company Code
      Purchasing Org
      Purchasing Group
      Document Type
      Vendor
      Subtype (Direct/Hierarchy)
      FI Logical System
      Logical System from where an External Requirement comes
    For Local Purchase Orders additional criteria is used to split POs:
      Delivery Address (for higher releases)
      Procument Card Number
      Procurement Card Company
    Additionaly as mentioned by Vadim, check the Implementation of BADI BBP_SC_TRANSFER_BE (Method GROUP_PO) for any Customer Added Splitting Criteria.
    Thanks,
    Ashish

  • PO Group/Split by Account Assignment

    Is there a possibility to split/group Purchase Orders that would be created directly from the 'Process Purchase Order' transaction? I thought of using the Group_Local_PO BADi, but it would be called only while creating Purchase Orders from the sourcing cockpit.
    We would like to group/split POs based on the fund and/or some account assignment fields of the line items.
    I could achieve this while PO creation from the sourcing cockpit, but not sure how to handle the automatic PO creation and direct PO creation. Your help is much expected and appreciated. We are on SRM 5.
    Thanks,
    - J

    Hello Jack,
    Jack Lancelot wrote:
    I've implemented exactly the same logic that you had mentioned for PO creation from sourcing cockpit.
    Will this take care of splitting the Shopping cart if POs are to be created against a relevant contract?
    fields AGREEMENT and AGMT_ITEM from Importing parameter ITEM_DATA should answer to your need.
    Splitting criteria are defined in Class Interface CL_BBP_SC_TRANSFER:
    - for local PO, in method SPLIT_PO_LOC_MAP_CRITERIA,
    - for backend PO, in method SPLIT_PO_BE_MAP_CRITERIA.
    Jack Lancelot wrote:
    And for direct PO creation, I have created a validation in Doc Check & save BADi s to give an error message if multiple funds are found. But, I'm not sure if the users would like it.
    Is there a way that I could manipulate this process using the 'Create PO' function module or by any other means?
    I'm weighing the effort that would be required for a custom work around solution.
    Don't know: make your own tests.
    Regards.
    Laurent.

  • Delivery Split during creation of delivery using ME2O

    The system creates two delivery documents for the same vendor while using transaction ME2O. There is no delivery split criteria defined in customizing

    Hi,
    Please check following note
    546668 - FAQ: Delivery split when creating deliveries
    Also check the note 355404 - Why was there a delivery split during creation?
    in this note you have attached report ZLE_ANALYZE_DELIVERY_SPLIT run it in SE38,
    You will come to know why two deliveries created
    Thanks

  • Billing split for some cases

    Hi friends,
    We are using batch job to create billing documents.
    program used is SAPMV60S
    Everyday this batch job runs at night time but some times billing is getting split into TWO for only one delivery.
    There is no split criteria set in copy control.
    And this is hapeenig randomly.I have created same case in quality server but there ionly one document was created.
    i tried by cancelling billing documets and re create that but in second time i got only one billing document.
    Can anyone please let me know what i should check and take care to stop billing split.

    Hi,
    This looks tricky... When the job runs in the background, there might be table locks on any of the customer or sales order tables from where the data is being pulled or there might have been a user exit in which the data does not get flushed out which may be creating this problem. You may have to sit with the technical person (if you are not the one) and see why this is happening.
    Hope this helps.
    Thanks
    Mukund S

  • SCs split into multiple POs, duplicate POs and PO items in reverse c/ to SC

    Hi,
      We are on SRM Server 550 SP10 ECS. We are facing the following situations intermittently in Prod. We are unable to simulate the same situation in Dev or Q environment. Again this does not happen for every SC it happens atleast once or twice in a day with a volume of few hundred shopping carts.
    1) SC gets split into as many POs as SC Items. Let us say SC has 4 items, each item is created in one PO so we will have 4 POs w/ one item per PO in this example.
    2) PO gets duplicated. Let us say SC has two items. Then two POs are created with identical SC items referencing the same SC
    3) PO items are either jumbled or reversed in comparison to SC. Let us say in a SC you have 3 items in SC then the PO will contain items in say 3 ,2 , 1 order or 2, 3 1 order.
    These POs are automaticaly created after Approval (no sourcing cockpit). The vendor, Purchasing Org, Document Type etc is same for all items in SC.
    Anothe question: Once the approval of the SC happens in Workflow, the PO is automatically created via BAPI? or some job? Can anybody clarify the process that takes place from the Approval to PO creation (assuming the SC does not go to SOCO).
    Thanks

    Hi
    Which R/3 and SRM support pqack versions are you using ?
    Following is the criteria which is used to split POs
    For Backend Purchase Orders
    Company Code
    Purchasing Org
    Purchasing Group
    Document Type
    Vendor
    Subtype (Direct/Hierarchy)
    FI Logical System
    Logical System from where an External Requirement comes
    For Local Purchase Orders additional criteria is used to split POs:
    Delivery Address (for higher releases)
    Procument Card Number
    Procurement Card Company
    Please Check the Implementation of BADI BBP_SC_TRANSFER_BE (Method GROUP_PO) for any Customer Added Splitting Criteria. Please look at SAP documenatation of the Business Add-In BBP_SC_TRANSFER_BE, its Method GROUP_RQ and GROUP_PO. You can use to overwrite the standard and group SC items based on custom rules to create split the PO or RQ in EBP.
    P.S. As soon as the purchaser assigns different SOS in the SC, you'll have different POs created.
    Meanwhile, please go through the following pointers / SAP OSS Notes as well ->
    Note 768164 - Multiple SCs via SoCo are processed incorrectly
    Note 1057530 - BBPSC02: Incorrect PO split when SC contains direct material
    Note 861889 - Limitations on limit and service PO's in case of ECS
    You order a shopping cart with couple of items with same data (such as vendor etc). One of the item is a direct material. When you order the cart, the PO split criteria is creating multiple POs instead of a single PO.
    Re: Incorrect PO Split in SoCo?  (which FM should I debug ?) :-(
    Re: S.Cart creates Split PO, One S.Cart creates multiple PO's for each SC item
    How to split shopping cart qty to create two PO
    Re: PO split  in  sourcing cockpit   ?      :-(
    Split PO in SRM
    Re: Creating single PO from multiple SC
    SC gets split into one PO per Line even when the vendor is the same.
    Hope this will help. Do let me know.
    Regards
    - Atul

  • Avoid invoice split due to change of address in Sales order

    Hello Gurus,
    I have one business scenario, where, bill to party address is different in sales order then customer master. Such orders are collectively billed and should generate  one invoice. ( all the sales order for a customer have same bill-to party address, bud different from customer master). In standard functionality it will split. I want to avoid split and in invoice bill to party address in sales order should be copied. Is there anybody have similar scenario faced before?
    Regards, and thanks in advance,
    Mukul

    Hi Lakshmipathiji,
    please find below screen shot, where we have address as one of the criteria. but other three criteria  has become my problem. ABAPer has able to remove address as split criteria but can't find how these three criteria is splitting invoice. They are nothing but invoice number and payment reference.  Can you help me with this?
    Regards,
    Mukul

  • Can  WBS element be adopted as splitting characteristic for general GL

    Hello :
    In our PS module implementation, the client requires that WBS element be picked up in the line item of account payable (vendor)  during logistic invoice verification.  Currently, we managed to post below document:
       Dr:    GR/IR   -  WBS1
                GR/IR  -   WBS2
                VAT
          Cr:  Account payable (vendor)
    I am wondering whether WBS element can be selected as splitting characteristic for general GL? Therefore, WBS element can be posted for account payable.
    As fas as I know, in IMG only three characteristics: Segment, profit center and business area are preferred as   splitting characteristic for general GL.  WBS element is regarded as splitting characteristic for Controlling.
    Does anybody has experience on using  WBS element as  splitting characteristic for general GL?
    Cheers

    Hello,
    You can add PS_PSP_PNR to the ledger scenarios with the transaction FAGL_GINS which intends to be used for updating the open item and sum tables of the New GL. after that PS_PSP_PNR can be defined as splitting criteria for controlling, but  can not be defined as splitting criteria  for general ledger.
    The reason for this is that it cannot be guaranteed that such fields as PS_PSP_PNR are supplied with values on the account receivables/payables by the standard FI and integration processes. The settings as
    zero balance or mandatory field can lead to errors in the system. Therefore we do not recommend the usage of such fields as split criteria for the general ledger.
    While PS_PSP_PNR can be defined as split criteria for controlling, so the relevant lines are splitted on the Profit & Loss accounts which are relevant for the CO account assignments.
    With Best Regards,
    Gladys

  • *Billing Document Splitting with Credit control Area*

    Hi
    please give me solution for the  following matter
    there have some invoice splitting with credit control area from sales order header , because some orders available credit control area some order not available credit control area . can i create one billing document for those without splitting?
    thanks
    L.C

    Hi L.C,
    You can see VBAK-KNKLI field differs in sales document. The split is standard system behavior since   
    these are header fields. Please refer to note 11162 for details on split criteria for invoices.                                                                               
    In order to avoid the split you can either clear the fields in the copy control or you can change your credit management              
    configuration so that the credit accounts determined are the same. 
    I hope it can help you.
    Regards
    Ruy Castro

Maybe you are looking for

  • Creating a service report using SQVI

    Hi experts I am creating a service report using SQVI The report should have the following fiels SrvPO No | SrvPO Data | vendor | Stata  | City | Type of Srv (Ad\banner|maintnc.)  | Amount | Status(open or closed) I am using the following tables using

  • After the restore, iphone crashes on Apple logo and cant be recognized by PC and iTunes

    after the restore, iphone crashes on Apple logo and cant be recognized by PC and iTunes. I think I was actually doing the back up and my iphone shutted down and now it cant boot back up! And the PC and itunes recognized for a while like for a second

  • Why is the svn failing?

    No matter what front-end client I'm using the svn fails after about half of it has finished. svn: In directory '/Users/ninja9578/Desktop/LiveRuntime/LiveRuntime' svn: Can't open file '/Users/ninja9578/Desktop/LiveRuntime/LiveRuntime/.svn/tmp/text-bas

  • Session facade lookup fails occasionally

    Hey all, Since a few weeks we're having some problems with our weblogic server. We're running a number of ears and wars which communicate with each other using a BusinessDelegate and Session Facade. The InitialContext lookup which is done, suddenly s

  • IBooks Author-iTunes Producer publishing delivery problem

    Why do I get an error message "Path specified for argument -f (/Users/tsoukadaris/Documents/������������/iBooks/10000422963.itmsp) is invalid.", since I've done everything needed and iTunes Producer has got me to the final step of publishing my iBook