Diffrent No Range as per Sales office while saving  Order

Hi
I have a scenario which i need to configure , there is 4 offices located in different Location i.e
Delhi,Mumbai.Kolkatta etc, when i save order the no should generate differently in Sales order ,delivery,billing, not as general suppose if i save order in Delhi office the no should be 4 if i save order for Mumbai the no should be 5 etc ,
Kindly suggest how to configure.
thanx

Hi Mukesh,
to achieve this you need to define a Z table, in which you need to maintain the sales office as one of the column, against which you can maintain the number range and it's key.
for example the range is 1 to 100,000, and key is Z1.
Maintain the table as follows.
Mumbai    1 to 10000,
kolkatta    10,001 to 20,000 and so on.
you can define the other parameters also and write a code in the user exit USEREXIT_SAVE_DOCUMENT or the number range user exits which ever is suitable for you to read this table and fetch the number range from this table according to the sales office.
Hope this will help you,
Venkat.

Similar Messages

  • Rebates as per sales office

    Hi All,
    I have to implement Rebates in the system and as per Clients requirement, Rebates should be given on the basis of Sales office or Sales group and rarely on customers. Please suggest how this can be achieved and is it advisable to apply rebates as per sales office . How the settlement will be done. And is it possible to upload Rebates using BDC.
    Thanks in advance !!!

    JVs are kind of discounts that they give using Tcode FB75.
    Current business scenario is that the discounts and provision are given directly in FI .
    If we want to include provisions in SD then it is possible to implement only through Rebates processing.
    Now the issue is that they give Rebates on the basis of sales office..
    Eg: Rs2 discount on particular material group across sales office 9999.
    Also they should be able to change this Rs2 discount to say Rs5 in future which is not Payer dependent.
    Am really confused on how this can be implemented and even if this is implemented using following logic then how settlement will be done.
    Eg: New condition table with Sales office and Material group fields.
    then whenever we will create a agreement then we can make a condition record for that Sales office and material grp for which rebate is applicable.
    Please help....

  • SIS: Sales Report as per sales office and material

    Hi All,
    Is there any standard report with selection fields as sales office, Material and Month for invoice sales.
    Thanks

    Hi,
    Check with MCTG
    Regards!
    Sadanand

  • Amount collected per sales office

    hello
    Is there any report whereby I can get amount collected by each sales office ?

    you may try with the incomming payments filtered with specifc user ids working for respective sales office personel.

  • Different number range for different  sales area but same order type

    i have 2 different sales area but i have assigned same sales order type for 2 different sales area,
    but i need the number range different for different sales area for that same sales doc type,
    is that there is any user exists for number range? if so how can i find the user exists

    Hi,
    You can surely have a different number range per Sales Area. For this you will have to make use of a User Exit (which would surpass the standard SAP functionality). Try USEREXIT_NUMBER_RANGE.
    Maintain the desired range in VN01 with the respective Range Keys.
    Make a custom table comprising of Sales Area and Number Range keys (same keys which you maintained in VN01).
    Now everytime, the system will check which sales area is used and accordingly, it will fetch the Number Range Key~Sales Area combination from the custom table, and will pick up the number range from VN01.
    Coding should done by a good technical guy to make this work nicely.
    Hope this helps you.
    Regards,
    Vivek

  • Mobile Sales - Error while Saving Sales Order

    Hi,
    When I try to create and save a sales order in the Mobile Sales, the error message UI_CONT_STATUSBAR_ICON_TT is displayed, blocking the saving process and the new order is not saved.
    I tried to debug the SAP Mobile Application Studio(Visual Basic) side and I didn`t find any error there.
    Does anyone knows what could be happening?
    Thanks for any help.
    Regards,
    Andrew

    I reinstaled the Mobile studio and then it worked.

  • Authorization object for sales office

    Hi,
      We have a requirement,  we have one our head office  and there are around 20 sales office,   for each sales office there is a different user id (two user logins per sales office ),  in customer master for each customer we are assignning one sales office,  and only the user of that office is responsible for all types of transaction for that customer,  we want that sales office assignment  to user,  and that user should not able to see the any details of customer like sales orders, billing details order booking etc. which is not in there sale sales office  ,  so which authorization object, or how we can get this,
    regards,
    zafar

    Hi
    Sometimes when you add a new authorisation object with some specific value, system still allow to do the transaction for other values which is not available in that authorisation object, because may be in some other Profile same Authorisation Object is available and where user has complete rights, so kindly take the help of Basis Consultant and check that same Object is not availbale in some other profile of User with complete authorisation.
    Thanks and regards,
    Amitesh Anand

  • Sales Office copying from Sales order to Invoice ( order related billing)

    Hi
    In sales invoice (vf01) is there any field for Sales Office.
    In order related billing . how we can copy sales office from sales order to Invoice.
    Regards\Adnan

    Hi Adnan,
    In Invoice you can find Salees office filed In the Item data >in the Item Detail tab>under Sales Order Data here you can get the sales office which you enter in the sales order.
    I hope it will help you,
    Regards,
    Murali.

  • Sales office description

    Hi, I need to get the partner's sales office description in order to show it in an ALV. I use table crmm_but_set0140 to get the sales office but i don't know how to get its description..
    Also, before showing this ALV I need to check if the user (the one who runs the report) has authorization to access some sales organization.. how can i do that check ???! is there any table with all the users and the sales organization they can view ??
    thanks in advance !!

    Hi Maria,
    Say there is an ABAP Report name ZXXXXX
    Now you want to make sure you only Person A is able to execute and B can not execute the report.
    So to do this,
    Create a T-code of that ABAp report.
    In that Select Program with selection screen option
    Now in that You have authorization object assignment. There you can give authorization object say ZABATCH and then in front of that there is Output display option. There you need to mainatin the Numeric value like 45 or 50 as that is defined for that Object.
    This information you can aks from your functional consultant that what Authorization object is requiered in this ABAP report.
    Hope this helps you.

  • Service order IW32 - change header data while saving with UE

    Hello
    I have the following problem. I need to clear while saving
    order in IW31/2 one single fields this is CAUFVD-ABGSL
    but I cannot find any user exist that could allow me to CHANGE this field I tryied to use :
    IWO10009 IH-Auftrag: Kundenprüfung zum Zeitpunkt 'Sichern'
    but it has only CAUFVD as importing parameter *"  IMPORTING
    *"     VALUE(CAUFVD_IMP) LIKE  CAUFVD STRUCTURE  CAUFVD
    while I need to change one field while saving order
    Did somebody dealt with this problem
    I will be really gratefull for help
    Best regards
    Bogumila

    Hi,
    I've had a request for one of my customers to automatically change this field as well.
    Apparently, it was possible to change the CAUFVD structure, but it wasn't updating the database table AUFK.
    First of all, I wrote a new function module to update it straight in the AUFK database table, using the order ID and the provided RA key. This because using FM BAPI_ALM_ORDER_MAINTAIN threw an error.
    FUNCTION Z_0PM_CHANGE_RA_KEY.
    *"*"Update Function Module:
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(IV_AUFNR) TYPE  AUFNR
    *"     VALUE(IV_RA_KEY) TYPE  ABGR_SCHL
         UPDATE aufk SET abgsl = iv_ra_key WHERE aufnr = iv_aufnr.
    ENDFUNCTION.
    Then in user exit PPCO0001 - FM EXIT_SAPLCOBT_001 I'm calling this in an update task, to avoid any current object locks while saving. It's working both in transactions IW31 and IW32:
    SELECT SINGLE absl FROM z0pmrakey
            INTO lv_ra_key
            WHERE auart = lv_auart_rep
              AND ilart = lv_ilart_rep
              AND eqtyp = lv_eqtyp_rep.
          CALL FUNCTION 'Z_0PM_CHANGE_RA_KEY' IN UPDATE TASK
            EXPORTING
              iv_aufnr       = lv_aufnr
              iv_ra_key      = lv_ra_key.
    In case you have any questions, please ask.
    Kind regards,
    Joris

  • Alpha Numeric number Ranges for Sales order Acording to sales office wise.

    Hi Experts,
             I have a Issue for genrating sales order numbers With Alpha Numeric Number Ranges for sales office wise Internaly . How can we get this is there any Userexits or badi for this . If Any one Come across this issue plz guide me.
       The Alpha characters should not change that will be sales office region code. only the Numeric numbers should change .
    Ex;   Abc-123000  to Abc-200000
    Regards,
    Ravi.

    This alpha-numeric format is not possible directly with SNRO settings.
    You need to opt for external number range, and in the exit of your respective transaction you need to takecare of this number generation explicitly by programming.
    http://www.sap-img.com/sap-sd/number-ranges-in-sales-order.htm
    any more inputs from experts are welcome..
    Hi,
    1. goto include MV45AFZZ and to user exit Save_document This form is called before COMMITand double click on FORM USEREXIT_SAVE_DOCUMENT.
    2.it will show the program MV45AF0B_BELEG_SICHERN from were this user exit is called, selcet the program and click on Display.
    3. you can use the enhancement point enhancement-point beleg_sichern_01 spots es_sapmv45a. just below the PERFORM USEREXIT_SAVE_DOCUMENT to call the badi method on_costing_component.
    regards.
    santhosh reddy
    Message was edited by:
            Santhosh Reddy
    Message was edited by:
            Santhosh Reddy

  • Sales planning as per sales person wise/Sales group wise/Sales office wise

    we are having a querry like Sales Planning in Sales & Distribution:
    Company need's to set targets based on Sales Office wise/Sales group Wise/Sales Person wise. Later on company will check target Sales, Planned Sales, Achieved Sales. So how can we achieve in Sales and distribution module wise.
    Regards

    no my question is not related to PA
    Suppose a sales person is there in my company name as:X. His target for this financial year is Rs.10 Crores. For that he will give list of materials to achieve this target and quantities and tentative dates also for which materials he needs. So that my company will do proper planning for production also to supply these materials timely. for this Company needs to analyse what is the given target and acheved target and what are all the materials are sold with respect to quantity. what materials are not sold means dead stock. So that how can we solve this solution in SAP.
    Regards,
    Venkat

  • Sales office and sales group

    Hi Experts,
    I have a question here. When ever we try to edit the business partner data in Customer/Prospect role in CRM. We are getting error message " please fill the sales office and sales group data in sales area xxx. We  go to corresponding sales area and fill the data so that we avoid the error.
    My question is sales office and sales group fields are not mandatory fields in field group settings in Customizing but how  are we getting this error. How can we avoid this error permanently. Kindly help in this issue.
    Regards,

    Hi,
    Where r u seeing it is maintained as the mandatory field. I mean here:--
    Another thing You can go to SPRO-Cross-Application ComponentsSAP Business PartnerBusiness PartnerBasic SettingsField Groupings--Configure Field Attributes per Activity
    Then double click on change and double click on CRM Organization. There it will be maintained as required field. Change it to Opt. Entry.
    Or
    While pressing F2 in that particular field..
    Thanx
    Chinmaya

  • Sales Office Master - Country, Region and Time Zone

    Dear All,
    In one of the Project, for some config-settings, I need to create Sales Offices. Here, Sales Offices is basically the Countries, to which business is happening.
    For example,
    Jordan
    Mexico
    Colombia
    etc...
    Now, while maintaining Sales Office records, System prompts for Sales Office Address. Initally, i maintained Country as per the Sales Office, for example:
    For Sales Office Nepal, Country Nepal
    For Sales Office Mexico, Country Mexico
    etc...
    Now, when i checked previously maintained entries in to System, I found that:
    For Sales Office New Hampshire, Country India
    For Sales Office California, Country India
    etc...
    When, I inquired about the same to concern Persons, within particular Organization, they are unable to explain, as these entries are maintained by Previous Implementation-Partner.
    Can anyone explain, what entry needs to be maintained as Address - Country, Region and Time Zone, for International Offices? Is there particular logic for the same?
    Best Reagrds,
    Amit

    Dear All,
    Thanks for the Support, provided.
    Let me explain, my scenario, in detail.
    I am maintaining Profit Center, in Sales Order, based upon Substitution Rule.
    For that, I have to maintain Profit Center, based upon Sales Area and Sales Office combination.
    suppose, If my combination is:
    1. if Sales Area is 10100107 and Sales Office is Colombia, then Profit center would be X
    2. if Sales Area is 10100107 and Sales Office is Mongolia, then Profit center would be Y
    Now, Important aspect is all Sales Organizations are maintained under Company Code ABC; and Company ABC is maintained under Country INDIA. Whereas, Sales Offices are both, Domestic, as well as International.
    My queries are:
    1. What effect has gone be made, if Sales Org is maintained under India and Sales Office, under some other country, in Sales Order?
    2. Also, based upon Sales Office, System must pick the Transaction Currency, in Sales Order?
    Best Regards,
    Amit

  • Sales office, sales group language maintenance issue-urgent

    Hi All,
    I have to create sales office & sales group in the enterprise structure. But the problem is i want to maintain it in different languages such as russian & french, how do i do it. Is there any specific method to be used to convert language?
    Method i used pl. validate if its correct .
    I used option translate --> and selected the required languages, but my question is how do i write in russian and french........do i have to write in english or convert it physically in other languages?
    Thanks for your valuable time.
    Praveen

    Hi,
    Where r u seeing it is maintained as the mandatory field. I mean here:--
    Another thing You can go to SPRO-Cross-Application ComponentsSAP Business PartnerBusiness PartnerBasic SettingsField Groupings--Configure Field Attributes per Activity
    Then double click on change and double click on CRM Organization. There it will be maintained as required field. Change it to Opt. Entry.
    Or
    While pressing F2 in that particular field..
    Thanx
    Chinmaya

Maybe you are looking for

  • Subclass the WebUtil Object

    Hi. I'm attempting to Subclass the WebUtil Object. I've attached the library to my application and I've opened the WebUtil Object Library. But how do I do this 'subclassing' to my form? At this point I'm assuming I need an entry under the Object Grou

  • Find Distribution percentage from Sender Cost to Receiving Cost

    Hi All, How can I find the percentage of distribution from sender cost center to receiving cost center in SAP. Kindly suggest.

  • Photoshop contractor needed

    Hello I've written some Photoshop plugins before and my company, X-Rite, has need of some more, but we don't have the staffing to do it now. We're looking to hire a contractor to write a plugin for us. We'll also need a Windows tray application and M

  • Just deployed to external weblogic test server with oid

    I am getting errors for the beans that have to do with progress bars. It says these objects are not serializable. When I try to implement serializable I still get that error. What do I need to do? I have 3 progress bars in view scope. SEVERE: ADFc: S

  • Case Structures

    Can a case be created for Case Structures of a decimal value or range? That is say 0.001..0.5? I can create case structure for say 1..5 can I create it for 0.001..0.5? Solved! Go to Solution.