MIGO - change number range before saving

hi folks
Does somebody know a possibility in ECC5.0 to change the number range object just before saving the material document in MIGO?
an userexit, BADI, customer function?
Thanks a lot

check this
MB_DOCUMENT_UPDATE
regards
Prabhu

Similar Messages

  • MIGO change header data before saving

    Hi all,
    I want to update header data (budat) before saving the material document with MIGO.
    Has anybody an idea?
    I tried with Badi: mb_document_badi or similar user-exit
    MB_CF001 but with none of these I can CHANGE header data.
    Is it possible?
    Thanks a lot!

    check this
    MB_DOCUMENT_UPDATE
    regards
    Prabhu

  • Changing number range so that LIV and AP documnet numbers are same

    Hi Experts,
    Our client wants that LIV and AP document number should be same. As documents are already being created in production environment.
    Please advise :
    If it is ok to change number range at this stage as LIV and AP documents are already created in production environment.
    If yes then what are the things i should take care off before changing the number ranges.
    Regards,
    Kamal

    Not advisable to change the document number range at this stage, bcz there are some document which has already been posted in production environment.
    LIV # is generated by MM (when you post the invoice) which automatically generates AP document (as follow on doc) internally.
    AP always trace the AP document # and not LIV.
    For more details please read the nodes in SPRO
    MM>LIV>incoming invoice>Number assignment
    You need to be very cautious before doing this.

  • How to change number range for document type ?

    Dear All
    Experts
    How to change the number range for document types for entry view? I am trying to change the number range for all document type as per defined ranges in FBN1, but at the time of saving document type and number range the system is throwing error message as 
    Doc. type C1: Number range 07 is used for ledger L6 with doc. type AE
    Message no. FAGL_LEDGER_CUST093
    I have defined a leading ledger in system too with these settings
    1)     Define ledger for accounting.
    2)     Defining currencies for it.
    3)     Defining ledger group for the same.
    4)     Defining accounting principles
    5)     Assignment of principles to leading ledger.  
    Are there any extra settings required for leading ledger settings?
    I have some doubts those are :-
    How document types defined at ledger level?
    How to define them at leading ledger level?  (Like my case)
    Focus on this will be appreciable.
    Regards,
    Sharvari Joshi.

    hi ,
    The document numbers in the leading ledger and the non leading ledgers should be in sync, they should not have any differences, so incase you are trying to change the number range for C1, the  number range 07 is already been assigned to doc type AE. i guess you have cant use 07 for C1. may be you can try out with an other number range. check this and let me know if you are able to do this.
    coming to
    1.How document types defined at ledger level?
    2.How to define them at leading ledger level? (Like my case)
    Ans 1. please try defining document types for entry view in a ledger.
    path : SPRO- financial accounting new -financial accounting global settings new - document -document types -define document types for entry view in ledger.
    upon prompt enter the ledger and go ahead creating the number ranges for the document types.
    Hope this helps.
    Regards
    amrutha

  • Impact of changing number ranges for FI & MM for MM Invoice documents

    Hello Friends,
    Client is asking to have both MM invoice document number and FI document number to be same, what will the impact of this change since we have done many transactions already in production.
    Kindly suggest the best time and way of doing his.
    Thanks in Advance.
    Regards
    Ravi

    We can align both the FI and MM document number ranges in sync
    SAP gives you customizing options to make both document numbers the same. The solution lies in the number range assignment of the MM and FI document. You need to configure the MM document number assignment as internal and external for the FI documents. (FI documents are set up with external-assigned numbering, while the MM document has internal, or system-generated, numbering.) In this case, the MM document number is passed on to the FI document, which means that the number of the FI document is identical to the MM document. .
    Because the document number assignment in MM is not company code-specific, in contrast to the FI document, you need to take the following points into consideration before using external document number assignments for FI documents. They have the following effects on your system:
    u2022     Continuous number assignments for FI documents are not guaranteed, especially if you have more than one company code.
    u2022     The document number ranges in MM and FI have to be the same for all company codes.
    u2022     In Release 4.6C, you need to use internal number assignments for revaluation documents, invoice reduction documents, Evaluated Receipt Settlement (ERS) postings, or reversal documents. There are no restrictions as of SAP Enterprise 4.70.
    u2022     Use a different number range assignment for FI invoice posting (FB60), because FI invoice postings usually use internal number range assignments and the postings originate in FI, not MM.
    u2022     If you use document parking and the number range intervals are fiscal year-dependent, you cannot change the posting date of the document if the fiscal year is different to that determined for the previous posting date. In this case you have to delete the document and re-enter it. There are no restrictions for fiscal year-independent number ranges.
    please find below the confiuration steps
    OMR4 - CREATE NUMBER RANSGES SAY 52 (EXTERNAL)
    AND ASSIGN THE NUMBER RANGES TO DOCUMENT TYPE RE.
    OMRJ MAINTAIN MM NUMBER RANGES SAY 52 (INTERNAL)
    AND ASSIGN THE SAME FOR DOCUMENT TYPE RD.
    Regards
    P RAMASUBRAMANIAN

  • How to change Number range to Contact Person in Customer Master Record

    Dear all,
    We are maintaining contact person details under contact person tab in customer master record.
    Currently contact person is being created using VAP1 transaction.
    Can we automate this contact person creation by entering the data in contact person itself?
    and where can we change the number range of contact person.
    I have searched a lot to find the solution for this. Please help me to resolve this issue. Your suggestions will be highly appreciated.
    Best regards
    Venkat

    Hi Venkat,
    To your first question: "Can we automate this contact person creation by entering the data in contact person itself?"
    Yes, you can enter the contact person directly in the customer master in the contact person tab. A number is generated automatically.
    To your second question, go to transaction SNUM, and there use object "PARTNER". Here you can configure number range for contact persons.
    Hope this helps,
    Regards
    Nikhilesh

  • How to change number range in solution manager

    Hi all,
    Recently we had upgrade of ST patch, after that our support message sequence got changed and now support messages are getting created starting from 1. We want to change the sequence(number range).
    how/where can i change the sequence of the support messages(number ranges).
    Thanks & Regards
    Nick Loy

    Hi Prakar,
    Thanks but as you told above, i am not able to change the number range 01 to 02 in SNRO.
    System is not allowing me to chagne the existing one.
    now my system has the details as below:in SNRO>>>>CRM_SERVIC>>>>
    01     0000000001     0000999999     780
    02     9999000000     9999999999     0         External
    I want to change the message sequence starting from 9999000001 which is in extenal number range.
    And one more thing, where can i find the number range which is being used for particular transaction?
    can you help me how to change?
    Thanks & regards
    Nick Loy

  • Survey Rating Scale - change number range order

    Using SharePoint 2010 survey and have a requirement to change the rating number range from 1-5 to 5-1 when it is displayed in the survey
    Does anyone know if there is a way to do this? I know I can change whether the 1 is high or low with the Range text, but how to actually reverse the order.
    I see I can change spacing between questions, modify fonts, etc in the survery using css, but nothing on the rating scale.
    Any suggestions would be appreciated.
    thanks
    VTJeanne

    <script type="text/javascript">
    //<![CDATA[
    var tables = document.getElementsByTagName('table');
    for (var i=0; i<tables.length; i++)
    if (tables[i].summary == 'Rating Scale Question')
    var trs = tables[i].getElementsByTagName('tr');
    var ths= trs[1].getElementsByTagName('th');
    ths[0].colSpan = 1;
    ths[0].innerHTML='5';
    ths[1].colSpan = 1;
    ths[1].innerHTML='4';
    ths[2].colSpan = 1;
    ths[2].innerHTML='3';
    ths[3].colSpan = 1;
    ths[3].innerHTML='2';
    ths[4].colSpan = 1;
    ths[4].innerHTML='1';
    //]]>
    </script>
    hari

  • Changing Item Values before saving Purchase Requisition in me51n, set_data function

    Hello,
            I have written a user exit, which is called whenever changes are made to a purchase requisition. User Exit is MEREQ001 , function module EXIT_SAPLMEREQ_010 . My requirement here is that the Requisitioner should be 135 for every PR item under certain conditions. Therefore whenever there is any change made to the PR, before saving the PR item, I need to set the Requisitioner to 135, give a status message saying that the Requisitioner is set to 135 and save the Pr with the changed values. Following is the code I have written in EXIT_SAPLMEREQ_010. However, the set_data function called below does not change the PR values. Pls help
    data: lt_item type mmpur_requisition_items,
           wa_item type mmpur_requisition_item,
           wa_itemdet type mereq_item,
           wa_itemref type ref to if_purchase_requisition_item,
           w_message type i.
    constants: c_135 type afnam value '135'.
    call method im_req_header->get_items
         receiving
                 re_items = lt_item.
        loop at lt_item into wa_item.
         wa_itemref = wa_item-item.
         wa_itemdet = wa_itemref->get_data( ).
         if wa_itemdet-afnam ne c_135.
           w_message = 1.
           wa_itemdet-afnam = c_135.
           call method wa_itemref->set_data( wa_itemdet ).
         endif.
       endloop.
      IF w_message = 1.
        MESSAGE 'Requisitioner defaulted to 135 for all items' TYPE 'I'.
      ENDIF.

    Hi Sachin,
               I am able to get a reference to if_purchase_requisition_item in my code (wa_itemref ) and am also able to access each of the line items in the PR in the work area wa_itemdet.
    At this point in the code ( wa_itemdet-afnam = c_135 ) , the work area value is set to '135', However, call method wa_itemref->set_data( wa_itemdet ), does not change the values of the work area wa_itemdet . Pls help

  • How to change number range from internal to external?

    Hi Experts,
    I have changed the number ranges for accounting document for company code (A1) external to internal and posted one accounting document using the tr.code FBN1. Now i need to revert back the changes for the number range from internal to external. i am not able to cancel the accounting document as its cancellation accounting document? please let me know any other way to change the number range from external to internal?
    Thanks & Regards,
    Raj

    Hi Siva,
    Thanks for your reply. But my expectation is any other way to change the number range from internal to external instead of going new number range (By taking any technical help)?

  • Change Number Range of Material Document

    Hi Guru,
    We have a requirement to change material document number range that depend on movement type.
    I have check in SPRO and read some document for material document number range.
    I understand that this is a standard SAP.
    - GR from PO or Order         Number Rage will be 5000000000 to 5099999999 and Fiscal Year
    - GR Other, GI, Transfer      Number Rage will be 4900000000 to 4900000000 and Fiscal Year
    My question is Can we change this number range?
    I guess that we have to implement BADI or User-Exit to determine new number rage but I don't know how to do this.
    Please kindly advice or guide me.
    Thank you very much.
    Saiyaman

    Hi,
    Insted of Movemen ttype you can asign seperate number range to a transaction code follow the process as below
       First u need to create seperate document type in OMR4  or OBF4,   then create a new number range in OMBT  assign your new number range to new created document type then in T. code OMBA  assign new created document type to the transaction code  so whenever u will create document with this Transaction code u can get new number range.
    regards,
      zafar

  • Lexicographic flag setup and material number range change

    Hi gurus,
    got the following situation:
    AS IS:
    Tcode MMNR: Number range for material master part number: AAAAAAAAAAAAAAAAAA   to   ZZZZZZZZZZZZZZZZZZ  (lenght 18, external assignment)
    Tcode OMSL: Lexicographic flag IS NOT setup
    Tcode OMS2: For all material types flag "External no. assignment w/o check" IS SETUP
    Basically we can't create numeric only part numbers.
    The new requirement is to be able to create numeric part numbers like:
    1234
    12345
    0123
    01234  (where the leading zero is a significant character for the part number)
    By doing the following changes:
    MMNR: change number range 000000000000000000  to ZZZZZZZZZZZZZZZZZZ
    OMSL: setup lexicographic AND leading zeros flag
    OMS2: clear flag for External no. assignment w/o check
    I see I do achieve the result: numeric part numbers can be created, leading zeros are managed in the correct way and all numeric part numbers are LEFT-aligned, so looking to MARA you would see part numbers like this:
    00012345
    012345
    012345V
    09CATALIST1
    0AFVAU0001
    12345
    23225V
    23243V
    2SIMBACK3210
    I did already tried all the above changes in the quality system, then created a numeric part number and an alfanumeric part number, for both of them did create a PO, Inbound delivery, posted MIGO, created a sales order, outbound delivery, PGIed without any issue, stock was displayed and managed correctly by the system, same for material docs.
    We already thought about BW, so in case we do the changes BW would be ok.
    Apparently everything is fine so I should go for the production system BUT........  in my mind I'm thinking that OMSL Tcode is usually setup day 1 of an Sap project and then usually you forget it... I have the fear that even if everything looks fine (and Sap allows me to change the customizing), I'm going to muck up the system...
    Have you ever had the same to do ?  I already saw posts similar to this one but already existing conditions were different so to me this case looks like unique so far..
    Any help, suggestion, whatever will be highly appreciated, especially cause I have to take a decision by tomorrow morning
    Many thanks in advance !!
    Enrico
    Edited by: Matt on Aug 13, 2011 7:39 AM - profanity removed

    As you never had numeric numbers, it should not create a big problem.
    I am working in a system with lexicographical setting in use.
    But you have to keep in mind that your sort sequence is quite different to numeric numbers, like this:
    1
    10
    11
    12
    2
    3
    31
    311123
    32
    32012
    4
    And you may get the one or other issue if you download material numbers to Excel, with wrong settings you will loose your leading zeros.
    A similar effect happens most of the time if user not very familiar with Excel give you a file for an upload, as this often is prepared without leading zeros, which could cause a load to the wrong material if the remaining number would be a duplicate:
    0123 and 123
    Of course is a selection by number range  not that easy as it is with numeric numbers.  Usingthe first example a range from 1 to 3 includes materials 10, 11 and  12 as well

  • How to read the status changed in crmd_order txn before saving it to DB.

    hello all,
    My requirement is to perform some checks after the user changes the status
    ( Before saving it to DB i need to do some checks )
    I could find the BADI and Fm's for checking conditions.
    My question is i need to check for a particular status change how do i trace that that particular status which i need to capture has been changed??
    i could see some FM's but it is only fetching the staus save in DB.
    how do i trace the status just after user changes before saving it to DB.
    it's an urgent requirement............pls help me on this..........
    pls get back to me if u want more  details.........
    Thanks,
    Shiva.

    Hello.
    Have you figured this out yet?  We are having the same problem.

  • Why after new changes in internal orders settings order number ranges lost?

    Dear Gurus,
    We have noticed that order number ranges are being lost from time to time.
    Than we have analysed that sometimes it happens after new transfers with new orders settings.
    Why the system behaves like that?
    And how can we avoid this problem?
    With best regards,
    Kamila.

    The process is as below to assign/change number ranges to order types
    Create Order type at KOT2 (KOT2_OPA) and enter Order Category ...say 01
    Enter Order type name and description and SAVE
    Select Number range Interval assingment Icon
    At last row of the number range screen you can see your newly created Order Type
    (Put the cursor on your order type and press F2) and Select the check box of group under which you need to assign and press F5
    Now the newly created order type has been assigned and new number range has been assigned
    So you can change existing order type also as mentioned above (even after posting made to that order types)
    This could be the reason for changing number ranges to order types
    Please take care while assigning number ranges to a new order types.  Do not touch number ranges of existing order types
    Srinivas

  • Changing the Number range intervals

    Hi Gurus,
    I have query on changing number range intervals in PA. Earlier number ranges has been set at the time of implementation and recently they added one more company and they ask me to set a number ranges for new employees with the new series.
    While inserting new number ranges for personnel number it is saying that transport need to be done manually, and it is giving the following message.
    *In the target system, all intervals*
    *of selected number range object are*
    *deleted first so that only the exported*
    *intervals exist after the import.*
    *The number statuses are imported with*
    *the value that they had when exported*
    *Dependent tables are not transported or*
    *converted.*
    If it delete first then export means will it affect the exisiting number in the productions system. Because already other employees are numbers are maintained in the same server it should get affected.
    Kindly clarify the same.

    Hi Sikindar,
    Thanks for the info,
    But the problem is in production client if i enter the transaction code PA04 it is giving a error as " you are not authorized to use transaction PA04"
    What should i do if it throw this kind of error. Even i am not able to use SPRO option in production server.
    Please help"
    Regards,
    Pradeep Krish

