User exit for VA01 - No range for sales document type

Dear Experts,
In our project, we have 8 sales organizations and these are assigned to 8 different company codes. Actually our client doesnt want to maintain different document types for each Sales Organization. We need to maintain one document type for all the sales organizations and different No ranges for each sales organization. So can any one guide me on User exit available for this purpose.
Thanks & Regards,
Rahul

hi,
pls refer to the following user exit.
Include prog : MV45AFZZ
USEREXIT_NUMBER_RANGE
Use this user exit to define the number ranges for internal document number assignment depending on the required fields. For example, if you want to define the number range depending on the sales organization (VKORG) or on the selling company (VKBUR), use this user exit.
The user exit is called up in the FORM routine BELEG_SICHERN.
reg
Deepak

Similar Messages

  • User-exit in VA01/VA02 to add order item and condition price

    Hi experts,
       I have an urgent requirement to add an order item and pricing for VA01/VA02 when certain logic are met. Do you know a user-exit in VA01/VA02 to add sales order item and condition price for an order?
    I am currently using user-exit USEREXIT_SAVE_DOCUMENT_PREPARE but I can only add the required order item to xvbap but I also need to add a condition code and condition price for the added item (in xkomv). Your response are very much appreciated.
    Thanks in advance!

    Hi Leo,
      Check out few more exits:
    Exit Name           Description
    SDTRM001            Reschedule schedule lines without a new ATP check
    V45A0001            Determine alternative materials for product selection
    V45A0002            Predefine sold-to party in sales document
    V45A0003            Collector for customer function modulpool MV45A
    V45A0004            Copy packing proposal
    V45E0001            Update the purchase order from the sales order
    V45E0002            Data transfer in procurement elements (PRreq., assembly)
    V45L0001            SD component supplier processing (customer enhancements)
    V45P0001            SD customer function for cross-company code sales
    V45S0001            Update sales document from configuration
    V45S0003            MRP-relevance for incomplete configuration
    V45S0004            Effectivity type in sales order
    V45W0001            SD Service Management: Forward Contract Data to Item
    V46H0001            SD Customer functions for resource-related billing
    V60F0001            SD Billing plan (customer enhancement) diff. to billing plan
    SDAPO001            Activating Sourcing Subitem Quantity Propagation
    Reward points if this helps.
    Manish

  • Sales document type restriction to create sales order

    Hi Frinds,
    My client has one requirement ...they have different sales document type. For sales document type  free of charge delivery they want only some authorised person should be able to create sales order. Is it possible to set the authorisation to create sales order according to sales document type.
    Regards
    SV

    Yes, 
           As already suggested, it is very well possible to restrict the user for the use of certain sales document type from basis.
    & to add to the above,
    Create Z* table with Sales Org + Doc type = UserID.
    call this table in VA01 transaction & write piece of coding , if current USerID have entry in this table with the said combination - should not allow to proceed further.
    without any basis involvement also you can ahieve your requirement.
    Note: Sales Org is used for validation purpose only.
    Regards,
    Reazuddin MD

  • Number Range : Plant and Document Type in PO

    Dear All,
    We have a requirement that PR and PO should have different number range but we cannot create new Document Type.
    Is there any User Exit by which we can use same Document Type and have different Number range for different Plants. Both in PR and PO.
    Please suggest.
    Regards,
    Vikas

    Purchase Requisition
    Function Module: EXIT_SAPMM06B_001 - Purchase Requisition
    Exit Name:            M06B0003
    Include:                ZXM06U18
    Purchase Order
    Function Module: EXIT_SAPMM06E_001 - Purchase Order
    Exit Name:           MM06E003
    Include:               ZXM06U17

  • Reading the description of Sales document type and Profit centre from table

    Hi
    I want to print the description of Sales document type and Profit center on output
    I have checked in table TVAK and CEPC  but i am unable to pick description against the code
    Can anyone please suggest from where can i capture the description of sales document type and profit centre
    Thanks and Regards
    Sunil Srinivasan

    Hi
    If you have the sales document number VBELN then pass this VBELN in to table VBAK and you can get the sales document type VBAK-AUART.
    Now pass the same VBELN to VBAP table here you can get the Profit Center VBAP-PRCTR
    For sales Document type description you pass the VBAK-AUART values into table TVAKT  table and get the values for TVAKT-BEZEI is you sales document type description
    For Profit center description goto table CEPCT and enter the profit center you will get the
    KTEXT
    LTEXT
    MCTXT
    regards
    Prashanth
    Edited by: Prashanth@SD on Oct 25, 2010 12:29 PM

  • Field Exit for Sales Document Type in VA01

    hi
       i want to do field exit for Sales Document Type in VA01.
    but i dont know to find the correct exit.
    pls tell the exit name and the steps to find it.
    thank u

    Hi,
    Goto this link u will get the information u required....
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9cd334f3-0a01-0010-d884-f56120039915
    Check the numerous threads that already exist in SDN :
    CMOD and SMOD
    http://www.sap-img.com/abap/what-is-user-exits.htm
    Regards,
    Manish

  • User exit in VA01 for changing the status profile

    Hi Experts,
    I want a user-exit in VA01 wherein i can change the status profile (Screen field name = JOSTD-STSMA ) based on some logic.
    Thanks in Advance:-
    Santosh

    Hi, Santhosh,
    You can use function module "STATUS_PROFILE_CHANGE"
    see the code,
    CALL FUNCTION 'STATUS_PROFILE_CHANGE'
      EXPORTING
        OBJNR                          =  XVBAK-OBJNR
        STSMA                          =  G_STATUS
      NO_CHECK                       =
    EXCEPTIONS
       OBJECT_NOT_FOUND               = 1
       NO_STSMA_CHANGE_POSSIBLE       = 2
       STSMA_NOT_FOUND                = 3
       OTHERS                         = 4
    where G_STATUS is your new status profile. It will update in your screen also.
    Hope this will help u.

  • Number range for sales document type

    Hi,
    I am having 1 client under that 5 company codes, ade according to that 5 plants & 5 sales organization.
    so for one comapany code including all there are 15 sales document types same for other also
    my question is
    How can I assign number range for all that?
    If i am going to maintain seperate document type it goes to 75
    which userexit will help me out for this?
    without userexit what is the otherway?
    regards,
    Rahul

    Not only at order level, you will have to use exits at delivery and billing document level also.
    For sales documents:
    Exit USEREXIT_NUMBER_RANGE in MV45AFZZ
    For delivery documents:
    Exit USEREXIT_NUMBER_RANGE in MV50AFZ1
    For billing documents:
    Exit USEREXIT_NUMBER_RANGE in RV60AFZZ
    You need to give tables for maintaining numbers for sales, delivery and billing documents. In the exit a select query can be written to fetch the data based on the parameters like sale orgainzation, company code etc.
    Regards,
    GSL.

  • User Exit transaction VI01 and VI02 for checkup.

    Hi all, I need one user Exit transaction VI01 and VI02 for checkup.
    How to realize a checkup on having modified expenses of transport VIO1 and VI02?
    I need name user exit please for checkup on having modified expenses .

    Hi Rubén,
    Check the follows BADIS, they could be helpful:
    BADI_SCD_ACCTG       
    BADI_SCD_CREATE      
    BADI_SCD_CREATE_CHCK 
    BADI_SCD_PROCESS_CHK 
    BADI_SCD_SAVE        
    BADI_SCD_TRANSFER    
    regards,
    Alejandro.

  • User exit to copy the data from sales order to billing document

    hi everyone,
    Is there an user exit to copy the data from sales order to billing document?
    Regards
    Prabudh

    hi
    copy control would be the better option to choose.. but still u can a give a search in list below and opt for the right one..Refer to the link below..
    http://www.planetsap.com/Userexit_List.htm
    User exits for Sales order
    1•USEREXIT_DELETE_DOCUMENT
    2•USEREXIT_FIELD_MODIFICATION
    3.•USEREXIT_MOVE_FIELD_TO_VBAK
    4.•USEREXIT_NUMBER_RANGE
    5.•USEREXIT_SAVE_DOCUMENT
    User exits for billing
    1.•USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)
    2.•USEREXIT_ACCOUNT_PREP_KOMPCV
    3•USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program RV60AFZC)
    4•USEREXIT_PRINT_ITEM (Module pool SAPLV61A, program RV61AFZB
    5.USEREXIT_PRINT_HEAD (Modulpool SAPLV61A, Programm RV61AFZB)
    Reward if Useful
    Thanx & Regards..
    Naren..

  • Block Sales Document type for a set of customers

    Hi,
    I have to block the processing of particular sales document type, say XX or a scheduling agreement for a specific set of customers. Can anyone suggest me some inputs on this.
    Thanks in advance
    Suresh

    Thanks all for quick response.
    1. By blocking the sales document type by setting the block in VOV8 will not allow u to process that particular sales document type at all.. ie for all customers..But my problem is to block, say ZCAL for particular set of customers only..say customer 1234 of sales org 0001, customer 2132 of sales org 0001, customer 1315 of sales org 0002 etc..Apart from these setof customers, it should be able to process the document type for other customers.
    2. By blocking the customer in VD05, it will block the customer for all sales operations. But i dont want to block the same customer for other sales document types.. Say, it should be blocked for ZCAL but not for all document types.
    My requirement:
    When we create an scheduling agreement, we give the sales area in the initial screen and enter. Then we give the Sold to party.Here it should check whether the customer entered is in the list of customers blocked for scheduling agreement. If so, it should pop up an error message stating" you cannot process scheduling agreement for customer X" If not, it should allow further processing.
    I will try with the suggested User exit.
    Please suggest if u have got any more ideas.
    Thanks
    Suresh

  • Two different billing document types for 1 sales document type.

    Hi Gurus,
    I have a requirement , wherein our client is having counter  sale.
    He is using one sales doc type , and while creating a order , he is manually adding payment terms.
    Requirement is , if the payment terms are cash, billing doc type created later on should be one , else during credit sales , billing document type should be different.
    As per my understanding this is not possible.
    Want to know if anyone has some different thought on this.
    Thanks in advance
    Nilesh.

    Dear Nilesh,
    There two options you can look in to
    One option is
    1.You can define different sales document types for cash and credit.
    2. You can define two different billing documents.
    3.Do the copy control settings for each combination
    Cash sales order >Delivery>Cash invoice
    Credit sales order >Delivery>Credit invoice
    Second option is
    1. You can maintain single sales document for both the processes.
    2.Define two different billing types then do the copy control settings for both billing types.
    But in this option user need to select the billing type manually based on the process while creating billing document.
    I hope this will help you,
    Regards,
    Murali.

  • Immediate Transfer Order Creation not occuring for Sales Document Type

    Hello gurus,
    I have a situation where a transfer order is not being created immediately for a specific sales document type.
    Here is an example document flow of a desired scenario where the system is working:
    Sales document type:  ZOR
    >  Delivery type:  LF
    >  WMS transfer order
    The Item Category in this scenario is TAN.
    Here is an example of the document flow in the current scenario where the system is not working:
    Sales document type:  ZPRD
    > Delivery type:  LF
    The Item Category is also TAN in this scenario.  The only identifiable difference in these scenarios is the sales document type.  For the ZOR SaTY, a Transfer Order prints immediately once the delivery is created.  For the ZPRD SaTY, a Transfer Order needs to be manually created after delivery creation.
    Is there a configuration setting that is controlling this?  Any help would be greatly appreciated.

    Thank you very much for the link.  When I insert the WMTA output type in the delivery output header, the Transfer Order is automatically created.
    The problem I'm running into now is the configuration setting that controls this.  I thought I figured it out when going to this IMG path:
    SAP Customizing Implementation Guide  -->  Logistics Execution -->  Shipping -->  Basic Shipping Functions  -->  Output Control -->  Define Print Parameters Shipping
    When selecting the Delivery Note, the shipping point I was using was not configured in this location.  I added the shipping point into this transaction, saved, and created a new order & delivery.  However, the WMTA output type still was not automatically inserted into the delivery when saving.  Is there another location I should be looking to fix this so that when I enter an order with a particular Shipping Point, the WMTA output type automatically appears in the delivery?

  • Billing block for customer for sales document type OR

    Hi
    I want to block a customer for a particular sales document type OR
    How to do it?
    Regards

    Hi Nikhil
    There is a field called "Check Partner Auth.", but it is necessary to create the order from a contract. This field is in sales document customizing VOV8.
    SAP Documentation:
    Check partner authorizations
    This check determines whether a partner is authorized to release against a contract.
    Procedure
    Here you can specify whether the check is to be performed against the partners in the contract or the partners in the customer hierarchy. If you do not want the check to be performed, leave the field blank.
    When you create a release order for a contract, the system determines whether a partner is authorized to release against the contract. The check is performed at header level. Depending on the rule you enter in this field, the system checks against one of the following:
    Partners in the contract
    If the partner has the partner function AG (sold-to party) or AA (sold-to party authorized to release) in the contract, the system accepts the partner as the sold-to party for the release order.
    Partners in the hierarchy
    If the sold-to party of the contract is at a higher level in the customer hierarchy to the partner who wants to release against the contract, the system accepts the partner as the sold-to party for the release order.
    Note
    If you create a contract with reference to another contract, the system does not run a check and it copies all the partners created in the target contract. If you do not want it to do this, use copying control in Customizing to change it.
    Regards.
    Mikel

  • What is the need of creating partner functions for sales document type.

    Hi SAP (SD-GURUS),
    Actually we create partner functions  before creating customer ex: sold to party, ship to party, bill to party, and payer.
    These partner functions are going to be copied into sales order while processing sales order.
    Again what is the need of creating partner functions for sales document type.
    Thanks&Regards
    sreenivas peruru

    There are some Partners you could enter at Sales ORder Level. E.g. Sales Person, Employee Responsible, Forwarding Agent, Broker, etc.
    Thus these partner Determination need to be carried out at Sales Order Level & not at Customer Master level.
    So we have to configure partner Determination for various levels e.g. Customer Master, Sales Order, Delivery level etc...
    Hope this helps...
    THanks,
    Jignesh Mehta

Maybe you are looking for