How to avoid sales order creation for expired contract

Hello,
Is there any way to prevent creation of sale order reference to expired contract?
Please suggest.
Thanks,

Hi,
As Shadu says,  create your own VOFM subroutine using '001' as a model and set it in VTAA. You can see in this subroutine this coding:
* Check the validity period of the reference document
  if vbak-angdt > 0 and
     vbak-angdt > sy-datlo.
    write vbak-angdt to bp_datum_ausgabe.
    message w008 with bp_datum_ausgabe.
  endif.
Replace the warning message (it's hardcoded) by other and use the field of date that you need.
If you need something else, dont hesitate to tell us.
Regards,
Eduardo

Similar Messages

  • Dump during sales order creation for a config material (uding order BOM)

    Dear all,
    I am getting the following error during sales order creation for a configurable material
    When I click on 'Engineering' tab in the characteristics value assignment for the parent material i.e. sales order material I get dump with following message,
                                   'Field symbol has not yet been assigned'
    Thanks,
    Yogesh

    Yogesh,
    what was the problem ?
    Thanks,
    Pavan Verma
    Edited by: Pavan Verma on May 11, 2010 9:31 AM

  • How to find Sales order numbers for List of Deliveries

    Hi
    How to find Sales order numbers for List of Deliveries
    Thanks
    Muthu

    Hi,
    Open the delivery list.
    Select  a delivery, goto menubar, environmment, document flow.
    Here u can able to see the  order no. (but, here u can see one by one , not cumulatively)
    Regards
    Kaleeswaran

  • Sales order creation for a project

    Dear all,
    I would like to know how to create quotation ,sales order, delivery and Billing for a total project. Let me explain the situation.. Customer has 4 different product.. they have 4 Plants to produce those materials.. They will sell each products individually and combination of others also. Their sales process is Customer will place an order for the total project which involves supply erection and Training. The erection and training may take 3 months to 1 year. The requirement is customer wants to create quotation and sales order creation in SAP. Also they want to map the erection and Training in SAP. They would like to capture the expenses involved during the erection and Training period. In this case excise duty, Sales Tax and service Tax all are involved in the same project.
    Can any one suggest some idea
    Thanks in advance
    Sriram

    Hi,
    It is understood that your client has 4 plants for 4 different materials. Your client sells materials and service (1.Installation of equipment and 2.Training the users). Your client wants to know the cost of the sold items (Materials and services). The billings are subjected to all applicable taxes.
    As you know, these requirements can be mapped in SAP by SD and PS modules.
    SD Module: Whatever the customer places the order (either partially or as total), you can create quotations. The materials are finished goods (FERT) and service materials (DIEN). The pricing procedure should consider all applicable duties and taxes.
    The business flow: Quotation >> Sales order >> Delivery of goods >> Billing (VF01) >> Excise Invoice >> Account receivable.
    Note: To link the sales order with PS module you have to maintain respective u2018WBS Elementu2019 in the Account assignment tab of the sales order. This is used for planned revenue in PS.
    Since you are supplying goods from all plants, maintain all plants to Sales organization and distribution channel combination in Assignment of Enterprise structure.
    PS Module:
    If the customer orders for an entire project including supply of materials, installation and training the users, create a project definition for that project in the project system. Assign a main WBS element under the project definition. Assign lower level WBS element according to your need. Under the WBS element network is assigned. Under the network activities are assigned. Under the activity there are activity elements. There are different types of activities; internal, external etc.
    You can assign different WBS element for services. Under this the relevant activities are assigned.
    You can budget for the project; you can assign supplementary budget if it is required. 
    When you release the project the Purchase requisitions are generated. The MM persons will create PO and procure the materials for the project.
    All the materials required are initiated from PS. Here every activity is routed through PS including service.  So, all the expenses are captured.
    By settlement rule, the cost is arrived at different levels.
    The configuration is to be done accordingly.
    Hope this give you an idea on the subject.
    Regards,
    K Bharathi

  • Restricting Sales Order Creation for Customers with specific AccountGroup

    Hi
    We have 2 Accont Groups for Customers namely Actual & Prospective.
    We wish to allow Enquiry / Quotation and Order creation for customers with Account Group ACTUAL and wish to allow only Enquiry and Quotation creation for customers with Account Group as Prospective.Is there anyway i can apply Sales Order creation block on an ACCOUNT GROUP on whole and not on Individual customers...
    Regards
    Sanjeev Bagaria

    Hello
    I did this through Listing Inclusion / Exclusion.
    (1) We created a new Customer Group 99 for Prospective Customer
    (2) We then created a new Condition table xxx with Customer Group & Material Type(as footer)
    (3) We then created this new Access Sequence Customer Group / Material Type to Exclusion Procedure B00001
    (4) We then assign the Exclusion Type B00001 to Sales Documents ZDOM & ZEOR our Order Sales Documetn Types
    (5) And finally we created a record for Exclusion with 99 Customer Group and Material Type as FERT..
    This now restricts creation of Sales Orders for all my Prospective Customers provided Customer Group is maintained in Customer Master. We are now also able to make Enquiry / Quotation and Sample Sales Order for Prospective Customers sicne we have Different Sales Document Types for all these and have assigned Exclusion only to normal Sales Order Document Type.
    Thanks a lot for all the suggestions provided.
    Regards
    Sanjeev

  • How can I get order quantity for a contract

    Hi
    I can see ordered quantity on a contract screen (VA42/VA43) but would you please tell me in which table or tables this is stored or how I can get ordered quantities against a contract
    Regards
    Javed

    Dear Javed Ihsan      
    You cann't see the order quantity for contract, you can only see the target quantity for the contract.
    However you can even see the order quantity for contract but it will not have any value -(VBAP-KWMENG).
    You can only seethe target quantity for a contract-(VBAP-ZMENG).
    For the release order you have order quantity( VBAP-KWMENG)
    PLease check and revert
    Thanks&Regards
    Raghu.k

  • Restrict Sales Order Creation for Serial Numbers already in Sles Order/Sold

    We have recently implemented variant configuration and usage of serial numbers.
    Facing some problems because of this.
    1. If a Material is in Stock e.g Material xyz and serial number 123
    System allows us to create sales order and Deliver and Invoice Serial number 124.
    I have activated Indicator: Serial Number Existence Requirement thru OIS2. However it solves only part of my problem.
    If for Material xyz serial number 123 is in stock but serial number 124 has also been created and assigned to material xyz but not in stock, then system allows me to create sales order, delivery and billing for material xyz and serial number 124.
    When I check MMBE I see zero stock when I click on serial number I see serial 123, which is inconsistent.
    How to ensure that such a situation does not happen?
    Also I do not want the system to create a sales order for a material for which sales order has been created.
    e.g. for material xyz and serial 1234 if sales order exists then system should not allow creation of another sales order for the same combination.
    However in case of consignment orders the system should allow only the logical transactions like consignment fill up or consignment returns.
    Please help.
    Regards
    Rajkumar Reddy

    Hi
    This is nothing but Creating Roles  and assigning the respective authorizations to the Roles  for giving the access to the related Tcodes
    This has to be done by basis people
    using the Transactions
    PFCG
    SU21
    SUIM
    such that every user can not create the sales order or change it.
    Reward points if useful
    Regards
    Anji

  • Sales order creation for past month

    Hi,
    we created condition record for service tax for two tax code
    A1 - 12.36 % - Validity period - 01.04.2008 to 25.02.2009 &
    A2- 10.26% - 26.02.2009 to 26.02.9999
    Now client want to enter old January's sales order with old tax i.e 12.26
    My question is it possible?
    because if create order with January's pricing date then also system is taking current date with tax 10.36
    which is not require
    How to resolve this Issue?
    Regards,
    Akshay

    Hi,
    Thnx for reply
    I already have condition record for the perion april'08 to 25.02.09
    Thnx,
    Akshay

  • Sales order creation for service items?

    Hi,
    My client is  a courier company and it wants to implement sap. You offer only  service how do you map in sap??.  can we create sales  order for service items.?. and how about the entire outbound process can be mapped?. Any ideas or insights or practical experience. Kindly share.
    Regards,
    Jothiswaran.

    Jothiswaran,
    I think it could be mapped with SAP CS - Sale of service functionality in R/3.
    Rough Idea:
    Create a Sales order  with Service product (Mumbai2chennai) with a Task list (Routing - for each stage). Let it triggers a Service order. Confirm each stage in Service order with Truck number for tracking. Once you complete the delivery, do TECO in Service order. May be advance billing or post billing.
    Try in SAP CS.
    Babu

  • How to Avoid sales orders from getting released

    Hi,
    We have done following :
    1. Created sales orders in AT org.
    2. Ran ASCP plan
    3. Sales order is considered as demand and the corresponding planned order is created in AT org.
    4. corresponding Internal Requisition is created in AT org and internal sales order is created in BE org (The sourcing rule for AT suggests to transfer 100% from BE).
    5. Now again the ASCP plan is run.
    6. The same sales order is again considered as demand and all the corresponding documents are also created (means, planned order, internal requisition, internal sales order).
    The requirement is that the sales order should continue being considered in the plan run as the demand so that it can be taken in the ATP calculation, but the corresponding IR should not be created each time the plan is run.
    I have modified the Visible_demand_flag of sales order line as 'N'. but problem is that orders are not even getting considered as demand till the flag is again reset as 'Y'.
    Please help is this. This has to be displayed in UAT to users.
    Regards.

    1)     Planning should not recommend new planned order if there is already a requisition to fulfill SO demand. Did you see that every time, a new planned is created for same SO demand ? Then you would need to ensure that Requisitions are being collected.
    2)     To prevent releasing the Planned Order – this can be done by populating item attribute ‘Release Time Fence’ – Kanban Item (Do Not Release)

  • Sales Order Creation for Contracts

    Hi,
    When I execute FM 'CRMXIF_ORDER_SAVE', it is going to dump with error
    "Inconsistency between Dictionary types "CRMXIF_BUSTRANS_ITEM_T". "
    if someone could help me sorting this out that would be great.
    I would also like to know if there is any other FMs for creation of order for contracts.
    Thx,
    Vinod

    Hi Vinod,
    You need to pass the input fields for every field you populate.
    Here is the corrected code. I have marked the modifications in BOLD.
    **Passing sample data to those internal tables to test.
    it_organisation-dis_channel = '01'.
    it_organisation-division = '01'.
    it_organisation-sales_org = 'PAT'.
    it_organisation-sales_org_resp = 'PAT'.
    APPEND it_organisation.
    *it_products-partner_prod = '28811'.
    *APPEND it_products.
    CALL FUNCTION 'GUID_CREATE'
    IMPORTING
    EV_GUID_16 =
    EV_GUID_22 =
    ev_guid_32 = zguid_32.
    it_header-guid = zguid_32.
    it_header-process_type = 'ZWK8'.
    it_header-logical_system = 'C4DCLNT200'.
    it_header-posting_date = '20060525'.
    APPEND it_header.
    <b>*HEADER INPUT FIELDS
    IT_INPUT_FIELDS-REF_GUID = ZGUID_32.
    IT_INPUT_FIELDS-OBJECTNAME = 'A'. (A for header and B for item)
    IT_INPUT_FIELDS-OBJECTNAME = 'ORDERADM_H'.
    IT_INPUT_FIELDS-FIELDNAME = 'GUID'.
    APPEND IT_INPUT_FIELDS.
    IT_INPUT_FIELDS-REF_GUID = ZGUID_32.
    IT_INPUT_FIELDS-OBJECTNAME = 'A'. (A for header and B for item)
    IT_INPUT_FIELDS-OBJECTNAME = 'ORDERADM_H'.
    IT_INPUT_FIELDS-FIELDNAME = 'PROCESS_TYPE'.
    APPEND IT_INPUT_FIELDS.
    IT_INPUT_FIELDS-REF_GUID = ZGUID_32.
    IT_INPUT_FIELDS-OBJECTNAME = 'A'. (A for header and B for item)
    IT_INPUT_FIELDS-OBJECTNAME = 'ORDERADM_H'.
    IT_INPUT_FIELDS-FIELDNAME = 'LOGICAL_SYSTEM'.
    APPEND IT_INPUT_FIELDS.
    IT_INPUT_FIELDS-REF_GUID = ZGUID_32.
    IT_INPUT_FIELDS-OBJECTNAME = 'A'. (A for header and B for item)
    IT_INPUT_FIELDS-OBJECTNAME = 'ORDERADM_H'.
    IT_INPUT_FIELDS-FIELDNAME = 'POSTING_DATE'.
    APPEND IT_INPUT_FIELDS.
    ORGMAN INPUT FIELDS
    IT_INPUT_FIELDS-REF_GUID = ZGUID_32.
    IT_INPUT_FIELDS-OBJECTNAME = 'A'. (A for header and B for item)
    IT_INPUT_FIELDS-OBJECTNAME = 'ORGMAN'.
    IT_INPUT_FIELDS-FIELDNAME = 'DIS_CHANNEL'.
    APPEND IT_INPUT_FIELDS.
    IT_INPUT_FIELDS-REF_GUID = ZGUID_32.
    IT_INPUT_FIELDS-OBJECTNAME = 'A'. (A for header and B for item)
    IT_INPUT_FIELDS-OBJECTNAME = 'ORGMAN'.
    IT_INPUT_FIELDS-FIELDNAME = 'DIVISION'.
    APPEND IT_INPUT_FIELDS.
    IT_INPUT_FIELDS-REF_GUID = ZGUID_32.
    IT_INPUT_FIELDS-OBJECTNAME = 'A'. (A for header and B for item)
    IT_INPUT_FIELDS-OBJECTNAME = 'ORGMAN'.
    IT_INPUT_FIELDS-FIELDNAME = 'SALES_ORG'
    APPEND IT_INPUT_FIELDS.
    IT_INPUT_FIELDS-REF_GUID = ZGUID_32.
    IT_INPUT_FIELDS-OBJECTNAME = 'A'. (A for header and B for item)
    IT_INPUT_FIELDS-OBJECTNAME = 'ORGMAN'.
    IT_INPUT_FIELDS-FIELDNAME = 'SALES_ORG_RESP'.
    APPEND IT_INPUT_FIELDS.</b>
    CALL FUNCTION 'BAPI_BUSPROCESSND_CREATEMULTI'
    TABLES
    header = it_header
    ITEM =
    ACTIVITY =
    sales = it_sales
    PARTNER =
    organisation = it_organisation
    SHIPPING =
    APPOINTMENT =
    TEXT =
    SERVICE_OS =
    STATUS =
    <b>INPUT_FIELDS = IT_INPUT_FIELDS</b>
    CREATED_PROCESS =
    RETURN = it_return
    LEAD =
    OPPORTUNITY =
    PRODUCT =
    SCHEDULELINE =
    CUSTOMER_HEAD =
    CUSTOMER_ITEM =
    PRICING =
    PRICING_ITEM =
    CONDITION_CREATE =
    BILLING =
    CONFIG_CFG =
    CONFIG_BLB =
    CONFIG_INS =
    CONFIG_PRT =
    CONFIG_VAL =
    CONFIG_VK =
    CONFIG_REF =
    ADDRESS =
    BILLPLAN =
    BILLPLAN_DATE =
    EXTENSIONIN =
    DOCUMENT_FLOW =
    BATCH =
    PRICING_AGR_CRM =
    FINPROD_ITEM =
    CANCEL =
    CANCEL_IR =
    PRODUCT_LIST =
    products = it_products
    OBJECTS =
    PAYPLAN =
    PAYPLAN_DATE =
    CONFIG_FILTER_CFG =
    CONFIG_FILTER_INS =
    CONFIG_FILTER_PRT =
    CONFIG_FILTER_VAL =
    ACTIVITY_I =
    it_objectstosave-guid = it_header-guid.
    APPEND it_objectstosave.
    CALL FUNCTION 'BAPI_BUSPROCESSND_SAVE'
    EXPORTING
    update_task_local = ' '
    save_frame_log = 'X'
    IMPORTING
    log_handle = l_log_handle
    TABLES
    objects_to_save = it_objectstosave
    saved_objects = it_savedobjects
    return = it_return.
    IF NOT it_savedobjects[] IS INITIAL.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    wait = 'X'.
    IMPORTING
    RETURN =
    ENDIF.
    IF sy-subrc = 0.
    ENDIF.

  • How to restrict production order creation for the WBS

    Dear Gurus,
    Our client is is using PS & PP. So that as per current procedure material required for the particular project will be uploaded into the CJ20N i.e. it will be assigned to the network.
    So that on that basis production orders will be created with the transaction co10. But in this case there is no linking between the orders created & quantity required in the project.
    So is there any restriction that by using co10 we will be able to create the production order for the material which is enterd in to the wbs with not exceeding the quantity also.
    With Regards...
    Abhay

    Dear Abhi,
    But why do you require to create produciton order manually through co10?
    Any how you must running MRP in MD51 where in you will get your planned orders which you can convert to production orders!
    Thanks.

  • How to avoid transfer Order creation in Outbound Delivery Picking

    Dear Experts
    At present situation, I am creating  transfer order through Subsequent Function tab for Picking in outbound Delivery.
    Warehouse mangement is Active
    Is there any settings in IMG so that we can avoid the step of creating tranfer Order during Outbound delivey
    Thanks in Advance
    Regards

    If your wearhouse management is active, then you need to create transfer order. If you don;t want to create transfer order, remove the wearhouse settings for the material in material master.
    award if it helps
    krishna

  • Sales Order Creation for Advertising Management(Broadcasting) - SAP ERP 6.0

    Hi all,
            my scenario is to place a Order say "Commercial" and want to read the same from ERP after creating the order.
    please give me a step by step solution for placing this order as i am very new to this topic.
    I have gone through this link for creating an Order item
    [http://help.sap.com/erp2005_ehp_04/helpdata/en/49/e98c371e558216e10000009b38f889/frameset.htm]
    From where should i start for acheving the desired result as i am very new to this.
    Thanks and Regards

    Hi,
    Refer following link;
    [SAP ERP Solution Browser|http://solutionbrowser.erp.sap.fmpmedia.com/]

  • Spliting up the G/L account in time of Sales Order creation .

    Hi,
    I am an ABAPer. Please let me know using ABAP code how to split the G/L account in time of Sales Order creation for a Payment Card.
    Shyamal.

    Hiya,
    Don't have the system before me, but I think the approx path is:
    IMG --> Controlling --> Profitability Analysis --> Master Data --> Valuation --> Define and Assign Val Strategies (I think it is KE4U).
    Look up the Val Strategy assignments and look for anything with Record Type "A".
    Secondly, look for:
    IMG --> controlling --> Profitability Analysis --> Actual Postings --> Active transfer of Sales Order Data
    Under here, look for any assignments of Condition Types to Value Fields and Quantity Fields to COPA Value Fields (Qty.)
    If these are present, they must have been put there on purpose. You should NOT JUST GO AHEAD AND DELETE them. Check why these are there and then check why these are flowing into your COPA report.
    Normally COPA reports are defined by Record Type. If you used Record Type "F" in your reports, you should always get the proper PL report. However, if you assigned a combination of "F" and "A", you will find that your Order data is flowing into COPA along with the Billing data. So the third check point should be your report definition. Call up the form for the report you are running using transaction KE35 (Change Mode). Check the definition of the Sales quantity, etc. and look for any flows with Record Type "A". Since the form may be used by others, it is not a good idea to delete a form as it is. Copy the form into another and change the new one. Delete the "A" assignments and see if you get the correct result.
    Broadly these are the areas you need to check. But COPA is vast and there could be other areas as well (e.g., KEDR Derivations, or some custom programs (SMOD)) which can trigger flows to COPA Value Fields.
    Cheers.

Maybe you are looking for

  • Assigning a date countdown to fields in a pop up menu

    Hi everybody. I would be very grateful for some help.  I need to create a spreadsheet using Apple Numbers where I can insert the date of an inspection, select either 2 years, 1 year, 6 months or three months from a pop up menu, and have a cell that c

  • HELP - URGENT - SWFs

    Hi all, Have recently just bought a new Macbook Pro 15 incher after finally decidng to take the change from a pc! I can safely safe with only a weeks use under my belt i will be forever happy using it, however, i have transfered alot of SWF files fro

  • Changing a global swatch

    We've purchased an eps file that claims that you can change the global swatch settings, but when I double click the swatch and change the color - it doesn't change anything.  If I cursor over the entire art and double click the swatch to make the cha

  • UnsupportedOperationException with List.add(Object obj)

    List statusCodes = Arrays.asList(OcsCustomDicInfo.acctRefundStatusCodes);           List statusNames = Arrays.asList(OcsCustomDicInfo.acctRefundStatusNames);           // Add an additional item          statusCodes.add(Integer.toString(statusCodes.si

  • Photoshop Elements installer

    Hello, I have Adobe Photoshop Elements 8 (Kit Wacom Bamboo Fun Pen & Touch), serial number xxxxxxxxx Yesterday I fell down the stairs and destroyed my computer. I have a new computer and I want to install the program, but do not know how to do it (no