Va01 , vbap-taxm1 field not should not be blank when save sale order

Hello all,
           I am working on sale order.I want if VA01,VA02,VBAP-TAXM1 fields kept blank while saving the sale order it should display a MESSAGE.can anyone please help me with this.
Thank in advance.

Write your code in MV45AFZZ USEREXIT_SAVE_DOCUMENT_PREPARE.
check for xvbap-taxm1 and throw error message.
write the below code after the error message.
PERFORM FOLGE_GLEICHSETZEN(SAPLV00F).
        CH_FCODE = L_C_FCODE.
        SET SCREEN SYST-DYNNR.
        LEAVE SCREEN.
other way is to ask your functional to add the field to in-completion procedure and then trigger this incompletion via exit, use the same save document prepare

Similar Messages

  • Field is not known for condition accesses - While save sales order

    Hi Gurus..............
    I am getting error while i save my own sales order that Field is not known for condition accesses. Then the screen automatically come to SAP Easy Access screen
    Pl let me know
    Thanks in advance

    Hi Selvi,
    try this way, once you enter the required data for the sales order go to item conditions screen. Click the analysis button and see the conditions determined. You would find some of the condition deriving a value and some may not. It will give details as to how the records either determined or whats missing to determine. Make analysis for the conditions that you feel should have got determined by going to VK13 if everything is correct. Else try maintaining with VK11. Now it would tell you if any field/ condition table is missing which was initially constructed as part of the access sequence for this conditino type.
    regards
    sadhu kishore

  • HOW WE CAN VALIDATE A FIELD THAT SHOULD NOT BE SPECIAL CHARACTER?

    HOW WE CAN VALIDATE A FIELD THAT SHOULD NOT BE SPECIAL CHARACTER?

    data : v_abcde like sy-abcde,
             v_num like '0123456789',
              v_data(60) type c.
    start-of-selection.
    v_abcde = sy-abcde.
    concatenate v_abcde v_num into v_data.
    if ur field co v_data
    else.
    message.
    endif.

  • Purchase org. field entry should not be Mandatory for PR creation/release

    Dear Experts,
    When we are creating PR (ME51N), Purchase organization field entry is mandatory for few user id & in few user id this field is not mandatory. While we are creating PR by which user id, where purchase org. field entry is not mandatory (not fill purchase org. field) & release PR (ME54N) than system ask purchase org no.
    Purchase organization field entry should not be mandatory for us when we are creating & release the PR for all user ID's. How can be maintain this things on all user ID's.
    Please help us regarding this issue.
    Thanks & Regards,
    Shatrughan

    Hi dear,
    Do the following settings in SPRO,
    SPRO->MATERIALS MANAGEMENT->PURCHASING->PURCHASE REQUISITION->DEFINE DOCUMENT TYPES.
    Here check the Field selection Key for your document type.
    Now go to
    SPRO->MATERIALS MANAGEMENT->PURCHASING->PURCHASE REQUISITION->DEFINE SCREEN LAYOUT AT DOCUMENT LEVEL
    Now double click on the field selection key which you have found earlier and now double click on Reference data,item and set the indocator as optional for Purchasing Organisation key.

  • Pros and Cons not determining / having a Delivery Plant in Sales Order?

    Hi Mates
    Here I have come-up with one more (weired?) requirement from my client.
    We have two plants manufacturing same product and supplying to all customers (some time in same sales order with two different line items).
    At the timeof creating a sales order, marketing does't know from which plant the material will move and hence they don't want to fill the Delivering Plant field (VBRP-BUKRS at Shipping tab) for each Item.
    They are insisting me to map it as above though I had explained about various pros and cons for not determining a mandatory delivery plant
    in sales order like the requirements and shipping stuff.
    Yet, yet they want this.
    Has anyone come across this kind of requirement before? What best you had done for that?
    Can I ask you what are the Pros and cons on not having a Delivery Plant at Sales Order level?
    what if I could determine it Delivery level?
    Any comments, suggestions, replies and advices are taken humbly.
    Cheers
    Ajay Kumar Veeranki

    Dear Mahulenka
    Thanks a lot for the reply. It do have helped me.
    Yest it is VBAP-WERKS (typo error ).
    Infact I had given the same solution for the issue.
    Interstingly, they are insisting on a better solution fit for their requirement. Anyway shall 'highlight' the points again to them try to get it solved
    Just wondering has anyone faced the same situation before.
    Thanks again for the reply and good luck
    Best Regards
    Ajay Kumar Veeranki

  • Ristrict user not to go for delivery with out sale order.

    Hi,
    I need some Help in ristricting the user from entering the Delivery document with any sale order.
    As per the requirement all the documents should run in a proper fassion.
    sale order> Delivery> Invoice.
    Purchase Order> GRPO> Invoice.
    If any change in the flow the user should not be allowed.
    Is there any possibility to implement this can you please help me in doing such.
    Thanks,
    Mahi.

    Hello Mahi,
    Is it not a trigger, it is inside store procedure of SBO_SP_TransactionNotification, which is standard part of the SAP B1 installation...
    read the following blog of Lisa :
    /people/lisa.mulchinock/blog/2009/05/22/the-sptransactionnotification-stored-procedure
    ALTER   proc [dbo].[SBO_SP_TransactionNotification]
    @object_type nvarchar(20),                     -- SBO Object Type
    @transaction_type nchar(1),               -- [A]dd, <u>pdate, [D]elete, [C]ancel, C[L]ose
    @num_of_cols_in_key int,
    @list_of_key_cols_tab_del nvarchar(255),
    @list_of_cols_val_tab_del nvarchar(255)
    AS
    BEGIN
    -- Return VALUES
    declare @error  int                    -- Result (0 for no error)
    declare @error_message nvarchar (200)           -- Error string to be displayed
    SELECT @error = 0
    SELECT @error_message = N'Ok'
    DECLARE @docnum nvarchar(50)
    --     ADD     YOUR     CODE     HERE
    if @object_type='15' and @transaction_type='A'
    BEGIN
      if exists(select top 1 'A' from dln1 T0 where T0.BaseType != '17' and T0.DocEntry = @list_of_cols_val_tab_del)
      begin
         set @error = '-1'
         set @error_message = 'delivery without sales order is not allowed!'
      end
    END
    -- SELECTthe return VALUES
    SELECT @error, @error_message
    END
    Regards,
    J.

  • Item's SH is not change after Header's SH change(Sales Order).

    Hi All,
    Would like to have such requirement as below.
    SH = Ship To Party
    Process Flow
    Quotation(SH=A) > Sales Order(SH=B) > Delivery Order(SH=A instead of B) due to Sales Order Item Level SH is use SH=A that copy from Quotation which not use the one been changed in sales order header SH.
    Problems : How change Item SH together when Header SH changed in Sales Order.  Existing solution is more to verification usage that require ABAP development. Is that any other method which is more efficiency.
    Thank you very much.
    Link :
    Ship To Party in Delivery Order's Behaviour
    Item Ship to party as per Header Ship to party

    Hi All,
    Case Closed. Solution as below. That previously using 002. Thank you.

  • Do not change the payment term created a Sales Order with reference

    Hi Gurus,
    Do not change the payment term created a Sales Order with reference to a contract where the payer of the change in Sales Order.

    Hello ,
    As per my understanding , you do not want the payment terms to be changed even if the payer partner function is changed ,
    as standard sap redetermines the payment terms with change in partner function, you may use the exit
    USEREXIT_MOVE_FIELD_TO_VBAK- header level
    USEREXIT_MOVE_FIELD_TO_VBAP- Item level
    in this you could write a small code which will not change the payment terms when payer is redetermined
    hope this helps
    Thanks
    akasha

  • I need a Badi that is triggered when saving Sales order in both Va01 and Va

    Hi
    I need a Badi that is triggered when saving Sales order in both Va01 and Va02
    I tried with the following BADI's
    BADI : BADI_SD_SALES
    Implementation : /BEV1/SR_SALES_ORD_1
    Method SAVE_DOCUMENT
    Now when i want to put my peice of code in this (SAVE_DOCUMENT) method.
    It is asking for Access key. Which i do not have.
    Should i create a implementation and then create a method and then put my code there?
    Anybody plz help.

    You will probably not find a BADI to suit your needs.  However if you look at include program MV45AFZZ you should find two subroutines:  USEREXIT_SAVE_DOCUMENT_PREPARE and USEREXIT_SAVE_DOCUMENT.  You can put the code you need directly into these subroutines.  If these have not been changed yet on your system, you will need an access key to make these changes.
    Please read the documentation in the header of the subroutines for furtner information on when they are called.
    Best Regards,
    Chris H.

  • Why we should assign Profitability Segment Number in sales Order

    Dear Gurus,
    Can any one tell me why we should assign profitability Segment Number in Sales Order?
    While i am createing the sales order system is asking to assign profitability Segment Number and WBS Element. Even though there is no specific assignment of these fields for incompletion log.
    Can anyone tell me what exactly is the functionality behind this Profitability Segment number?
    Good answers are rewarded with points
    Thanks and Regards
    SAP SD
    Yoganand

    Hi,
    If CO-PA is active settlement transfer the costs and revenue of the sales order item to profitability segment in CO-PA, if not active it gets transferred to G/L account in FI.
    Regarding functionality of Profitability segment - Need to specify Characteristics in CO-PA for profitability segments and these characteristics are used for Information system and planning. Charcteristics which are not involved in profitablity segment remains in the line item of CO-PA. In essence charcteristics decides on profitablity segments.
    Regarding removal of Profitablity segment no in Sales order .Kindly refer back to the earlier threads.
    Thanks & Regards
    Madhu

  • Hi All, We are in to Release 11.5.10.2.There is a specific requirement to Prevent users from creating Manual Sales Orders in oracle and yet users should be able to book the Sales Orders Imported from CRM system into Orcale.Please advise.

    Hi All, We are in to Release 11.5.10.2.There is a specific requirement to Prevent users from creating Manual Sales Orders in Oracle and  yet users should be able to book the Sales Orders Imported from CRM system into Orcale.Please advise.

    Thanks for your advise.
    However, I missed to mention that we have two set of users  One is for Finished Goods and another for Spares.
    Only Spares users need to be prevented from creating Direct/Manual Sales Orders in Oracle.
    As you suggested, if this will be done at Form level, that may Disallow FG users also to create Manula Sales Orders which should not be the case.
    Further, I tried to test one scenario through Processing Constraints but it did not work.
    Application
    OM
    Validation Type
    Entity
    Temp
    Short Name
    TBL
    Validation Semantics
    Created By
    Equal To
    User(Myself)
    Processing Cosntraint
    Application
    OM
    Entity
    Order Header
    Constraint
    Operation
    User Action
    Create
    Not Allowed
    Conditions
    Group
    Scope
    Validation Entity
    Record Set
    Validation Template
    101
    Any
    Order Header
    Order
    Above Created
    Please advise.

  • This field cannot be updated as there are open sales order lines

    When trying to enable Item Attributes then I am getting a message "This field cannot be updated as there are open sales order lines". I cancelled the Sales Order ( which was having only 1 sales order line and that is also cancelled) but still I am getting the same message.
    How to overcome this problem.
    Khan

    Thanks Karthik & Sandeep........
    Issue got fixed. There was an open Sales order Line because of that line the issue was coming. After cancelling that SO Line, Users were able to update the Item field.
    Regards,
    Khan.
    http://moreapps4u.blogspot.com/

  • Error 102 Access not made (initialized field) during pricing analysis in item level of Sales Order

    Hi SAP Experts,
    Good day!
    I am facing an issue in Pricing Analysis of a Sales Order Item level which is Error 102 Access not made (initialized field).
    Details for ZICT condition Type:
    Access Details:
    *ZINTER is originally used in billing and was decided to also use for order.
    There is no problem involved in billing.
    Please take note that I already found other discussions and an OSS Note regarding this issue and applied the suggested solution. But still I encounter an issue in the order created.
    After implementation of the proposed solution which is moving Material type(MARA-MTART) and Valuation Class(MBEW-BKLAS) to the corresponding fields TKOMP-MTART and TKOMP-ZZBKLAS.
    ZICT Condition Type details:
    Access details:
    As I mentioned above, I already followed steps in previous discussion.  It seems odd that there is still a problem. Can you please enlightnen me up and advice if there are things that I still  need to know.
    I am hoping for your response and help with this matter.
    *NOTE: The development Box that I am using is an ECC6 Upgrade development system

    Hi Please find the attached screenshot. Hopefully this will be of help.

  • User exit not active when saving sales orders

    while creating a sales order (VA01)   i need  to update  the  storage location  based on  division . for this the badis  and user exits  are not triggering   while creating a sales order for the above requirement
    any solution........
    <removed by moderator>
    thanks in advance..
    <Subject edited. Please read the [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]>
    Edited by: Mike Pokraka on Aug 7, 2008 8:38 AM

    JVP,
    MV45AFZZ this is the include which is trigger while creating SO.
    use  FORM USEREXIT_FIELD_MODIFICATION   to write code.
    your code look like if sy-tcode = 'VA01'.
    update field.
    endif.
    Amit.

  • Not able to re-atp 1of the sales order line item

    Hi SAP PP Gurus,
    When I tried to re-atp 1 of the sales order line item it is giving error as mentioned below. Please let me know where this fix qty indicator in the sales order and how can I de-activate the same.  Thanks in advance....
    Item has no open quantity - Check fixed quantity ID
         Message no. V1 601
    Diagnosis
         The item does not have any open, confirmed quantities and the "fix
         quantity" indicator is activated. This means that the customer has
         agreed on a zero quantity and nothing is delivered.
    System Response
         The system issues a corresponding message.
    Procedure
         If you want the item to receive a confirmed quantity after all which can
         be delivered later, you should de-activate the fix quantity indicator.

    Hi Ritish,
    Strategy is MTO..
    I have triied to perform atp by using fix qty/date but still system in not proposing MAD. And it is giving below error screen.
    No. of components checked:                1
    Missing parts:                            1
    Overall confirmation date could not be determined
    Order : 1104739992
      Material           Plnt SLoc Reqmts q     Requirements  ATP/avai     Committ. d Material description M Bl
      NH524AA@@          32F2 F2WH   1.000      03.08.2009      0.000      99.99.9999 HP gt7725 PCI Expres X
    Thanks and Regards,
    SHARAN.

