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.

Similar Messages

  • Adding custom fields to CN41 Transaction code

    Hi Experts,
    I have a requirement to display few SAP standard fields (like VORN1 from AFABD structure) in CN41 transaction code. I modified the custom include structure CI_PROJ in table PROJ. When I ran CN41 tcode, this field doesn't show up in the layout list. But I can see the same feild in CN42 transaction code. Can anyone advise what is the difference between CN41 & CN42 and how this field to be shown in CN41?
    Also, can some one advise, if SAP will take care by itself to fill the data since it is standard field or do we have to write any custom code in user exit?
    Finally, can anyone explain me the difference between Structure Overview & Project Definitions?
    Really appreciate your help.
    Regards,
    Sailesh.

    Thanks Rod,
    But SAP gave us a provision to modify the custome structures CI_PROJ or CI_PRSP etc so that we can add the fields here.  My question was, I am able to see these fields in CN42 tocde but not in CN41.  Is there a way, that I can display the fields fromm CI_PROJ onto CN41 report?
    And for second part, I thoguht, if I add the SAP standard fields from PSJ logical database, then SAP should update these fields automatically.  I might be wrong on this.
    Any ideas?
    Shylesh

  • Field Status at Transaction Level

    I want to change the field status for Business Place/ Section Code from Supress to Optional in transaction F-02.
    How can I change Field status at Transaction Level ?

    Hi ,
    FIelds Status can be changed by 2 ways
    1, Posting Keys - any change in the Field status will Effect all the clients
    2.Field Status Group Variant,which we assign in GL Master- Changes to FSG, Will Effect only Perticular Lilne Items of tht GL Account.
    As Per your requirment, I do not think you can change the Field Status as Per Transcation i.e for F-02 or FB50 instead you can change the Field Status of perticular GL Account which you are posting the Transcation. which will b specific to the GL Account.
    if you want the Changes across clients , you can change the Field Status By posting Keys.
    Hope the Above Helps you .
    Thanks
    Goutam

  • 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

  • Orders, deliv. and conRel fields in MD04 transaction code

    Hi All,
    I want to know the database tables and fields for Orders, deliveries and conrel fields in MD04 transaction code.
    In MD04 if you give material and plant as input details and say continue, we are getting the Stock requirement list. In that MRP elements : Orders, deliveries and conrel  and the quantity fields against to these elements ,, from where we are getting the data. Is there any function modules for the same?
    Kindly advice me.
    Thanks in advance.
    Regards
    Ramesh.

    Hi Ram Kumar,
    I'm not sure about the screen enhancements can be done for the transaction FBCJ as we don't have any screen exits.
    But we have only BAdI for FBCJ transaction called CJ_DOCUMENT - Change to External Document before Cash Journal Doc. Check.
    Workaround on the method CHANGE with the changing parameter C_ITCJ_SPLIT_POSTINGS.
    Enhance the structure ISCJ_POSTINGS to add your new fields and write the logic in the BAdI method to populate the values to these fields.
    Please give a try and let us know.
    Regards
    Gangadhar
    Message was edited by: Gangadhar Ragula

  • Where do I get all SAP WM transaction codes for user acceptance test ?

    Hello experts,
    Where do I get all SAP WM transaction codes for user acceptance test during cutover activities?
    I need the list of transactions.
    Thanks in advance

    Hi,
    You can download through Solution Manager also. If ASAP is installed in your computer, you can download all the standard transactions, otherwise let me know your id, i will send it to you.
    Aktar

  • Set the default field value to transaction code field, when calling from WD

    Hi all,
    Can we pass the value in a input field of a standard transaction calling from WD application. Suppose we are calling a transaction VA03 in an external window, then how will be pass the value in the VBAK_VBELN screen field.
    Is there any way to pass the value to this transaction field. I have also tried out to set the parameter ID 'AUN' for VA03 transaction VBELN field. But it did not work for me.
    Is there any way to set the default field value to transaction code field, when calling from WD?
    Please suggest, if anyone have any idea.
    Thanks
    Sanket

    Hi,
    I am using the below code to open a standard transaction. It will help you to explain my point more easily.
    DATA: url TYPE string,
              host TYPE string,
              port TYPE string.
    *Call below method to get host and port
      cl_http_server=>if_http_server~get_location(
         IMPORTING host = host
                port = port ).
    *create URL
      CONCATENATE 'http'
      '://' host ':' port
      '/sap/bc/gui/sap/its/webgui/?sap-client=&~transaction=' 'VA03'
       INTO url.
    *get the window manager as we are opening t code in external window.
      DATA lo_window_manager TYPE REF TO if_wd_window_manager.
      DATA lo_api_component TYPE REF TO if_wd_component.
      DATA lo_window TYPE REF TO if_wd_window.
      lo_api_component = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
    call the url which we created above
      lo_window_manager->create_external_window(
      EXPORTING
      url = url
      RECEIVING
      window = lo_window ).
      lo_window->open( ).
    Note*
    One more query I want to add to this thread, that is there any possibility to call a custom transaction as well?

  • Need to add Standard transaction code to User Menu.

    Hi All,
    I need to add Standard transaction code to User Menu. How this can be accomplished?
    Thanks

    Your Security and/or Basis team probably have control of the user menu settings.  On the other hand, if this is for YOUR user menu, you could choose to simply adjust your favorites.

  • Code for user-exits

    hey guys i want the code for user-exits for  inclusion of Excise Chapter ID mandatory in PO .....
    regards,
    Naveen

    which user exit u are using ?
    check the BADI for the same .
    SE15->Enhancements->BADI--->definations -
    >search on Package = ME.
    and see BADI definition called Process _cust.
    Regards
    Peram

  • Authorisation roles and transaction codes for users(MTO--PPmodule)

    Hi !!!
    GURUS !!!!!!!!
    I am working here on live project for  make to order scenario.
    We are using only batch management.
    Could you give me transaction codes for users for authorisation roles.
    All codes from start to end scenario.
    Regards,
    Nitin

    Dear,
    You have to do the JRM - Job role mapping. The list of transactions cannot be decided commonly across all implementations, as per your Business process definition you have to list the transactions invovlved and which business roles are required for that.
    One example: PP_Planner is a Role, this is applicable for the planning person, he will be given transactions related to SOP, DM and MRP, he will not be given transactions related to SFC. Its vice versa for a operations person.
    Thanks & Regards,
    Vijaya Bhaskar A

  • T code for User exits.

    hai all MM gurus,
    How to find out the user exits for any Tcodes or for any documents?.

    for this there is a user written program called "zuserexit" which will be available. Run the program & give Tcode as input u ll get all exits for that.
    http://www.sap-img.com/ab038.htm
    Finding the user-exits of a SAP transaction code
    Finding the user-exits of a SAP transaction code
    Enter the transaction code in which you are looking for the user-exit
    and it will list you the list of user-exits in the transaction code.
    Also a drill down is possible which will help you to branch to SMOD.
    Written by : SAP Basis, ABAP Programming and Other IMG Stuff
                 http://www.sap-img.com
    report zuserexit no standard page heading.
    tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
             tables : tstct.
    data : jtab like tadir occurs 0 with header line.
    data : field1(30).
    data : v_devclass like tadir-devclass.
    parameters : p_tcode like tstc-tcode obligatory.
    select single * from tstc where tcode eq p_tcode.
    if sy-subrc eq 0.
       select single * from tadir where pgmid = 'R3TR'
                        and object = 'PROG'
                        and obj_name = tstc-pgmna.
       move : tadir-devclass to v_devclass.
          if sy-subrc ne 0.
             select single * from trdir where name = tstc-pgmna.
             if trdir-subc eq 'F'.
                select single * from tfdir where pname = tstc-pgmna.
                select single * from enlfdir where funcname =
                tfdir-funcname.
                select single * from tadir where pgmid = 'R3TR'
                                   and object = 'FUGR'
                                   and obj_name eq enlfdir-area.
                move : tadir-devclass to v_devclass.
              endif.
           endif.
           select * from tadir into table jtab
                         where pgmid = 'R3TR'
                           and object = 'SMOD'
                           and devclass = v_devclass.
            select single * from tstct where sprsl eq sy-langu and
                                             tcode eq p_tcode.
            format color col_positive intensified off.
            write:/(19) 'Transaction Code - ',
                 20(20) p_tcode,
                 45(50) tstct-ttext.
                        skip.
            if not jtab[] is initial.
               write:/(95) sy-uline.
               format color col_heading intensified on.
               write:/1 sy-vline,
                      2 'Exit Name',
                     21 sy-vline ,
                     22 'Description',
                     95 sy-vline.
               write:/(95) sy-uline.
               loop at jtab.
                  select single * from modsapt
                         where sprsl = sy-langu and
                                name = jtab-obj_name.
                       format color col_normal intensified off.
                       write:/1 sy-vline,
                              2 jtab-obj_name hotspot on,
                             21 sy-vline ,
                             22 modsapt-modtext,
                             95 sy-vline.
               endloop.
               write:/(95) sy-uline.
               describe table jtab.
               skip.
               format color col_total intensified on.
               write:/ 'No of Exits:' , sy-tfill.
            else.
               format color col_negative intensified on.
               write:/(95) 'No User Exit exists'.
            endif.
          else.
              format color col_negative intensified on.
              write:/(95) 'Transaction Code Does Not Exist'.
          endif.
    at line-selection.
       get cursor field field1.
       check field1(4) eq 'JTAB'.
       set parameter id 'MON' field sy-lisel+1(10).
       call transaction 'SMOD' and skip first   screen.
    *---End of Program

  • Error ! No field defined for function Code in MENU EXIT

    Hello All,
    I've created a project in CMOD for the MENU EXIT for handling one menu item in the SAP Standard Menu Bar .
    i.e  under the HELP MENU Item I've included one more sub menu item.
    I've activated the project and I'm able to se the newly added Sub-Menu Item in the activated mode.
    But when I press the newly created Sub Menu Item I'm getting a Message in the Status Bar saying :
    No field defined for the function code
    The Help of it says :
    Message no. 00125
    Diagnosis
    The function code field (OK code field) has not been defined on this screen. If the user selects an application function (not a system function), the system usually provides it in the function code field (OK code field) as well as in SY-UCOMM. This is no longer possible.
    System Response
    The system is unable to inform the application of the current function code. The application should not use field SY_COMM. This field always contains the code of the last function chosen, which is not always identical to the application-relevant code.
    Procedure
    You should always define a field for the function code on every screen. The Screen Painter always proposes such a field (OK category), you only need to assign a name and include the definition in the ABAP program.
    Please let me know what shud be done ?
    Regards,
    Deepu.K

    Don't use this scanrio ! Instead got Access Key and chamged the Std. Program.

  • 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

  • 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

  • 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

Maybe you are looking for

  • Itunes app does not stay open since updated to ios7

    Since updating to ios 7 when I open the iTunes Store app it closes straight away. I have reset and restored the phone worked fine once or twice but has started to do it again. Help. 

  • Exchange Server 2013 with a RADIUS server (freeRADIUS).

    Hello, I am a student and doing an internship. I have to test Microsoft Exchange Server 2013. I am using Windows Server 2012, I already installed Exchange Server 2013 on it and everything works as intended. But I couldn't find out how to configure my

  • Excel documents downloading as CSV

    During the past week, I downloaded some files from websites using Firefox. (i.e., a list of bank account info & list of insurance claims) For some reason, they have started saving as csv documents instead of Excel. They open in Excel but when I try t

  • Condition types - A few from idoc and a few from Inforecords

    Hi Experts!! I need to create a purchase order. Normally the pricing for each line item will be picked from inforecords and the pricing procedure (functional configuration) and then will be calculated and displayed. Now I have a requirement in such a

  • Trading Partner and Validation for Tradin Partner

    Hi Gurus, Please tell me the use of Trading Partner field while doing transactions. What is the benefit we can get out of it? Can we write a validation rule, so that system will throw an error, if particular trading partner is used for particular pro