Stored procedure if duty status is not changed in the sales order

Dear Experts,
I need one SP -
My scenario is the duty status in sales quotation i have selected is 'without payment of duty ' by default.When i am copying the same to sales order by default it will pick up 'without payment of duty ',but i want to change it to with payment of duty if the user is again trying to change it to ' without payment of duty ' than system should not allow to add the document.
Mona.

Dear Mona,
This forum is for DRQ to post your requirement for future B1 development.  Please post your questions on the main forum.
Thanks,
Gordon

Similar Messages

  • Trigger partner determination when ship-to is changed on the sales order

    Hi,
    Here is my scenario...
    I am defaulting my rail carrier partner function based on the ship-to party partner function into the sales order using the standard configuration i.e. by maintaining SH as entry in the "source" field for rail carrier partner function of the sales document partner determination procedure. Every thing is fine until the ship-to party in the order is not changed by the user. when the user changes the ship-to party the carrier is not re-determined (the old rail carrier partner function which defaulted into the order from the old ship-to party record stays in the document). I know standard SAP doesn't re-determine partners. Can anyone came accross this issue?
    I would like to know if there is an user exit that i could use and write a code to trigger parter determination when a ship-to partner is changed in the sales order.
    -Sree.
    Edited by: SREE on Sep 15, 2008 4:40 PM

    Hi,
    Try to use user exit FORM USEREXIT_SAVE_DOCUMENT_PREPARE in program MV45AFZZ.
    Regards,

  • Billing tab of BP are not populated in the sales order automatically

    Hi
    Business Partners Billing Tab details like customer pricing procedure, currency, price group, Customer group etc are not populated in the Sales order automatically?
    I have checked the pricing procedure determination also.
    Thanks

    Thanks problem is solved.

  • Condition type not flown(not determined) into the sales order

    Hello Experts,
    There is one discount condition type which is having proper condition records, validity date.However, it is not getting determined properly and is not flown into the sales order. the user wants to know why this may happen.I tried to reason it may be the sales order date and the conditon record date may be different or the condition record is changed after the creation of the sales order.neither of the reasons seem to hold good. any ideas?
    Regards,
    Raj

    Hello,
    I have looked into the analysis and asked him to update the condition by clicking on that.also, I found that the condition record is having a proper valid date. now the user would update only after knowing the exact reason why it did not flow into the sales order,he knows he has to update the condition but would not do so till he knows the right reason why condition is not determined in the sales order. now this is the situation.
    the probable reasons as per analysis of the conditon type are as follows(for your information). can it be one ofThere 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.  them?
    Regards,
    Raj.

  • Program for mass change in the sales order.

    Hi,
      I have a requirement where If we make changes in  the availability check rule of the material master(for e.g. 02 to 01),then the same rule should be changed in the sales order as well.
      Though this will be changed for the new orders but is there any program which we can run manually or in the background in order to make changes in the old sales orders.
    Regards
    Karan

    Hi,
            U cannot change checking group or checking rule for availabillity check at sales order level, u can change requirements type.
            If u want to change requirements type determined into sales orders, which  r already created go to t.code MASS and select the object type sales orders and press execute, select sales order item data on tables tab,and select requirements type on fields tab and press execute.specify sales documents number from and to and item numbers, and press execute and specify the new value and press carryout mass change button and then save.
    with regards,
    kirankumar vemula

  • Billing Block removal not updated in the sales order change log

    Hi Gurus,
    A specific Billing Block is automatically assigned to the sales document header (VBAK-FAKSK) when the net value of the sales order is negative. This is an order related billing.
    Sometimes the Billing block is getting released automatically and the Negative Invoice is getting created in the Background job run for creating the invoices. When we check the sales order, the Billing block is not existing and the removal of the billing block is not recorded in the Change Log of the sales order.In the CDHDR table also there are no details about the release of the billing block.
    This is happening only occassionally. When I tried to replicate the issue, the system is not allowing me to create the invoice as long as the billing block is there in the sales order and if I remove the block, it is recorded in the sales order change log.
    My doubt is.,
    1. How the billing block is getting released automatically?
    2. Even if the block is released,  why it is not recorded in the Change Log of the sales order?
    Looking forward your for suggestions and solutions.
    Thanks,
    Ravi

    Hi
    Did u check in sales doc. details screen.There u can block for billing.

  • Condition value of JMOD not appearing in the sales order.

    Hi all,
    Im encountering a peculiar situation where the conditon value of JMOD is not showing up in the sales order..It is however showing the tax rate.. Pls suggest.
    thanks and regards
    Joe

    Hi joseph
    some soution for you I googled for you
    one example like yours i am just copying and providing info for you i dont know whether i can copy link or not here
    here is the solution
    I'm using TAXINJ procedure with JFACT as the pricing procedure for sales.
    Here, I've maintained in FTXP, for IN00 and taxcode V1(new one defined),
    taxes as desired and JMOD = 16%, AED as 2%.
    But these values are not getting picked up in the pricing in sales order.
    I'm keeping UTXJ correctly. I tried with % of UTXJ with 100%.
    In the pricing analysis, I see that the condition record for JMOD is found correctly with 16%.
    But it appears in the condition items as 0%
    solution:
    Check whether you have maintained the tax classification in material master and also check whether u have defined the same tax classification in VK11 for UTXJ, where u assign the Tax code.
    Also check for customer tax classification. And check what you have maintained in J1ID. System will first search for values from J1ID, and then in FTXP.
    And have you a sales pricing condition like JEX2 which is a copy of JMOD ? The value of JEX2 gets posted for Excise account key. This ensures that the cost accounting of excise value paid is done correctly - account key EX2.
    I'm maintaining TAX classifications correctly in the material master, customer master and final tax classification for plant also is set correctly.
    As I told, JIN1, JIN2, JIN4,JIN5 are picked up correctly and calculated. Problem is only for Excise.
    And these values are getting copied initially, before I put PR00 manually.
    Once I put PR00, all the conditions are set to zero back
    Then after entering the price manually, u do the update pricing in Conditions View.
    See, I have not altered any thing in the standard JFACT procedure. That means sales condition is there for JMOD to enable account posting..
    Now, I've changed Tax category in OVK1, and put UTXJ alone there and now, JMOD is getting picked up and is calculating the value..
    But note that I've maintained 10% as JMOD in FTXP.. and 8% in the J1ID excise rate maintenance for chapter ID.
    Can I do away with Excise rate maintenance for chapter ID. So that I will get the % maintained in the FTXP..
    did the tax code pick up correctly... did u maintain the chapter Id and excise rate fro teh chapter ID
    I could solve the proble..
    In the excise group assigned to the plant, I had to check on the indicators, SED and AED.
    Hope its clear your issue.
    Regards,
    Krishna.

  • Coupon specific discounts are not coming in the sales order

    Hello Experts,
    I have created a internal coupon campaign and assigned discounts to the campaign. We used condition type 1202 to assign the discount values in the campaign.
    In the sales order when i enter the coupon id system fetching the corresponding campaign ID. But , sales order is not fetching the discount condition types mentioned in the campaign.
    Below are the configurations i made.
    1) Copied the condition type 1202 to ZCUI.
    2) Assign this condition type to the condition maintenance group (1200) and keep the condition table as SAP12000
    3) Maintain this condition type to the pricing procedure and assign pricing procedure to the Sales order transaction type.
    4) In the campaign i have maintained the values for the condition type . -- Sales org, distri channel. divison, Product , discount value
    5) I even verified that CNDCRMPRSAP12000 has the records for this campaign.
    Now the question is do i need to do any customization in Campaign determination. I am not using TPM and it is a simple coupon campaign.
    Please suggest me , your help is highly appreciated.
    Regards,
    Deeps.

    Not sure if it works, may be you can check this
    - is your condition type 1202's calculation type field has been defined as "percentage"?
    - the pricing procedure that you are using, does it contain the corresponding condition type 1202 for discount amount?
    - Has the pricing procedure been maintained for your org data in "Determine Pricing Procedure" in spro-> CRM-> Basic Functions -> Pricing -> Determing Pricing Procedure
    Please check this.
    Edited by: Harsh Singal on May 4, 2011 5:53 AM

  • No more changes in the Sales Order

    Hi,
    The user should not change any values in the sales order from the Default master data.
    Say for example , the user should not change the Terms of payment , Incoterms, Ship to Party etc.
    Is it possible in Standard SAP ?
    Regards
    M. Lakshmi Narasimhan

    Check this below link,
    Transaction Variant - A Step by Step Guide for Creation
    http://wiki.sdn.sap.com/wiki/display/Snippets/TransactionVariant-AStepbyStepGuidefor+Creation

  • Free Goods not appearing in the Sales Order

    Hi,
    I have created the condition record for Exclusive free goods for a material. However when i create a sales order with the same material, the free goods materials is not appearing.
    I did a Free goods Analysis in the sales order and when i checked the field values, I found that for a particular access sequence it says "Access not made ( initialized field)"
    Please help.
    Thanks.

    Hi,
    This error usually happens when we donot maintain any of the fields in the access sequence that we use.For Eg., if your access sequence is Sales Org/Dist Channel/Mat group and if you fail to maintain your condition record with the same sequence,you will get this error.Please maintain the condition record with the respective access sequence and you will not get this error.Please try and confirm.
    (Also in the above example even if you maintain condition record and didnot maintain material group in the materisl master you will get this error.So check all the possibilities and confirm.)
    Regards,
    Phani Prasad.

  • Condtion value is not appearing in the sales order conditions tabpage

    Dear Gurus,
    I have Created the sales order and the price is taken from conditions record but the condion value Shown for the condition type is blank .
    please do the needful to resolve the issue
    Regards
    Anil

    hi,
    if the condition record maintained matches the order based upon the key combination you maintained then it will flow into the order. If not, check the validity of the condition record you maintained at VK13, also make sure its not deleted. If you feel everything is correct with condition record then go to VA02 > item > conditinos > click the analysis button. It will tell why the conditino record was not picked into the order. reasons can be there is a susbsequent pricing condition, requirement not met etc.
    regards
    sadhu kishore

  • Billing date is not populating into the sales order

    Hi Experts,
    I am creating the sales orders by filling the IDOC's Segment data from a file. Sales orders are getting created however the BILLING DATE is not getting populated by the date from file instead it is taking the system date.
    Segments used are
    Header: E1EDK03   016  021  and  026.
    Item: E1EDP03  016  021  and  026.
    Please help me in this regard.
    TIA.
    Regards,
    Kishore.
    Edited by: kishore gaddam on Jul 18, 2009 10:06 AM

    Hi,
    Check with function guy , there could be some settings need to be done for getting external date populated in billing date field.
    Thanks,

  • Taxes not picked in the Sales Order

    Dear Friends,
    After creating all the tax structure per jurisdiction and assigned to respective sales orders, when I create a sales order and check for the conditions , i have conditions records for taxes missing.
    it throws the error like..
    "Taxes code AJ in procedure in Taxcode TAXUSJ is invalid".
    I checked tax code assignments and they are all fine..please tell me where do i look for these
    Thank you
    Ravi

    Mr,Laxmipathi,
    Thank you very much for your reply..all the tax codes are maintained correctly for CA..when I am trying to create condition record  for CTXJ..now a new message appears.
    " Condition CTXJ does not allow supplimentary conditions"
    Diagnosis
    Branching to the additional condition screen is only allowed for conditions with a permitted condition type.
    Procedure
    Check the Customizing setting for the condition type. The additional pricing procedure for this condition type is not entered.
    I did check ..but could not trace out..please help.
    Another Question to you:
    Can we bring Shipping Tab which is hidden in Header of Sales Order into one of the Item level Screen Tabs ..(this is my client requirement)..they wan Item Overview, Item Detail to be hidden in that place can this tab appear.?
    Thank you very much well in advance..
    Ravi

  • Changes in the sales order

    Hi,
    What are the tables where i can see the changes made for a position in a sales order. I want to make a program/query to see when a user change the material code for a position in a sales orders.
    Thankyou.

    I don't know how to check in the table CDPOS a certain changes of the position in a sales document.
    As i said, i want to see when the material code was changed.
    I can't see in the selection screen the sales document numer or something else that can help me to find the document and the position changes.
    Could you help me with some indication?
    Thanks a lot.

  • How to tranfer changes in the sales order when the delivery is created

    Can anyone please help for the following scenario:
    Sales Order created --> Delivery created --> Customer calls to make changes in Sales Order.
    In this case what customizing is required so that the changes in Sales Order (including 1. qty & 2. delivery date or 3.Addition of new Line item) triggers changes in delivery.
    Many Thanks in Advance.
    Hiren Panchal

    As per my best knowledge ther's no such setting. Copy control works only when you are creating the delivery from the SO.
    So, I think you have two options - basically:
    - modify the already created delivery manually
    - delete the delivery and create a new one form the updated SO

Maybe you are looking for