Custom message during Invoice parking

Hi ,
I am implementing ECC MM module.
Sceanrio is that during creation of a PO , the buyer will sometimes put an internal note , to be checked by the FI person during invoice parking.
The requirement is :
1. How to create a custom message " check the PO for any special instructions", and mark it as warning message
2. This message should be displayed when the AP person is trying to park the invoice
Rgds
Sumendra

I am sure there are many ways to accomplish this but a simple method is to use a validation.
Go to GGB0 and under Financial Accounting,  and document header, create a simple validation that includes something like...
prerequisite -      BKPF-TCODE = 'FV60'
check -                 SYST-UNAME = ' '
message  type -       W
message number -   0XX
   "The custom message in message class ZFI (check the PO for any special instructions") is created in SE91 using the next available free message number.
Then use OB28 to make the callup point for the validation 1" for document header, enter the validation name and make the activation level "1".
Then any user paking a document using FV60 for instance will get a warning message when saving the document as complete.

Similar Messages

  • Duplicate Invoice Check during Invoice Parking

    Hi All,
    We have activated duplicate invoice check for our company code.  All the required pre-requisites have been activated w.r.t configuration and master records.  In our case we had checked only Reference document number and company code for considering duplicate invoice check.
    So during invoice parking the system is checking the gross invoice amount also for validation. 
    For example, we had parked an invoice document with gross invoice amount 100 USD, reference doc number 123, vendor code X, company code Y and currency USD.  We are trying to create another invoice document with same parameters as created for first document except gross invoice amount (for this new document the gross invoice amount is 150 USD)  In this case the system is not showing the message number M8-462 (Check if invoice already entered as logistics inv. doc. number & &).  If the Gross invoice amount is same, then the system is showing the message.
    But if we post the invoice and then try to create another invoice with same reference with different gross invoice amount, then system is showing message M8-108 (Check if invoice already entered under accounting doc. no. & &)
    Please provide your inputs on why system is considering gross invoice amount for parked invoices.
    Thanks

    If it's User specific it's probably the message setting . . .
    MM \ LIV \ Define Attributes of System Messages
    Help text:
    Define Attributes of System Messages
    In this step, you can define the category of message received by individual users for certain messages in Invoice Verification. This allows you determine whether a user receives a message as an indication of:
    Information
    Warning
    Error
    Or whether no message should be issued at all
    Regards,
    Nick

  • Reg.Debite note alert message during invoice

    Dear Experts
    We want an alert message during Invoice against Purchase order that "Debite note is raised" if I created debit note advise in F-41. what I should do. Pls advise.
    Thanks
    Rajakumar.K

    Dear All
    I solved my problem myself. Thanks
    I made an entry in MIRO with the option "Credit memo" and made payment to vendor the balance amount only will come deducting the debit amount from vendor.
    Thanks
    Rajakumar.K

  • Reg.Debite note alert message during invoice MIR7

    Dear Experts
    We want an alert message during Invoice against Purchase order that "Debite note is raised". what I should do. Pls advise.
    Thanks
    Rajakumar.K

    Dear Expert
    I have one idea,but I don't know how far it is ok,
    in vendor master one option is there that Payment block where if I select blocked for payment during control the debit note. If I do so,I will get the message during invoice that the payment is blocked like then, then I have to change the Payment block to Free for payment.
    I changed the Payment block to Blocked for payment which was not working while invoice.
    Pls advise
    Thanks
    Rajakumar.K

  • RIDICULOUS customer support and invoice due to fraud - Still not resolved since April

    I am posting my story from the past 9 and a half months here only because I’ve tried many many other ways to get in touch with Verizon about issuing a billing credit but have received TERRIBLE customer service during this entire time.  I am now trying any other means possible to get in touch with the proper people at Verizon to get this matter resolved.  It is a very long story, but this has been our life since April.
    Beginning in April, we received a couple emails stating that there had been a change on our wireless account.  Thinking nothing of it, we continued on until the three phones on our account started getting shut off.  Calling Verizon, they stated that there were indeed changes made to our account and they shut our phones off to prevent any future changes.  We had to cancel our online MyVerizon account to prevent hacking into the account to make changes.
    Weeks went by with our phones being turned off for days at a time and the fraudulent international minutes starting to rack up.  Every time we called customer service, they would ask us if we were making the hundreds and hundreds of minutes of calls to and from Jamaica and Cuba – no, we only make less than 50 minutes of calls a month. They would eventually turn our phones back on but it would never be fixed.
    After many weeks, approximately 30-40 hours spent on the phone with tech and customer support, wasting a day of vacation to work on this problem in a Verizon store, approximately 5,000 fraudulent international minutes, and a $10,725.48 bill for April (YES almost 11 THOUSAND DOLLARS), the problem was finally solved.  The final outcome was to credit back all the fraudulent charges on the next bill, and I demanded 6 months free service because of all the inconvenience we had to deal with.
    During the next bill, there was a credit balance of $1,029.44, which made sense to me because our monthly bill is between $150-$160, plus about half a month of having our phones shut off.  After our normal monthly charges, the May bill had a credit balance of $871.55.  The June bill was fine.  The July bill was fine.  The August bill was fine – a $414.26 credit balance with the words “DO NOT PAY” next to the balance.  The September bill is when it hit the fan again.
    On the September bill, there were $986.02 of “Other Charges”, mainly state sales tax and the Federal Universal Surcharge.  $838.08 of it was specifically on the one line that only has a $9.99 monthly access charge.  Does $838.08 of sales taxes and surcharges on a $9.99 monthly charge make sense to anyone?
    I called on October 10th– the person who I spoke with said they would ‘research’ it and call me back by 4:00 that day.  Never did.  I called back on 10/22 said they agreed with me that $986.02 of “Other Charges” does not make sense.  He was able to credit back those charges, but they would not appear until the next bill and it should still leave a $261.10 credit balance.
    Then the October bill came in the mail with no credits issued. I called on 11/12 and found out that the supervisor from the last person who said the amounts should be credited back would call me by 11/14, but they would push them to call me on the 12th instead.  Never called back on the 12th.  Never called back on the 14th.  That’s when our phones were shut off again because of non-payment.
    I called back on 11/14 and was transferred from customer service, to fraud, to customer service, to billing, to fraud, to financial services, to customer service.  Finally the last person I spoke with said it was a billing issue and she would fill out the necessary paperwork to get the charges reversed and our phones turned back on. The credits should appear on our next bill (where have I heard that before).  And she even gave me her email address so we could follow up with each other.
    The November bill had arrived and on it there was now a $1,059.65 balance due!  Again, messages were received demanding payment.  I reached out to the last person via email on November 25, November 26, November 27, December 4, December 9, and December 16.  I am not surprised that I have never received a response from them.
    I called customer service on 12/3 where the person submitted all my information into fraud to have them investigate.  She then gave me a ticket number and stated I needed to call fraud. I called fraud on the afternoon of 12/3 and was on hold for over an hour with no one picking up.  I called back on 12/4 and fraud stated they cannot give billing credits, so I was transferred to financial services, who said they only accept payments.  Then I was transferred to customer service.  That person agreed that something was wrong and would ‘research’ it and call me back the next day –they never did.
    I called customer service on 12/10 and they said it is a fraud issue – that the sales taxes from the $10,725.48 bill back in April finally caught up and were billed on September’s bill.  I asked why I would be liable for sales taxes on an invoice I was NOT liable for? They said since it was a fraud issue, I would have to speak with them.  So I was then transferred to fraud, who said they would need to research it and call me back later in the day.  Of course, they never called back.
    Once our phones were shut off again for non-payment, I called back on 12/11, demanding to speak with a supervisor of a department who could issue credits.  I again was transferred 9 times between customer service, financial services, billing, fraud, and back again.  I did learn that the bill was so high because we haven’t made any payments in the months after the fraud.  I said that we were promised 6 months free, and there was a credit balance, and that our bills, with the credit balance, said “DO NOT PAY” on them, why would I make a payment?  No one could explain, other that our bill is so high because we haven’t made a payment.
    Finally, on 12/11 I was able to speak with a young woman who again said she submitted paperwork to the billing department to have them look at it. The process would take 24-48 hours. She also gave me her email address, and she’s been very responsive to my inquiries regarding the status, even though there have been no status updates.  On 12/16 I spoke with her again and she said she hasn’t heard back yet, but at least she was able to turn our phones back on.
    On 12/16, my wife visited a Verizon store in hopes that an actual human may be able to help.  The representative in the store called customer service and received the same run around and was bounced around to several different people.  My wife then got on the line with a helpful customer service rep (I believe the same rep who has at least been responding to my emails, although she cannot resolve the matter).  This woman at least found out that the original over credit was for international taxes that would come at a later, unknown date.  This was never told to us and thought it was the 6 month credit of service we demanded and hence, have not paid Verizon since the credit was applied in May (with the words "DO NOT PAY" written on each bill).  My wife then spoke with someone in "customer relations" who offered only $150 to resolve this $1,000 issue.  After stating we wouldn’t accept anything less than the full amount, she then gave the name and number of a customer service manager.  The manager returned my wife's call promptly but argued that nothing could be done because we have not paid our bill in 7 months.  She would not listen to history of what has taken place and would not accept our offer to pay December's bill for our normal monthly service and then continue forward.  That phone call was disconnected at 4:30PM EST on 12/16.  Four voicemails have been left for her and as of 12/17 at 1:30PM EST, none have been returned and the "manager's" name is no longer on the voicemail box for that phone number, when it was on the first attempts to reach her.
    We are giving until 12/20 to settle this issue.  I see two options:  1.)We will take our money and sign up with a different carrier. Verizon will not receive payment for the amount that is said to be owed, since we do not owe this money, and we will go to the state attorney general.  Or 2.) Our account can be credited, this issue settled, and we will continue to be happy customers, who pay on time, in full, every month, dating back more than a decade.  This, again, has taken an astronomical amount of time and energy to try and settle this.  We really should be receiving another 6 months free service.

    Take verizon to small claims court, do it now. Pay the small court fee and take them to court.
    You must also write a certified return receipt letter to Verizon's remittance address and dispute all the amounts in question.
    Get all your paperwork together and names places and dates of contact, see the judge. Its that simple.
    Don't even bother jumping through hoops with verizon wireless. But do as I told you to protect yourself and your rights and your credit. Verizon has to answer court summons. Let them come to you. Let them contact you and settle.
    I doubt you will get six months free. But hey it doesn't hurt to try.
    Good Luck

  • Error message during duplicate Pur Requisition creation for same Sale Order

    Dear Experts,
    I need your help to sort out a issue related to Stock Transport Order.
    Our scenario is as below:
    1) Sales order is raised first.
    2) Stock transport requisition raised off in the background of a sales order automatically.
    3) This PR turned into an Stock Transport Order PO manually.
    4) Create delivery for STO from supplying plant and then GR is done in receiving plant. Create inter-company invoice.
    5)Create delivery for sales order to issue the stock to end-customer and raise invoice.
    This is standard scenario.
    Problem comes when some smart uses manually creates another stock transport requisition again for same SO, which is turned into an STO. Means there is a duplication of STO PO.
    My question to you experts, is there any standard way to prompt error or warning message, when users try to create purchase requisition manually for the same SO.
    Account assignment category in PR is M - Ind. cust. w/o KD-CO.
    Please suggest.
    Regards,
    Praveen

    Hi!
    Is it possible to create / configure a seperate PR document type for PRs created automatically from SO and don't give authorization to any user to create / amend the same manually?
    Regards,
    Riju

  • Report to post a parked invoices parked using transaction  MIR7

    Hi Experts,
    I have a requirement of developing a report that will post the parked invoices, parked using the transaction MIR7. While posting I need to check whether the invoice amount is in par with PO price. If there is any price variance, I need to assign the increased price to a different G/L account.
    I understand that I should use the Function Modules 'MRM_INVOICE_READ' and 'MRM_PARKED_INVOICE_POST'. But it is not working for me. Forget about assigning the PO variance to different G/L account, I am unable to even post a simple parked invoice using these function modules.
    The invoice data, especially item data (ti drseg), is not sufficient to populate to 'MRMPARKED_INVOICE_POST'. Some one help me how to fill the internal table ti_drseg so as to pass it to function module 'MRM_PARKED_INVOICE_POST'.
    Please provide me if any standard reports are available  to post the parked invoices.
    Thanks,
    Naresh Babu Kandula.

    Hi,
    maybe something like:
    REPORT  zz_post_parked_invoice.
    TYPE-POOLS: mrm, mmcr.
    DATA: l_t_rbkpv TYPE mrm_rbkpv,
          l_t_drseg TYPE mmcr_drseg OCCURS 0.
    DATA: i_belnr LIKE bkpf-belnr,
          i_gjahr LIKE bkpf-gjahr.
    PARAMETERS: p_belnr LIKE rbkp-belnr,
                p_gjahr LIKE rbkp-gjahr.
    START-OF-SELECTION.
      i_belnr = p_belnr.
      i_gjahr = p_gjahr.
      CALL FUNCTION 'MRM_INVOICE_READ'
        EXPORTING
          i_belnr         = i_belnr
          i_gjahr         = i_gjahr
        IMPORTING
          e_rbkpv         = l_t_rbkpv
        TABLES
          t_drseg         = l_t_drseg
        EXCEPTIONS
          entry_not_found = 1
          OTHERS          = 2.
      IF sy-subrc NE 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      CALL FUNCTION 'MRM_PARKED_INVOICE_POST'
        EXPORTING
          i_rbkpv  = l_t_rbkpv
          ti_drseg = l_t_drseg.
      IF sy-subrc NE 0.
        ROLLBACK WORK.
      ELSE.
        COMMIT WORK AND WAIT.
      ENDIF.
    check also function module FM_FI_MM_PP_POST in include LF0KJF01.
    Best regards.
    Edited by: Pablo Casamayor on Jan 28, 2010 4:16 PM

  • Setting up Billing Block for SALE ORDER during Invoice cancellation

    Hi,
    I have a requirement where in i need to set the billing block(VBAK-FAKSK) while saving Invoice cancellation document. Please suggest some user exit or BADI during Invoice save so that i can set the billing block in sale order header data.
    Thanks in Advance,
    Raghav
    Moderator message: please do your own research before asking.
    Edited by: Thomas Zloch on Jan 12, 2011 2:59 PM

    Hi,
    You can try TCode V.00
    This transaction when executed will give you the list of all the sales documents blocked for delivery per sales organization. There are various other criteria which might be useful. This transaction will allow you to edit each sales document.
    If this is not the one that you want, then perhaps you might have to develop one.
    Thanks
    Mukund S

  • Bdc for invoice parking with reference(FB60)

    Hi all,
    I am Developing a <b>RFC</b> within that i have written <b>bdc</b> code for <b>invoice parking with refernce</b> on <b>fb60 tcode</b> as there is no standard function module for this . But i am stuck in one place after parking the document it gives one<b> document number</b> in the message bar which will be further useful for posting  .
    how to catch that document number in the bdc and return it in the export parameter of trhe RFC.
    Maximum points will be allocted for any useful answer..
    thanks in advance

    You can do something like below after your call transaction to get the document number.
    do 10 times.
            wait up to 5 seconds.
            select single * from bkpf
               where belnr = belnr
                 and bukrs = bukrs
                 and gjahr = gjahr.
            subrc = sy-subrc.
            if subrc = 0.
              exit.
            endif.
    enddo.

  • Message type 'INVOICE'  for intercompany billing?

    Hi all,
    I have a requirement that i have to  create the invoice receipt for FI when the billing document is created in the same client?
    Please provide me the details for this
    such as output type and process code and other master data settings that have to fill?
    Thanks,
    Vamshi.

    Hi,
    For creating a intercompany invoice interface you need to do the following steps:-
    1. You need to maintain the Account at Customer in the customer master
    2. Ask your functional consultant to create an output type for you for this interface and let that output be triggered in the billing document.
    3. You need to create a partner profile for Customer and Partner Role as BP.  Message Type INVOIC, Message code FI and Process Code as SD08.
    4. You need to maitain the logical address to convert it to the vendor, this entry is maintained in the table EDILOGADR.
    5. Till now what ever you maintained is for the outbound interface.
    6. You need to create a partner profile for the vendor as Message Type INVOIC, Message Code FI & Process code INVF.
    7. The FI functional consultant has to enable that vendor as EDI and he has to make the necessary setting for the document to be posted successfully.
    If your functional consultant is not in a position to do them, you can ask me and i will help you to do those setting as well.
    Thanks,
    Mahesh.

  • Workflow on invoice parking and posting

    Hello,
    Can anybody guide me how to configure the workflow for invoice parking and posting in detaills?
    Thanks
    Nilesh

    hello ,
    Prerequisites
    In the Implementation Guide (IMG) for Logistics Invoice Verification, you can specify for which company code, which vendors, which invoices, and above which amount a document is subject to release. In an invoice document that is completed for posting, the amount that is subject to release is based on the gross amount. (Logistics Invoice Verification ® Document Parking ® Define Release Criteria)
    Technical Implementation (MM-IV-LIV)
    Object Types
    Object technology is used to create the interface between the ERP functions and the Workflow system. The information given below is primarily of a technical nature and is not necessary for an initial overview.
    Incoming invoice
    Object type Bus2081 (Incoming invoice)
    Workflow Template
    The actual operational procedure is implemented as a workflow template. You will find this workflow template in your ERP system.
    Workflow template: WS 20001004
    Description: Release the Completed Log. IV Document
    Triggering Event for Workflow Template
    The event for workflow template IncomingInvoice.CompletedToRelease is triggered if the parked document is complete for posting (RBKP-RBSTAT='B') and is subject to release (RBKP-RFGKZ='X').
    This coupling between the event and the workflow template to be started is deactivated in the standard system. If you want to use the workflow template, you have to activate it in Customizing for Logistics Invoice Verification.
    User Roles
    You complete parked invoices for posting and release them at the following organizational levels.
    Processor Determination: Clerk Responsible for Releasing Invoices
    If you have already maintained an organizational unit, you can use it here.
    If no organization unit is available, create an organizational unit that includes the people responsible for releasing invoice documents that are complete for posting.
    Use the organizational unit in Customizing for Logistics Invoice Verification in the activity for defining release criteria.
    Processor Determination: Clerk Responsible for Completing Invoices for Posting
    If you have already maintained an organizational unit, you can use it here.
    If no organization unit is available, create an organizational unit that includes the people responsible for completing parked invoice documents for posting.
    Link the organizational unit to the single-step task TS20000879:
    ·        By simple processor assignment
    All users in the organizational unit receive the work item.
    ·        By defining an individual role
    Only selected users in the organizational unit receive the work item.
    Authorization Objects
    You must have maintained the authorization to display invoices (activity 03, M_RECH_WRK) for users who are responsible for releasing invoices.
    You must have maintained authorization to change parked invoice documents (activity 77, M_RECH_WRK) for users who are to complete parked invoice documents for posting.
    Several other specific customizing steps are necessary for this workflow template in addition to the general customizing that is necessary to make sure that the workflow system functions properly.
    Activating Event-Receiver Linkage
    The event IncomingInvoice.CompletedToRelease (Invoice document completed for posting and subject to release) for object type BUS2081 (Incoming invoice) is an event that triggers workflow template WS 20001004 and is entered in the event linkage table as such as the standard event.
    This coupling between the event and the workflow template to be started is deactivated in the standard system. If you want to use the workflow template, you activate the linkage between the triggering event and the workflow template as receiver of the event in Customizing for Logistics Invoice Verification. (Logistics Invoice Verification ® Document Parking ® Activate Workflow Template for Release for Posting.)
    Use
    The release of invoice documents that have been completed for posting is supported by a link to a workflow procedure.
    Prerequisites
    The event IncomingInvoice.CompletedToRelease must be triggered for an invoice (BUS2081) so that a release procedure is started. We recommend implementing this workflow together with the SAP workflow template WS20001003.
    In Customizing for Logistics Invoice Verification, you maintain the activity Define Release Criteria under Document Parking.
    Features
    Release for Posting
    In the release step, the person responsible for releasing the invoice document decides if it should be released. The system uses the virtual attribute ReleaseAgent for object type BUS2081 to determine the person responsible for releasing the document. The release criteria in Customizing for Logistics Invoice Verification are checked for this.
    If the person responsible decides to release the document, it is first released in the background and then posted.
    If he or she decided to reject the document, it is forwarded for further processing to the accounts payable clerk responsible for completing invoice documents for posting. The rejection reason should have been entered using the memo function.
    Completing Invoices for Posting
    The accounts payable receives a work item in his or her inbox. In this work item, he or she can read the reason why the invoice document was rejected and change it. If the accounts payable clerk parks the changed invoice document, saves it as complete, deletes it, or posts it, the workflow ends. It makes sense to save the invoice document as complete and therefore trigger the release workflow again, assuming that the invoice document is subject to release.
    If the invoice document is parked, deleted, posted, or released in the background outside the workflow process, the workflow ends.
    regards
    venga

  • How to Generate a Custom Message for A Custom Code.

    Hello,
    Can anyone guide me on this -
    Application : 11.5.10.2
    We have a cutom Trigger through which we want to display a custom message.
    We have re-generated the .msb, but it seems that something is missing.
    Following are the Steps We have followed to generate a custom message.
    1. Responsibility "Application Developer"
    2. Go to Applications
    3. Select Message
    4. Define a new custom message.
    5. Save
    6. Run Request " Generate Message"
    Now when the trigger gets fired , we are not able to see our Custom message.
    How do we call this messge in the custom code.
    Pl. help on this , also can i get some reference note id's on this.
    Thanks in advance.
    Regards,
    Jenny

    CREATE OR REPLACE TRIGGER KPC_RCV_TRANSACTIONS_INTERFACE
         AFTER INSERT OR UPDATE ON APPS.RCV_TRANSACTIONS_INTERFACE
         REFERENCING NEW AS NEW OLD AS OLD
         FOR EACH ROW
    ---     This Trigger Validates following things
    ---     1.     Creation date is not modified and is greater than system date.
    ---     2.     RTV should not be possible before ERS is generated.
    ---     3.     Inspection should not be possible through Deliver Transactions Responsibility
    ---     4.     Delivery of Material should not be possible through Inspection Responsibility
    ---     5.     Item is Excisable and Excise Invoice No Or Excise Invoice Date is Missing
    ---     6.     Only Inspected and Accepted material is Delivered to Subinventory
    ---     7.     Check for Existance of 57F4 for Subcon Job Receipts
    ---     8.     Check Taxes are not Missing
    ---     9.     Check Taxes are Correct
    ---     Declaring The Variables
    DECLARE
         v_grade                    number          :=     0;
         v_employee_id               number          :=     0;
         v_responsibility          varchar2(100)     :=     'Z';
         v_closed_taxes_count          number          :=     0;
         v_taxes_count               number          :=     0;
         v_invoiced_status_code          varchar2(01)     :=     'N';
         v_57f4_id               number          :=     0;
         l_date_ok               varchar2(01)     :=     'N';
         l_gate_date_ok               varchar2(01)     :=     'N';
         l_cenvatable_flag          varchar2(01)     :=     'N';
         l_excise_ok               varchar2(01)     :=     'N';
         l_rtv_ok               varchar2(01)     :=     'N';
         l_inspection_ok               varchar2(01)     :=     'N';
         l_delivery_ok               varchar2(01)     :=     'N';
         l_rej_delivery_ok          varchar2(01)     :=     'N';
    BEGIN     
    --      Get Looged in Responsibility Name
         begin
              SELECT      upper(responsibility_name)
                   INTO v_responsibility
              FROM      apps.fnd_responsibility_vl
              WHERE      responsibility_id = apps.fnd_global.resp_id;
         EXCEPTION
              WHEN      NO_DATA_FOUND THEN
                   v_responsibility := 'Z';
              WHEN      OTHERS THEN
                   v_responsibility := 'Z';
         END;
    ---     Modifications Done by SMT to Bypass checking for following Users
         if     (apps.fnd_global.user_id     <     1091)     then
              return;
         end     if;
    ---     if     (apps.fnd_global.user_id     in     (1090,1111,1112,1126,1540,1591,1570,1881))     then
    ---          return;
    ---     end     if;
    ----     Collect the Information Required from Other Tables
    ---     Check whether item is cenvatable
         l_cenvatable_flag     :=     'N';
         begin
              select     'Y'
              into     l_cenvatable_flag
              from     apps.ja_in_po_line_location_taxes     jipll
              where     upper(jipll.tax_type)          in     ('EXCISE','CVD')
              and     jipll.po_header_id          =     :new.po_header_id
              and     jipll.po_line_id          =     :new.po_line_id
              and     jipll.line_location_id          =     :New.po_line_location_id;
         EXCEPTION
              WHEN      NO_DATA_FOUND THEN
                   l_cenvatable_flag     :=     'N';
              WHEN      OTHERS THEN
                   l_cenvatable_flag     :=     'N';
         end;
    ---     Check whether Taxes are closed
         v_closed_taxes_count     :=     0;
         begin
              select     count(distinct jit.tax_id)
              into     v_closed_taxes_count
              from     apps.ja_in_tax_codes               jit,
                   apps.ja_in_po_line_location_taxes     jipl     
              where     nvl(jit.end_date,sysdate)<     sysdate               
              and     jit.tax_id          =     jipl.tax_id
              and     po_header_id          =     :new.po_header_id
              and     po_line_id          =     :new.po_line_id
              and     line_location_id     =     :new.po_line_location_id;
         EXCEPTION
              WHEN      NO_DATA_FOUND THEN
                   v_closed_taxes_count     :=     0;
              WHEN      OTHERS THEN
                   v_closed_taxes_count     :=     0;
         end;
    ---     Check Existance of Taxes
         v_closed_taxes_count     :=     0;
         begin
              select     count(distinct jit.tax_id)
              into     v_taxes_count
              from     apps.ja_in_tax_codes               jit,
                   apps.ja_in_po_line_location_taxes     jipl     
              where     nvl(jit.end_date,sysdate)<     sysdate               
              and     jit.tax_id          =     jipl.tax_id
              and     po_header_id          =     :new.po_header_id
              and     po_line_id          =     :new.po_line_id
              and     line_location_id     =     :new.po_line_location_id;
         EXCEPTION
              WHEN      NO_DATA_FOUND THEN
                   v_taxes_count     :=     0;
              WHEN      OTHERS THEN
                   v_taxes_count     :=     0;
         end;
    ---     Modifications Done by SMT to Get Invoice Status Code of the Original Transaction
         v_invoiced_status_code     :=     'N';
         BEGIN
              SELECT      'Y'
              INTO      v_invoiced_status_code
              FROM      apps.ap_invoices_all          ap,
                   apps.rcv_shipment_headers     rcv
              WHERE      ap.invoice_num               like     '%'||rcv.receipt_num||'%'
              AND     ap.org_id               =     rcv.ship_to_org_id
              AND     rcv.shipment_header_id          =     :NEW.shipment_header_id;
         EXCEPTION
              WHEN      NO_DATA_FOUND THEN
                   v_invoiced_status_code          :=     'N';
              WHEN      OTHERS THEN
                   v_invoiced_status_code          :=     'N';
         END;
    ---     RAISE_APPLICATION_ERROR(-200151,'Incorrect Transaction Date...');     
    ---     Check the transaction_date is correct or not
         l_gate_date_ok          :=     'Y';
         IF     ((:new.ship_head_attribute6     is     null)                                        or
              (to_date(:new.ship_head_attribute7,'DD-MON-YYYY')     <     (sysdate-3))                    or
              (to_date(:new.ship_head_attribute7,'DD-MON-YYYY')     >     sysdate))                    then
              l_gate_date_ok     :=     'N';
         END      IF;
    ---     Check the transaction_date is correct or not
         l_date_ok          :=     'Y';
         IF     (to_date(:new.transaction_date,'DD-MON-YYYY')     <     to_char(sysdate,'DD-MON-YYYY'))     then
              l_date_ok     :=     'N';
         END      IF;
    ---     Check whether Excise Invoice No and Excise Date is present
         l_excise_ok          :=     'Y';     
         if     (l_cenvatable_flag               =     'Y'               and
              :new.ship_head_attribute1          is     null               and
              upper(:new.destination_type_code)     =     'RECEIVING')          then
              l_excise_ok          :=     'N';
         end     if;
         if     (l_cenvatable_flag               =     'Y'               and
              :new.ship_head_attribute2          is     null               and
              upper(:new.destination_type_code)     =     'RECEIVING')          then
              l_excise_ok          :=     'N';
         end     if;
    ---     Check whether Inspection transaction is being made in correct Responsibility
         l_inspection_ok               :=     'Y';
         if     (upper(:new.destination_type_code) = 'RECEIVING')               then
              if     (v_responsibility like '%RECEIPT%QA%')                    then
                   l_inspection_ok     :=     'Y';
              else
                   l_inspection_ok     :=     'N';
              end     if;
         else     l_inspection_ok          :=     'Y';
         end     if;
    ---     Check whether Delivery transaction is being made in correct Responsibility
         l_delivery_ok               :=     'Y';
         if     (upper(:new.destination_type_code) in ('INVENTORY','SHOP FLOOR'))          then
              if     (v_responsibility not like ('%RECEIPT%QA%'))     then
                   l_delivery_ok     :=     'Y';
              else
                   l_delivery_ok     :=     'N';
              end     if;
         else     l_delivery_ok          :=     'Y';
         end     if;
    ---     Check whether RTV is made prior to generating the ERS Invoice
         l_rtv_ok               :=     'Y';
         if     (upper(:new.transaction_type) in ('REJECT','RETURN TO VENDOR'))          then
              if     (v_invoiced_status_code = 'INVOICED')                    then
                   l_rtv_ok     :=     'Y';
              else
                   l_rtv_ok     :=     'N';
              end     if;
         else     l_rtv_ok          :=     'Y';
         end     if;
    ---     Check Error and Display Proper error message
    ---     Transaction Date Error
         if     (nvl(l_date_ok,'N') != 'Y')          then
              apps.fnd_message.set_name('FND','Wrong GRR Date');
              apps.fnd_message.raise_error;
         end     if;
    ---     Gate Entry Date Error
         if     (nvl(l_gate_date_ok,'N') != 'Y')          then
              apps.fnd_message.set_name('FND','KPC_RCV_CHEK:Wrong Gate Entry Date');
              apps.fnd_message.raise_error;
         end     if;
    ---     Return CENVAT Error
         if     (nvl(l_excise_ok,'N') != 'Y')          then
              apps.fnd_message.set_name('FND','KPC_RCV_CHEK:Enter Excise Invoice No');
              apps.fnd_message.raise_error;
         end     if;
    ---     Return Closed Taxex Error
         if     (nvl(v_closed_taxes_count,1) != 0)     then
              apps.fnd_message.set_name('FND','KPC_RCV_CHEK:Taxes Wrong');
              apps.fnd_message.raise_error;
         end     if;
    ---     Return Taxes Missing Error
         if     (nvl(v_taxes_count,0) = 0)     then
              apps.fnd_message.set_name('FND','KPC_RCV_CHEK:Taxes Missing');
              apps.fnd_message.raise_error;
         end     if;
    ---     Return from trigger, if Transaction Type = 'RECEIVE'
         if     (upper(:new.transaction_type) = 'RECEIVE')     then
              return;
         end     if;
    ---     Return Inspection Error
         if     (nvl(l_inspection_ok,'N') != 'Y')     then
              apps.fnd_message.set_name('FND','KPC_RCV_CHEK:Inspection Not Allowed');
              apps.fnd_message.raise_error;
         end     if;
    ---     Return Material Delivery Error
         if     (nvl(l_delivery_ok,'N') != 'Y')          then
              apps.fnd_message.set_name('FND','KPC_RCV_CHEK:Delivery not Allowed');
              apps.fnd_message.raise_error;
         end     if;
         return;
    END KPC_RCV_TRANSACTIONS_INTERFACE;

  • Multiple customers for same message type "invoic" and idoc type "invoic02"

    Dear Experts,
    I have SAP ALE process configured for single customer u2018Au2019 where I send invoic02 idoc (message type invoic) to the customer via PI server. Now I need to add one more customer u2018Bu2019 which require recepient determination. I am not sure whether this resolution of customer address at PI level or config is required at R3 itself.
    I tried to maintain partner profile type as KU but it generates the error "No partner profile is maintained". For existing customer u2018Au2019 I am keeping the partner profile type LS.
    I want to know the following:
    a.Whether the recipient determination at R3 (config of partner profile we20)- if so what are the essential steps. Do I really need to shift partner profile type as KU?
    b.Whether config is required at PI level itself- if so is there any pre-requisite config in R3 to support that in PI.
    I hope my question is clear since this is my maiden attempt to seek solution from expert group.
    Regards & Thanks

    Hi ,
    if you want to trigger the idoc  two times for basic type& Extension..
    1 ) you need to maintain  WE20 Partner Profiles (This is good already you did)
              --> But the Output type for Bsic type & extension type is same so output type is triggered Once so idoc is created One.
    2) try to create another Output type in T-code NACE for extension then two Idocs is created one for Basic and another for Extension.
    Regards,
    Prabhudas

  • User exit during invoice verification (MIRO) and PO creation

    Hi,
        I have a following scenario to be support by ABAP development
    1. During invoice verification (MIRO) system should allow users to manually make any changes in amount and qty proposed by system.
    2. During purchase order creation i need a warning message in case of this po is first creating for that particular article and vendor combination.
       so that user will get alerted in case of wrongly choosen the vendor.Many a times user create wrong po, wrong GR and wrong invoice.
      since the business process activities are decentralized, person who is making GR is differ from the peron who had created po and invoice.
    Ex: material DCF is supplying by vendor VLC international, where there is one more vendor name with VLC traders. due to this name some time users will prepare wrong po, wrong GR and wrong invoice.
       plz suggest how can i suggest my  ABAPER to control this mistakes.

    Hi,
    you can check out the following exits while PO creation:
    EXIT_SAPMM06E_006
    EXIT_SAPMM06E_007
    EXIT_SAPMM06E_008
    EXIT_SAPMM06E_009
    EXIT_SAPMM06E_012
    EXIT_SAPMM06E_013
    EXIT_SAPMM06E_014
    EXIT_SAPMM06E_016
    EXIT_SAPMM06E_017
    EXIT_SAPMM06E_018
    Thanks.

  • Error APP-SQLAP-10132 during invoice saving

    Hello
    Attempting to save an invoice I see the error message "APP-SQLAP-10132 The invoice is already selected for Payment in a payment Batch and cannot be adjusted and delted." It is the first time I see this message during 3 years. We use applications version 11.5.9. Please help!
    Edited by: user12030769 on 07.10.2010 2:23

    1. [ID 405519.1] our form version later then in note (we have 11.5.1063)
    2. [ID 743792.1] this note about 12R
    3. [ID 186341.1] is rather old. Patch 2035453 did't install explicitly, I'm not suare is it worth to install it.