Maybe you are looking for

  • Can I upgrade the processor on my laptop? If so, what processors are compatible for my system?

    I have an HP Pavillion dv6-2150us, which runs an Intel Core i3 @ 2.13 GHz, 8 GB RAM and Windows 7 Ultimate 64-bit.  Can I upgrade this processor and if so, what processors are compatible to this system?

  • Error in Expert Routine

    Hello Please I need help, I applied expert routine in my transformation in BI 7.0 and i get error, this is the code i used Data : wa_SOURCE_PACKAGE  type tys_SC_1.     data : wa_RESULT_PACKAGE  type tys_TG_1.     loop at SOURCE_PACKAGE into wa_SOURCE

  • How to keep my image from flickering

    I am acquireing images, applying different processing routines to them and displaying them in a child window on the main application window. I do this continuously in a while loop. This works, however, each time a new display window is written over t

  • How do I get Access Restrictions to work

    I have a WRT54GS with firmware ver 7.50.0.  I would like to set up time restrictions (14 year old - self explanatory) and don't know how to go about it.  I have gone in and set up times, but it has no effect.  I may be going out on a limb here and ho

  • How to remove infopath ribbon using Master Page?

    Hi All, I would like to remove infopath ribbon using Master Page, using f12 removed like "<div id="s4-ribbonrow" class="s4-pr s4-ribbonrowhidetitle" style="display:none">". But how to perform in original master page? Thanks in advance!