Prevent billing document from going to COPA

Hello,
I have a requirement to prevent a certain billing document from going to COPA. I created a new pricing condition, assigned an account key and linked this account key to a GL account. This enabled the condition value to be transferred to the GL account. In order to prevent the condition value from going to COPA, I did not assign this condition type to a COPA value field (transaction KE4I).
However, I notice that the bllling document is going to COPA but no condition values are getting transferred. Is it possible to prevent such billing documents from going to COPA entirely (as they would unecessarily create a profitability segment)?
P.S: This billing document was created with reference to a delivery of type LO (delivery without order reference) as we do not have the need for a sales order in this scenario.
Thanks,
Rugmani

Hi
First of all, I would like to ask you why you would not like to take this in COPA. When a revenue value is posted in GL account and you dont take a posting in COPA, it would imbalance your FI and COPA profitability...
However, if you have rationally analysed your requirement and you would like to do it anyway, then here is the solution
Use Exit COPA0005 and apply the following code..
(This code is sample, based on blocking COPA doc where distribution channel = 45 and Ref Org Unit = CRMB).. You need to write your code in a way that it does not stop creating the COPA doc in other cases where it is required....
Do thorough testing once you have this code..
*&  Include           ZXKKEU07
data : wa_ACCIT type ACCIT.
if I_ERKRS = 'XXXX'. (Your Op Concern Code)
  read table T_ACCIT into wa_accit with key VTWEG = '45' AWORG = 'CRMB'.
  if sy-subrc = 0.
    E_INIT = 'X'.
  endif.
endif.
Regards
Ajay M

