Clearig buffer from internal order number

Hello Experts
When I create internal orders, the system is generating number with a gap of 20.  The last number used is ***81.  I want to clear the buffer (transaction SNRO- Object - AUFTRAG?).  I would like to get next number generated should be ***61. I can delete ***81 order if necessary.
Please advise the process so as to get number **61 for next internal order.
Thanks in advance
Vijay

Hi,
   Further to the answer given by Ravi regarding note 333356 to fix your problem please note that the object 'AUFTRAG' can be used for "Order number, production, process, maintenance order,network number". For details, please check note 62077
62077  Info: Internal number assignment is not continuous
regards
Waman

Similar Messages

  • CRM- Find Service contract from Internal Order Number

    Hi Friends,
    I would like to know how to get service contract from internal oredr number.
    From service contract we can find internal order number by using CRM_ORDER_READ function module- table et_document_flow, but my requirement is how to find service contract from Internal order number.Any function module or BAPI available for this requierement ?
    Regards
    Vinayak Sapkal

    Hi,
      when the costs are transferred from CRM to R3, they are posted to an internal order. When a service order or incident is transferred to R3, we have to create an internal order for it, regardless of whether or not a contract has been assigned.
    This is all linked to the logic used in CO to find the appropriate internal order. It works as follows:
    The internal order is stored in the table IAOM_ASSIGNMENTS. This is accessed by a guid (the account assignment guid).
    To get this guid, there is a second table IAOM_EXT_OBJ_INF. This table links the GUIDs coming from CRM, dependent on the CO Customizing for CRM (Mass Controlling, Header level, item level controlling etc.)
    This is how we manage to link a service order to the internal order of a contract in the first place.
    When we call CO, CO first looks for an assignment for the object guid passed. If a service order has been linked to a contract, nothing will be found for the object guid. CO will then check for assignments to the reference guid and find the contract entry.
    If no contract has been assigned, CO will create an internal order based on the service order guid.
    From a CRM point of view, costs are assigned directly to an item, and so it makes no sense to have a reference guid for the costs or the possibility to change the guid via BADI.
    regards
    Waman

  • Internal Order number is copied while cretaing new SC from Old PO

    Hi,
    We are on SRM 5.0. When i tried to create a new shopping cart through by copying the old shopping cart from 'Old Purchase Orders and templates' the Internal Order number is also being copied which is a problem.
    I appreciate any help.
    Thank you

    Hi..
    Thanks for the response. Yes we are using using internal order(IO) in account assignment.
    This creates a problem, because the approver is unable to identify if the PR is  one which is already approved that was rejected by someone else (so therefore doesn't need a new IO), or whether it's a brand new PR that needs a new IO.
    So is there someway so that the cost assignment does NOT get copied onto the new PR? Any relevant BADI's that can be used ?
    Thanks.

  • Internal order number is not picking in Capital PO

    Dear All,
             While creating capital PO the account assignment tab internal order number field is not getting updated. While entering the asset number the internal order number field shows blank.
              Kindly advise me to rectify the setting, If I done wrong.
    Thanks...
    Edited by: saravana j on Jun 14, 2010 10:33 AM

    Yes this is correct. How the system should know the internal order?
    When you use a combination assets / internal orders the proces steps are:
    Create a investment internal order
    Assign the PO to the internal order order.
    The costs are posted on the IO
    Settle the cost to the AUC
    Final setle the costs from the AUC to the final asset

  • GET THE INTERNAL ORDER NUMBER BY INTERNAL ORDER GROUP

    Hi everyone! I want to know if there's existing functional module whereas I can get a list of internal order number (AUFNR) based from the internal order group name (AUFGR)? Thanks a lot! Your response will be greatly appreciated!

    Hi,
       First take a look at K_ORDER_SET_CREATE fm..
       The following code may help you in getting the orders based on order group..
      DATA: t_setvalues LIKE SETVALUES
            OCCURS 0 WITH HEADER LINE,
            t_hierarchy LIKE SETHIER OCCURS 0
            WITH HEADER LINE,
            l_date_from LIKE sy-datum,
            l_date_to LIKE sy-datum,
            l_subrc LIKE sy-subrc,
            l_setid LIKE SETHIER-SETID,
            BEGIN OF t_aufnr OCCURS 0,
              aufnr TYPE aufnr,
            END OF t_aufnr.
      CALL FUNCTION 'G_SET_ENCRYPT_SETID'
           EXPORTING
                SETCLASS        =  '0103'
                SHORTNAME       =  l_aufgr   <Your Aufgr here>
           IMPORTING
                SETID           =  l_setid.
      CALL FUNCTION 'G_SET_AVAILABLE'
           EXPORTING
                SETNAME = l_setid
                TABLE   = 'CCSS'
           IMPORTING
                SUBRC   = l_subrc.
      CALL FUNCTION 'G_SET_TREE_IMPORT'
           EXPORTING
                CLIENT                  = sy-mandt
                SETID                   = l_setid
                TABNAME                 = 'CCSS'
                fieldname               = 'AUFNR'      
                NO_DESCRIPTIONS         = space
                NO_RW_INFO              = space
                date_from               = l_date_from 
                date_to                 = l_date_to    
           TABLES
                SET_HIERARCHY           = t_hierarchy
                SET_VALUES              = t_setvalues
           EXCEPTIONS
                SET_NOT_FOUND           = 1
                OTHERS                  = 3.
       LOOP AT t_setvalues.
         t_aufnr-aufnr = t_setvalues-from.
         COLLECT t_aufnr.
         t_aufnr-aufnr = t_setvalues-to.
         COLLECT t_aufnr.
       ENDLOOP.
    Sri
    Message was edited by: Srikanth Pinnamaneni

  • Issue regarding Internal Order Number

    Hi
    When i am creating internal order in KO01 transaction, it is getting reflected in object class ANLA but when i am changing internal order in KO02 transaction ,it is getting reflected in objec class RKAUFTRAG. I am getting object id based on object  class from CDHDR tablee. My requirement is to pick the internal order data from COAS table corresponding to internal order number.
    In case of object class RKAUFTRAG, we are getting internal order number from last 10 character of object id. But for object class ANLA, object id doesnt have internal order number instead it has company code,asset number and sub number.
    Please help me out to find internal order number in case of object class ANLA.
    Thanks,
    Debdutta Dey,

    Hi,
    I do not think I got your question... ANLA is a table for master data of the assets. Are you looking for internal order link to an asset? It's not in ANLA table, but in ANLZ (field CAUFN).
    Regards,
    Eli

  • Internal Order Number For DBM order

    Hi All,
    How to get the internal order no for the SAP DBM order number,?
    from which table can we fetch ?
    Regards,
    Rangakarthick

    Hi,
    In DBM order an internal order can be created on header level and on split level.
    On split level internal order is created within event BILLING_CREATE.
    The internal order (like other documents related to the DBM order like e.g. reservation as well) are displayed in the order document flow.
    In table /DBM/ORD_DOCFLOW you can fetch internal order number from DBM order.
    But its a little bit tricky:
    In field INSTID_A you have to select business object BUS2400 representing the DBM order.
    Field INSTID_B is populated with business object BUS2075 and the internal order number.
    e.g. if you want to select all internal orders for DBM order 29926 you have to select in initial screen
    field INSTID_A:
    "BUS2400   0000029926*" (consider: there are 3 spaces after BUS2400)
    and field INSTID_B:
    "BUS2075*"
    Example from image: DBM order: 299826
    Internal order header: (no split) 121526
    Internal order split: 235320 (same for both splits 0001 and 0002)
    Regards
    Joachim

  • Settlment from Internal order to asset

    Hi Guru!
       I have some problem about integrate between Internal order  (Investment funtion) and Asset
       I have Internal order master and assign investment profile in master  and in Internal order link to AUC automatic. End of period I input Asset no 100001 , 100002 in settlment rule  by Transaction code KOB5 (line item settlement orders and then) and I settlment by t. code KO88. The result is expense from Internal order transfer to AUC only not transfer to Asset no. 100001 , 100002. after settlment  in Asset module  have transcation type 116 Acquisition - internal settlement to AuC only  but not have 336,339 Acquirg transfer of curr-yr acquis from inv.meas.  I need 336, 339 for transfer value from AUC to Fixed Asset . How I solve this problem?
    thanks

    Hi,
    In OAXG, select the transaction type 336 & 339.
    In this go to Other features
    Remove the tick from the Checkbox Cannot be used manually. Try to excute the transaction.
    Regards,
    Amit

  • Settlement from internal order to asset under construction

    HI All,
    I have allocated some labors hours cost from production cost centers to real order which is created for allocating the internal cost to asset under construction.
    when i allocate the labor hours by using the "KB21N" it has used the secondary cost element that is "Internal activity allocation" cost element "1200002".
    i have given the source cost element "1200002" which is created as "internal activity allocation" and in settlement cost elements folder i have given receiving category is "FXA" and selected by cost element check box. i selected required entry field in settlement profile and assigned in order type.
    when i do the settlement to asset under construction from internal order it is showing bellow errow.
    "Settlement by cost element not possible due to secondary cost element
    Message no. KD553
    Diagnosis
    You want to settle the secondary cost element 1200002 by cost element to an asset or G/L account, which is not allowed.
    Procedure
    Extend your allocation structure R3, so that secondary cost elements are not settled by cost element, but with a settlement cost element."
    please let me know the problem and where i did mistake. give me the solution
    thanks in advance
    Mr.Rao

    HI,
    in your allocation structure R3 you entered in the view "Settlement cost element" that settlement receiver categoy FXA receives values "by cost element". This is only possible for primary cost elements. For internal activities do not tick "by cost element" but use a settlement cost element with cost element category "22".
    best regards, Christian

  • TX CNS41 - settled cost from internal order to WBS element not displayed

    Hi PS Expets,
    I have a question regarding transaction CNS41 "Structure Overview" where cost settled from an internal order is not displayed in in the report for a selected project. This is in a ECC version 5.0
    Settled costs from internal orders are posted with transaction type KOAO on WBS elements and when you check report RCNSTFCO you can see that the following transaction types are deselected when executing transaction CNS41:
    delete t_rpsco_m where vorga = 'KOAO' "<   insert
                          or vorga = 'KOAL' "<   insert
                          or vorga = 'KOAP' "<   insert
                          or vorga = 'KOAQ' "<   insert
                          or vorga = 'KOAR'."<   insert
      CALL FUNCTION 'HFPM_RPSCO_TO_RPSCO_LIS_CONV'
    This is implemented according to OSS note 51971 in order to eliminate internal business volume in the project structure when executing a PS hierarchy report.
    But this also eliminate the display of the cost  from the internal order.
    Any ideas or a work around in order to display settled cost from an internal order on a WBS element in transaction CNS41
    Kind regards,
    Anne

    Hello Tison.
    I guess you have the Project created with a BAPI in your system in background. As far as I have seen I'd try the following in ABAP to create Partners in the Project Definition: BAPI_BUS2001_PARTNER_CREATE_M or the corresponding method ProjectDefinitionPI.PartnerCreateMultiple. This should happen in background when the Project is created also.
    Best regards.
    Jens Schmid

  • Detailed expenses posted of an internal order number

    Dear,
    I would like to see the detailed expenses of an internal order number that was posted. What T-Code that i can use?
    Thank you.....

    Dear,
    There's an internal order XXXX in master data, then i want to see the actual line item of that order using that t-code but that order isn't found in the list.
    While the other orders can be displayed. I have opened all period in current and past year, but still can't be found.
    Where i can check this order XXXX?
    Thank you.

  • Internal order number on PR and PO printout

    Dear SAP Guru's,
    My client want to print the P.R and PO document and they want the internal order number to be printed with it. So can some one please help to how is PR #  is linked to the Internal order number, How is PO # linked to the internal order number. Which table i should access to find the details.
    Thanks for your help
    Regards
    Naveen

    Internal Order is an Account assignment object in PR / PO.
    You can find Account assignment details in table EKKN for PO and EBKN for PR

  • Can i allocate cost from Internal order to PA?

    can i allocate cost from Internal order to PA?
    if i can .
    please tell me how to do.

    Hello Friend,
    OKO7 is the tcode to settlement profile - here you can choose segement for allowable settlement object.
    KO88 is the tcode of settlement of internal order.
    Thanks
    ravi

  • Settlement rule for several assets but one internal order number

    Hi,
    I have a question regarding the settlement rule for an internal order. I have issued an internal order number to capture costs for a construction project.  When the project is completed how do I update the settlement rule for the internal order to several assets all for different amounts?
    For example an internal order number has collected costs of 150,000.00 for the completion of a building.  When the building is complete and I want to do a final settlement of the internal order.  I have one asset for land improvements for 43,000, another asset for the HVAC system for 33,000 and building costs of 74,000.  When updating the settlement rule I know to create the assets and update the settlement rule with these asset numbers, but I am unclear on how to assign multiple assets with differnt amounts.

    Hi ,
    In the settlement rule , you need to select the Receiver as FXA and then enter the Asset number and then you will have to put the % that you want to settle to .
    Like if you have 100/- Rs. total cost and you want to settle it to 2 assets in 60/- Rs. and 40/- Rs.
    Then you will have to enter 2 line items in settlement rule with diffrent asset numbers and in proportion you will have to say 40 % and 60% , based on which the final settlement would happen .
    So make the proportion changes in the settlement rule accordingly .
    Regards ,
    Dewang T

  • User-exit: Put internal order number to GL item when settlement

    Hi Experts,
    I have a requirement to develop user-exit for internal order settlement. The current status in in standard SAP function as below:
    When we settle an internal order then corresponding FI documents is generated at the same time. In the FI document there have two itmes, the <b>first item</b> is for GL account, and the field of bseg-aufnr is space. The <b>second item</b> is for ERG account, and the internal order number will fill into bsge-aufnr on this item.
    Now our requirement is below,
    I would like to fill the internal order number to <b>first item</b> also. Do we have the user-exit/enhancement/modifucation to meet this requirement?? Please kindly point me a direction. Thanks very much.

    Only one exit for it check
    Transaction Code - KO88                     Actual Settlement: Order
    Exit Name           Description
    COOM0003            Customer function for automatic creation of settlement rules
    No of Exits:          1
    Rewards if useful.....................
    Minal

Maybe you are looking for