To Stop Automatic exicse invoice generation in billing for one billing type

Hi All,
   My Requirement is as follow:
The requirement is for SEZ sales they want to create ARE1 Form. Basicaly
ARE1 form is created for Export sales but SEZ sales they will do with in India. So system wont allow us to create ARE1 form.
So a small user exit need to be written to over come this process.
In our process we have enabled background delivery for excise group. When ever they create a SEZ sale automaticaly system is taking as local excise type. But we want it to take as Deemed export. Then we can proceed wit
ARE1 Creation.
FUNCTION Module : j_1i4a_create_sd_invoice.
If my docuent type is ZSEO you have to make v_excise_in_bkgrnd as 'N' so that it wont create excise invoice in background. and it will create a billing document. For remaining all other cases it will create excis einvoice invoice in background.
Then with reference to that we can create excise invoice in fourground that time we can chage manual local excis etype to Deemed export.
    Can AnyOne tell me as to if any userexit available for the same??
Regards
Amit

Amith,
SD_CIN_LV60AU02 badi is available.
Implementation name : CIN_SD_CIN_LV60AU02
Method : EXCISE_INVOICE_CREATE
if sy-tcode is VF01 then it creates the excise invoice. here you can add you condition.
METHOD if_ex_sd_cin_lv60au02~excise_invoice_create.
  DATA: wa_vbrk TYPE vbrk,
        land1 TYPE t001-land1,
        vbrk TYPE TABLE OF  vbrkvb,
        vbrp TYPE TABLE OF  vbrpvb,
        komv TYPE TABLE OF  komv.
  vbrk = xvbrk[].
  vbrp = xvbrp[].
  komv  = xkomv[].
  READ TABLE vbrk INTO wa_vbrk INDEX 1.
  CALL FUNCTION 'J_1BSA_COMPONENT_ACTIVE'
       EXPORTING
            bukrs                = wa_vbrk-bukrs
            component            = 'IN'
       exceptions
            component_not_active = 1
            OTHERS               = 2.
  IF sy-subrc = 0.
You can add condition here.
    IF sy-tcode = 'VF01'.
      CALL FUNCTION 'J_1I4A_CREATE_SD_INVOICE'
           TABLES
                yvbrk = vbrk
                yvbrp = vbrp
                ykomv = komv.
    ENDIF.
  ENDIF.
ENDMETHOD.
Thanks & Regards
Siromani

