Sale Order Excise Value should not be zero

Dear Friends
With the User Exit MV45AFZZ     Form:: Userexit_Save_Document_Prepare,
we have written a condition that while saving the sale order, if the excise condition value JEX2 is zero, order could not be saved and this is working fine for normal process.
But in some cases, we need to explode the BOM in sale order.  In this case, the above user exit is checking for components excise value which should not be the case. In fact, we tried to distinguish with item category for the above exit but the item category structures are not flowing in a particular area of user exit.
My requirement is that for BOM exploded items, the above condition should not trigger for excise value in sale order.  It should trigger ONLY for Header Material.  How this should be achieved??
thanks
G. Lakshmipathi

The problem is solved.
Actually in the above user exit, we had looped thru' xvbap for the item category type NOT equal to 'Order Type'.
Then, we read the xkomv table with two keys  JEX2 and POSNV ( referring to vbap-posnr) and checked if condition value is null, if so trigger the error message.
In this way, though the xvbap is not dynamic in that form of userexit, the reading of xkomv helped to achieve
our purpose of triggering the error for header materials.
thanks
G. Lakshmipathi

Similar Messages

  • Create delivery automatically when sales order is created but not invoice??

    Hi,
    I have a requirement where in, it should create delivery (also issue) automatically when i create sales order, but it should not create the invoice automatically. I am going to do the invoice manually from the delivery document. Can you suggest me how to do this??
    Thanks
    Ghanesh

    Hi,
      If the sales document type is not relavant for Cash sale and the document type is used globally in the business then if for some specific conditions like distribution channel or plant or for division if u want to carry out the immediate delivery creation and PGI, use the below user exits and Bapi's
    The below user exit is used to export the sales order details to capture the required checking cond such as sal org,dist ch,div,plant,etc
    Include MV45AFZZ
    FORM USEREXIT_SAVE_DOCUMENT.
    Include MV45AFZA
    FORM -USEREXIT_REFRESH_DOCUMENT.
    BAPI_ISAORDER_GETDETAILEDLIST
    BAPI_OUTB_DELIVERY_CREATE_SLS
    SD_DELIVERY_UPDATE_PICKING
    BAPI_OUB_DELIVERY_CONFIRM_DEC
    Regards,
    Gopal.

  • BOM not exploding in Sales order & Net Value error

    Hello Dear all,
    I have created a product "A" with BOM items 10, 20 & 30.
    Item cat. Gr for "A" is ERLA & for 10, 20 & 30 is LUMF.
    I have also created BOM with these 3 matls. (ie 10, 20 & 30).
    When processing Sales Order Item cat. appeared in SO for "A" is TAP & for other 3 is TAN. "A" shows the price maintained for it, but not showing Net Value at Header level data in SO.
    Also document is incomplete because of Net value for Items 10, 20 & 30.
    I don?t want price of 10, 20 & 30 should display in SO at Item level
    Can anyone suggest the required setting?
    Thanks
    Shan

    hi,
    For BOM mainly two material groups are used.
    LUMF and ERLA.
    If you used ERLA in the main material which consists of different materials then the pricing would be carried out only for the main item, while the other sub items pricing would not be displayed.
    while if you use LUMF then the main material would not be priced but only the sub items would be relevant for pricing the the total of all the sub items forms the basis of the sales order net value.
    regarding the net value error you can just check the pricing configuration for the steps and sub total.
    regards,
    Siddharth.
    Edited by: SD on Mar 11, 2008 7:51 AM

  • Excise value are not pick

    hi experts
    hi i have a problem  while doing billing document against sales order and outbound delievery excise values are not pick by the system.but in the sales order it is showing . please help to resolve this issue ..

    Dear Farhan,
        Just take a help of an SD consultant it is a matter of 2 min for him to solve this issue.
    still Go to tcode VTFL
    and search for your delivery type and your billing type and double click on the same,
    2.Then you will have an item folder on the left side click on that and you will get the list of all item category.
    3. Double click your item category YP05 and on the right side lower end you will get the Price type - in that enter "D" instead of "G"
    and Save it. then transport it to your quality and do the sales order process again.
    REgards,
    Sudhir

  • DP91(RRB) Restrict DMR Billing value to Sales Order Net Value

    Hi Experts,
    My Requirement is, while creating a DMR using transaction DP91 (Resource Related Billing), I need to  restrict the DMR value to the sales order Net Value. i.e If there are already billed DMR'S we should check all the billing documents value, sum it up with present DP91 billing value (Say X). Check it against Sales order net value.
    IF Sales order net value is more than already billed value or to be billed value(X), then optimize the DIP items within available billing value (Planning to use bin packing algorithm) and postpone remaining items for next billing cycle.
    If Sales order net value is less than already billed value or to be billed value(X), postpone all DIP items for next billing cycle ie dont allow any billing.
    I found the Enhancement AD010007 Change DI Processing Information (EXIT_SAPLAD15_015). But it triggers for each item and here sales order related data is not available neither all DIP item data. All DIP data is flowing from WBS assigned in Sales Order item into DP91.
    Regards,
    Mahesh

    Hi,
    You can make use of data transfer routines in copy control from billing document to sales document.
    Data transfer routine - 403 (FV45C403) is used for copying billing plan dates from from a reference billing document into the target document.  This routine can be assigned to the FPLA copy rules for the item category from a billing document to a sales document.
    You may enhance this routine to add net value field to be copied into credit memo document. In your case, net amount (100) can be pulled from invoice into credit memo document. 
    Regards,
    Vaibhav

  • Open Sales Order quantity & value

    Hi,
    We have a requirement here of report to show open sales order quantity & value for any month (monthend). There is a datasource 2LIS_11_V_ITM which gives Open order quantity. I have created an ODS with 2LIS_11_VAITM & 2LIS_11_V_ITM which can give me desired qty & value, but only for date of last data upload and not for date in the past.(and to get that, I have to sumup all open orders quantity without using any date filter)
    I am thinking of creating a Infocube over this ODS to update the Open Order qty & value at the monthend (Snapshot scenario). But to update this, I am not able to get the logic for date to be used in time dimension.
    If anyone can think of the solution or any alternate way to develop this kind of report, your help/suggestions are most welcome.
    Thanks,
    Vikram.

    Hi Vikram,
    Find the link, which solves u r requirement
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/bi/arobustdesignofopensalesorderdataflow
    Thanks & Regards
    Ramakrishna Kamurthy

  • Open sales order credit value (S066-OEIKW)

    Hello experts,
    I need to update the table S066 with the Open sales order credit value when an item has no confirmed quantity (VBEP-BMENG). So I have created the new rountine under
    VOFM -> Requirements -> Credit checks -> new include RVKMP901. But I don't know how to update this table.
    From the note 377165, the same is explained. But I am niot able to achieve my requirement.
    So please help me in this regard.
    Waiting for your reply.
    Any Suggestion...
    With regards,
    Vasanth M
    Edited by: Vasanth M on Feb 15, 2010 8:21 PM

    Hello Jack,
    Thanks fo your answer. But I have to update the credit amount to the table S066.
    This credit limit could be viewed in the TC FD33. So please suggest me what to do.
    Thanks in Advance
    Best Regards,
    Vasanth M

  • Excise values are not flowing  in MIGO

    Dear All,
    I am facing a problem during MIGO.
    THERE IS STOCK TRANSFER BETWEEN 2 PLANTS AND 2 PLANTS ARE UNDER DIFFERENT COMPANY CODES.
    1 I have created a PO.
    2.Delivery through VL10D
    3.Picking-vl02n
    4.Created Bill-VF01
    5.Created Invoice and saved it
    When I am doing MIGO the excise values are not following.in migo SCREEN.I I want to know do i need to post EXCISE INVOICE and how to do the same.
    Pl let me know anything is missed out so that excise invoice is not flowing in MIGO screen.
    Regards
    Manash

    Hi,
    Have you miantained Tax code in STO ? if yes, then have you mainatained Settoff as 100% for that Tax Code in FV11 for which combination you are using
    SETOFF Must Be Maintained:-
    JMX1 --     IN: A/P BED setoff
    JEX1 ---      Ecess Setoff Sta
    HX1     IN: A/P SECess SOTot       
    If it is there please follow the Following steps for STO
    1.     Create Purchase Order(STO)  using ME21N
    2.     Create Outbound Delivery using VL10B
    3.     Create Billing Document using VF01
    4.     Create Excise Invoice using J1IIN
    5.                   GR with respect to Inbound delivery and in Excise Invoice give number of VF01.
    Hope Help U !
    Regards,
    Pardeep Malik

  • 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

  • Excise values are not copied to Commercial invoice in trading process

    Hi All,
    I have an issue while creating VF01 the Excise condtion values (BED, AED) not copied to commercial Invoice.
    Other inputs about the scenaio:
    The process is 1Customer schduleing agreement->outbound delivery->J1IJ->commerical invoice(VF01)
    We had vendor agreement in which 3 line items were crated with qty of 500, 1000 and 1500 qty
    for the first line item when we created total cycle upto VF01 the Excise values are copied where as for the 2nd and 3rd line items the excise values are not being copied to VF01. Here note the only difference beween these 3 line items is mateial code is different.
    J_1irg23d table is showing the BED and AED condtion values for the 2nd 3rd line item aswell.
    Checked PO also for the 2nd and 3rd line item showing the Excise tab in which Excise values are showing.
    MIGO and MIRO were created with correct PO only
    We maintan the condtion reocrds for BED and AED as 100%, what ever the Excise values maintained in MIRO the same will be copied to VF01.
    Once again just would like to reconfrim the issue is out of 3 line items of the sheduling agreement for the first line item BED and AED are copying to VF01 where as for the 2nd and 3rd line item BED and AED values not copying to VF01.the only difference is material code between the line items.
    Please let me know if you need any further details.
    Thanks in advance.

    Thanks sir for your reply.
    have you declared the receiving plant from overseas as a Depot?
    Yes  it was defined as depo plant in configuration of plant settings.
    Actually i should have mentioend total cycle before. However, i have mentioend in my OP as
    MIGO and MIRO were created with correct PO only
    But anyway please check my total cycle as below.
    ME31L (vendor agreement)
    MIRO(customer custom vendor payment)
    MIGO(with ref Vendor agreement/PO) here the excise duties are captured as well, we will not do seperately JIIG.
    MIRO( actual vendor payment)
    VA31(customer agreement )
    VL01N(outbound delivery)
    J1IJ(with ref delivery) here we sellect the MIRO invoice
    Vf01( commerecial invoice)
    Upto J1IJ all the values calculated and copied ok. Only during VF01 the BED and AED values anot being copied. Even i tried the update button but not updated.
    For time being we are entering the BED and AED condition values into VF01.
    thanks,
    Message was edited by: surya prakash

  • Sales order net value and invoice net value differ

    Hi Gurus,
    i placed  sale order 03/08/2009 the net value of the order is 30000 USD, the same day i have done some price modification (manually i entered the header condition with value of 50 USD) after entering the header condition sales order net values is showing 50 USD. then delivered and invoiced. in the invoice net value is showing 30000 USD. my requirement is the invoice also has to show the 50 USD only. why it is not showing the sales order net value? is there any setting need to be done  regarding this problem?
    Thanks in advance

    i changed the pricing type as D
    From your comments, I presume in copy control, a different alpha value would have been maintained and with that settings, sale order, delivery and billing were generated.
    What I would suggest you is that you create a sale order once again for the same customer and 5 materials, make same changes in pricing, do PGI and billing.  See how it works.
    thanks
    G. Lakshmipathi

  • Excise values are not updating in billing

    hi all,
    In RG23D register BED, AED, ECS values are showing correctly, but in order (VA02) or in billing (VF01) excise values are not showing. So, what could be the reason and what need to be checked?
    thanks.

    Hi MBS,
    yes im doing depot process.
    I maintained routine 356, and statistical
    and i checked pricing procedure analysis tab, where all conditions are activated.
    but still values are not fetching or shoeing in billing.
    any other solutions.....
    thanks.

  • Excise values are not showing in billing

    hi all,
    In RG23D register BED, AED, ECS values are showing correctly, but in order (VA02) or in billing (VF01) excise values are not showing. So, what could be the reason and what need to be checked?
    thanks.

    mohan prabu,
    Its Surprising, how come it is not appearing in Order and billing but yet it is passed to register RG23D.
    1. Check Whether you have maintained those condition types in your pricing procedure.
    2. Check whether you have maintained VK11 i.e., Values for those Excise Condition Types.
    3. Check whether you have activated Statistical indicator for those condition types.
    4. Proceed performing Analysis in Item details --> Conditions Tab --> Click Analysis tab provided to check whether the conditio types has been executed or not.
    5. Check your Config Settings
    IMG --> LG --> Tax on Goods Movement --> India --> Basic Settings --> Determination of Excise Duty -->  Maintain Excise Defaults
    Check these initially and let us know your outcome...
    Regards
    Sathya

  • PO Value should not exceed PR value ~ Control required

    Hi All,
    I wanted to make PR number has mandatory for PO, i did it with the help of customising settings with doc type.
    Now I want to make PO Value should not exceeds the PR Value.
    How to make it in settings. or Is thr ant way available to make it (like any User exit, Enancement).
    Also can any one tell how to control(make with Doc type).Like only for direct PO, or only indirect PO.
    Can anyone help me out to do so.
    Regards,
    Nagaraj S
    Edited by: Nagaraj  S on Sep 2, 2009 6:10 AM

    Hi Nagraj,
    The funcionality you are talking on - checking tolerance limits between
    PReq and PO document - was developed for Public Sector, it uses
    the values in the FMIOI table to perform the check.  If the PReq does
    not have an FM account assignment, no FMIOI record will be written and
    the check cannot take place.
    In order to assign tolerance key limit to PReq document type please
    use following path:
    Path is: SPRO -> Public Sector Management -> Functions for US Federal
    Government -> Integration -> Materials Management ->
    Document-to-Document Tolerances
    I am not sure if something like this is there in normal case
    regards,
    Lalita

  • Sales order net value

    How and where the sales order net value will be communicate with credit management as a open order value?

    Hi Gopalal.,
                          The subtotal field A is related with credit managemnt in Pricing,In pricing if we want to caliculate the credit limit on only PR00 you can set subtotal A immediatly after A,If you want to caliculate Credit limit after dicounts then Subtotal A should be placed after discounts,
    So Subtotal A is nothing but the values of the pricing are stored in A field which compares the credit limit in sales order
    IMPORTANT thing is credit limit gets updated with the help Of INfo structure SO66 in OMO1
    REWARD if helpfull
    Thanks & Regards
    Narayana

Maybe you are looking for