Similar Messages

  • How to find out associated Billing Document from a PO

    Dear SAP wizards,
    just like we could check an associated PO for a Billing document by going to Display Document Flow, just wondering how can i find out the associted Billing Document for a PO.
    Thanks a lot in advance.
    Rashmi

    Hi Rashmi,
    If there is a sales billing document for a PO, ideally the cycle should be like this
    Sales order-Purchase OrderMIGO/MIRODelivery(If applicable)--Invoice.
    In this case it is not possible to find out the invoice number directly from the purchase order number.
    In the Purchase order, there is a tab at the item level called Account Assignment. It will have the details of the sales order number and line item number filled, if the PO is created with reference to the sales order.Get this sales order number.
    Using this sales order number, the delivery number or invoice number can be found out from the table VBFA by providing sales order number as VBFA-VBELV and giving VBFA-VBTYP_N as either J or M, J for delivery and M for invoice. Now you will get the invoice number for the transaction chain.
    Hope this helps.

  • OneNote prevents my computer from going to sleep when I have a shared notebook open. Suggestions?

    Hello,
    The issue is that my computer will not go to sleep if I have OneNote opened with my shared notebook loaded.
    Background: I'm currently running Windows 8 Pro on a desktop machine with Office 2010 Home and Student installed. I log into the OS under my outlook.com internet account.  OneNote, which I always keep open, has my main
    notebook shared on my SkyDrive.
    Scenarios: The computer will go to sleep if I reboot the machine and do not open OneNote. The computer will go to sleep if I close my shared notebook, reboot the machine and open OneNote (with no notebooks open). The computer will go to sleep if I open
    OneNote with my shared notebook, close it, AND exit OneNote from the icon in the system tray.
    The scenarios I ran lead me to believe that OneNote is continuously polling my shared online notebook, thus preventing my computer from going to sleep. The is a regression from the behavior in Windows 7. Are there any configuration changes I can make to
    fix this?
    Thanks.

    Try modify the settings under:
    Control Panel --> Power Options --> Multimedia settings --> When sharing media to Allow the computer to sleep
    Max Meng
    TechNet Community Support
    A new Office has arrived, try it now.
    A beautiful Start. It begins here. Windows 8 and Windows RT.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Trying to install an upgrade but Error 7 is preventing the install from going thru. I am logged on as Administrator running windows 8.1 on my pc.  Help

    Trying to install an upgrade of iTunes on my pc but Error 7 (Windows 193) is preventing the install from going thru. I am logged on as Administrator running windows 8.1 on my pc. I have repaired and uninstalled a couple times  These are my warnings
    "Service 'Apple Mobile Device Service' ('Apples Mobile Device Service) failed to start. Verify that you have sufficient privilege to start system services."  [Abort Retry Ignore ]. "ItunesHelper was not installed correctly "

    If the above steps haven't helped try installing:
    iTunes 12.1.0.71 for Windows (64-bit - for older video cards) - itunes64setup.exe (2015-01-28)
    which is a 64-bit installer for a 32-bit core program, similar to previous 64-bit releases of iTunes, or roll back to:
    iTunes 12.0.1.26 for Windows (32-bit) - iTunesSetup.exe (2014-10-16)
    iTunes 12.0.1.26 for Windows (64-bit) - iTunes64Setup.exe (2014-10-16)
    as appropriate.
    tt2

  • Creation of Multiple billing documents from a Single sales order

    Hi Experts,
    How can we create many billing documents from a Single sales order.
    Will it be possible we create a Sales order with bigger quantity and then keep on creating partial billing documents based on the billing quantities and dates.
    Request you all for a solution.
    Thanks
    Montee

    Hi ,
    1. If Qty is one number - based on value of the order - it is possible to create different billing doc.'s based on billing date and value using billing plan , again these are periodic billing or milestone billing
    2. Using Contract process- create material /qty contract- release partial qty  by creating release document and create billing document w.r.t to contract or release document (sales order)
    thanks
    Chidambaram

  • Item split (into 2 lines) in billing document from one delivery (VF01)

    Hi,
    I need to split one item of one delivery into 2 items of billing (via VF01). Example:
    - I have a delivery 80941805 that has only one line with item material XXX and quantity 1000
    - I wish to create a billing document (from the delivery above) with 2 lines with the item XXX. First line with quantity 600, second line with quantity 400 (both the same material XXX). This is necessary due to different taxes in each line, one with taxes, other without taxes (different tax codes).
    It´s possible via some standard function or user-exit ?
    Best regards,
    Leandro Mengue

    Hi,
    ***This is under development !!! Only for tests purposes!!! ***
    Actually I working on a example routine where I split the itens in two lines (each line) with the half of original quantity each one.
    include LV60AB01:
    ENHANCEMENT-POINT XVBUK_XVBUP_XVBFA_AUFBAUEN_01 SPOTS ES_SAPLV60A.
    ENHANCEMENT 281  ZFATURAFIM.
    data: wx_lips like alips occurs 0 with header line.
    append lines of alips to wx_lips.
    loop at wx_lips.
      wx_lips-J_1BCFOP(1) = '7'.
      wx_lips-sortfeld+5(1) = '1'.
      modify wx_lips.
    endloop.
    append lines of wx_lips to alips.
    loop at alips.
      alips-lfimg = alips-lfimg / 2.
      alips-lgmng = alips-lgmng / 2.
      alips-ntgew = alips-ntgew / 2.
      alips-brgew = alips-brgew / 2.
      alips-volum = alips-volum / 2.
      modify alips.
    endloop.
    ENDENHANCEMENT.
    Include LV60AA22: (to be possible process the same line item two times)...
    ENHANCEMENT-POINT FAKTURA_LIEFERBEZOGEN_01 SPOTS ES_SAPLV60A.
    ENHANCEMENT 282  ZFATURAFIM.
       read table xvbup with key vbeln = lips-vbeln
                              posnr = lips-posnr.
       xvbup-fksta = 'A'.
       modify xvbup index sy-tabix.
    ENDENHANCEMENT.
    Contributions and comments will be apreciated !!!
    Best regards,
    Leandro Mengue

  • Cannot create billing document from sales document

    Hi,
    i am trying to create billing document from the created sales document.
    But the billing document is not generated. I was getting  the error - ' Document is blocked from billing'.
    SO, i changed the billing block and left it blank, and when  I tried to create the document again, I got another error " Create billing document" not allowed (uSER STATUS   ST01, Object VB006000071200000).
    Please help me out,

    Dear Priyam,
    Attached are the screen shots, go through them.
    I believe you need to change the status in the Sales order status(Object status).
    click on Object status
    Regards
    Shaik

  • Extract & Store pdf SD billing document from archivelink content Repository

    Hello friends,
    Can some one give me a hint on this :
    I have a requirement to create a program which will extract the pdf SD billing document from archivelink content Repository and will save pdf files on application servers's directory.
    We have business Object, Content Repository ID, Document type know for this.
    thanks
    ashish

    use FM : ARCHIVOBJECT_GET_TABLE to get the content in bin format..
    then use open dataset, transfer dataset, close dataset to store that in OS level.. task done..
    you can even use GUI_DOWNLOAD if you want to download it to presentation server.

  • View CRM billing document from FB03 - Accounting document

    I am working with a client who creates some orders in R3 and now some in CRM.
    The orders are billed in their respective system.
    The CRM billing is then transfered via BDOC's into R3 which create an accounting document.
    However, in the environment tab, there is no original document.
    Does anyone know if you can access via some form of document flow or function module call from R3 to go direct to the CRM billing document?

    Hi Mark
    I noticed that your Forum has now been answered.  Could you please share how you resolved the issue of displaying a CRM billing document from FB03 as an "original document".
    Many thanks,
    Verity
    Edited by: Verity Watts on Aug 3, 2010 9:32 PM

  • Can we create multiple billing document from delivery with single line item

    can we create multiple billing document from delivery with single line item

    Hi
    Please check the link
    [can v create multiple billing document from delivery with single line item]
    and as Lakshmi said, check the forum before posting an issue.
    Regards
    AA

  • Can v create multiple billing document from delivery with single line item

    can v create multiple billing document from delivery with single line item

    Dear Sandesh
    Go to VOV7, select your item category.  In this maintain K  for Billing Relevance
    Now go to VF01, give the delivery number and do not press Enter.  Instead click on Selection list on the next screen, select the items you want to bill and click copy and continue if necessary
    thanks
    G. Lakshmipathi

  • Billing document from Delivery without Sales order creation

    Hi,
    I want to know that is it possible to create a billing document from a delivery document but without a sales document?
    If yes what settings can be done in the system to achieve it?

    Hi,
    Yes. It is possible.
    Delivery type LO is delivery without reference.(No preceding document required to create delivery)
    Go to T-code VTFL. Select delivery type  LO as source doc and target doc. would be your billing type. Go to item level.
    Maintain copying requirement - 019.
    Billing quantity- B
    Pricing type -  B
    Pos/Neg quantity - + sign
    thanks,
    Vrajesh

  • Hi , I am not able to create billing document from the delivery document .

    Hi,
    I am facing one problem i am trying to create billing document from delivery document but it is giving error " Payer" and Sold to party not found ".
    in my Delivery Document field partner tab is showing only ship to party it should show payer and sold to party also .
    Although it is maintained in customer AG.
    can any one help in this ????
    thanks !!!!!!!!!!

    Hi Payal,
    1.u check whether u have maintained[entering actual number] payer and bill to party in sales order[ which is copied from customer master].
    2.and check partner determination procedure for delivery document.
    more important is u wouldnot have maintained partner determination procedure for delivery header.[spro->sales and distribution->basic function->partner determination->partner determination for delivery]
    Regards
    Sharad

  • Create Billing Document from Sales Order (Without Delivery)

    Dear Experts,
    Pls note, presently we are creating Billing Document (VF01) from Outbound Delivery Number after Post Good Issue. All sales Document like Billing Document, Output Type, Invoice Type has been configured for this process and we are doing this without any error. Fyki, we have configured lots of Z Order, Billing & Delivery type to do this processes.
    But for one of this order type we need not do any delivery. We want to create Billing Documents from sales order directly (without doing any Outbound Delivery).
    So, would u pls advise the steps how can we configure and assign Order Type, Billing Type or any other type  to meet above requirement.
    Thanks in advance.
    Best Regards.
    Ripon

    Hi
    There are two most important configuration:-
    1) In VOV8 for your Order Type maintain the Order Related Billing Document
    2) Maintain the Copy control setting in VTFA betwwen your Order Type and billing Type.
    Also note that if your line item is not require to be delivered then for your Item category maintain (in VOV7) not relevant for delivery and not relevant for scedule line.
    Regards
    Amitesh Anand
    Edited by: Amitesh Anand on May 24, 2010 5:09 PM

  • Changing billing document date while creating billing document from vf01

    Hi gurus,
    I have requirement to change billing doc date while creating billing document from VF01.
    here I have to consider goods issue date eq billing date.
    caluculating billing date = Goods Issue + Goods in Transit duration time.
    I have done everu thing but I cant update the caluculated date, iam using the following enhancement
    Enhancement:SDVFX001
    Function Module:EXIT_SAPLV60B_001
    Include:ZXVVFU01 which are part vf01.
    here iam sending the calculated date to VBRK-FKDAT
    move cal_date to vbrk-fkdat.
    need help how to update the calculated date to VBRK-fkdat i.e billing document date
    Regards
    Bhaskar

    Hi
    No! That exit is not good for your issue
    U can use the user-exit USEREXIT_NUMBER_RANGE_INV_DATE  defined in RV60AFZC
    Max

Maybe you are looking for