User Exit in ME22N with version management

Hi Experts,
  I have implemented the userexit MM06E005 with FM - EXIT_SAPMM06E_012 . and in Include program i have given the code.
CASE sy-tcode.
when 'ME22N'.
IF SY-UCOMM = 'MECHECKDOC' or sy-ucomm = 'MESAVE'.
  If i_ekko-PROCSTAT = '01'.
     message 'Please tick the Version Completed in Version Tab' type 'E'.
  endif.
ENDIF.
if the user changes in ME22n it will generate the version automatically that time before saving or checking the prog it will show the error message to check the version tab.
It is working fine using this Exit.But,Some of the fields in Item details tab Material data ,Invoice ,Quantity and all not at all generating the version.Some fields if user  makes change it is generating version and error.but some fields it is not happening.
  If anybody know the userexit to generate the version pl.tell me or tell me the alternate way.
Thanks in advance,
Regards,
Nandha

Hi Experts,
I have implemented the userexit MM06E005 with FM - EXIT_SAPMM06E_012 . and in Include program i have given the code.
CASE sy-tcode.
when 'ME22N'.
IF SY-UCOMM = 'MECHECKDOC' or sy-ucomm = 'MESAVE'.
  If i_ekko-PROCSTAT = '01'.
     message 'Please tick the Version Completed in Version Tab' type 'E'.
  endif.
ENDIF.
if the user changes in ME22n it will generate the version automatically that time before saving or checking the prog it will show the error message to check the version tab.
It is working fine using this Exit.But,Some of the fields in Item details tab Material data ,Invoice ,Quantity and all not at all generating the version.Some fields if user makes change it is generating version and error.but some fields it is not happening.
If anybody know the userexit to generate the version pl.tell me or tell me the alternate way.
Thanks in advance,
Regards,
Nandha

Similar Messages

  • User exit in ME22N

    Hi,
            I am looking for an user-exit in ME22N transaction. My actual requirement is when I change account assignment category ( EKPO-KNTTP), the confirmation control (EKPO-BSTAE) should be defaulted with some value say 002.
    I have  noticed user-exit Function modules EXIT_SAPMM06E_007 and EXIT_SAPMM06E_017. There is a table TEKPO in the tables parmater of this FM's. I can see the values in fields TEKPO-KNTTP and TEKPO-BSTAE  also. But when I change the values, suppose I set TEKPO_BSTAE = 002, It is not getting reflected in the transaction ME22N.
    Can you please guide me, if the user-exits I have chosen are right ones to achieve the functionality or any other values in the user-exits need to be updated. Are there any BADI's for this kind of requirement.
    Thanks in advance.
    Vishnu Priya

    Hi Vishnu Priya,
    Inside the implementation for method 'IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM', use the method im_item->get_header to get the header details, then use method im_item->get_data to get item details. Now, you can pass the new value to the required fields and finally use im_item->set_data to set the values to PO.
    You can see the methods available for the associated type of parameter IM_ITEM by double clicking on IF_PURCHASE_ORDER_ITEM_MM.
    Make use of available methods to get the required details and proceed accordingly.
    Best Regards,
    Kumar.

  • What is the user exit to change segment version at the run time of an IDOC

    Dear Experts
    Please can some one help on this ...
    Which is the user exit to change segment version at the run time of an outbound IDOC.
    For example
    Suppose we have a IDOC segment with two version 620 and 46C.
    By default the IDOC pick the 620. But Our requirement is to use 46C.
    What user exit we can use for outbound IDOC to change the version used at run time for a segment.
    Appreciate your response.
    Thanks

    Hi,
    ALE00001      EXIT_SAPLBD11_001         
    User exit for the IDOC version changer
    Regards,
    Ravi

  • What are the user exits available related to Credit Management?

    What are the user exits available related to Credit Management?
    <b>I have blocked users from releasing SO through Tciode VKM3 , now I want to block
    the same (releasing of SO through VKM4) ,I want VKM4 to be used only for releasing delivery orders. Can anyone help me in configuring the same?.</b>
    Thanx in advance,
    Regrds,
    Binayak

    Hi,
    User Exits For Credit Checks And Risk Management
    Credit Check
    If you want to carry out your own individual credit checks, that differ from those in the standard system, you must define them in the following user exits:
    LVKMPTZZ
    LVKMPFZ1: USER_CREDIT_CHECK1
    LVKMPFZ2: USER_CREDIT_CHECK2
    LVKMPFZ3: USER_CREDIT_CHECK3
    User exit for availability check
    User exit USEREXIT_AVAIL_CHECK_CREDIT exists in Include MV45AFZF.
    This user exit allows you to determine whether the system should or should not carry out an availability check after a blocked document has been released or after a new credit check.
    Risk Management for Receivables
    RVKMPUS2
    Using this user exit, you can define new forms of payment guarantee.
    Regards,
    Amrish Purohit

  • User Exit for ME22N while saving of PO

    Hi all,
    i want a USER EXIT for ME22N while saving. i want EKET data.
    After checking EKET data, i want to chage EKPO data.
    Thanks
    pabi

    Hi,
    Below Exit you can have access to EKET and EKPO data in the tables paramters before the SAVE
    EXIT_SAPMM06E_012
    TEKPO: EKPO data
    TEKET: EKET data
    Enhancement:MM06E005 (Check in SMOD transaction)
    Check for one Paramter: I_TRTYP (This is for Create/Change/Display Modes) or You can check on Sy-Tcode = ME22N
    Hope this helps
    Regards
    Shiva

  • Doubt on User Exit in ME22n

    Hi Friends,
    I want to create an User Exit to create a Change pointer.
    When a change is made to TCode ME22N.
    The Change pointer is used to Update EKES Table.
    It would be helpfull. If any one can suggest an User Exit Specific to this issue.

    Hi Sudhir,
    I will suggest you check with this badi ME_PO_PROCESS_CUST .
    Regards,
    Madhu.

  • User exit for me29n with project wise

    hi gurus,
    is there any user exit for me29n .. i want to Restrict my authorizastion based on project, that is only user from that particular project should be able to release.. is it posible
    With Regards,
    Shakthi Raj N.
    <<Phone number removed>>
    Edited by: Matt on Jan 28, 2009 10:02 AM

    Hi
    To find out the user exits:
    Goto System->status. Obtain program name.
    In Attributes obtain Package name.
    Goto tcode CMOD. Specify the pkg and pgm naem. It will give you a list of user exits.
    Hope this helps
    Regards,
    Jayanthi.K

  • User Exit transaction FB05 with data of documents that are to be cleared.

    Hi,
    Is there any user exit or badi in transaction FB05, where the data of documents that are to be cleared and the data of payment document are available?
    I need that in the F110 transaction, the field SGTXT of the payment document is filled with the field XBLNR of documents to compensate.
    Thanks in advance.
    Regards,
    Ana Lucas

    Hi,
    The field XBLNR of the clearing document isn't the same of cleared document.
    In the substitution we don't have available the data of cleared document,  but only the data of clearing document.
    Regards
    Ana Lucas

  • Working with version management and promotion management best practices BO 4.1

    Hi Experts
    I wondered if anybody knows if there is a document or something about best practices to work with the version management and promotion management in BO 4.1?
    Our Environment includes two servers. The first one is our development and test server. The second server is our prod system.
    Now on the dev server we have basically two folders called dev and test. We control access to them with a right system based on the folder structure.
    My question now is how you would work in this scenario (third server is not an option). Main target is to have as few reports as possible. Therefore we try to work with the version management system and only have one version of each report in the dev folder of the cms. But this is where problems start. Sometimes the newest version is not the version we want to publish to the test folder or even prod server.
    How would you publish the report to the other folder? Make a copy of the concerned report (transport to the same system via promotion management is not possible). Also how would you use the version management in regards to the folder structure? Only use version management in dev folder and export reports to test folder (out of vms control) or also use vms in test folder and how would that work?
    Further more I’d be interested in learning best practices with promotion management. I found out that the promotion of a report that doesn’t exist in prod doesn’t make any problems. But as soon as an older version already exists there is only partial success and the prod folder gets renamed to “test”.
    Any suggestions on how to handle these problems?
    Thank you and regards
    Lars

    Thank you for your answer.
    So you are basically proposing to work with the vms in the dev folder and publish the desired version to the test folder. And the test folder is out of version control in this scenario if I understood you correctly (like simple data storage)?
    And how would you suggest promoting reports to the prod system? Simply by promoting the
    desired version from dev folder directly to prod? This would probably lead to inconsistence because we would need to promote from dev system to test and dev to prod instead of promoting a straight line from dev over test to prod. Furthermore it would not solve the problem of the promoting result itself (A new folder called dev will be generated in prod but the report gets promoted to the prod folder if there was no report before).
    Thank you for the link. I came across this page just a few days ago and found also lots
    of other tutorials and papers describing the basic promoting process. The promoting process in general is clear to me but I wondered if it is possible to change some parameters to  prevent folder renaming for example.
    Regards
    Lars

  • User exit for 0INFOPROV with InfoCube in BWA

    Hello Everyone,
    We recently added few InfoCubes into BWA and due to the reporting requirements and the way the reports were designed we had to create a user exit for 0INFOPROV in order to populate the InfoCube name based on the selection criteria for the report.
    But when we run the report, the report is ending up with an error message and we are not able to execute any queries on top of that multiprovider with the user exit embedded.
    If we remove the user exit and hard code the value for 0INFOPROV it works fine.
    Can anyone please let me know how you guys have dealt with the user exit for BWA.
    Let me know if additional details are to be provided.
    Thanks
    Dharma.

    Hello Vitalty,
    Thanks for looking into the message.
    The issue is, when we have a restricted keyfigure which has selection on 0INFOPROV to populate the InfoCube name through user exit the query is ending up with error messages.
    The error messages state
    "Error Error while reading data; navigation is possible
    Error Errors occurred during parallel processing of query 21, RC: 3
    Error The following errors occurred during parallel processing of query 22
    Error Error reading the data of InfoProvider ZCSLSMR10$X
    Error Inconsistent input parameter (parameter: <unknown>,  value <unknown>)
    Thanks for your time.
    Any help would be really appreciated.
    Thanks
    Dharma.

  • Urgent: User exit for ME22N and ME32K transactions

    I need to know a user exit(s) for changing Purchase Order and Contract line item fields from EKPO table. Please let me know if you know any. BADIs are also fine if the user exit does not exits. Thanks

    Dear AP,
       I'm enlisting all the exits :-
    Transaction Code - ME22N             Change Purchase Order
    Exit Name
    Description
    AMPL0001
    User subscreen for additional data on AMPL
    LMEDR001
    Enhancements to print program
    LMELA002
    Adopt batch no. from shipping notification when posting a GR
    LMELA010
    Inbound shipping notification: Transfer item data from IDOC
    LMEQR001
    User exit for source determination
    LMEXF001
    Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001
    Customer-Specific Source Determination in Retail
    M06B0001
    Role determination for purchase requisition release
    M06B0002
    Changes to comm. structure for purchase requisition release
    M06B0003
    Number range and document number
    M06B0004
    Number range and document number
    M06B0005
    Changes to comm. structure for overall release of requisn.
    M06E0004
    Changes to communication structure for release purch. doc.
    M06E0005
    Role determination for release of purchasing documents
    ME590001
    Grouping of requsitions for PO split in ME59
    MEETA001
    Define schedule line type (backlog, immed. req., preview)
    MEFLD004
    Determine earliest delivery date f. check w. GR (only PO)
    MELAB001
    Gen. forecast delivery schedules: Transfer schedule implem.
    MEQUERY1
    Enhancement to Document Overview ME21N/ME51N
    MEVME001
    WE default quantity calc. and over/ underdelivery tolerance
    MM06E001
    User exits for EDI inbound and outbound purchasing documents
    MM06E003
    Number range and document number
    MM06E004
    Control import data screens in purchase order
    MM06E005
    Customer fields in purchasing document
    MM06E007
    Change document for requisitions upon conversion into PO
    MM06E008
    Monitoring of contr. target value in case of release orders
    MM06E009
    Relevant texts for "Texts exist" indicator
    MM06E010
    Field selection for vendor address
    MMAL0001
    ALE source list distribution: Outbound processing
    MMAL0002
    ALE source list distribution: Inbound processing
    MMAL0003
    ALE purcasing info record distribution: Outbound processing
    MMAL0004
    ALE purchasing info record distribution: Inbound processing
    MMDA0001
    Default delivery addresses
    MMFAB001
    User exit for generation of release order
    MRFLB001
    Control Items for Contract Release Order
    No of Exits:         35
    Transaction Code - ME32K                   Change Contract
    |Exit Name|Description                                   |
    AMPL0001
    User subscreen for additional data on AMPL
    LMEDR001
    Enhancements to print program
    LMELA002
    Adopt batch no. from shipping notification when posting a GR
    LMELA010
    Inbound shipping notification: Transfer item data from IDOC
    LMEQR001
    User exit for source determination
    LMEXF001
    Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001
    Customer-Specific Source Determination in Retail
    M06B0001
    Role determination for purchase requisition release
    M06B0002
    Changes to comm. structure for purchase requisition release
    M06B0003
    Number range and document number
    M06B0004
    Number range and document number
    M06B0005
    Changes to comm. structure for overall release of requisn.
    M06E0004
    Changes to communication structure for release purch. doc.
    M06E0005
    Role determination for release of purchasing documents
    ME590001
    Grouping of requsitions for PO split in ME59
    MEETA001
    Define schedule line type (backlog, immed. req., preview)
    MEFLD004
    Determine earliest delivery date f. check w. GR (only PO)
    MELAB001
    Gen. forecast delivery schedules: Transfer schedule implem.
    MEQUERY1
    Enhancement to Document Overview ME21N/ME51N
    MEVME001
    WE default quantity calc. and over/ underdelivery tolerance
    MM06E001
    User exits for EDI inbound and outbound purchasing documents
    MM06E003
    Number range and document number
    MM06E004
    Control import data screens in purchase order
    MM06E005
    Customer fields in purchasing document
    MM06E007
    Change document for requisitions upon conversion into PO
    MM06E008
    Monitoring of contr. target value in case of release orders
    MM06E009
    Relevant texts for "Texts exist" indicator
    MM06E010
    Field selection for vendor address
    MMAL0001
    ALE source list distribution: Outbound processing
    MMAL0002
    ALE source list distribution: Inbound processing
    MMAL0003
    ALE purcasing info record distribution: Outbound processing
    MMAL0004
    ALE purchasing info record distribution: Inbound processing
    MMDA0001
    Default delivery addresses
    MMFAB001
    User exit for generation of release order
    MRFLB001
    Control Items for Contract Release Order
    No of Exits:         35
    Regards,
    Deva.

  • User Exit for ME52N with Purchase Requisition number & line item number

    Does anyone know which user exit I could use to get at the purchase requisition number and line item number when I am trying to change a PR.  I see various exits with im_req_item but when I code a popup in the include it is not appearing.  I am just not finding the right exit.

    You can use enhancement MEREQ001, function exit EXIT_SAPLMEREQ_005. This enhancement description gives impression that it can only be used if you have custom fields but it can be used even when you don't have custom fields.

  • Question - SD user exit for Billing with multiple sales orders

    We have a situation where we are summarizing Accounting Billing document updates via OBCY, transaction type VBRK .
    We will also have multiple sales orders per billing document.
    One of our accounts is a COGS- clearing account which will post for both delivery and billing documents.
    Our goal will be to clear the COGS-clearing account after the delivery and billing has occurred.
    One alternative being evaluated is to update the assignment field ( bseg -zuonr) for the sales order. 
    To do this, one of the SD user exits , perhaps SDVFX008, would be necessary to update the sales order from vbrp-vbel2 to bseg-zuonr.
    I am concerned about
    1) will the update work
    2) what will be the effect on summarization
    If we try to implement the user exit , would we be successful to just update the assignment field for just the COGS accruall account.   _Therefore the next effect is that AR,Rev, etc, would summarize , but the COGS clearing would break out due to the update to the assignment field..
    Does anyone have any experience similar to this situation.
    Thank you,
    Jeff

    Hi
    You can use SDVFX008 or FI Substitution exit RGGBS000 (Form U100)
    You can very well update the required GL (COGS Clearing) with the Sales order No... However, how exactly it would behave upon summarization, I am not sure about that.. you need to develop that and see
    In the COGS account during PGI, Sales Order No is populated always in the field "Sales Order"... In your case, the COGS clearing account should be having sales order no populated...
    So, if you are successful to populate Sales Order No during billing in the "Sale Order" Field for the COGS clearing account, that should also suffice...
    or See if you can have relevant sort key in FS00 for the COGS clearing account so that Sales order no is always populated..
    Regards
    Ajay M

  • Look for USER EXIT/Program similar with BADI:  BADI_SCD_ACCTG for SAP 4.5B

    Hello SAP Guru,
              We are having the challenging in performing posting to multiple G/L accounts per shipment. This is required, for example, if customer, interplant, and/or inbound orders are combined onto one shipment.
             We found this BADI that allows system to work the way we want; however, BADI is not support in 4.5B.
             This BADI is linked to enhancement LMR1M002 and function module MR_ACCOUNT_ASSIGMENT. Please refer to note 64204.
             Please advise, I am looking something similar that work in SAP 4.5B.
    Regards,
    Song

    Hi,
    Please try this:
    Enhancement  LMR1M002                             Account grouping for GR/IR account maintenance                    
    Enhancement  MRMH0001        Logistics Invoice Verification: ERS procedure                    
    Enhancement  LMR1M001                             User exits in Logistics Invoice Verification          
    Enhancement  LMR1M005                             Logistics Inv. Verification: Release Parked Doc. for Posting          
    Enhancement  LMR1M004          Logistics Invoice Verification: item text for follow-on docs                    
    I hope this may helpfull and let me know wht exactly the business needs so I can give you some more exits.
    Thank you,
    Thanks,
    AMS

  • User exit during MIRO with PO reference data

    I have maintained dates Validity Star and End dates in Purchase order header data. My client wants that during MIRO system will throw error message if the posting date of IV crosses the Validity end date maintained in PO.
    Is there any user exit for this so that during giving PO reference system will look for this data in PO and throw message or during simulate or post.
    Regards,
    Suman

    Hello Suman,
    Please follow this steps to get the list of Userexits for the TCODE MIRO read there short description to get the appropriate EXIT.
    Steps.
    1. Goto the Tcode
    2. System-> Status.
    3. Copy the program name, find the package for the program.
    4. Go to SMOD (tccode)  press F4 -> Click on "Information System" Push Button->
       Enter the Package name-> and press the enter button.
    5. Now you get the list of Userexits. Need to select one by looking into its short    description.
    Hope this solves your issue,
    Cheers,
    Suvendu

Maybe you are looking for

  • Create table from external data with dates

    I have a CSV that looks somewhat like this: abcuser,12345,5/12/2012,5,250.55 xyzuser,67890,5/1/2012,1,50 ghjuser,52523,1/1/1900,0,0 When I create the external table, then query it I get a date error: CREATE TABLE xtern_ipay userid VARCHAR2(50), acctn

  • Script for renaming postscript files

    I need a script that will rename a postscript file at the time of printing. Ideally, after you hit the print button, a field would appear for you to enter the new name of the postscript file prior to sending it on to the printer. After you entered te

  • Need prompt to be UPPER case

    I have tried many different suggestions to resolve this case issue I am having (change NQS file, making fields upper or lower). What I have now is all the reports I want to use the Presentation Variable prompt on now have the field set to UPPER. The

  • Version management problem!

    Dear Experts! Actually the problem is that after modifyuing the PO version is generated and when i see the preview of the PO (me23n) the PO is perfect but when i try printing the PO thru me9f only the line items that were modified  in the Po are gett

  • Convert a 7.0 DataSource back to 3X

    Hi , I am trying to Install Business Content Cube 0PUR_C01. The Cube comes with the 3X format.It comes with two DataSources 2LIS_02_SCL and 2LIS_02_ITM. However they both are in the 7.0 version in my system.If i do just create transformations for it