Maybe you are looking for

  • How can I use the versionning tool to make a coherent solution to export

    how can I use the versionning tool to make a coherent solution to export all objects used in my project to other db schema for testing as well as for implementation . I want to know proper steps to Import/export objects. while I am exporting my Maste

  • PDF links work in Acrobat - don't work in Reader

    Acrobat version: 9.5.1 (latest as of this writing) Reader version: 10.1.3 (latest as of this writing) I createa  Word doc that has links to UNC shares that look like this: "\\server\share\file.exe" I convert the file to a PDF through Acrobat File ->

  • SRFC-adapter  and file adapter with error: no adapter found

    Hello, we have two scenarios here in an XI 3.0 SP12: First scenario connects two R/3 systems via RFC adapter (outbound / inbound) for an RFC in a standard R/3 function module SUSR_ZBV_GET_REMOTE_PROFILES. The RFC is synchronous. Second scenario uses

  • Exporting from Aperture to DVD

    I am trying to export a slideshow , created in Aperture to DVD so that it can be played back in a DVD player. Each time I export the slideshow it exports in Quick Movie format which is not compatible. How do I select the format to burn to a DVD that

  • Forte - multiple sessions during testing

    I think sun needs to make a "Forte" area in these forums. anyway. I love forte, but it had this option that if everytime I build & run my code it would ask me if I wanted the previous session closed...and I accidently clicked that "don't remind me ag