As01 transaction using substitution user exit populate classificaion

Hi all,
I have a requirement, where in using the substitution user exit rule U210, I need to populate fields ANLB-NDPER, ANLB-NDJAR and ALNA-VMGLI from the values maintained in Ztable.
I am able to overwrite the SAP standard values for the fields ANLB-NDPER and ANLB-NDJAR. But not able to populate the filed VMGLI(Classification key).
For some asset classes, the classification key is not mandatory and the user without giving the value in that field if save the transaction, then I need to populate the value of VMGLI with the ztable value.
The present rule U210 is not working for classification key.
Please suggest, is there any other user exit for the scenario where we can populate VBGLI field.
regards
Rajani Yeluri

In the user exit documentation,  it doesn't say anything about this exit being used for validation, therefore,  it probably shouldn't be used as a validation routine, especially if its not being trigger at every PAI. 
<i>FU EXIT_SAPLAISA_001
Short text
Assign Inventory Number
Functionality
Using this user exit, it is possible to assign an inventory number when you create a new asset master record.
Notes
In the user exit, it is absolutely forbidden to use a statement that leads to an update or removal of database changes. Examples of such statements are:
'Commit Work' , 'Rollback Work' or call of function module 'DB_COMMIT'.
Parameter
I_ANLA
E_INVNR
Exceptions
Function group
XAIS</i>
Regards,
Rich Heilman