Similar Messages

  • ITunes has stopped working message after having it open for one minute.

    It's fully updated to iOS 5 and was working fine until now. Running on Windows 7 and worked flawlessly till this point. Any tips? I already uninstalled and reinstalled. Only security software I run is Microdoft Security Essesntials and that has never been an issue. At a loss here.

    iTunes has stopped working message after having it open for one minute.
    I open itunes and a message comes up after a minute "itunes has stopped working". I got the update automatically to my Windows 7 64 bit pc 10.5.0.142.  After reading tons of probelms online about version 10.5
    I have decided to do nothing for now.  Seems people are putting hours into trying to fix it.  I was going to uninstall and reinstall but seems that isn;t working for to many people.
    How do we get some help from apple? 
    Anyone have any answers???  APPLE HELP please!!!!!!!!!!!!!!!

  • Maximum line items for one billing document

    Hello Friends,
      We have a business requirement to invoice 50000 line items in a billing document.   Could you please advice the approach to fulfill this requirement.   As per my understanding, there are some limitations for billing item and accouting document item.
    Appreaciate for your valuable inputs.
    Best Regards,
    Goutham

    Yes your understanding is correct.  It is not possible to achieve this requirement.
    You can also go through some of the threads where the same topic was discussed
    [accounting document limit 999   |accounting document limit 999;
    [Re: More than 999 line items in Invoice|More than 999 line items in Invoice;
    thanks
    G. Lakshmipathi

  • Two FI documents for one billing document.

    Hi,
       This problem occurs rarely. We do VF04 and generate billing documents. Some billing documents thus generated were not found as actual billing documents by looking at VF03 but are posted in FI in the corresponding company code. When we see these documents in FB03, the header of the document indicates that they came from billing and are not manually posted in FI, thus indicating that billing ran, the FI document was processed, but the billing for some reason failed to be saved in SD. For each of these FI document which do not have a corresponding billing document in FI, there is one more billing document which is existing with the same billing amount and references the same details. It has a corresponding FI document too. So, the crux of the issue is there one only one billing document and two FI documents.
    SAP service has given an OSS note 92592 to find out all the orphaned FI documents and then a way to reverse these documents. This is sort of a workaround. But the root cause for this issue is not found. The note also says the following..
    "In one of the function modules called by FI/CO interface, a 'commit work' is performed.
    A 'commit work' can, for example, be triggered in a Native SQL or result from an RFC.
    A commit work is not allowed here.
    The commit work should not be performed until the billing document is transferred to the update program."
    I have gone through most of the custom codes written by us in the SD billing and FI accounting areas. None of the custom codes use 'commit work' staements. Since this issue doesn't happen frequently, we understood that this is due to a 'commit work' problem in the database but are unable to nail down on the exact piece of code.
    Any suggestions/ideas or experiences of similar instances, please share.
    Regards,
    - Raja.

    Hi Raja!
    Explicit commit work wasn't very likely (but of course you never know). Now you should extend your search for the implicit commit works -> database commit.
    "Database commits are triggered either implicitly or explicitly in an SAP system.
    <b>Implicit Database Commits</b>
    The implicit database commits in an SAP system are caused by the fact that the SAP system is logged on to the database system via its work processes . A work process can only ever execute a single database LUW but cannot interfere with the database LUWs belonging to other work processes. Since an ABAP program can be executed by different work processes during its runtime, the database LUW for the current work process must be completed each time an action takes place that leads to a change of work process. As a result, a database commit is performed implicitly in the following situation:
    Completion of a dialog step
    The program waits for a user action and does not occupy a work process during this time. The next free work process is assigned to the program in the next dialog step.
    Calling a function module in a synchronous or asynchronous Remote Function Call
    The current work process hands over control to a different work process or system.
    Completion of a function module accessed with a synchronous Remote Function Call in a separate work process
    The calling program is assigned a new work process.
    Execution of a RECEIVE statement in a callback routine specified in an asynchronous RFC
    The current work process is interrupted so that the data can be received from the other application server.
    Interruption of the current work process with a WAIT statement.
    After interruption, the program is assigned the next free work process.
    Sending error and information messages and warnings.
    These messages interrupt the current dialog step (see above).
    <b>Explicit Database Commits</b>
    Database commits can be triggered explicitly in ABAP programs in the following ways:
    Use of the corresponding database-specific native sql statement.
    Calling the function module DB_COMMIT.
    This function module, which has no parameters, encapsulates the corresponding native sql statement.
    Executing the open sql statement COMMIT WORK."
    Maybe there is somewhere a wait or sometimes a RFC is called - that are the most likely implicit commits.
    Also calls of standard FMs can contain dangerous coding - include calling of 'bigger' standard functions into your search (not something like 'MARA_SINGLE_READ', but all BAPI).
    Regards,
    Christian

  • Two billing for one sales order for same customer

    Dear All ,
    I have a requirement of posting a two billings for one sales order.
    One is for Sales and another is for commission...
    Entry could be
    Sales Entry - Db Customer
                        Cr  Sales
    Commission entry could be
    Db - Cusomter
    Cr- Sales commission income account (P/L)
    We are having third party sales scenario , In this case billing is MIRO dependent.
    Once the miro is done then only billing is possible ...
    Could you please advise on that ..
    Regards,
    Sukh

    Dear Ratish,
    Thanks for yr reply.
    I already did that but it is not serving business purpose.
    Comm payment  - comes diff time than sales payment.
    so ,I will post one entry customer will get hit with total amount Sales + commission
    like below
    Let say 10, 000 is the sales value and 500 is the commission
    So , This entry will get posted
    Customer Db- 10,500
    Sales Cr- 10,000
    Comm Income Cr- 500
    But, As I said sales amt will be paid before so We need to clear it partially and some time customer pays also diff amount due to some defect.
    So, We wont be knowing for which case we have or havnet received the payment against commission.
    As , Customer account is got hit with total amount( Sales+ Comm..value).
    Pls advise how to solve this.
    Regards,
    Sukh

  • Credit Reporting....Separte bills for one account?

    I have been contacted by multiple collection agencies regarding a $27 dollar verizon charge that I have no previous record of.  I recieved the first collection notice in May 2011 (Recievables Performance Management, LLC).  The account number in question did not match my Verizon account so I requested debt validation from the agency (certified letter) and email and never recieved a response.  I also contacted Verizon customer service at this same time asking for validation and the rep informed me that  once the account is sent to collections, I would have to work through them for validation.  The agency then sold the account to another agency (CBE Group) in June of 2011.  I again said that the  account number did not match my verizon number (the last number in the account was different) and formally requested data validation via certified mail and email and no response was given.  I contacted CBE to follow-up on this and they now deny having any record of this collection in their system.
    I am attempting to purchase a home and this issue is appearing on my credit report and severly damaging my score.  I spoke to a verizon rept last night and she indicated that this $27 charge was a balance transfer from my intial activiation and that the different account numbers were actually the same account and the different numbers at the end represented different levels of the one account. She said this numbering of accounts should have been apparent to me and that the differnt numbers should not have been a concern.  She said bills for the $27 were sent to me but when she listed the address it was a very old address.  She said I should have updated my address. However, I did update my address as evidenced by the fact that my regular monthly bills for my service charges were being sent to the correct address.  She also asked why I didn't pay the bill the first time I contacted Verizon in May--I was never given the option.   (As an aside, after I expressed sincere concern and extreme frustration about my ability to purchase my first home due to Verizon's billing practices, she asked me if I was interested in adding any additional lines or services, which I found a bit disturbing and contrary to common sense given the context of my call.)
    If this is one account why did the $27 never show up on my regular bill or on my account when I accessed it online?  If I have one account, why was I billed for different charges to different addresses?   I was paying my regular verizon bill each month, so how could I have known there was a separate bill going to an old address?  When I activated my new phone I did it at the verizon store and the representative indicated that I had paid in full but this $27 dollar fee shows up months later via collections? 
    Out of frustration, I paid the $27 balance to Verizon yesterday to have the debt pulled back from collections and to change the status on my credit report to paid-- mortgages will not be processed within open disputes.   However, Verizon refuses to remove a credit entry once it is made.   I can't believe Verizon is willing to destroy my credit and my ability to secure a mortgage over this issue. I also am frustrated that Verizon says I have one account with them but when it comes to billing I miraculously have 2.   I have had no luck with Verizon customer service or contacting them via email so I am putting this here.   This has been the absolute worst experience with a company I have ever had....I want to terminate my contract but am afraid of what kind of unfair billing from Verizon would be next.

    ShoyebAnsari wrote:
    I sent an email to "[email protected]". I elaborated the entire problem with the date and time of recharge. I got reply within a day. If the problem is due to auto recharge, Skype team will definitely look into and provide full support. Though they returned my unauthorized transactions, the transaction is still not reflected in my CC statement. They told it will appear after 5-6 working day... Still 2 days to go. Lets see... Hope this reply would be helpful to you.
    that email address is indeed correct.  Yet, it is more advisable to use their webform as such will usually results to faster responses.  
    CONTACT SKYPE CUSTOMER SERVICE   |  HOW TO RECORD SKYPE VIDEO CALLS  | HOW TO HANDLE SUPICIOUS CALLS AND MESSAGES   |  WINDOWS PROBLEMS TROUBLESHOOTING   |  SKYPE DOWNLOAD LINKS  
    MORE TIPS, TRICKS AND UPDATES AT
    skypefordummies.blogspot.com

  • Stop user creating process order with material for specific order type

    Hey Team,
    Is there a way where I can stop creating process order with material for specific order type says Z*. We are using ZNMA  order type to create trial batch and we do not want to create process order with material for this order type.
    Any ideas?
    Thanks
    Bhavesh Patel.

    You can restrict the order creation in CO01 based on authorization, Remove the authorization for Z order type for the particular user,  Check with your basis Guy

  • Invoice IDOC trigger only for particular bill to party

    Hi,
    I have a requirement to trigger the idoc once the invoice is saved. But the condition here is that whenever the bill to party is u2018DELLu2019 then only the idoc should get triggered.
    Can anyone help me out how can I proceed this and especially where can I check this condition?.
    Regards,
    Prabu

    Hi,
    Thanks for your input. Here i have one more check like as follows.
    First i have to check whether the partner of the document is DELL and if so, then should check the preceding document order type.
    If that is also DELL, then only the idoc  should get triggerred. I have the logic to find the partner. But strucking up where should i go and write the code?.
    Can any one help me on this?.
    Regards,
    Prabu

  • Pricing not Picked up in Billing for one of the BOM items

    Hello SAPians,
    I have an issue.
    A Standard Charge Estimate was created from Service Order.
    Invoicing was done on the same day of the Standard charge Estimate.  The issue is
    There 3 Materials (BOM)-LUMF.   The price at
    10.  Service item    Rs  0.00    TAP-  (No price)
    20.  Service Item    Rs 184.00 TAD   (Priced)
    30.  Service item    Rs 266.00 TAD   (Priced)
    total order value Rs 450/.   Total Billing amount Rs 266.00 and NOT Rs 450/. 
    The error is item at 20 not picked pricing in Invoicing. Pricing analysis in Invoicing shows "Condition record exists, but has not been set"  Message 108.
    The possibility of User Manually deleting the Condition Type in Billing is reuled out.
    Your guidance and suggestions are appreciated
    Thanks in Advance

    Hi,
    Please read the below details of the message 108 and carry out new pricing in the invoice, this will solve your problem:
    Condition record exists, but has not been set
    This message tells you that the condition record exists, but has not been set in the document. If pricing was carried out again for the document item, then the condition would be set.
    There are different reasons for this:
    1. The condition was deleted manually in the item condition screen.
    2. The condition record was created later. Please note that order processing and pricing have buffer mechanisms. This means that a newly added condition record might only be found after order processing has been left completely and then started again.
    If the condition type is used for subsequent settlement (rebate), there may be subsequent updating of business volume (the agreement is is created retrospectively). The document conditions do not contain the condition record, as the condition record was not created when pricing was carried out. Updating of business volume is carried out using special functions for subsequent settlement.
    3. When an item was added, the condition record was accessed with key fields other than change time. This could lead to different results in the requirements check at the time of adding and the change time. This can occur when modifications are made.
    4. In billing (or when copying orders): Certain condition types were not determined in the source document (this is usually controlled by the pricing requirements). When creating the document, the document flow (TVCPF,TVCPA) is processed using a pricing type that does not redetermine these condition types, although they are supposed to be called via the requirements.
    Hrishikesh

  • Difference in amount in sales order and billing for one line item

    Hi experts,
    User created one sales order with three line items say line item10, line item20
    Line item 30.Line item 10 value is 5024.26 EUR in sales order. He did delivery for three line item and invoiced. But the problem is that the line item 10 value is changed i.e. 5024.28 EUR in Billing and the remaining line item values are correct. All the line items having same item category.
    I asked the user to cancel the invoice and PGI. He did that. And again he created the PGI and Invoice. But the value of line item 10 become 5024.27 EUR and again he cancels the invoice and the PGI. and again he created the PGI and Invoice. Now the value of line item 10 is correct i.e. 5024.26EUR in invoice.
    Note: No changes are carried out from sales order to billing and even in material also.
              I checked copy control settings also all are correct.

    Is the Item Category of that item different from the rest. If yes for that item probably pricing is redetermined. However if its the same somebody might have changed it manually.
    If all the item have same category then it is possible that repricing is carried out for all the items however it found new condition record only for that perticular item.
    Rings a bell ?
    Regars

  • Amount Difference in sales order and billing for one line item

    Hi experts,
    User created one sales order with three line items say line item10, line item20
    Line item 30.Line item 10 value is 5024.26 EUR in sales order. He did delivery for three line item and invoiced. But the problem is that the line item 10 value is changed i.e. 5024.28 EUR in Billing and the remaining line item values are correct. All the line items having same item category.
    I asked the user to cancel the invoice and PGI. He did that. And again he created the PGI and Invoice. But the value of line item 10 become 5024.27 EUR and again he cancels the invoice and the PGI. and again he created the PGI and Invoice. Now the value of line item 10 is correct i.e. 5024.26EUR in invoice.
    Note: No changes are carried out from sales order to billing and even in material also.
              I checked copy control settings also all are correct.

    Hi
    I think this is standard SAP issue of rounding the condition records at item level. Can you please share the netvalue for all the three items and the header net value at sales order and invoice level.
    kind regards
    sandeep

  • Billing for 251 mvt type

    Hi SD experts,
    Anybody experienced creating billing document against material docs created through 251 Mvt Type ie "consumption for sales without sales order".
    This is very important for us. Full points will be awarded for explanatory ans.
    Regards,
    santosh

    Dear santhosh
    I have not experienced this scenario.  But using this movement type (251) if you have not entered a customer order in SD,  In the standard system, the movement is assigned to a cost center. The goods can only be withdrawn from unrestricted-use stock. Possible special stock indicators: K
    thanks
    G. Lakshmipathi

  • Huge phone bill for one call!

    Hi there,
    I am writing on behalf of my neighbour, who is having an issue with a recent (talktalk) phone bill.
    The last phone bill that came through showed up as charging around £80 for a single call, which had apparently lasted hours. I suspect that the problem is that the phone reciever (his end) was not properly replaced, even though the reciever at the other end was.
    Does anybody have any advice for disputing this charge? Is there any way of proving that the person at the other end had put the phone down?
    Any help would be greatly appreciated!

    Hi. Your neighbour might get more assistance in the TALK TALK forums. I do remember that they used to put a sqeal on the line if you did not hang up properly, don't know whether they still do this.
    toekneem
    http://www.no2nuisancecalls.net
    (EASBF)

  • Automatic excise invoice printing

    Dear All,
    I had configured the system for Automatic Excise Invoice generation & printing.
    After saving the commercial invoice & excise invoice at the same time, printout is coming without any values.
    If I execute the same invoice through VF03 means, the values are coming perfectly.
    I had created the new output type and asked ABAP programmer to develop a printing program & smartform.
    In the printing program, I am passing VBRK - VBELN and proceeding further.
    Where is the issue???
    Rgds,
    Senni.B

    Hi
      Check your programme assigned to the output type for excise invoice. For invoice output type is RD00.
    Regards
    MBS

  • Enhancement for Automatic Serial Number Generation

    Hi,
    Has anybody worked on the enhancement iqsm0001?
    If so, please give me some idea on how to use this enhancement for automatic serial number generation.
    Thanks for your kind help.
    Regards,
    Renjith Michael.

    Hi Renjith,
    You can check the following link, Hope it helps you to some extent:
    Re: Implement unique serial number within a client
    And you can also try user exit EXIT_SAPLIPW1_001 for Automatic serial number assignment.

Maybe you are looking for

  • Incorrect Account Determination Error in Foreign Currency Revaluation

    Hi All, I am executing T-Code FAGL_FC_VAL for foreign currency Valuation with new GL. I am getting an error message "Incorrect account determination: 1000 01 205000" Please let me know how to resolve this error. I have maintained the GL Accounts in O

  • Firefox 3.66 and Flash 10.1.53.64 Crash Constantly

    Ever since the install it crashes constantly.. sometimes it could go for awhile with no problems, other times like tonight it'll crash like 6 times in 2 minutes. Doesn't seem to be a certain website either. Could be YouTube, could be MySpace, could b

  • How do u find old entries on your calender

    How do you find old entries on your calender

  • Prompting users to save

    Is there a way to implement an iView that can detect when a user has entered data into controls, and then navigates to another page without having saved the data by clicking the save button?  Requirement is to stop the page navigation and prompt the

  • WebDynpro : Delete Table Row

    HI All, Im developing a webdynpro application in which I have a table in which the data is fetched form the backend (Function module) and displayed. The Function Module takes in paramaters: 1, Case_ID (for identifying wether to delete, insert or upda