Change Sale order range number

Hi,
  I have implemented the number range selection in user exit MV45AFZZ for sale order.  Is there any BADI available which provide the same capability as MV45AFZZ ??
Regards,
Kit

The Process order number range is maintained in tcode : CO82.
Typically you change number range for various reasons like
1. External number range required
2. New order type created & new number range required for Rework orders
3. Tracking certain special orders with different no range for differenciation & easy visibilty
4. Specail no range reqd due to limitation of External System that is interfaced with SAP
5. Different no range required for collective orders, MTO, M to stock orders etc...
These are some of the reasons I can recollect from my experience.
This you may take as the PROS.
As far as CONS : 
1. Good communication with user group needed before number range change
2. As with any configuration change, Regression testing needed by users/ business groups before configs move to Production
this is my 2 cents...
hope this helps. More questions? please come back
thanks,
Ram

Similar Messages

  • Change process order range number

    I was requested to change the current process order range number.
    Could you give some information about this?
    Pros/Cons?
    Thanks,
    Gerardo

    The Process order number range is maintained in tcode : CO82.
    Typically you change number range for various reasons like
    1. External number range required
    2. New order type created & new number range required for Rework orders
    3. Tracking certain special orders with different no range for differenciation & easy visibilty
    4. Specail no range reqd due to limitation of External System that is interfaced with SAP
    5. Different no range required for collective orders, MTO, M to stock orders etc...
    These are some of the reasons I can recollect from my experience.
    This you may take as the PROS.
    As far as CONS : 
    1. Good communication with user group needed before number range change
    2. As with any configuration change, Regression testing needed by users/ business groups before configs move to Production
    this is my 2 cents...
    hope this helps. More questions? please come back
    thanks,
    Ram

  • How to change pricing Conditions in Sales order in change sales order bapi

    Hi Experts,
    How to change pricing Conditions in Sales order in change sales order bapi.
    I have used the 2 function modules bapi-changesalesorder and sd salesdocument change, But it is creating the new record , instead of changing the existing one, Could please assist regarding the same
    Thanks in Advance .
    NLN

    HI NLN
      I have just tried on my system and managed to overwrite the existing price by passing the following parameters.
      <b>Import Paramters:</b>
         SALESDOCUMENT - Sales Document Number
         ORDER_HEADER_INX - UPDATEFLAG as <b>'U'</b>.
         LOGIC_SWITCH - Import Structure - Pass 'X' to LOGIC_SWITCH-COND_HANDL.
      <b>Tables:</b>
         CONDITIONS_IN - ITM_NUMBER,
                         COND_COUNT, -> Condition counter same as KONV-ZAEHK generally it is <b>'01'</b>
                         COND_TYPE,
                         COND_VALUE,
                         CURRENCY.
         CONDITIONS_INX - ITM_NUMBER,
                          COND_COUNT,
                          COND_TYPE,
                          UPDATEFLAG as <b>'U'</b>,
                          CURRENCY.
       Hope i have clarified your query.
    Kind Regards
    Eswar

  • Getting error in while changing sales order which is created using BAPI

    Hi All,
       I have created the sales order using BAPI ( BAPI_SALESORDER_CREATEFROMDAT1 ) and i am successfully creating sales order using this BAPI. But while i want to change sales order iam changing Shipping Conditions in Header Data of sales order .its giving an error .can any know any thing about this.
    Error mesage :    No status object is available for SDI 300082407/10    (Order Number/Item Number)
    In Header i  am passing these values ...
         wa_order_header_in-doc_type = vbak-auart.
        wa_order_header_in-sales_org = vbak-vkorg.
        wa_order_header_in-distr_chan = vbak-vtweg.
        wa_order_header_in-division = vbak-spart.
    Do i required to pass the below values ? in Header structure ( BAPISDHEAD1 ).
    REFOBJECTTYPE
    REFOBJECTKEY
    REFDOCTYPE
    Regards,
    Sudhakar Reddy A

    rectified

  • Error received while changing sales order.

    Hi All,
    while changing sales order we have received error message "An internal program error has occured.See note 44283".
    So could you plesae explain me what needs to be done.
    Thanks in advance.

    To avoid to store inconsistent data in the future, activate the following method of the BADI                           BADI_SD_SALES:                                                          
    > 1 - Transaction SE18                                         
    > 2 - Definition name: BADI_SD_SALES Menu: Implementation -> Overview double-click on implementation: IM_CORE_CHECK
    > 3 - Now you will get an overview on the methods and you see also that the implementation IM_CORE_CHECK is inactive    
    > 4 - Press the change button and activate                                                                               
    This check works in the following way:
    > 1 - if the number of items is less than 10 and there is an inconsistency the system will not store the data and an A-message  will occur.
    > 2 - If the number of items is greater than 10 and less than 50 and there is an inconsistency the data will be stored and an I-message will occur.
    > 3 - if the number of items is greater than 50 there is no check because performance.
    Edited by: Gerard Magorrian on Aug 6, 2010 4:01 PM

  • Problem in updating Billing plan while changing Sales order

    Hi All,
            I am using the BAPI 'BAPI_SALESORDER_CHANGE' to change a Prepaid Sale order.After calling this BAPI ,I am calling the function module <b>'BILLING_SCHEDULE_SAVE'</b> to update the Billing plan of the changed Sale order(Billing plan dates for Billing type ZF1 are changed).
         The updated date values are getting reflected in the screen when I view through the transaction VA02 and the values are also updated in FPLT table but the values are not getting reflected in the table VKDFS.
       Since the values are not getting reflectedin the table VKDFS the billing date is not correct while we view in the transaction VF04.
       Please provide your valuable suggestions for updating the Billing date in VKDFS table.
        Thanks in advance for your help.
    Thanks and regards,
    Siva

    Hi,
    I had the same problem. Here is an example code to resolve it:
    REPORT  ytestfg.
    DATA: i_bsid LIKE bsid OCCURS 0,
          i_bsid2 LIKE bsid OCCURS 0.
    TABLES: bsid.
    DATA: doc     LIKE     vbak-vbeln,
          pos(6) TYPE n.
    DATA e_fpla     LIKE     fpla.
    DATA e_fplt     LIKE     fpltvb OCCURS 0 .
    DATA: zfpla     LIKE     fplavb OCCURS 0,
    zfplt     LIKE     fpltvb OCCURS 0.
    DATA zfplt2     LIKE     fpltvb OCCURS 0 WITH HEADER LINE.
    doc = 'G03060619'.
    pos = '000010'.
    CALL FUNCTION 'SD_SALES_DOCUMENT_READ'
      EXPORTING
        document_number = doc.
    CALL FUNCTION 'SD_SALES_BILLINGPLAN_READ'
      EXPORTING
        i_vbeln                = doc
        i_posnr                = pos
      IMPORTING
        e_fpla                 = e_fpla
      TABLES
        e_fplt                 = e_fplt
      EXCEPTIONS
        no_billingplan_allowed = 1
        no_billingplan_found   = 2
        OTHERS                 = 3.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Read the billing plan
    CALL FUNCTION 'BILLING_SCHEDULE_READ'
      EXPORTING
        fplnr          = e_fpla-fplnr
      I_VFKDAT       =
      I_BFKDAT       =
      TABLES
       zfpla          = zfpla
        zfplt          = zfplt
    Upddate the ZFPLT2 table with the new values
    MOVE zfplt[] TO zfplt2[].
    READ TABLE zfplt2 INDEX 1.
    zfplt2-afdat = '20080927'.
    Very important to set field updkz = 'U' ***
    zfplt2-updkz = 'U'. "--> UPDATE!!
    MODIFY zfplt2 INDEX 1.
    CALL FUNCTION 'BILLING_SCHEDULE_SAVE'
      TABLES
        fpla_new = zfpla
        fpla_old = zfpla
        fplt_new = zfplt2 " --> NEW
        fplt_old = zfplt.
    CALL FUNCTION 'SD_SALES_DOCUMENT_SAVE'.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    Regards,
    Edited by: PHO_BA on Mar 9, 2009 5:28 PM

  • End User Transaction for Mass Change Sales Orders

    Hello,
    Transaction MASS can be used to change sales orders using object type BUS2032, however, end users are not allowed access to MASS.
    In most other cases, the object types can be accessed by individual transactions, for example, MEMASSPO for BUS2012 and XD99 for KNA1.
    But I cannot seem to find a similar transaction for object type BUS2032, does anyone know whether one exists or how to create such a shortcut.
    Thanks,
    Jake.

    Hi
    See SAP Note 483303 - BUS2032: Only sales orders of category VBAK-VBTYP = 'C'
    Regards
    Eduardo

  • No Sales Order Item number in PCA document on Delivery

    Hi,
    We have an issue as below:
    Sales Order (Not a CO object)>Delivery is done> We cannot see Sales Order item number in the PCA document whereas it appears in Accounting Document.
    After Billing, a CO-PA document also generated.
    Thanks to provide any information on this.
    Umapathi G

    Hi,
      For billing documents, the information from the respective sales order and from the sales order item in the line item table GLPCA is only in the fields AUBEL and AUPOS.    
      You post a goods issue for delivery. If you post the goods issue for a sales order stock, the information of the sales order is updated in the profit center document (field GLPCA-KDAUF). If the goods issue is posted from the make-to-stock inventory, then the sales order information is not updated.
    regards
    Waman

  • Changing Sales Order PARTNER from 'MASS' transaction

    Hi,
    I have a requirement to change partner details (e.g. SHIP TO party  from SH1  to  SH2) for sales order. I need to use tcode 'MASS' (Mass maintainance)  for BUS2032.  But it does not have the option to change partner details.
    Can anybody let me any approach to achieve this. If we can do it through a config or may be creating a custom business object etc...
    I could found out the thread below talking about the same issue, but there is no solution to that. I want to build the solution around SAP standard and not interested for BDC/LSMW/CATT  etc.
    Mass changes Sales order partners
    Thanks,
    Madhu
    Edited by: Madhu K on Nov 1, 2011 11:58 PM

    Alan
    I am ok to create a custom tcode for MASS.  Do I need to copy the BUS2032  or the whole TCODE?
    My major concern is,  how to get the VBPA structure to the selection screen so that it ll show me  the I/P fields to enter Old  Ship to  and  New ship to..
    Can You please give me some idea on this.
    Thanks
    Madhu

  • New sales order and Change sales order in item level or delete at item leve

    I got one requirement. Daily i have to display one report on new sales orders created on that day and any sales order item is modified or any item is deleted or any item is added.
                      How to get the sales order numbers and position numbers which will follow above creteria. I found one function module but it is not giving position numbers and new sales order details.
             Is there any BAPI for this requirement.

    I am using "CHANGEDOCUMENT_READ" function module to get the new sales orders created and changed sales order items on a particular time. This function module is getting data from CDHDR and CDPOS tables. But only change sales orders is coming. New sales orders which is created on that time is not getting.
              One of my friend is telling like we have to activate one change pointer to retrive new sales orders also. Which is like there will be one check box.
    Is any body having idea on this. Please reply me on briefly with the code to retrive new sales orders and changed sales orders

  • BAPI / FM to change Sales order item data

    Hi,
    I need a BAPI or FM to update the following fields of VBAP (Sales Document Item Data)
    KZWI2 - Subtotal 2 from pricing procedure for condition
    KZWI3 - Subtotal 3 from pricing procedure for condition
    KZWI4 - Subtotal 4 from pricing procedure for condition
    KZWI5 - Subtotal 5 from pricing procedure for condition
    I found FM: ISM_SALES_ITEM_CHANGE for this, but when I use it, it gives me dump for some data object 'XJKNBK'.
    Does any one have idea on how to use this FM or if any other FM is there please let me know?
    Thanks & Regards,
    Sunanda.

    hi Sunanda..
    I think you can try the Bapi 'BAPI_SALESORDER_CHANGE'. You can make use of its Tables Parameter CONDITIONS_IN and CONDITIONS_INX.
    example:
    How to change pricing Conditions in Sales order in change sales order bapi
    thanks,
    Padma

  • Change Sales Order, Delivery, Billings Reports

    Hi Gurus,
    Can any body please tell me is there any Report for change logs of Change Sales Order, Delivery,
    Billings & Change report of Customer & Material,
    Regards,
    Sai

    Hi,
    There are no standard reports to display the changes made in the Sales orders and the details you had asked.
    But for the latest changes you can check in the Table :Header details for change CDHDR and for Item details CDPOS
    Or Based on your requirement you can go for a Customized Report
    rgds
    psk

  • Arbitrary Number Generated before Sales Order Document number is Generated

    I want to know which is the arbitrary number generated before the sales Order Document number is created. In which table the arbitrary number is stored?
    The Exit which triggers the arbitrary number in the transaction VA01?

    Hi
    You get the Arbitrary number throug the FM NUMBER_GET_NEXT.
    interne Nummernvergabe
            data: da_rc like inri-returncode.
            call function 'NUMBER_GET_NEXT'
              exporting
                nr_range_nr = da_numki
                object      = 'RV_BELEG'
              importing
                returncode  = da_rc
                number      = vbak-vbeln.
    And regarding userexit, there is
    perform userexit_number_range using da_numki statement in include MV45AF0B_BELEG_SICHERN.
    Regards
    Raj

  • Error in change sales order.

    Hi ,
    my process is : First create SO than Billing  than Delivery. i need to change the sales order Batch  when
    delivery saved.
    When  i change Sales order Batch  withouting creating billing it is changing Fine through BAPI FM .
    But when i create So --Billing --- delivery than in this case Sales order batch not changing.
    it is giving error like below.
    Field  CHARGE  Can not be changed VBAPKOM 000010 is ready for input'
    Message is comming from message class V1 and Message no 739.
    PLease Reply .
    If any clue Have.
    Thanks.

    Hi,
    When you create a Billing Document for the Sales Order it is no longer possible to change a lot of fields (as these fields have been copied to the Billing Document). Field Batch is one of those fields.
    So if you have to include the batch in the Sales order you must update this field prior to creating the Billing Document.
    Regards,
    John.

  • Change Sales Order material characteristics

    Dear Pals,
    I have a question for changing Sales Order material characteristics by item.
    If i want to change the sales order's item  conditions, I can modify the internal table  "XKOMV" in user exit "USEREXIT_SAVE_DOCUMENT_PREPARE"
    Is there any internal table for  Sales Order's characteristics can i use   in user exit "USEREXIT_SAVE_DOCUMENT_PREPARE" ?
    Or any FM or BAPIs can get the internal table for characteristics and characteristics value for Sales Order item?
    Thank you!

    You can use BAPI_SALESORDER_CHANGE.
    1. Get the SO detail using BAPISDORDER_GETDETAILEDLIST.
    2. MODIFY the ORDER_CFGS_* internal tables and  update.
            CALL FUNCTION 'BAPISDORDER_GETDETAILEDLIST'
              TABLES
                order_cfgs_value   = gt_char
                order_cfgs_ref       = gt_char_ref
                order_cfgs_inst      = gt_char_ins.
            MODIFY gt_cfgs_*.
            CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
             TABLES
                order_cfgs_value   = gt_char
                order_cfgs_ref       = gt_char_ref
                order_cfgs_inst      = gt_char_ins.
    Refer SAP note 549563.

Maybe you are looking for

  • Maximum size limit for bufferedInputStream

    Hi All, What is the maximum limit to set the size for bufferedInputStream while reading a file. Default size is 1kb Maximum limit = ??? Thanks in advance Edited by: sunRP on Aug 11, 2009 3:15 AM

  • What sort of video can i embed in muse?

    i have youtube videos embedded in my site no problem. i tried to embed a funny or die video, but it wouldn't work. am i limited to using youtube videos? are there other sites i can/cannot embed video from?

  • "How to remove incompatible plug-ins" in the Mail.

    I have installed Intego/virus barrier and after removed it. Every time I open the Mail now I receive the message: "Incompatible plug-ins disabled". I have to press OK, the mail works fine, but is annoying

  • Txt Fields used for dates input???????

    Evening all - Hope someone can help? I've written an website that runs of the back of an Oracle database using SQL - its just a simple database and is being done for a uni project. The problem I'm having is I'm trying to use a form as to search throu

  • Garageband software instruments not in Logic Express

    Hey When I go into the Input popup menu of a tracks channel strip, none of the garageband software instruments are listed. It only shows the logic ones. Why is this? Can you import them somehow? Thanks