Override add procedure on a/r invoice

Hello,
I'd like when I add a new A/R Invoice, to call some of my methods, after the invoice has been validated and inserted in the database. How can I override the et_CLICK event of the Add button. If I treat it in the ItemEvent procedure, then BO doesn't execute its procedures. Is there any other way? I've tried to simulate the et_PRINT event, but I can't seem to capture it, even though the Invoice is set on printing at Add.
Thank you,
Irina

Hi Irina
The problem is you are using a demo version. In the demo version that was released before even ramp up you were unable to do print previews or printing. They did this to ensure no one ran sbo on clients site before it's release. So if you are using that demo you will have a problem. Get a full version, you can now download it from the sap service market place, also patch 5 is available and highly recommend it as they had problems in earlier patches with add ons.
Hope it helps.

Similar Messages

  • Dunning (Want to add interest calculation on unpaid invoices (open items)

    We have a requirement in dunning program. we would like to add interest calculation on unpaid invoices (open items) to our dunning letters. This interest should be not posted, but calculated only for information purposes. At this moment we can calculate interest only on cleared items.
    anyone has any idea about this ? what possibilities are there in SAP for this requirement?
    Thanks,
    Naveen

    Hello Vimal ,
    I want to understand we have setting in Dunning FBMP and OB42. if i will set the interest in OB42 and Select the interest indicator in FBMP.! the interest will be calculated for open items and no posting will be done in customer A/c?
    Will you please elobrate about the setting that will be required to do the setting as per the requirement.
    Thanks,
    Naveen
    Edited by: Naveen.Rana on May 26, 2011 9:22 AM

  • PL/SQL add procedure with nested table - Duplicate Thread

    Hi,
    I am trying to do a procedure to input information for one order and another for 2 orders.
    The information I have so far is as follows:
    Drop table Orders cascade constraints;
    Drop type item_type;
    Drop type Item_nested;
    Create or Replace Type item_type AS Object (
    Cat_code Varchar2(6),
    Amount_ord Number(3),
    Cost Number(5,2) );
    Create or Replace Type item_nested as table of item_type;
    Create Table Orders (
    Order_no Varchar2(8) constraint pkorder primary key,
    Customer_name Varchar2(30),
    AddressLine1 Varchar2(20),
    AddressLine2 Varchar2(20),
    AddressLine3 Varchar2(20),
    Town Varchar2(20),
    Postcode Varchar2(10),
    Country Varchar2(20),
    Order_items item_nested,
    Order_date Date)
    Nested Table Order_items
    Store as nested_items return as locator;
    This has so far worked but I have not managed the insert procedure.
    I am using Oracle SQL*plus
    Thanks
    SG
    Edited by: user10689875 on 11-Jan-2009 03:39

    Duplicate thread ->
    PL/SQL add procedure with nested table
    Please remove it & marked it as duplicate.
    Regards.
    Satyaki De.

  • Add Shipping Type in AR Invoice in Crystal Report

    Dear Experts,
    I'm designing the layout by Crystal Report. I want to add Shipping Type in AR Invoice. I used the ready format provided in version 8.8. However, there is no Shipping Type in the given format. So, I pulled in the OSHP table and link TrnspCode to OINV's TrnspCode.
    This form works only if I select a shipping type from the drop-down menu in the AR Invoice. If I leave the shipping type empty, this form will generate a blank data.
    Where did I go wrong?

    Hi,
    A question: why do you need leave the shipping type empty?
    Thanks,
    Gordon

  • Registration procedures necessary for the invoice issuance

    Hi everyone,
    We had requested a new G/L account registration with FI team.
    FI has registered G/L code and released for testing. Now user has reverted with query, as
    Weu2019re going to use the new G/L a/c primarily to issue more of sales invoices and receive payments on this account. Could you inform us if there are other registration procedures necessary for the invoice issuance?
    Kindly suggest what are all necessary steps to perform this test - to post cutomer invoices and receive collections.
    Thanks in advance
    -Sumi

    Hi,
    Though my question is unanswered, still i m closing it, as no replies for last 3 -4 days.
    Thanks.
    -Sumi

  • Diff pricing procedures for contract and invoice

    Hi all,
    My client is into service industry.He is using two pricing procedures for contracts and invoice. Now the requirement is they want to use a single pricing procedure for both contracts and invoice. Now i need club them into one and i need to delete some condition types which are not in use.What are all the factors do i need to consider before clubing them into one??
    Can anybody guide me in this regard?/

    You need to foreclose all your existing contracts and create a new one with the new pricing procedure
    G. Lakshmipathi

  • How to add Freight Charges to an invoice using DI API?

    I need to be able to add Freight Charges to an invoice of suppliers using DI API. Please I need help....!!!

    Hi,
    1. Step: Open the Invoice using oDocument.GetByKey("[DocEntry]")
    2. Step: Use the Lines in the BusinesObject (maybe copy them in an extra LinesObject for a better reading)
    3. Step: Use the Add()-Method to add a new Line
    4. Step: Fill the Line-Properties you want
    a.E.
    oInvoice.Lines.ItemCode = "FREIGHT"
    oInvoice.Lines.ItemDescription = "Freight Charge"
    oInvoice.Lines.Quantity = 1
    oInvoice.Lines.Price = 10.0
    oInvoice.Lines.UnitPrice = 10.0
    Remember: The Item (ItemCode) you want to insert must be existing
    5. Step: Update the main-Business-Object
    a.E.
    oInvoice.Update()
    Hope that help´s
    best regards
    Jochen

  • Approval Procedure in A/P Invoice

    Hi All,
    I want to create an approval procedure in A/P Invoice.
    Logic Behind this Approval procedure is GRPO and A/P Invoice should be done in the same month.
    If the A/P invoice month and Based GRPO month is different then A/P Invoice should go for approval.
    I have written a query but its giving error message. My query is like this :
    select case when (month($[opch.docdate]) <> (select month(OPDN.DocDate) from opdn where docentry = $[pch1.baseentry])) then 'true' Else '' End
    Can Anyone help me to write a proper query.
    Thanks
    Regards,
    Sumit Athare.

    Hi Sumit,
    B1 does not support approval queries on document lines. you can query only document header.
    you can either try to workaround it with all sorts of aggregate UDFs in the header, or alternatively take a look at:
    [http://www.beonesolutions.com/ip/Solutions/ap.html|http://www.beonesolutions.com/ip/Solutions/ap.html]
    all details, including the ability to query all document tables, are in:
    [http://www.beonesolutions.com/files/Approval_Pro_Brochure.pdf|http://www.beonesolutions.com/files/Approval_Pro_Brochure.pdf]
    Gilan

  • Customize Approval Procedure for Past Due Invoice don't work !

    Hi all,
    Below is the query written to trigger the approval procedure if past due invoice happen
    Select 'true'
    from OINV
    where DocDuedate < Getdate() and DocStatus='O' and DocTotal >
    PaidTODate
    However, it will not trigger, can someone please help on this?
    Thanks

    Hi,
    Try this:
    SELECT distinct 'true' FROM OINV T0 INNER JOIN OCRD T1 ON
    T0.CardCode = T1.CardCode WHERE T0.CardCode = $[$4.0.0] AND
    DateDiff(dd,T0.[DocDueDate],Getdate())>30 and T0.DocStatus='O'
    Thanks & Regards,
    Nagarajan

  • Is it possible to have different pricing procedure for SO  and invoice?

    Hi,
    Is it possible to have different pricing procedure for SO
    and invoice?

    Hi Kiran35086 
    --Yes you can have it.But it is based on the business requirement
    --Create 2 Document pricing procedures & assign one in VOV8 & another in VOFA
    --In Sales Document VOV8 you maintain different  document pricing procedure Ex A
    --Go to VOFA & select your billing document type in Account assignment/pricing assign the document pricing procedure.EX- B
    --Create condition records in VK11 for the condition types which are included in the pricing procedures
    --Maintain pricing procedure determination in OVKK with 2 different Document pricing procedure & save it
    --When you raise SO in VA01 you will find one pricing procedure & when you raise billing in VF01 you find another pricing procedure in conditions.
    Let me know if your problem is solved
    Regards
    Pradeep

  • Please help me add items to the Pages invoice doc keeping the formulas

    Please help me add items to the Pages invoice doc keeping the formulas ie that they will add together and give me a total

    this is the template I am Referring to...

  • Add additional Fees in the Invoice

    Hello
    There are additional charges incurred at warehouse for the various services provided by the warehouse.
    Hence the user needs to add this additional charges in the Invoice to the customer.
    Please provide the detail steps to set up the same.
    Thanks
    Chandrashekhar.

    Hello Chandrashekhar,
    I think the best way to approach your requirement would be to define a condition type in V/06 which would be handling Addition Fees for your pricing procedure. Based on the Client business requirement you can set this condition type as Manual or Automatic. Then you can add one more important criteria i.e. Include this Condition type in Billing Process only and for mapping this
    you need to add a requirement for this Condition type. You can use the Standard requirement 024/023 in the t-code V/08.
    Please try it out and do let me know the result.
    Thanks !!
    Regards,
    Sarthak

  • Cannot add item in A/P Invoice

    Hi, all,
    I want create a A/P invoice without copy from PO or GRPO. However, after I input BP Code, I am not able to add item in Matrix row. Seems that it is blocked
    Any ideas?
    Thanks

    Hello kimmycheng,
    The marketing document can be of 2 types ..Item or Service...this is indicated by the Item / Service type drop down just above the matrix/grid
    If you want to add an Item..this drop down should be set to Item.  If it is of type Service then you might not see the ItemCode column.
    If does not reflect / help what you are referring to ....then please explain your issue ina bit more detail
    Suda

  • Override Pricing Procedure

    Hi,
    I hava a requirement to to select pricing procedure based on the Ship to. I know that the determination is via Sales org, DChl, Dv, DoPr, CuPP.
    we have 2 Pricing Procedure one of them is normal pricing procedure and the other includes the condition exclusive to provide the lowest price. likewise i cannot have one pricing procedure with all combinations. therefore I have to have 2 pricing procedure and select the pricing procedure based on ship-to in order to provide the best price.
    Is there any standard way to do it or override the configured PP instead of using user exits, copy control etc.
    - Deepak

    Are you on ECC 6.0?  I believe you can automate your pricing procedure through the sales order type which is also tied to a pice list,,,,without having to enter anything manually.  I am quite new to SD; but we are using 2 different pricing procedures based on sales order type with using different price list; there is nothing anyone is doing automatically.

  • How to add data to A/R Invoice Matrix via DI API ?

    Hello everyone,
    Could you please answer to my question?
    I insert new button on SAP system form (A/R Invoice). I want to add new line with item code at Invoice Matrix when I click the button.
    Thanks,
    KZT

    Hi Kyaw,
    If you want to update an Existing Sales Invoice Document then I am sorry but it is not possible.
    But if you want to create a whole New Document with DIAPI then try this:
    Dim oInvoice As SAPbobsCOM.Documents
                    oInvoice = ocompany.GetBusinessObject(BoObjectTypes.oInvoices)
                    oInvoice .CardCode = "C001"
                    oInvoice .DocDate = "Date"
                    oInvoice .DocDueDate = "Date"
    oInvoice .Lines.ItemCode = "ItemCode"
                oInvoice .Lines.Quantity = 1
                oInvoice .Lines.Price = 100
                oInvoice .Lines.DiscountPercent = 2
                oInvoice .Lines.TaxCode = Tax
                oInvoice .Lines.Add()
    Finally try to add using oInvoice .Add()
    Hope it helps.
    Thanks & Regards
    Ankit Chauhan

Maybe you are looking for