Problem in vendor invoice

Hi All,
The client wants entry in reference & Doc header field compulsory for a few company codes through a validation while entering a vendor invoice. When I make an entry only in reference field & hit enter, I get the message - Reference & Doc header text mandatory. Then I hit enter to make the message go away. When I click on details tab to make an entry in Doc header, the message pops up again. So, I have to hit enter again to make the message go away & enter the header text.
This process in laboriuos for the user. Is there any work around for this? I don't want the message to come twice.
Thanks,
Lakshmi

Hi
Try this option:
Retain your validation as it is at doc. header level. But in addition to this, create the following:
1. Create the following four subsitution rules at header level.
If doc. header text = blank then replace it with '.' (single dot)
If reference field = blank then replace it with '.' (single dot)
2. Create the following validation rule at doc. completion leve l(callup point 3)
if doc. header text or reference is blank or '.', then display error.
By this way, if doc. header text or reference field is left blank, the system will show the error once and replace the fields with dot.  Later after the document is fully entered and stimulated, it will throw the same error if still these fields are not entered.
I hope this will resolve your issue.
Regards

Similar Messages

  • Problem in  vendor invoice creation through BAPI

    I am trying to create vendor invoice using bapi_acc_document_post but what value have be passed to obj_key and obj_typ fields of header is not clear to me.
    regards,
    anu

    Hi,
    Don't pass any values to OBJ_TYPE,OBJ_KEY.  Many threads are available in SDN regarding this BAPI.
    Search SDN to get more details.
    Regards
    Vinod

  • Problem with posting vendor invoice (MRHR) due to posting period

    Hello,
    Good day.
    Recently, due to the closing of posting period 12 2006, a new posting period was created for 2006 to reconcile some unproccessed posting for that year. This posting period 13 2006 was created in FI (OB52).
    Unfortunatley, even though posting period 13 2006 is available. When creating a vendor invoice (MRHR) with reference to PO, specifying the posting perio 13 2006 would create an error message
    <b>"Allowed posting periods: 01 2007 / 12 2006 / 12 2006"</b>
    I debuged the program and tracked down the source in the table MARV, which seesm to be maintained in the transaction code OMSY.
    However, when I tried to change the data for the company code a message would apperar
    <b>"The company code <ccode> can no longer be initialized"</b>
    I also tried tcode MMRV and allowed posting to previous period, but that didnt work.
    What actions do you guys suggest so that the Vendor Invoice/Invoice Verification can be posted in period 13? Thanks and good day.

    Thanks very much, i'll check it when my internet is stable. Unfortunatley the earthquake in Taiwan messed up our internet
    Award points once I see it!
    If there are any other tips that may prove useful please feel free to post them.

  • How to clear vendor open items if vendor invoice currency and payment currency different

    Hi All.
    How to clear vendor open items through f-44 if vendor invoice currency is EUR , payment currency is USD  but local currency is INR
    while clearing through f-44 system showing error as "to large for clearing clearing is not possible"
    I checked all configuration, configuration wise no problem
    BR.
    Chandra

    Hi Chandra,
    You chose any one of the currency i.e. EUR/INR/USD for clearing in F-44. After selecting line items for clearing, system will show a difference. Click on over view button and manually write off the difference by selecting any one account i.e. dummy or small diff.account, after that click on process open items then system will show the difference 0 and simulate the document, here system will post gain/loss exchange GL postings along with other line items. After save the document, manually pass journal entry to dummy account and gain/loss account. I have explained clearly in the below example.
    Invoice is in USD - 1000 & INR - 60000
    Payment is in INR - 60000
    Now I am going to clear these in INR currency in F-44 on 31.03.2015. On this date the exchange rate for USD is 60.10. At the time of clearing system will post the below entry
    Vendor A/c Dr 60000 (invoice)
    Vendor A/c Cr 60000 (Payment)
    Gain from exchange rate A/c Cr  100 (60000 - 60100)
    Small diff.write off A/c (or) Dummy A/c Dr 100
    After done the above posting, we have to pass below manual JV in FB01
    Gain from exchange rate A/c Dr  100
    Small diff.write off A/c (or) Dummy A/c Cr 100
    Regards,
    Mukthar

  • Export expenses and vendor invoices

    Hi Gurus;
    We have an export scenario, we are using TA order type, and we have some conditions like freight, insurance..
    but we have a problem.
    we don't how we can link vendor invoices with this sales order.
    i want to use miro to enter freight invoice, which comes form my vendor.
    But there is no PO. Because this is a sales operation.
    What is the best way to add this fregiht and insurance costs to this material??
    Thanks for all.

    Hi,
    From sales perspective create manual conditions for entering the Freight and Insurance values. 
    From MM perspective, you need to have a PO even though its a freight invoice.  If you are planning of this option then you can copy the condition to SO through reference condition type. 
    Thanks
    Krish.

  • Uploading Vendor invoices with BAPI_ACC_INVOICE_RECEIPT_POST

    I am working on putting together a program that will allow  users to upload invoices from a spreadsheet into SAP using BAPI_ACC_INVOICE_RECEIPT_POST. I realize that I will have to calculate the tax before feeding the information into the BAPI. My problem is that we have 3 currencies that the FI document is posted in: document, local, and group. I am putting this program together for our Europe office so the the document and local currencies are EUR but the group currency is USD. When I try to use the BAPI and feed the information in to it I get a message that states "Foreign currency translation not supported for tax calculation". Have you run in to this error message before(F5681)? If so, is there  a way around it? If not how have you been able to upload vendor invoices into SAP?

    Hi Ron,
    I think it is better to post this question in the abap forum. But anyway, it sounds like you need to customize the currency translations for that specific calculation type.
    regards
    Siggi

  • Customer & vendor invoices

    Hi gurus & experts,Here i got an issue regarding customer & vendor invoices.
    I tried to post an entry using t-code f-22(customer invoice)/f-43vendor invoice, able to post but unable to view the document no. and then system shows the following error message. Express Document' updates terminated' by author.
    Here i found that  when we post the document directly its shows error message and the document is going directly to business workplace (t-code SBWP). Just see in that inbox, And see in t-code(ST22) ,userid : jyothin, SYNTAX_ERROR there you find some run time error problem. 
    Regards,
    I will Assign Max points.

    Hi,
    Check whether any workflow is attached.
    Thanks,
    Sridevi
    <i>* Pls. assign points if useful</i>

  • Open vendor invoices not picked up in F-44, F-53

    Hi All,
    I have a problem here. Many vendor invoices aren't being seen at all in the F-44, F-53 screens and I'm not being able to make payments or clear invoices against credit memos. What could possibly be the reason.
    I tried comparing these invoices to others that did get picked up by the system and I see no difference in them except for the fact that all these invoices in error were posted on 31st Oct. What could have gone wrong and where?
    Thanks & Regards,
    Tejas

    hi,
    check the status of the document u are clearing.
    It seems they are already cleared as credit memo is issued using clear functions.
    Check the account with open items does it display there.
    Regards,
    Atul

  • Clearing between customer and vendor invoice with F110 transaction

    Hello,
    I have an issue related to the functionalities of the transaction F110.
    I'd like to clear the vendor invoice with the custome invoice.
    Customer and vendor records are linked properly and the flag 'Clrg with Cust.' is set on vendor and 'Clearing with Vendor' is set on customer.
    Both the invoice are in USD and the amount in document currency of the vendor invoice is > of the amount in document currency of the customer invoice.
    I entered in both the invoice the same payment method (outgoing payment method).
    The error that I can see in the proposal log is related to the customer invoice and is:
    Payment method selection for items due now to the amount of USD          500,00
    Due items with currency USD, pmnt method  - items total is > 0
    ..none of the payment methods defined can be used for these items
    information re. vendor xxxxxxxx / customer yyyyyyy / paying company code TS01 ...
    .. payment not possible because of reported error
    According to the log of the proposal the vendor invoice can be paid.
    If I click on display proposal and double click on the customer invoice (with red light) I can read the note:
    No pymt possible because items with a debit
    Following the settings of the payment method used:
    Payment method in the country
    - Payment method for outgoing payment selected
    - Bank transf. selected
    - allowed for personal payment flagged
    - Bank details flagged
    - Document type for payment XX
    - clearing document type XX
    - Use classic payment medium program selected
    Currency allowed: This table is empty (will mean that all currencies are permitted)
    Payment method in company code
    Minimum amount: 0,01
    Maximum amount: 9.999.999.999,99
    Distribution amnt: 0,00
    Single paymentfor marked item selected
    Foreign business partner allowed selected
    foreign currency allowed selected
    Cust/vend bank abroad allowed? selected
    Bank selection control "No optimization" selected
    Can you please help me to understand the error?
    I'm afraid it is a problem with the bank but I don't understand why the payment of the vendor invoice is allowed and the customer invoice not.
    Thank you very much in advance
    Kind R

    Hello,
    I have an issue related to the functionalities of the transaction F110.
    I'd like to clear the vendor invoice with the custome invoice.
    Customer and vendor records are linked properly and the flag 'Clrg with Cust.' is set on vendor and 'Clearing with Vendor' is set on customer.
    Both the invoice are in USD and the amount in document currency of the vendor invoice is > of the amount in document currency of the customer invoice.
    I entered in both the invoices the same payment method (outgoing payment method).
    The error that I can see in the proposal log is related to the customer invoice and is:
    Payment method selection for items due now to the amount of USD          500,00
    Due items with currency USD, pmnt method  - items total is > 0
    ..none of the payment methods defined can be used for these items
    information re. vendor xxxxxxxx / customer yyyyyyy / paying company code TS01 ...
    .. payment not possible because of reported error
    According to the log of the proposal the vendor invoice can be paid.
    If I click on display proposal and double click on the customer invoice (with red light) I can read the note:
    No pymt possible because items with a debit bal.still exist; see job log
    Following the settings of the payment method used:
    Payment method in the country
    - Payment method for outgoing payment selected
    - Bank transf. selected
    - allowed for personal payment flagged
    - Bank details flagged
    - Document type for payment XX
    - clearing document type XX
    - Use classic payment medium program selected
    Currency allowed: This table is empty (will mean that all currencies are permitted)
    Payment method in company codeMinimum amount: 0,01
    Maximum amount: 9.999.999.999,99
    Distribution amnt: 0,00
    Single paymentfor marked item selected
    Foreign business partner allowed selected
    foreign currency allowed selected
    Cust/vend bank abroad allowed? selected
    Bank selection control "No optimization" selected
    Can you please help me to understand the error?
    I'm afraid it is a problem with the bank but I don't understand why the payment of the vendor invoice is allowed and the customer invoice not.
    Thank you very much in advance
    Kind Regards
    Emanuela

  • Tax error when posting vendor invoice

    Dear Friends ,
    I am posting this 3rd time, I am geting this error when poatin vendor invoice , I am geting this error in production system before GOLIVE ,when we are doing live data entry test . All the seting related to taxes has been testing more than 10times , But we are unable to find the problem . We had checked with all past messages and best possible solution in SDN ......but problem is not solved . Said error is as follows ....
    Tax code V0 country IN does not exist in procedure TAXINN
    Message no. FF713
    Diagnosis
    You entered a tax code which is not defined for the country of the company code to be posted to in the tax calculation procedure.
    System Response
    Procedure
    Check and, if necessary, correct the entry.
    Procedure for System Administration
    If it is not an input error, check and possibly change the system settings.
    To do this, choose Maintain entries (F5).
    Check whether the company code is assigned to the correct country and whether the correct tax calculation procedure has been entered for the company code country.
    Create a new tax code if necessary.
    Caution:
    Since it is possible that the tables in question are being updated at a different time on another computer, it can take a certain amount of time for the tax code to be on all local machines in client server architectures after saving the new code.
    Raghu

    hi
    go to ftxp choose tax code v0
    here in first input field give 00
    then select that field and click on gl acct tab
    here mention a gl or go to ob40 and mention gl for the acct key of that field
    try finding
    Tax code country IN does not exist in procedure TAXINN
    on SDN u will get many threads
    Tax code XX country IN does not exist in procedure TAXINN (MIRO Error)
    conclusion is u must get acct for at least one condition in the tax code
    regrads
    kunal
    award if helpful

  • A workflow for a new MM vendor invoice showing the error.

    We have detected the following strange behaviour in our workflow runtime environment.
    A workflow for a new MM vendor invoice is started as it should.When we see the workflow overview it shows status u201CIn Processu201D. 
    f the workflow shows the status u201CIn Processu201D for an hour or more, a new undesired workflow (same WF-task) is started automatically for the same invoice. Nobody has triggered this new undesired workflow.
    Please let us know the what is the problem
    Thanks
    Sarin23

    Hi,
    Please see the below link and this will help you.
    http://help.sap.com/printdocu/core/print46c/en/data/pdf/BCBMTWFMMM/BCBMTWFMMM.pdf
    http://help.sap.com/saphelp_46c/helpdata/EN/c5/e4a930453d11d189430000e829fbbd/content.htm
    Anil

  • Issue in Posting of Vendor Invoice

    Hi
    I am having an issue in posting of vendor invoice. In simulation mode, the system is showing the correct calculation of TDS amounts. but when I am trying to post the Invoice , the TDS entries created by the system are deleted and system gives:
    Error Message - The excise year could not be determined for generating the numbers for TDS certificates. The number range is linked to the Excise Year and not on the financial year directly.
    Procedure - Check the customising done for the company code in the India version IMG. Maintain the start month for the excise year correctly.
    There is no error for other company codes in the system and this happens for only one company code.
    Under the India version for extended with holding tax , we have maintained the withholding tax number group and SAP Script forms , assigned number range to number groups and maintained number ranges for the company code.
    Pls suggest
    Regards
    Sanil Bhandari
    TDS Certificates. The number ra
    on the financial year directly

    Hi,
    Just check if in the Withholding tax Type configuration - The Withholding tax certificate check box is checked. Just read the help for what is the implication of ticking that checkbox. This may be the problem.
    Cheers
    V.Krishnan
    (assign points if useful)

  • Payment terms in vendor invoice posting

    Hi all,
    When using FB60 to post vendor invoice, I can't see payment terms and discount information under "payment" tab.
    I had create payment terms in IMG, and assigned it to the vendor master record.
    Do I miss anything?
    Thanks for the help!
    YuLin

    Julia,
    I use FK01 when I created the Vendor Master data and assigned payment terms to the vendor, I went to FK02 (change), and can see my assigned payment terms there. Is there any difference if I assign payment terms in FK02 rather than in FK01?
    My problem is I couldn't see "payment terms"  when I post a vendor invoice nor can I see it in line item display after I posted the invoice. I couldn't see the settings for discount either, not that I wanted to see the discount "amount".
    I suspected that the settings for my new vendor is causing me this problem but not the payment terms itself, or could be the combination of company code and vender master record settings, so when I try to post invoice to this vender, I couldn't see payment terms, but while I post other vendor's invoice, I can see payment terms.. I could be wrong..
    Yu Lin

  • Duplicate vendor Invoice check in FB60

    Hi Experts,
    I want to put the duplicate invoice check while posting the vendor invoice through FB60. I want the system to check the duplicate invoices in combination of the Vendor code and vendor invoice number ( we put the vendor invoice no. in the reference field of FB60 ). How to make this possible. I do not want to make the FI validation for the same. Can you please suggest how to go ahead with this.
    Thanks,
    BABA

    Hi Shailesh,
    phuu, ok, let's start from the beginning then.
    Some theory first:
    you need the validation because the standard check takes the doc.date ito consideration and this is not wanted. And you need the exit from the validation (! not a separate exit! not the original), locate the IF-statements where there is an ELSE option ending with function CUSTOMIZED_MESSAGE. It is up to you what to do here. In the original functoin module, the messages are issued here immediately. It can be an error or a warning, depending on the setting in table T100C. If my understanding is correct,  you always want to see an error message, bt this should be done in the validation, not in the function module. So you should skip the customized_message function call and just issue the messages here as info message regardless of T100C settings. In this case, remove the function call customized_message (as many times as it occurs) and issue the message included directly as an information. Right after the message was issued, set E_RC to 4, infoming the validation that the check has failed. (Note that the customized_message function is only called if the check has failed, so no worry that you always get the message.
    4. Define the exit for the validation
    =========================
    Go to your form pool Z_RGGBR000 (defined in V_T80D) and locate the statement APPEND EXITS. It should appear few times, locate the last occurence.
    Right after that, enter the following:
    exits-name = 'U901' .
    exits-param = c_exit_param_none.
    exits-title = text-901.
    append exits.
    This will define a new exit namd U901 for the validation routines. If in V_T80D, you already had a Z (or Y) report, check if the string U901 is used in that code already (check for the main program). If this is the case, instead of U901, use another name, it should begin with U followed by 3 digits. Also, you make sure the text symbol text-901 (or the 3 digits you are using) is existing, doubleclick it and enter a description like "Duplicate invoice check validation" or similar.
    Well, the exit is published, we have to write the main code now.
    go to the very end of your Z_RGGBR000 report and add a new form U901 like follows:
    Duplicate invoice check validation
    FORM U901 USING B_RESULT.
    Vendor master flag
    data: l_reprf like lfb1-reprf.
    Result of function module
    data: l_rc like sy-subrc.
    Check vendor master first
    select single reprf into l_reprf from lfb1 where bukrs = bkpf-bukrs and lifnr = bseg-lifnr.
    Do not continue if flag is not set.
    if L_REPRF is initial.
      b_result = b_true.
    endif.
    check not L_reprf is initial.
    Call modified function module
    CALL FUNCTION 'Z.....your function'
        EXPORTING
          i_bukrs = bkpf-bukrs
          i_lifnr = bseg-lifnr
          i_waers = bkpf-waers
          i_bldat = bkpf-bldat
          i_xblnr = bkpf-xblnr
          i_wrbtr = bseg-wrbtr
          i_koart = bseg-koart
          i_reprf = L_reprf
          i_shkzg = bseg-shkzg
          i_xumsw = bseg-xumsw
          i_bstat = bkpf-bstat
          i_belnr = bseg-belnr                                 
          i_gjahr = bkpf-gjahr                          
          i_blart = bkpf-blart
    EXPORTING
          e_rc = L_RC.                                
    Decide if validation message must be issued or not
    if L_RC = 4.
      b_result = b_false.
    else.
      b_result = b_true.
    endif.
    endform.
    After this, activate the source code. Make sure you have defined the text-symbol 901 before!
    5. Define the validation
    =================
    Go to OB28 now, and enter your company code(s) and the call-up point 002 (line item). If there is a validation defined already, you have to add a new step only, if not, you have to create the validation anew.
    I assume there is no validation defined yet, so enter a name for the validation like FI_2 or similar. It should NOT be named DUPLIC or similar, i.e., you should not include the purpose in the validation name. This is because the validation is defined on company code / call-up point level and it may contain many steps for different purposes later. A generic name FI-2 or probably your company code followed by 2 (2 is the call-up point) is the best choice.
    Before presing enter go to the last column Validatin active and enter 1 here.
    Then press enter and you will get an error that the validation does not exist. No problem, go to menu path Environment --> Validation and let's create a new validation.
    First, enter a description for your new validation in the right hand panel. Again, this should be a generic description, tell nothing about duplicate invoice checks here.
    You may be asked here to assign a message class to the boolean class 009. You should enter here a Z message class where the validation message should be issued from. If no appropriate message class exits, open a new session go to SE91, enter a new message class Z... press create, enter a description. Then go to the Messages tab there, and create a new message with number 001 (NOT 000) and enter the message text there. E.g. Duplicate entry not allowed.
    Coming back to the validation, if the message class was already assigned (this is the case if there was a validation defined earlier), you can create a new step. In case of a new validation, it will become the first step. But if there was already a validation in OB28 for your company code and call-up point 2, then it will be the last step. In the left hand panel, make sure the new (or existing) validation is selected and press the Create Step button (Ctrl-Shift-F5).
    In the right hand panel, enter a description for your step. This is the point where you can enter Double invoice check or similar.
    We have three parts here, a Prerequisite and a Check part, finally a message.
    In the left hand panel, select the Prerequiste. This will activate that screen block in the right side. We have to make sure that our validation is called only for the relevant vendor line items, so press Ctrl-F3 to hange to expert mode ) and enter the following in the Prerequiste window in the right hand panel:
    BSEG-LIFNR <> '' AND BSEG-XUMSW = 'X' AND BSEG-KOART = 'K' AND
    BKPF-BSTAT = ''
    Beware '' is a ' followed by another ' and not a single " !!
    Then switch back to normal mode using Ctrl-F1 and check the small lamp below that should be green now. Also, you can see the field descriptions now. If the lamp is red, press Ctrl-F3 again, delete all and copy the above again. Do not bother with line breaks. Switch to Ctrl-F1 again until the lamp is green. OK, what we have told here was please call the validation only if we have a vendor number and if this is a sales relevant item (invoice or credit memo, but not a payment or similar, this is the standard logic as well), and the account type is vendor (K) and this is a normal document.
    WHen you are done here and the lamp is green, then go to the left side again and select the Check part. Now you should be able to edit the Check screen lock in the right hand side again. Switch to expert mode and enter simply U901
    This is the name of the form in your Z_RGGBR000 report. NO brackets, no spaces, only U901 here. Switch back to Ctrl-F1 and instead of U901, you should see the text of your form (text symbol 901 in report Z_RGGBR000).
    Finally, click the Message part in the left side to be able to maintain the message in the right side. If you issued an error from the function module already, you can give here an information, or you can give it as an error if you like. The message number is one of the messages from your Z message class, you have to define the text in SE91 (see above).
    When done, save the validation and you can test it immediately.
    Here a brief summary what is happening:
    OB28 setting defines that in your company code a validation like FI-2 or similar is active on line item level. Whenever a line item is abut to be created, the validation will be called.
    However, the prerequisite of the validation is quite strict: only a limited number or vendor items will allow to continue, other line items (G/L, customer, not sales relevant vndor, etc.) will just skip the whole validation.
    If the prerequsite was met, the Check part is carried out. Here we have the exit U901.
    In the exit, first we check if the vendor is flagged for double invoie checks. If not, we quit and processing can be continued. B_TRUE means it is OK. If the vendor is flagged, we call the new Z function which is almost the same as the original one.
    The Z function will check table BSIP, but it will skip the document date comparison. If the current invoice seems to be entered earlier (regardless of the doc.date), instead of the standard customized message (which can be E or W for instance), the very same standard message will be issued as an information. So the user will be informed about the previous document number but the processing won't be stopped. In addition, a return code will be set to 4, meaning check has failed.
    Jumping back to the exit, if the return code is 4, we have to tell the validatin that the check has failed (B_RESULT = B_FALSE), otehrwise we can tell the validation that the check was OK (B_RESULT = B_TRUE).
    Now we are back in the validation, and, depending on B_RESULT, we just continue processing (B_TRUE), or issue an error message from a Z message class (B_FALSE). As the main standard message was isued already from the Z function, the user should know at this stage what the matter is. Your Z message can be a bit generic one, no need to include the vendor number or the previously issued invoice, etc.
    Hope that helps, points welcome
    Csaba

  • SAP Workflow for vendor invoice is posting into past?

    Dear experts
    I have a heavy problems with the workflow for vendor invoices. The following example demonstrates it:
    I have created a vendor invoice on 1st of December 2011.The responsible person has checked and released this invoice on 3rd January 2012. In Customizing it is setup that posting date will be overwritten with system date.
    Does anybody has an idea why it is not posted in January 2012?
    What does the workflow? It is posting that invoice with posting date 1st December 2011 not with 3rd January. If I have a closer look into the head of the SAP document the following parameters are shown: document date: 1st December, posting date: 1st December, entry date: 3rd January.
    Does anybody has an idea why entry date is 3rd January?
    Thanks in advance
    Udo

    Dear expert
          It is not standard behavior for the posting date to overwrite the document date - at least its not something that I've ever come across. I'm wondering if there is a custom substitution on your system that is overwriting the document date . Check t-code OBBH. The substitution is most likely at the document header level.
    Regards
       Ajeesh.s

Maybe you are looking for