Blocking automatic COPA entry from SD Invoice

Hi,
Can you help me. I am working with SAP system where is many company codes. All company codes are assigned to the same controlling area and this controlling area is assigned to the operating concern. COPA entry is created when SD invoice is saved. Now system generates COPA entry for other companies as well even they have assigned internal order to the sales order.
How I could block this automatic generation of copa entry from other companies?
Thank you very much.
Markku

Hi,
   Write a deravation rule to derive the company code and restrict to the code by using the condition in derivation rule.  If the company code is derived from default BUKRS, try to create a new characteristics for company code and use move derivation to restrict the values. 
   I have not tried this but hope this may work. Try it and please let me know the result.
Assign points if useful
Regards
Kaarthik.D

Similar Messages

  • Automatic removal of R block from advance invoice through MRBR

    Hi folks!!
    In some cases we pay our vendor in advance. on parking it goes into R block due to the settings made for variences. quantity variance is also active.
    For posting we run MRBR to set R block doc for free for payment automatically (manual removal is not allowed in our system). but due to quantity varience settings, R block from advance invoice does not remove due to quantity varience.
    Is there any way to remove R block automatically through MRBR in advance cases.
    Best regards,

    If vendor invoices are not blocked using MIRO then T.Code: MRBR cant release them,then those invoices is released in FI through FB02.
    In T.Coe:FB02 give the FI document no. of invoice,double click on Vendor line item. delete the character in Payment block
    field and save.

  • Vendor invoices are blocked automatically with payment blck A instead of R

    There is an issue with a specific vendor.This vendor's invoices are blocked automatically with payment block A instead of
    payment block R.
    I know that invoices are blocked when posted if there is a price variance exceeding 3% and/or 100 Euro with payment block R.The invoices with payment block A are not included in the report Z1PE which is used by the Production Planning in order to monitor the blocked invoices and these invoices remain blocked for a long time until the vendor requests their payment.Could you please check why this happens?

    HI,
    Discuss with your MM Consultant, in MM there is a facility to block the invoice automatically in certain scenarios.
    Thanks & Regards,
    Shashi Kanth.

  • Automatic Workflow Customizing - Check entries from HR Control Tables

    Hi All
    I am preparing the R/3 system before a ESS MSS implementation.
    When I execute Transaction SWU3 I have a few red cross marks. Few of those are because the Gateway addresses are not specified and Webserver path is not specified.
    The bit that I am worried about is
    Check entries from HR Control Tables
    SAP Documentation says
    *To solve problems of this type, use the report RHTTCP77.
    If there are errors regarding the transport objects PDST or PDWS, the relevant entries are not maintained in table SOBJ. You can use the report RHSOBJCH to rectify this later.*
    I want to know the implications of correcting the entries with the report RHSOBJCH. Will it affect the configuration which has been done on the system for the business processes?
    When I fire off
    Consistency Check for Event Linkages
    there are a whole bunch of errors which are thrown. Can I Activate/Deactivate the linkages
    Wanted to make sure that there will be no knock on effects. Do I need to consider something else regarding these issues?
    Thanks in advance

    Hi Sriram,
    I have also faced a similar issue.
    Running the mentioned reports did not cause any problem for my case.
    Only after running the reports and generating the task was I able to remove the red cross mark.
    Regards,
    Saumya

  • Display  Purchase order, PO Item , Order Number ,entry sheet quantity ,entry sheet price ,invoice quantity, invoice price  against each line number

    hello all,
    i have an ALV report requirement like this,
    on the initial screen i have displayed(for a given agreement number like in ME33K )
    in the selection screen i have taken agreement number as EKPO-EBELN.
    purchase document number        item number        short text        target quantity      net price
    5400000019                                  1                      xxx                  1.000                  304300.00
                                                        2                     xxxx                 1.000                  500000.00
    the above fields i have taken from EKPO table.....
    and on double clicking the  item number i have displayed
    line number          service number       short text           quantity    units    gross price   quantity released
    1                           swr10                   xxxx                 2.00          kg          500             2
    2                           swr11                    xxxx                5.00          EA         500             2
    the above fields i have taken from ESLL (esll-extrow, esll-srvpos, esll-ktext1 , esll-menge  etc......)
    this i have done by passing EBELN to ESLH and getting PACKNO and passed this PACKNO to ESLL.
    now my question is i need to display  Purchase order, PO Item , Order Number ,entry sheet quantity ,entry sheet price ,invoice quantity, invoice price
    against each line number above.....
    from which table do i need to take these fields.....
    please guide me....
    thankq....

    Thanks Andra,
    The problem is the multiple invoices is for non goods receipt item so there will be no delivery.At the time of creating a PO the GR is not checked so there will be no delivery .
    Also this setting is for invoices which are comming from Vendors.But if we are genrating the invoices manually it is not blocking those invoices.Also i there is nowhere mentioned in Incomming invoice to set tolerence for incomming invoice.Are you talking about Vendor tolerences?
    Thanks in advance
    Edited by: Metroid01 on May 14, 2009 6:52 PM

  • How to cancel incoming paymnet entry of single invoice

    while making incoming paymnet entry we can choose n no. of invoices. if aby mistake we selected wrong invoice & cancelling that paymnet entry, all other invoices also get opns.
    what we can do so taht we can open only that invoice where we made mistake & rest of the invoices remain closed.

    Hi mdeora,
    when you pay multiple invoices with the same payment, you create a 1 to n relationship with automatic reconciliation. You also create a legally binding journal entry. This journal cannot be edited, which in effect is what you try to achieve by removing an invoice from the transaction. If that were allowed, you'd have an inconsistent general ledger & an unbalanced reconciliation.
    When you use payment wizard, you can set the flag 'Single payment' in the BP Master data under payment system. Setting this flag will ascertain that there is 1 journal (payment) for each individual invoice, creating a 1 to 1 relationship.
    All the best,
    Kerstin

  • [Solved] Removing "Recently Used" and "Search" Entries from Open/Save

    Each time I save or open a document, the dialog box defaults to "Recently Used". What I'm wanting to find out is how to get rid of the entry from the "Places" bar altogether. I understand that the entry was put there with good intentions, but it seems to always amount to an extra step. The best example is when I use "Save As". I will type the name of the file and since the dialog has automatically put me under "Recently Used", I have to then navigate to where I want to save or the "Please select a folder below" error will appear. Had the dialog defaulted to the home folder, this stumbling block could be eliminated.
    I realize there is probably some fundamental knowledge I'm not aware of and don't know exactly what to search for. I'm using Openbox and have the core XFCE applications installed, but I don't know if this is a GTK issue, xdg, or what. All of my searches point to getting rid of ~/.local/share/recently-used.xbel, but I'm not concerned with that and already have a transparent panel launcher that handles it.
    I have found a post in this forum that addresses the same issue, but it has gone unresolved also:
    https://bbs.archlinux.org/viewtopic.php?id=129555
    This user mentions a directory hack that is resolving the issue for now, barring any other solution, I'd like to know exactly what that is, as I can't seem to find the answer to that either.
    Thanks in advance for any help.
    Last edited by freud_zoid (2011-12-14 19:33:07)

    perseus wrote:In the recent update to gtk2-2.24.14-1 the code in gtkfilechooserdefault.c has changed and the patch no longer works. Gusar, is it possible to provide a new patch please? I absolutely hate the default behaviour.
    I haven't made many patches for things and you'll need to type in the file name when you apply it, but this will work for the current gtk2 package:
    --- gtkfilechooserdefault.c.orig 2012-12-06 20:24:05.758831989 -0500
    +++ gtkfilechooserdefault.c 2012-12-06 20:28:07.352183658 -0500
    @@ -6061,7 +6061,7 @@
    switch (impl->startup_mode)
    case STARTUP_MODE_RECENT:
    - recent_shortcut_handler (impl);
    + home_folder_handler (impl);
    break;
    case STARTUP_MODE_CWD:
    Or if you'd rather, you can just edit gtkfilechooserdefault.c directly and replace 'recent_shortcut_handler' on line 6064 with 'home_folder_handler' and rebuild.
    The patch above probably reveals my lack of expertise, but thanks goes again to Gusar for showing the way.

  • Blocking of duplicate entry

    We would like to block duplicate entries from being posted into our database especially the BP ref no field in the AP invoice.
    I have read through a post which shows the procedure of doing this through an approval procedure. However, is there another way to prevent duplicate entries like this from adding into the database such that it blocks the user if he has duplicated this field rather than sending an apprval procedure? One way of doing this is by creating an SBO_SP_TransactionNotification which blocks the transaction from adding. Would someone be having a sample code for this?
    Thanks & Regards,
    Asif

    Hi
    You can use this stored procedure in sp_transaction_notification. Please test this in test environment before you proceed.
    /** block duplicate Vendor Invoice number **/
    if (@object_type = '20' or @object_type = '18')
    and (@transaction_type= 'A' or @transaction_type= 'U')
    begin
    declare @venno as varchar(100)
    if @object_type = '20'
    begin
    select @venno = NumAtCard
    from opdn
    where docentry =@list_of_cols_val_tab_del
    if 1 != (select count(docentry) from opdn with(nolock) where NumAtCard = @venno)
    begin
    select @error = 1
    select @error_message = 'Duplicate vendor ref no in PO Receipts. ! '
    end
    end
    else
    if @object_type = '18'
    begin
    select @venno = NumAtCard
    from opch
    where docentry =@list_of_cols_val_tab_del
    if 1 != (select count(docentry) from opch with(nolock) where NumAtCard = @venno)
    begin
    select @error = 2
    select @error_message = 'Duplicate vendor ref no in AP Invoices. ! '
    end
    end
    end

  • How to block a partner customer from transaction posting

    Dear Experts,
    Please suggest/advice how to block a partner customer from transaction posting,As we have two customer categories defined 1.Parent customer 2.Child customer.One parent customer has several child customers and they are assigned in partner function part of the child master record.We have defined the parent customers for reporting purpose only,not for any transactions to be done.
    So please suggest how can we block those parent codes from being transacted directly.We wan them only for reporting purpose.
    Can we do the restriction on account group level or we have to make a validation for this.
    Please advice.
    Regards
    Partha

    Dear Partha,
    You need to Block customer against posting -> Transaction FD05 (you can choose foe selected company or for all)
    You can block also directly the invoice/payment in the document
    Or define some tolerance limits and system block automatically
    Let me know if it is not clear
    Thanks
    Tarek

  • How we can acess GOS to pop up automatically to user from workflow is our a

    we plan to implement invoice verification workflow to start when an invoice is scanned and placed in holder in OAWD. So that workflow will start from then onwards with SAP archive link.
    Please let us know how we can link scanner and SAP Archive link so that we can place the scanned document directly in to OAWD. how we open the image automatically when approver or AP clerk execute the workitem.
    The process we want to follow is
    1. Scan document and place in OAWD
    2 Workflow is started based on the document type of Archive link( we want to use BKPF)
    3 AP clerk receives workitem and execute it. APclerk see the transaction code FV60 to enter document and image of the scan automatically
    4 AP clerk fill the document and park the document.
    5 Workitem is sent to approver based on the rule specified
    6 Approver execute the transaction invoice iamge is opened and sap document is displayed.
    7 Approver check both image and sap docuemnt and take decision
    8 Approver approves document , sap document is posted and ready for payment
    9 If rejected go back to AP clerk.
    Here issue is when user or approver execute the workitem ,how we can open image automatically along with sap screen.
    or how we can acess GOS to pop up automatically to user from workflow is our another isssue

    Hi,
    It is possible to launch the stored image as soon as workitem is executed. You will need to maintain the archivelink customization to display stored document. Check the following link
    [Displaying Stored Document|http://help.sap.com/saphelp_erp2005vp/helpdata/en/4f/993685446d11d189700000e8322d00/content.htm]
    Hope this helps
    Cheers!!!
    Samanjay

  • Delete entries from the table

    Hi folks,
    I have delete program to delete entries from a custom table and has only one feld in it.
    tables: ZABC
    selection-screen begin of block B1 with frame title text-110.
    select-options: P_KOSTL for ZABC-KOSTL.
    selection-screen end of block B1.
    delete from ZABC where KOSTL in P_KOSTL.
    Upon executing I am entering certain cost center ids on the selection screen to delete them from the table.It did not work.
    what is it I am missing?
    Thanks,
    SK

    Hi,
    Try this sample code..Replace ZABC with your table..
    TABLES: ZABC.
    selection-screen begin of block B1 with frame title text-110.
    select-options: P_KOSTL for ZABC-KOSTL.
    selection-screen end of block B1.
    START-OF-SELECTION.
    * Delete the records from the table.
    DELETE FROM ZABC where KOSTL IN P_KOSTL[ ].  " [] for the select-options.
    IF sy-subrc <> 0.
      ROLLBACK WORK.
    ELSE.
      COMMIT WORK.
    ENDIF.
    Thanks,
    Naren

  • Is there any BAPI or function module  to delete entries from a table (VBAK)

    Hi Everybody,
    this is my first thread in SDN...
    my problem follows...
    A report is be created that selects all sales orders created by e-Sales that are more than 20 minutes old and still have a delivery block:
    tables:
    VBAK     sales document: header data
    selection fields:
    VBAK-LIFSK      &#8800;     <BLANK>
    VBAK-ERNAM     =     userID used by e-Sales / IVE
              (EP-BATCH / EAI-BATCH)
    VBAK-ERDAT      <=     Current system Date
    VBAK-ERZET     <=     Current system Time - 20 minutes
    These orders should be deleted from SAP system.
    This report should be scheduled to run regularly every 10 minutes.
    my doubt : is ther any BAPI or Function module to delete entries from a standard table...if no what is the way to delete the enteries from a std table...
    best replies will be rewarded....
    regards
    Reddy

    Hi Vasanth ,
    thanks for your reply.
    i tried in the same manner what u mentioned.
    but how to pass only one parameter to the functionmodule..
    here in this case we have to pass only update flag as 'D'..
    i did the same it giving dump..
    An exception occurred that is explained in detail below.                          
    The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was      
      not caught and                                                                   
    therefore caused a runtime error.                                                 
    The reason for the exception is:                                                  
    The call to the function module "BAPI_SALESORDER_CHANGE" is incorrect:                                                                               
    In the function module interface, you can specify only                            
    fields of a specific type and length under "ORDER_HEADER_INX".                    
    Although the currently specified field                                            
    "INT_ORDER_HEADER_INX" is the correct type, its length is incorrect.              
    my pgm :
    *& Report  YNEW_ORDER_DELETION
    REPORT  ynew_order_deletion.
    TABLES:vbak.
    PARAMETERS:
         p_lifsk LIKE vbak-lifsk DEFAULT '02'.
    SELECT-OPTIONS:
       s_lifsk FOR vbak-lifsk DEFAULT '10',
        s_ernam FOR vbak-ernam,
        s_erdat FOR vbak-erdat,"DEFAULT sy-datum.
        s_erzet FOR sy-uzeit.
    *PARAMETERS:
    p_erzet LIKE sy-uzeit.
       s_erdat like vbak-erdat,
       s_erzet like vbak-erzet.
    DATA:
       BEGIN OF int_final OCCURS 0,
            w_vbeln TYPE vbak-vbeln,
       END OF int_final.
    DATA:
      int_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
    DATA: int_order_header_inx LIKE bapisditmx OCCURS 0 WITH HEADER LINE.
    DATA:
      wf_time TYPE sy-uzeit.
    INITIALIZATION.
      s_ernam-low = 'KULKARMA'.
      s_ernam-sign = 'I'.
      s_ernam-option = 'EQ'.
      APPEND s_ernam.
    s_ernam-low = 'EAI-BATCH'.
    s_ernam-sign = 'I'.
    s_ernam-option = 'EQ'.
    APPEND s_ernam.
    wf_time = sy-uzeit - 1200.
    p_erzet = sy-uzeit - 1200.
    p_erzet-low = wf_time.
    APPEND s_erzet.
      int_order_header_inx-updateflag = 'D'.
      APPEND int_order_header_inx.
    START-OF-SELECTION.
      SELECT vbeln FROM vbak
                       INTO TABLE int_final
                       WHERE lifsk EQ p_lifsk
                         AND ernam IN s_ernam
                         AND erdat IN s_erdat
                         AND erzet IN s_erzet.
      IF sy-subrc = 0.
        LOOP AT int_final.
          CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
            EXPORTING
              salesdocument         = int_final-w_vbeln
      ORDER_HEADER_IN             =
        order_header_inx            = int_order_header_inx
      SIMULATION                  =
      BEHAVE_WHEN_ERROR           = ' '
      INT_NUMBER_ASSIGNMENT       = ' '
      LOGIC_SWITCH                =
      NO_STATUS_BUF_INIT          = ' '
            TABLES
              return                      = int_return
      ORDER_ITEM_IN               =
      ORDER_ITEM_INX              =
      PARTNERS                    =
      PARTNERCHANGES              =
      PARTNERADDRESSES            =
      ORDER_CFGS_REF              =
      ORDER_CFGS_INST             =
      ORDER_CFGS_PART_OF          =
      ORDER_CFGS_VALUE            =
      ORDER_CFGS_BLOB             =
      ORDER_CFGS_VK               =
      ORDER_CFGS_REFINST          =
      SCHEDULE_LINES              =
      SCHEDULE_LINESX             =
      ORDER_TEXT                  =
      ORDER_KEYS                  =
      CONDITIONS_IN               =
      CONDITIONS_INX              =
      EXTENSIONIN                 =
        ENDLOOP.
        LOOP AT int_return.
          WRITE:/ int_return-type,
                  int_return-id,
                  int_return-number,
                  int_return-message.
        ENDLOOP.
      ENDIF.
    please help me ..its a very urgent issue to be solved...
    am waiting for ur reply...
    regards
    gangareddy

  • How to block material issuing after sales order invoiced?

    As the subject mentioned,  could be a possible to block material issuing since sales order invoiced, or
    in the another words, after the sales order completed?
    Or could be a possible to set sales order as closed, and then material issuing related with this sales order are
    forbidden?
    Thanks in advanced,
    Zhou Zhen

    Dear Friend
    A sales order is created say order no 10000 and for material X say 10 units this order is delivered and PGIed and invoiced and the payment too has come
    That means the order 10000 is closed
    Case 1
    Now an user goes to VA02 t code and put this order no 10000 and changes the material X qty from 10 to 12 and opens up the whole order once again
    This can be controlled by using t code OVAH choosing message class the V4 message no 083 and change from warning to error
    Case2
    But to avoid the user to add material Y to the existing order say 10000 then i think we have to go for user exit
    Because the system doesnot even throw a warning message too in case 2 (according to my knowledge) and allows another line item to be added in the same order
    But you can test it if it throws any warning message we can try to convert that error
    But in case 2 it is not happening(even warning is not there)
    Regards
    Raja

  • Issue on automatic journal entry for TDS entries

    Hi Experts
    when i am doing incoming paymnets for some invoices  continouslly, which has TDS, two or more automatic journal entries are created for single invoice only saometimes it is happing
    Can any one help me on this issue
    Regards
    Boopathi.T

    Hi
    Can u explaing detially wt kind of JE was automatically posted....wt is the version of ur TDS addon, It might be Bug of TDS addon so pls contact ur TDS vendor....
    Also copy ur Db and test in Demo DB by stoping the TDS addon it still happens then we have to look seriously wt is going on...........
    Giri

  • How to Block the material Item from the Po level?

    Hi,
    Is it possible to block the item stock from the PO level?
    Currently client request to block the material on certain good receipt only, that's why they want to control in the PO.
    With the field stock type in PO defaulted to Unrestricted is good for them as they only need to change the stock type to block if they found out that that particular item need to be blocked.
    The problem that i'm facing now is the stock type in PO is for display only, but when i check in OMF4, Quality Inspection, it was set as opt. Entry. Is there other places that i still need to change?
    Beside change the stock type in PO, is there any other work around? For example, such as can we set a message pop up from the item text in the PO indicate that this item should be recieve as block stock when the store personnel do the GR or other work around?
    Thanks!

    hi
    as per ur requriments certain goods receipts only go for block stock.
    for that in that purchase orders w r t line items take stock type as a block stock.
    if u want to restrict the material no purchasing at different u can select Xplant material status in material purchasing view or material type level oms2.
    regards
    sap mm

Maybe you are looking for

  • Updates don't appear in mac app store

    Hi, I have a problem with the mac app store. I enter to it and in updates it says that I haven't updates. But I have a lot of apps to update... I had this problem time before but with the terminal and some codes I could repair. But now I can't find t

  • Wont Install or Unstall Itunes

    When i tried to install itunes an error pop'd up i dont remember what it said. But it didnt get installed properly and i cant open it. It says something about the installation program didnt have the rights to change the file C:/programfiles/itunes/ac

  • Import export in different encoding

    Is there a way to change an Import/Export Wizard's output in UTF encoding. Please help.

  • Dynamic type cast

    I want to cast an object to the class of another object whose class is not known statically. Is there anyway to do it in a fully dynamic way ? I tought about something like this : Boolean b1 = new Boolean (true); Boolean b2 // now suppose, I forget t

  • Downloaded content for instant movie on harddrive but not in Elements 10

    Just setting up my Elements 10 and downloaded full content from Adobe's site the 3 GB file in on the desktop and it's not showing in Elements. I'm sure I may have missed a step. Please help.