Similar Messages

  • As01 transaction using substitution user exit populate classificaion key

    Hi all,
    I have a requirement, where in using the substitution user exit rule U210, I need to populate fields ANLB-NDPER, ANLB-NDJAR and ALNA-VMGLI  from the values maintained in Ztable.
    I am able to overwrite the SAP standard values for the fields ANLB-NDPER and ANLB-NDJAR. But not able to populate the filed VMGLI(Classification key).   
    For some asset classes, the classification key is not mandatory and the user without giving the value in that field if save the transaction, then I need to populate the value of VMGLI with the ztable value.
    The present rule U210 is not working for classification key.  
    Please suggest, is there any other user exit for the scenario where we can populate VBGLI field.
    regards
    Rajani Yeluri

    Hi,
    Did you find a solution. I'm just looking for the same thing.
    best regards..

  • As01 using substitution user exit populate classificaion key(ANLA-VMGLI)

    Hi all,
    I have a requirement, where in using the substitution user exit rule U210, I need to populate fields ANLB-NDPER, ANLB-NDJAR and ALNA-VMGLI from the values maintained in Ztable.
    I am able to overwrite the SAP standard values for the fields ANLB-NDPER and ANLB-NDJAR. But not able to populate the filed VMGLI(Classification key).
    For some asset classes, the classification key is not mandatory and the user without giving the value in that field if save the transaction, then I need to populate the value of VMGLI with the ztable value.
    The present rule U210 is not working for classification key.
    Please suggest, is there any other user exit for the scenario where we can populate VBGLI field.
    regards
    Rajani Yeluri

    Hi Balaji,
    We have the same problem.
    Have you discovered how to make this exit works?
    We will really apreciate your help.
    Thanks a lot,
    Ivan Spellmeier

  • Coming back to the Transaction from a User Exit

    Hi,
    I perform some checks in a User-Exit before saving a transaction & throw an error message if something is not proper. But, the transaction terminates after that. I need to give the user an option to make changes in the transaction. eg, if user exit checks if a certain field should not be empty, the user should have an option to enter the field after the user exit throws the message. How can i go back to the same screen from the exit to achieve the same.
    Thanks in advance.
    Bikash
    This was for a general scenario wherein after an error message triggered by an Exit is displayed, the transaction just terminates.
    Message was edited by: Bikash  Agarwal

    Hi,
    If you give error message, it will leave the current transaction.
    Instead try using some POPUP function module, which will have options 'OK' and 'CANCEL'.
    If user presses 'OK', then allow user to do modifications and if he presses 'CANCEL', then write LEAVE PROGRAM to come out of transaction.
    Hope it helps.
    Regards,
    Shashank

  • Function SO_DOCUMENT_SEND_API1 (send mails)   Substitutions-user-exit

    Hello Forum,
    I have to make a substitution (user-exit) for this perform.
    PERFORM U999 (ZRGGBS000) IF FOUND.
    As this code is standard, I gather that I can not touch it.
    My development is in the FORM and I can't control the parameters
    I leave the code here, you can try to find the solution that I need:
    FORM u999.
    *FORM u999 TABLES tab_contents_txt
    * it_attach
    * USING p_email
    * p_mtitle
    * p_format
    * p_filename
    * p_attdescription
    * p_sender_address
    * p_sender_addres_type
    * CHANGING p_error
    * p_reciever.
    DATA: int_error TYPE sy-subrc,
    int_receiver LIKE sy-subrc.
    DATA: w_doc_data LIKE sodocchgi1,
    chr_email LIKE somlreci1-receiver.
    DATA:
    tab_contents_txt LIKE solisti1 OCCURS 0 WITH HEADER LINE,
    tab_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
    tab_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE.
    CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
    EXPORTING
    document_data = w_doc_data
    put_in_outbox = 'X'
    * SENDER_ADDRESS = SY-UNAME
    * SENDER_ADDRESS_TYPE = 'B'
    commit_work = 'X'
    * IMPORTING
    * SENT_TO_ALL =
    * NEW_OBJECT_ID =
    * SENDER_ID =
    TABLES
    packing_list = tab_packing_list
    * OBJECT_HEADER =
    * CONTENTS_BIN =
    contents_txt = tab_contents_txt
    * CONTENTS_HEX =
    * OBJECT_PARA =
    * OBJECT_PARB =
    receivers = tab_receivers
    EXCEPTIONS
    too_many_receivers = 1
    document_not_sent = 2
    document_type_not_exist = 3
    operation_no_authorization = 4
    parameter_error = 5
    x_error = 6
    enqueue_error = 7
    OTHERS = 8

    Hi,
    Try this..Call the FM in BACKGROUND TASK..
    CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
             IN BACKGROUND TASK
    Thanks,
    Naren

  • Function SO_DOCUMENT_SEND_API1   (substitution-user exit  about mails )

    Hello Forum,
    I have to make a substitution (user-exit) for this perform.
    Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code. And also use code tags.
    Edited by: Rob Burbank on Jan 18, 2010 2:48 PM

    Hello Forum,
    I have to make a substitution (user-exit) for this perform.
    Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code. And also use code tags.
    Edited by: Rob Burbank on Jan 18, 2010 2:48 PM

  • How to use/activate user exits

    Hi all,
    i wish to use user exit COZF0001...
    however i have no experience how to do it.  do i need an ABAPer or other consultant to do it or can i just activate it and make it work with minimal instructions?
    kindly give procedure/overview how to activate/use user exits.
    thanks in advance

    Hi Ramesh,
    Go to transaction CMOD . Create a project called ZVA01. Choose the Enhancement assign radio button and press the Change button. In the first column enter COZF0001.
    Note that an enhancement can only be used in 1 project. If the enhancement is already in use, and error message will be displayed
    Click on  Save . Go to Components. You can now see that enhancement uses the user exit EXIT_SAPLCOZF_001.  Double click on the exit and add your code.
    Activate the include program. Go back to CMOD and activate the project.
    -- Shivaji

  • Can we add additional fields in work center creation using any user exit ?

    Hi,
    is there any user exit using which we can have some tab and fields such that we can add/ update the equipment to wotk center in CR01 ?
    regards,
    madhu kiran

    hi,
    requirement is can i get the additional fields like equipment and asset in the work center creation ?
    i would like to maintain these against a work center
    and  using any user exit can i add additional fields ?
    regards,
    madhu kiran

  • Help needed in Substitution & User Exit.

    Hi Experts,
    I have a peculiar recuirement. In the <b>Vendor Invoide Creation</b> transaction (<b>FB60</b>), if you try to create a Invoice/Credit memo for a "<b>One Time Vend</b>or", a pop up window comes asking Bank and Address data.
    The user need to enter the bank key and acc no and  need to substitute the name, address fields in this pop up window screen, with some data fetched from custom DB tables according to the bank keys.
    Since the pop up screen fields are from structure BSEC, I cant really do the substitution them from OBBH (Since it only allows BSEG & BKPF fields to be substituted !! ).
    Also since the Only user exit (ZXCPDU01) avaliable in FB60 does not have any Export table, I can send the values back to the screen.
    <b>Can any one of you by any luck have a feasible solution for this ?</b>

    hi Saurav.
    there are 14 user exits in thsi transaction. these are as follows
    F050S001            FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
    F050S002            FIDCC1: Change IDoc/do not send
    F050S003            FIDCC2: Change IDoc/do not send
    F050S004            FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
    F050S005            FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
    F050S006            FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007            FIDCCH Outbound: Influence on IDoc for Document Change
    F180A001            Balance Sheet Adjustment
    FARC0002            Additional Checks for Archiving MM Vendor Master Data
    FEDI0001            Function Exits for EDI in FI
    RFAVIS01            Customer Exit for Changing Payment Advice Segment Text
    RFEPOS00            Line item display: Checking of selection conditions
    RFKORIEX            Automatic correspondence
    SAPLF051            Workflow for FI (pre-capture, release for payment)
    check if anyone of them meets ur requiremnt
    regards
    ravish
    <b>plz dont forget to reward points if helpful</b>

  • Event triggering before needed in  transaction VA02 as user exit is involve

    Hi All,
    My requirement was to put authorisation check using ABAP coding in VA02 transaction so that a particular user can delete change or modify a particular order . For this i had maintained a ztable in which authorisation was given to each user. For this i used User exit to write my code. Initially tha code was running fine.
    But now whenever i run the Transaction VA02 and enter the order number and hit the enter button , a message is displayed . which shuold have been displayed while the user made changes in line item. This message was written by me , whenever the user who is not authorised to change the Line Item . But it is comming when when order is entered i.e on initial screen.
    So pls Help.
    Thanks & regards
    Vijju.

    Vijju,
    You have done your code in MV45AFZB which also gets triggered on ENTER if data is changed on screen, so behavior is OK.
    i run the Transaction VA02 and enter the order number and hit the enter button , a message is displayed
    This should be NOT the case, it is NOT the same for me, When I open an order in VA02, CHANGE any field and then press ENTER, then only Exit gets triggered and msg should appear.
    If it is appearing for you without changing any field itself, then just DEBUG and check what is the data in XVBAP/YVBAP. Check with some other data as well, I think shouldn't be the case.
    Also, I feel, if you change anything and error comes on ENTER itself before SAVE , it should be actually Fine with the user and is normal with many other std transactions as well.
    1 more point, your condition " IF YVBAP NE XVBAP." should be the first condition and not later, because why you want to do a SELECT if nothing gets changed.
    Regards,
    Diwakar

  • Substitution & User Exit

    Hi!
    We have following scenario.
    The system must check weather the WBSE is Planning Element. If Not the system must mark it as Account Assignment element & Then in next step Lock the Account Assignment for that WBSE( system status= AALK).
    APMK I am approaching this from two angles-
    1) We may use substitution & then execute User Exit to set the system status as AALK.( I need some expert comments & guidance on this method)
    2) I am also able to solve my problem, if somehow I can work out, an exit or Boolean logic to find out what is the level of lowest level WBSE in a project. Note that the lowest WBSe can vary from 2-5 in our scenario. ( some guidance on this will also help alot)
    Thanks,
    Seemant

    Make sure your code looks like this:
    exits-name  = 'U903'.
      exits-param = c_exit_param_field.
      exits-title = text-203.     (Text id number)
      APPEND exits.
    Then, in the bottom section this should be there:
    FORM U903.
    Your code in btw. and
    ENDFORM.
    With this you should be able to see U903 in the exit drop down. If you have not maintained the text id, then you will just see the key and not the description.
    Regards,

  • How to know the tcodes/programs that uses a user exit

    Hi, anybody knows given the user exit (function module) how will i know the tcodes/programs that uses it? the where used list doesn't return any.

    Hi,
      You will find the enhancement for the exit EXIT_SAPLCOZF_001 ,go to se11>enetr MODSAP Table name in Memeber postion you can enter your function module name EXIT_SAPLCOZF_001>now you will get the enhancement COZF0001 (trx SMOD)
    yOU will find whre the exit is called from the t.code Try this method:
    All exits have the program name as part of their own name, for eg, EXIT_SAPLCOZF_001. In this, SAPLCOZF is the program that the exit is called in, you can use this program name and search for transaction codes related to the program (in SE93).
    The only hitch in the above method is when the program name is a function group program name (SAPL*), in which case you will have to drill down into the function group to find the corresponding tcode.
    Or
    Go to SMOD transaction.
    Enter the Enhancement Name in SMOD.
    Open in Display mode.
    Now get the package name from the window.
    Now go to transaction SE80.
    Choose package from the listbox
    and enter the package name.
    Now it will display the list of Transactions associated with the project.
    Regards
    Kiran Sure

  • Transactions ME51N & ME52N user exits - saving requisitions

    Hi all. 
    I have a new requirement for disallowing transactions ME51N & ME52N from saving purchase requisition records that have more than one line items associated with each of them.
    Basically upon the user clicking on the 'Save' icon I have to first check the purchasing group screen field (MEREQ3211GRID-EKGRP) of the captured purchase requisition at each event instance.  If the purchasing group matches the one I check for (i.e. the configured one) and the purchase requisition also has more than one line item associated to it then I should skip the posting functionality for this specific purchase requisition and then issue an error dialog message to the user telling him/her that such a transaction is not alllowed.
    Please help me to find the following:
    1) The user exit/BADI to use in order to implement such a change.
    2) The data objects or internal table/(s) that I may use in order to count the number of captured line items for each purchase requisition (e.g. via the 'DESCRIBE' command).
    Thanks in advance!

    Hi Venkatesan,
    I have looked at the definition of this BADI via se18.  The interface has a few parameters which also reference other types higher up in the hierachy.
    Which method do you think would be ideal in order to do the following:
    1) Get the item data count as captured by the user via the transaction ME51N?
    2) Get the item data count as collected from the database (i.e. as previously captured) and changed by the user via transaction ME52N?
    I have to then make changes exactly at these points.
    Thanks again!
    Edited by: L J Langa on Apr 16, 2009 3:00 PM

  • Transaction for this user exit

    Hi
    how can i find out to which transaction user exit SDVAX001 belongs?

    Hi Tushar,
    SDVAX001 is a Enhancement not a program , you can see this in SMOD , it will be having comoponents which is again having the supported Exits like Function Module Exits, Screen Exits, Menu Exits.. But this SDVAX001 Enhancement is having a Function Module Exit EXIT_SAPMV45A_001 which will be used to determine the billing plan type . In side this Function Module you can see a include named ZXVVAU01 , this one will be created by us by double clicking on it. In this We will using data of VBAK,VBAP,VBKD,TVAK,TVAP to manipulate  the FPART .
    Hope This Info Helps YOU.
    Regards,
    Raghav

  • Field Status by Transaction code or User Exit

    Hi all,
      Is it possiblee to change field status group according to transaction code and GL account? Any configuration or user exit?
      For example, transaction FB01 account 100000 using Field status group A and transaction FB60 account 100000 using field status group B.
      Or is there any user exit to change the screen of FI transaction?
    Thanks,
    Phon

    Maybe you could try with FI Validations...Tx. <b>OB28</b>
    Greetings,
    Blag.

Maybe you are looking for

  • Modify legend in chart

    Hi All, Is it possible to modify Legend in chart? Especially in Combo line and bar chart. Thank you, Ling

  • IPod touch can't access password protected WRT310N

    I purchased this wireless router (WRT310N) so I could access the Net using my iPod Touch however while the iPod detects the network I am unable to access the network even though I am typing in the correct password.  Anybody else have this problem?  W

  • How to restore option box in "edit in photoshop"

    While editing a raw file from Lightroom to Photoshop, I checked the "don't ask again" box in the dialog box of "render in lightroom" or "open anyway" in Photoshop.  Now I lost the option.  How  do I reset that to allow me the option each time.  I hav

  • Can oracle9i installed on Turbolinux6.0

    Hi, I'm using oracle9i application server (ver.1.0.2.0.0) on winNT4.0 . Now I want to shift on linux operating system, so pls. tell me on which version of turbolinux oracle9i can be installed. And if it is not certified on turbolinux then which flavo

  • Having trouble installing adobe flash player- keep getting "Certificate Authintication failed", help

    having trouble installing flash player, keep getting "certificate authentication failed", did all the troubleshooting - did "unistall" stil nothing works.  Any suggestions