Maybe you are looking for

  • ERROR_CNTL_CREATE while calling BDC from transaction MM02 for Text Editor

    Hi Friends, I am using transaction MM02 when creating Purchase Order Text . Its working fine in foreground, but when I run it in background it is raising exception  ERROR_CNTL_CREATE when calling the Text Editor. I know in background SAPGui is not av

  • IPad using MIFI 2372

    I have the newest iPad with a cellular connection.  However, I also am paying for a data card with AT&T, so I thought I'd use that device (MIFI 2372) for the iPad as well. First time I connected to it, I used Speedtest X HD to measure download speed

  • Get PO/PR Approval List

    Dear All, I need to list out the approvers along with their approval date of PO and PR ,where can i get the approver name details along with approval dates of a particular PO and PR ?I have checked in the Header/Item changes of PO but cannot correlat

  • Getting a column in numbers '09 to not sort along with other columns

    How do I have a header column not sort along with the other columns. for example, if I have a spread sheet with all my contacts and there is a numbers header column on the left, how do I get the last name column to sort but not have the header column

  • J2EE Tutorial examples compile problems

    I wanna try to compile the examples that came with the tutorial but I don't succeed. Here are the error messages: [root:/usr/local/j2eetutorial/examples]$ ant all Buildfile: build.xml init: BUILD FAILED /usr/local/j2eetutorial/examples/build.xml:19: