VF01 Invoice

Hi,
I need to validate profit centers/cost centers during invoice creation. If any of the validations fail, I should be able to save the invoice but block it from posting to accounting? How do I do this? Is there any standard function module available to block invoice from posting to accounting?
Any input will be greatly appreciated.
Regards,
Sarita.

In SD, you cannot validate by saving the document alone. The accounting entries will be reflected only after document is released to accounts.
Incase if profit centre is maintained, then it is important to maintain profit centre in material master. If you do not maintain profit centre, then the process will go upto billing document & also save the same, but will not release to accounting. If such a situation is encountered, then there are 2 options to resolve:
1. reverse the whole cycle i.e cancel Billing --> Cancel Post Goods issue --> Cancel Delivery --> Cancel Order & then update the profit centre in material master.
2. with a help of Abaper, force the profit centre in billing document.
Regards,
Rajesh Banka

Similar Messages

  • Doing VF01 Invoice third party  system is throwing below error message.

    Hi All,
    After creating Standard PO for third party.
    Doing VF01 Invoice system is throwing below error message.
    Error Log
               5005000511 000010 No open billing quantity has been determined
              Technical data
                  Tech. data details
                   Client                                 200
                   Group Number
                   Sales Document Number                  5005000511
                   Item Number of the SD Document         000010
                   Schedule Line Number                   0147
                   Counter in Control Tables              00
                   Message Identification                 VF
                   System Message Number                  147
                   Output Type                            I
                   Message Variable 01
                   Message Variable 02
                   Message Variable 03
                   Message Variable 04
                   Group Type                             F
    Aditya.

    Hello,
    Please, I have the same issue but in my case it's a Purchase Requisition. First I created a Purchasing info-record for Vendor, Material, Purchasing organization and Plant.
    After I set a Source List Master Data for Material, Plant, Vendor and Purchasing Organization.
    Like this I have the Purchase Requisition created automatically when I create the Sales Order. I am testing a Third Party Handling scenario in Brazil...
    But now I can not create the Billing Document.
    The following error happens:
    "No open billing quantity has been determined"
    Tech. data details
    Client                                 210
    Group Number
    Sales Document Number                  0000000179
    Item Number of the SD Document         000010
    Schedule Line Number                   0147
    Counter in Control Tables              00
    Message Identification                 VF
    System Message Number                  147
    Output Type                            I
    Message Variable 01
    Message Variable 02
    Message Variable 03
    Message Variable 04
    Group Type                             F
    I tried what you suggested but they didn't work. I don't know if I have to create a MIRO for my Purchase Requisition. I tried to release it but it didn't work as well.
    Please, can you help me?
    Thank you,

  • VF01 Invoice posting / Idoc output type / Paretner Profile missing

    Hi,
    I need a functionality to create ABAP code to send email, but I do not know in which place it would be the best to put it.
    While posting an invoice VF01 t-code, output type idoc is defined and normally is generated. Altghough sometimes partner profile is missing (it is customer number) and then idoc is not generated.
    I use standard program RSNAST and edi_processing form for idoc generation.
    1) is edi_processing form executed when partner profile is missing?
    2) where would it be the best to put abap code to send email?
    Thank you

    Hi,
    I have seen the stded program RSNASTED and the routine EDI_Processing.
    1) Yes Edi_Processing is executing when if the parnter profile is missing
    2) I think there Perform in the rotuine EDI_PROCESSING
       " PERFORM READ_PARTNER_PROFILE USING HELP_RETURNC." after this  excuting this perform , check for the return value and if EQ ZERO thn proceed further or Else send a mail .
    Thankz
    Aditya

  • VF01- invoice smartform in PDF format to be sent thro' mail

    Hello Gurus,
    We have a requirement from our client that we need to trigger a mail of invoice smartform in PDF format on saving in VF01.
    Can any body suggest the steps in NACE and also output..
    Regards

    As per your post, I understood that,
    After saving Invoice , automatically Invoice has to send in PDF format to the respective email id maintained in CMR-Payer master
    if yes, this involves ABAP & BASIS ,
    ABAP- Program & FOrm routine has to created & assigned in respective output type & type-PDF (Check in NACE- Output type)
    for this, you need to maintain the Condition record- VV31 - with medium as "Mail" -
    or else,
    you can do this manually also, in VF31- you can give a print  & save in PDF format- you can send it - but its complete manual process.

  • VF01 : Invoice without FI document because Net Value is 0,00 ?

    Hi,
    I create an invoice with Tcode VF01 in refernce to a billing document, the system create an invoice but not the FI document, it shows this message : "An accounting document is not required for this billing document"
    Diagnosis
    The billing document has the net value '0' and does not create an accounting document. Despite this, the posting status 'C' (Posting document has been created) is set internally for this billing document.
    Please i want to have a price in my invoice to post an FI document correctly, how to solve that ?
    i hope your help
    Regards

    Hi,
    You can not post to accounting with ZERO(0) balance.If you want to post to accounting,you should have minimum of $0.01.
    system message is correct.
    Thanks,
    Rau

  • Customer Number in line item assignment fiels for VF01  invoice documents

    Hi,
    how can I get the customer number in assignment field of FI document line item. 
    I have created a sort key with field customer KUNNR but this field will not be populated by invoice documents posted from sales orders via VF11?
    I am looking forward to your solution proposals.
    Thanks and Kind Regards
    Tarik

    Hi Dominique,
    many thanks for your reply.
    the customising for copy control in SD seems very confusing
    How can I arrange that it is aready populated with the customer number ?
    One example would be enogh for me to understand it.
    Can you provide me this example?
    Kind Regards
    Tarik Oznalcin

  • SAPSQL_WHERE_QUOTES/CX_SY_DYNAMIC_OSQL_SYNTAX - dump in VF01 Invoice Crtn

    Hi Gurus,
    I have a requirement to capture the condition value of Condition types in VBAP table while sales Order creation only.
    I found in OSS note the procedure to achive this requirement.
    Below is the procedure.
    When you proceed as follows, you can set up an additional field ZZWI7 (and thus any number of fields):
    1. Enhancement of the item tables (in the example VBAP)
                  In the ABAP Dictionary (transaction SE11), create an append structure for the table VBAP (for example, ZAVBAP). In this structure, create a field with name ZZWI7 and assign the data element KZWIS. As a reference structure, enter VBAP and as a reference field, enter WAERK.
    2. Enhancement KOMPAXA or KOMPAX
                  Also create an append structure for KOMPAXA (for example, ZAKOMPAXA) in the ABAP Dictionary and in it, enter field ZZWI7 with data element KZWIS again. In this case, the reference structure is FPLAA and the reference field is WAERK.
                  Note: As the structure KOMPAXA is included in the structure KOMPAX, the enhancement of KOMPAXA is automatically valid for KOMPAX.
    3. Enhancement KOMP
                  In the include KOMPAZ of the structure KOMP, which is provided for customer enhancements, enter the field ZZWI7 in the same way and assign the reference structure KOMK and the reference field WAERK to it.
    4. Activate the tables and structures in the ABAP Dictionary.
    5. Adjustment of a user exit
                  For a correct initialization of the subtotal fields, these must be reset in userexit_xkomv_bewerten_init (RV61AFZB). You can find the source code for this example in the attachment.
    6. Filling of the subtotal in a condition value formula
    Using above approach i added my custom fields ZZWI12 to ZZWI26 in VBAP , KOMPAZ, KOMPAX to capture my values.
    I have coded the logic in routines under condition value in VOFM. Activated the structures and adjusted the tables.
    the Sales Order creation VA01 is working fine as expected. But while using VF01, the transction is dumping with an error
    SAPSQL_WHERE_QUOTES/CX_SY_DYNAMIC_OSQL_SYNTAX in program SAPLKEDR.
    The dump is pointing to a custom field which i am no where using in the Custom structures nor in the routines.
    This custom field is related to table C950 and it has a vlaue '###' while VF01 tcode and so the dump is occuring.
    But when is remove my custom appends to the VBAP,KOMPAX,KOMPAZ then dump goes off, no issues then.
    I am confused on how adding fields in VBAP results in dump. DO i need to adjust some other tables or  activate structures.
    Is this a ABAP issue or a Basis issue?
    This has been a burning issue for me and please help in this.

    Solved on my own, the process I followed:
    Transaction SPRO
    Click 'SAP Reference IMG' box
    Click 'Find' icon (binoculars)
    In the popup box, there is Text Index Info area, you will get the last time the text index was generated. If it has been a while, simply click the 'Refresh in Background' button.
    It creates background job 'SHI3_TEXT_INDEX_UPDATE_E'. Once the job is finished, you can access the SPRO transaction without any syntax error.
    Regards,
    Ni3

  • VF01 Invoice getting split

    Hi Friends,
    I am trying to create single invoice from two different delivery having different ship to party. But unable to do so. I am getting error as difference in header level data. When I see the split analysis it says that the VAT registration no. are different.
    I want to confirm does it really matters that the VAT no. should be same for the ship to party.
    Regards,
    Wasim

    Hi Ed,
    Thanks for your reply. The problem got solved by deleting the additional VAT Registration no. for one of the customer that was defined by the user.
    Regards,
    Wasim.

  • Down payment no final invoice (F2)

    Dear experts
    I have configured the system for down payment. I have followed the steps defined for this configuration, i.e:
    1)  Billing plan. Data related:
    a) Material with item category group 0005 (milestone billing).
       b) Billing plan type: 01 (Milestone Billing)
       c) Date category: 03 (Down payment request -proc.)
       d) Date proposal
    2)     Pricing Procedure:
    a)     Subtotal with the base value calculation formula 2 (net value) before the condition AZWR.
    b)     Condition Type AZWR
    i)     Calculation type B (fixed amount)
    ii)     Condition category e  (down payment request / clearing).
    iii)     Included before output tax.
    iv)     Condition 2 (item with pricing)
    v)     Calculation formula 48
    vi)     Printing indicator
    3)     Sales document: TA
    4)     Sales document position TAO
    5)     Billing Document 
    a)     Billing type FAZ (down payment request)
    b)     Billing type FAS for canceling.
    c)     Billing category P of the billing type.
    d)     Blocking reason 02 (complete confirmation missing) ->assign it to billing type FAZ.
    6)     Copying control
    a)     From TA  FAZ. Copying requirement 20 entered at item level (item category TAO).
    b)     From TA  F2.    Copying requirement 23 entered at item level (item category TAO).
    7)     Financial Accounting settings 
    a)     Field status definition G031 assigned to reconciliation accounts - For the `received DP' and `DP requests'.
    b)     Posting key for DP (ANZ) and for output tax clearing (MVA)
    c)     G/L account number assignment for the tax account.
    d)     For posting key 19, set Sales Order as an optional field (OB41).
    e)     For field status variant 0001, field status group G031, set the sales order as an optional field.
    f)     Assign the company code to the field status variants (transaction OBC5)
    After that to create the DP I have done the following flow:
    1. Create sales order (VA01) with a DP set throught a billing plan
    2. Create an invoice (VF01) for DP request
    3. Collect the down payment related (f-29)
    4. Clearing the DP (f-39)
    And this should ends with the creation of a final invoice (throught VF01, invoice type F2). However, when I try, the sales orders doesn't have any invoice outstanding to be created and condition AZWR is no updated. Therefore I cannot create the final invoice.
    Is there any customizing or step in the process that I have missed??

    Dear Arijeet
    Thanks for your answer.
    I have made a new test not doing F-39 before the invoicing. I.e.:
    1) VA01 sales order
    2) VF01 invoice FAZ
    3) F-29 collect DP
    4) VF01 invoice F2 -not working
    So I have got the same result: no data to be invoiced at all from the original order
    I'll appreciate any other suggestion
    Kind regards
    B

  • Excise Values are not flowing from J1IJ to VF01

    Hi All,
    I am facing the problem in Invoice to Customer(from Depot). Excise Values are not flowing from J1IJ. I maintained Alt Cal type as 356 in Pricing procedure for Excise condition types. Even though its not flowing. I am using Tax Procedure TAXINN.
    I have gone through SDN, everybody is suggesting about 356 routine.
    My scenario is STO from Plant to Depot and Sale from Depot to Customer.
    ME21N->VL10B->VF01(Proforma)->J1IIN->MIGO->VA01(from Depot)->VL01N->J1IJ(Depot Excise)->VF01(Invoice to Customer)
    In J1IJ, excise values are coming but in VF01 it is not coming.
    Kindly help me.
    With Regards
    Azeez.Mohd

    Hi,
    in j1ig initial screen which excise group/series group i need to enter
    is it of supplying plant or depot --- Enter Your Excise group
    If i enter material document no say 5000000265 (corresponds to migo-101 at depot )& year
    it'm getting error message excise invoice already exists for5000000265 --> Check the Year of material document
    You can also use the Excise Invoice Details tab
    Enter Vendor's Ex.Inv.No. , enter your STO's Excise Invoice No. and Click on Own factory and enter factory's Series Group in n case of STO from factory,
    use Depot Excise Invoice in case of transfer from another depot
    and Excise Inv. Date
    On next screen,
    In case of non availability of Internal Excise No., select the line item and click on button. On next screen, enter Excise Inv. No., Date, Challan Qty, Excise Base value, ensure that Excise Duty rates are maintained in respective duty rates column, you can also manually enter the excise duty amount and press Enter . System will give warning messages, press Enter for each message and press Back button. System will display the excise duty amount, check the same and click on Save button.
    Hope this will resolve your issue.
    Regards,
    Krishna O

  • Indonesia  - ODN VAT/Tax invoice -Special requirement.

    Dear All,
    Appreicate your help and advice to handle this requirement.
    We have implemented the indonsian ODN functionality for issuing ( Domestic -Tax invoices -VAT serial no ).
    Currently it works as below  when an invoice cancellation process takes place.
    for ex:
    VF01- Invoice creation    - 915069944 - VAT /ODN # -> 0109001455609098
    VF11-Invoice cancellation-940003647 - VAT /ODN  #-> 0109001455609098  ( cancellation will not consume new ODN - will be same as original invoice).
    VF01 - Invoice creation -   915069945 - VAT/ODN # ->  0109001455609099 ( Revision invoice).
    The problem is when a revision invoice is created, then ODN number is consuming a new ODN #  for a revision invoice (55609099).
    The requirement is when a revision invoice is created, we would need the same ( original ) ODN number (55609098) to be consumed and not to consume new ODN (55609099). Additionally, we also need to notify that this is a revision invoice by changing the ( STATUS CODE) to 1 from 0.
    That is for the (Revision)  invoice 915069945 - the expected VAT/ODN no should be assigned as   -  0119001455609098.
    I was checking over several notes 1033737 / 1578519 /1856053/1839112. This one 1033737 says that we may not be able to change the status code at all from 0 to 1 .
    Two things:
    1. How could we stop system consuming a new # (ODN) ,when a revision invoice ->( further to cancellation invoice) is created.
    2. If option # 1 is possible, then how could we change the status code from 0 to 1.
    Is there a standard functionality in which we could acheive this by any chance, since i couldnt find more details on this topic any where.
    Else, Will it be feasible if  going for an enahcement for acheiving this without disturbing any of the other ODN's. ex(Italy).
    How best we could handle if we go for enhacement. We are using same SD (Invoice) and FI(Accouting) numbers as same sequence no's.
    Thanks,
    Best Regards,
    Kumar.

    I am not sure why you have used Invoice no. as tax Invoice no. (faktur No.)
    SAP has given standard configuration to generate faktur no. for each invoice. Separate number range has to be maintained for the same.
    Tax Invoice number is populated in the Reference field of Invoice and same is copied in Accounting document.
    For changes of status code on the basis of Customer tax classification we have implemented customer exit where we change the first two digits appropriately based on Customer tax classification.

  • What is the tcode for Invoice generation

    I am having some confusion
    If i go to tcode VF01-Invoice document
                          VF21-Invoice list
    among them which is tcode for invoice generation

    Sales Invoice Transaction Codes:
    Create  Sales Invoice - VF01
    Change Sales Invoice - VF02
    Display Sales Invoice - VF03
    VF21 - CREATE INVOICE LIST   
    VF22 - CHANGE INVOICE LIST 
    VF23 - DISPLAY INVOICE LIST

  • Stock transfer between plants - Material used is Asset material

    Hi All,
    We are using TAXINJ.
    We are doing stock transfer of an asset material from Plant A to Plant B.
    Proceedure followed as below:
    Supplying Plant -
    STO PO - ME21N
    Outbound Delivery -  VL10B
    PGI - VL02N
    Billing - VF01
    Invoice DOc - J1IIN
    Receiving Plant-
    Goods reciept - MIGO
    Capture excise thru - J1IEX
    When capturing excise ETT is GRPO and the subtransaction type used is 01
    We are getting the below message:
    "No Cenvat amount to be posted"
    "No Cenvat Amount to be reversed"
    We are not getting any message when we are not using subtransaction type 01, and we are able to post part2 entries.
    Pls suggest.
    Thanks in advance
    Pavan.

    Hi Deivakaniraja,
    Thank you for your suggestion.
    Still have a querry....
    The subtransaction type that is defined is not conventional.
    We define various subtransaction type like 01, 02, 03, 04, but there is no standard that 01 to be used only for subcontracting.
    I understand that IP is defined only for Import postings.
    Can you pls brief me.
    Thank You in advance.
    Regards
    Pavan

  • Regarding Transfer Order Form

    Hi gurus,
       Please can any one tell me the Print program name and Form Routine for OutBound Transfer Order. And also tell me the in which output types i can attach these Print Program name and Form Name .. I created TO by using LT03.For this transaction I need Out put types..
    Please can any one give the solution.....
             Thanks in Advance
    Thanks and Regards
    Srihari..

    hi Ramesh,
    Check the following:
    1. Item category pirkcing relevance
    2. Wear house no assignemnt
    3. stock availability
    4. Delivery - header - processing status
    Once To is created it depends on whether it is single step picking or 2 step if 2 step in go to LT12 and do confirmation.
    Then if packing is mandetory then you need todo packing and then PGI (VL02n) and then do VF01 invoice
    Reward if it helps
    Regards
    Srini

  • Regarding User/exits

    Dear SAP guru's
    Our requirement is  VBFA-VBELN table need to bring the  invoice no  BKPF  accounting document no and  store in  Field -BKTXT
    Scenerio  Sales order ( order type OR) ( T#codeVa01)-Delivery note -LF type
    ( VL02 gets created automatically according to my company process) -invoicetype F2(VF01) Invoice than  with refernce to invoice type ( F2)  create Credit memo ( T,code VA01) and accounting document , in accounting Document Header ( BKPF-BKTXT) invoice number should come in BKPF-BKTXT
    please help me it urgent to me.....
    Thanks & Regards
    Nagaraju Chintam

    Dear Prashanth.
    Thanks for your reply. almost i understand whats userexit.
    I tried below and i found these are the userexits available in VT01N-shipment creation.
    Now i want to confirm which is most suitable userexits amoung them matching my requirement.
    do you have any idea on this.
    After shipment creation i want this sales data to be stored in addon table..which user exits can i use for writing this code.
    suggestion pls...
    transaction Code - VT01N                    Create Shipment
    Exit Name
    Description
    MV56AINI
    Initialization of transaction control for transportation
    V56AFCCH
    Shipment processing: Check function code allowed
    V56AGTAR
    User Exit for Filtering Shipping Unit Calculation
    V56ARCHV
    Customer-spec. checks for archiving shipments
    V56ATKTX
    Change the number of lines for text input in shipment
    V56BMOD
    Transportation processing: Field modification
    V56DISTZ
    Shipment Processing: Determine Distance
    V56FCOPY
    Shipment processing: Copy delivery data
    V56FSTAT
    Shipment processing: Activities when setting a status
    V56L0001
    Status of Shipments for a Delivery
    V56LDELI
    Read Delivery Data for Shipment Processing
    V56LOCID
    Shipment Processing: Determine Location Identification
    V56MVT04
    Extensions for Collective Processing of Shipments
    V56SLDET
    Shipment processing: Leg determination
    V56TDLIF
    Filter Delivery Items for Shipment
    V56UCHCH
    Shipment processing: Check whether changes were made
    V56UCHCO
    Check shipments are complete
    V56UDLUP
    Obsolete as of 4.6C: Delivery Update on Delivery Routines
    V56UNUMB
    Shipment number allocation
    V56USTAT
    User-individual definition of transportation planning status
    V56USVDO
    Update new objects for transport
    V56USVDP
    Preparation for updating new objects for transport?
    I will surely reward points. Thanks for your suggestion.
    ambichan

Maybe you are looking for

  • Problem deploying web application on WLS 8.1

    Hi, When I try to deploy a web application on weblogic 8.1 it comes back with success.But trying to access it or testing it through admin console gives me the following erors - 403 - Forbidden or 404 - Not found Here is what I am doing My web applica

  • Elements 9 Crashes on exit with OSX 10.7

    When ever I exit Elements 9 Mac on my OSX 10.7 Lion PSE crashes. Below is the crash log. Any ideas? Process:         Adobe Photoshop Elements [1025] Path:            /Applications/Adobe Photoshop Elements 9/Adobe Photoshop Elements.app/Contents/MacOS

  • Issue with WebDynpro DC's...

    I am importing Development Configurations for a DC in a track on NWDI . Once i make the project out of the imported DC , the underlying application within the WebDynpro Project isnt getting displayed in my NWDS. Please help.

  • Exception caught by adapter framework

    Hi My scenario is based file -->RFC with BPM (parforEach) and multimapping. File adapter is picking data according to input file, but RFC couldn't able to process each split data. I am gettign following error. <b>2006-09-11 10:39:07 Error Exception c

  • Dropdown components are not rendering as expected in IE7 browser.

    Hi, We have a select one choice component in our application of width:270px; height:26px and font-size of component is 12px; Dropdown is rendering as expected in all browsers but in IE7 height of the component is less than the height we have give in