Steps to create Customized Tcode in BI

Hello,
I need to create a Customized TCode at BI side for updating texts of certain master data's.
Could you please provide me step by step solution for that problem.
Regards,
Rahul Mahajan

Hi Rahul,
You can create customized T-Code in Bi using transaction SE93.
You need to give the name of the ABAP Program which you need to include in this customized T-Code.
T-Code is nothing but a program which gets executed when you run that specific T-code in command bar.
So what you can do is write a program which will fill your master data and include it ithat program in your T-Code
Thanks and Regards
Arun

Similar Messages

  • Steps to create customized Master  data infoobjects in BI 7

    Hi all,
    Can anyone please send the detailed steps to create customized master data infoobject in BI7,and also the data is to be extracted from two different datasources from two different source systems.
    Regards,
    G.Monica Roja Flora.

    Some data modelling tips while creating master data infoobject and extracting data from different source systems -
    If there are identical characteristic values describing different objects for the same characteristic in various source systems, you have to convert the values in such a way in SAP BW so as to make them unique.
    For example, the same customer number may describe different customers in different source systems.
    You can carry out conversion in the transfer rules for this source system or in the transfer routine for the characteristic.
    If work involved in conversion is too great, you can compound the characteristic to the InfoObject Source System ID (0SOURSYSTEM). This means it is automatically filled with master data. The Source System ID is a 2-character identifier for a source system or a group of source systems in BW. The source system ID is updated with the ID of the source systems that provides the data. Assigning the same ID to more than one source system creates a group of source systems. The master data is unique within each group of source systems.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/80/1a6399e07211d2acb80000e829fbfe/content.htm
    Hope it Helps
    Chetan
    @CP..

  • Steps to create customer in SAP r/3

    Hi All,
    Can anybody send me steps to create customer using FD01, Thanks.
    regards,
    Vishal

    Dear Vishal,
    In Transaction FD01,
    1)Give the relevant Account Group, Company code and the Sales Area for which you want to create customer and click continue.
    2)Enter all the address details in the General Data and after finishing that,
    3Go to Company code data - fill up the reconciliation account number and fill up the payment terms details relating to FI and then save the document.
    Hope this helps.
    Reward points if satisfied.
    Thanks and regards.
    Augustine Ponraj

  • Steps  For creating   Custome Infotype

    Hello everybody ,
    please give me the steps for  creation  custom  infotype

    Hi
    [Check This |https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/viewpage.action?pageId=10974]
    Regards
    Pavan

  • Steps for creating custom doclet

    I'm a complete newbie to this whole JavaDoc Doclet stuff. I trying to create a custom Doclet I think. I want to use all the standard annotations but add 1 of my one aswell and a method so only the methods with my annotation is shown.
    I have a custom Doclet from the sun tutorial but don't have it creating a html file in docs folder or have it recognising any of the standard annotations. It doesn't extend or implement anything.
    Any advice on the step to take when creating a Doclet would be much appreciated.

    Thanks for the reply Leonid, still confused do.
    I'd like to create a HTML page that will show all the standard annotations/tags but also a custom tag. From the tutorial I have:
    import com.sun.javadoc.*;
    public class ListClass {
        public static boolean start(RootDoc root) {
             String tagName = "myTag";
             writeContents(root.classes(), tagName);
             return htmlDoclet.start(root);
             return true;
        private static void writeContents(ClassDoc[] classes, String tagName) {
             for (int i=0; i < classes.length; i++) {
                boolean classNamePrinted = false;
                MethodDoc[] methods = classes.methods();
    for (int j=0; j < methods.length; j++) {
         Tag[] tags = methods[j].tags(tagName);
              if (tags.length > 0) {
              if (!classNamePrinted) {
              System.out.println("\n" + classes[i].name() + "\n");
              classNamePrinted = true;
              System.out.println(methods[j].name());
              for (int k=0; k < tags.length; k++) {
              System.out.println(" " + tags[k].name() + ": " + tags[k].text());
    Should I be extending Standard or Doclet, I tried to extend Standard but it said it couldn't find myTag.
    I read a few places it's probably easier to just create the whole Doclet thing from scratch but is very time consuming and seems a bit daunting to me.
    I'm probably not making much sense but I'm a bit lost with all this.

  • Create custom tcode for iw32

    Hi,
    I need to copy the standard tcode and remove all the tabs inside that and need top add some additional screens.
    I tried by copying the standard program SAPLCOIH. It asked to copy function group and function modules and gave me the copied program name as SAPLZCOIH. where ZCOIH is the copied function group.
    I also tried copyinf tcode IW32 from se93, but it is saying tcode not found in table.
    Here i am unable to assign a tcode for this , as this is function pool.
    I would appreciate, if any one can give me more detailed path to solve this.

    Using SHD0 you could set default value to any transaction for executing first time.
    You could not make major modification to screen structure.
    Regards,
    Amit R.

  • Creating Custom Infotype -  Personnel Administration - ABAP-HR

    What are the steps while creating custom infotype in PA Subodulein ABAP-HR?

    Hi,
    Welcome to SCN. I've moved your post to a more appropriate place where there is more likelihood of the question being answered.
    Be sure to read the "rules of engagement" for the forums and do search before posting.
    I found below thread and link with simple search:
    Infotype enhancement - Short dumps (PA30 / PM01).
    http://www.sap-img.com/human/how-to-create-a-hr-infotype.htm
    Regards,
    Naveen

  • Regarding how to create custom IDOC?

    hi experts:
           thank you all in advance for all your answers . .
           I am studying Idoc, Would you please give me an example about how to create custom IDOC , and the basic idea, what's more , give me some material I can refer to . couldn't thank you more
           Best regards
           Frank

    Steps To Create Custom IDOC
    1.Create Segment Type (WE31)
    Go to Transaction code WE31
    Enter Segment type, click on Create
    Give Description
    Enter the Necessary Fields & Data Elements for those Fields.
    Save the Changes.
    2.Create Idoc Type (WE30)
    Go to transaction code WE30
    Enter the Object Name, select Basic type and click Create icon
    Select the create new option and enter a description for your basic IDOC type and press enter
    Select the IDOC Name and click Create icon
    The system prompts us to enter a segment type and its attributes
    Choose the appropriate values and press Enter
    The system transfers the name of the segment type to the IDOC editor.
    Follow these steps to add more number of segments to Parent or as Parent-child relation
    Save it and go back
    Go to Edit -> Set release
    3.Create Message Type (WE81)
    Go to transaction code WE81
    Change the details from Display mode to Change modenAfter selection, the system will give this message “The table is cross-client (see Help for further info)”. Press EnternClick New Entries to create new Message Type
    Fill details
    Save it and go back
    4.Assign Idoc Type to Message Type (WE82)
    Go to transaction code WE82
    Change the details from Display mode to Change moden After selection, the system will give this message “The table is cross-client (see Help for further info)”. Press Enter.
    Click New Entries to create new Message Type.
    Fill details
    Save it and go back
    You will get step by step process.
    ABAP Development
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.geocities.com/xplosion78/customised_ALE_IDOC_BY_SACHIN_DABHADE.zip
    http://help.sap.com/saphelp_45b/helpdata/en/35/b0ea5187a62488e10000009b38f9b7/content.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/c4/6bc368fef411d28d0900104b56737d/frameset.htm
    ABAP Development
    Follow below steps to create custom IDOC.
    1.Create segments through transaction WE31.
    2.Create IDoc Type through transaction WE30 by attaching created segments.
    3.Message type through transaction WE81.
    4.Link Idoc and message type in WE82 transaction.
    Check the transaction WEDI for ALE settings
    Check these links for more details on IDoc's:
    ALE/ IDOC
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sappoint.com/abap.html
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.allsaplinks.com/idoc_sample.html
    ALE/ IDOC/ XML
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://www.thespot4sap.com/Articles/SAP_XML_Business_Integration.asp
    http://help.sap.com/saphelp_srm30/helpdata/en/72/0fe1385bed2815e10000000a114084/content.htm
    IDOC Convertion
    /people/kevin.wilson2/blog/2005/12/07/changing-fields-in-an-idoc-segment
    http://www.intelligententerprise.com/channels/applications/feature/archive/kasturi.jhtml
    i need a sample code regarding to create a custom IDOC...
    Reward points...

  • Creating Custom UI widget

    Hi All,
    The problem is that InDesign crashes on startup, while plugin compiles ok.
    The code is the following:
    .fr file
    resource ClassDescriptionTable(kSDKDefClassDescriptionTableResourceID)
    Class
            kAdvImageWidgetBoss,
            kBaseWidgetBoss,
                IID_ICONTROLVIEW, kAdvImageWidgetViewImpl,
                IID_IEVENTHANDLER, kAdvImageWidgetEventHandlerImpl,
                IID_IOBSERVER, kAdvImageWidgetObserverImpl,
    type BasicImageViewWidget(kViewRsrcType) : Widget(ClassID = kAdvImageWidgetBoss)
        CControlView;
    BasicImageViewWidget
                kImageViewWidgetID,                                // WidgetId (default=0)
                kPMRsrcID_None,        // RsrcId
                kBindRight | kBindLeft | kBindTop | kBindBottom,                        // Frame binding
                Frame(30, 10, 202, 350),                    // Frame: left, top, right, bottom.
                kTrue, kTrue,                    // Visible, Enabled           
    When I remove CControlView from type definition and all stuff from BasicImageViewWidget, everything is ok.
    Thanks in advance for help!

    Let me describe my steps of creating custom widget for rendering “circle” on panels and dialogs.
    1. Define a new class in “resource ClassDescriptionTable(kSDKDefClassDescriptionTableResourceID)” in fr-file
    Class
                                   kCircleWidgetBoss,
                                   kBaseWidgetBoss,
                                                   IID_ICONTROLVIEW, kCircleWidgetViewImpl,
    2. Insert appropriate definitions into ID-file of the project
    DECLARE_PMID(kClassIDSpace, kCircleWidgetBoss, kPrefix + 1)
    DECLARE_PMID(kImplementationIDSpace, kCircleWidgetViewImpl, kPrefix +1)
    3. Create implementation
    #include "VCPlugInHeaders.h"
    #include "ID.h"
    #include <CControlView.h>
    class CCircleWidgetViewImpl : public CControlView{
    public:
                    CCircleWidgetViewImpl (IPMUnknown *boss);
                    ~ CCircleWidgetViewImpl ();
                    virtual void Draw(IViewPort *viewPort, SysRgn updateRgn);
    CREATE_PMINTERFACE(CCircleWidgetViewImpl, kCircleWidgetViewImpl)
    CCircleWidgetViewImpl:: CCircleWidgetViewImpl (IPMUnknown *boss)
    :CControlView(boss){
    CCircleWidgetViewImpl::~ CCircleWidgetViewImpl (){
    void CCircleWidgetViewImpl::Draw(IViewPort *viewPort, SysRgn updateRgn){
                    do{
                    //TODO draw a circle
                    }while(false);
    4. Add definitions to Factory List file
    REGISTER_PMINTERFACE(CCircleWidgetViewImpl, kCircleWidgetViewImpl)
    5. Add new type definition to fr-file
    type BasicCircleViewWidget(kViewRsrcType) : Widget (ClassID = kCircleWidgetBoss)
                    //CControlView;
    6. Add this widget to panel
    resource MyPanelWidget(kSDKDefPanelResourceID)
                                   BasicCircleViewWidget
                                                   /*0,                        // WidgetId (default=0)
                                                   kPMRsrcID_None,                              // RsrcId
                                                   kBindNone,                                                                                          // Frame binding
                                                   Frame(1, 1, 4, 4),                                                                // Frame: left, top, right, bottom.
                                                   kTrue, kTrue,                                                                      // Visible, Enabled                                              */
    When I uncomment sections in step 5 and 6, InDesign crashes(InDesign crashes before showing its main screen), else everything works ok, and draw method runs.

  • Creating custom schema

    Hi,
    Anyone pls provide me the steps to create custom schema in oracle database....
    i need step by step process with suitable example.....
    thanks & regards
    vasanth

    Hi vasant;
    You have to login https://support.oracle.com/CSP/ui/flash.html and you have to CSI account.This site is oracle site for tech. documents for can rise SR etc.. for more details please check
    Re: Installing Oracle Database 10.2.0.4
    Regard
    Helios

  • How to create transaction or screen variant for custom tcode in module pool

    Hi,
              I have one module pool program with custome tcode ,i want to create transaction or screen variant for this tcode.Next time when we run this tcode we need a variant for this tcode.
    I tried by using of SHD0 but it is working only for standred tcodes.Is there any possibilty please help me.
    thanks,
    Lavanya.

    Hi,
    you created a Custom Tcode for ur module pool Pgm..if u execute the Tcode in the output screen give the input details and press Save Option then variant will be created. Then you can use that variant.
    otherwise.. while creating a Tcode..
    select an option for Tcode type Tranasction With variant ..there u will provide the variant for ur Tcode ( which is already created ).
    Regards,
    PraVeen.

  • Steps to create a custom responsibility in Oracle applications R12

    Hi All,
    I need to define and create a new custom responsibility in Front end applications. Can you let me know the steps to create it or any links through which I can work on it.
    Data group
    Menu
    Request group
    with step by step procedure
    Regards,
    Kalyan

    Please see these links/docs.
    http://forums.oracle.com/forums/search.jspa?threadID=&q=Create+AND+Custom+AND+Responsibility&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Oracle Applications System Administrator's Guide Documentation Set
    http://download.oracle.com/docs/cd/B53825_03/current/html/docset.html
    Thanks,
    Hussein

  • Create Custom HRInfotype type, Tcode : PPCI

    HI Guys
       My requirement is to create an HRinfotype . user should use Transaction PO10 and choosing the org unit, user should be able to choose my custom Infotype 9004 “Site type and Industry” and select Create/Edit/Delete.
    For this we follow the below given steps :-
    Step1:     Create  structures as mentioned in the HRI9004 
    Step2:     Using transaction PPCI create field infotype.
    Step3:     In table T777I assign the new infotype to the standard object type Org unit and define the time constraint.
    Can any body help me or send me any document to start from step 2 . i.e Using transaction 'PPCI'   .
    w

    Hi Manoj
       I did try this step . My problem is I had already created an infotype '9004'  then i deleted DD objects and i also did 'Shift + f2'  . Now when i am trying to create 9004 infotype . It says "Infotype 9007 cannot be created
    Please look at the following log"   and log  displays the below Given DD objects
    Infotype 9007                                                                               
    Dictionary                                                                               
    Structure HRI9007 exists                        
               Structure P9007 does not exist                  
           Table HRP9007 does not exist                                                                               
    HRP9007 not created in the database         
                   Database index XXXX not created                                                                               
    Module pool                                                                               
    Module pool MP900700 does not exist             
               Include MP900720 does not exist                 
               Include MP9007BI does not exist                                                                               
    Screens                                                                               
    Screen 1000 does not exist                      
               Screen 2000 does not exist                      
               Screen 3000 does not exist                                                                               
    User interface                                                                               
    User interface for MP900700 does not exist        
        Table entries                                                                               
    T778T: no table entries exist                     
             T777T: no table entries exist                     
             T777D: no table entries exist                     
             T77ID: no table entries exist                     
             T777I: no table entries exist                     
             T777Z: no table entries exist                     
             T77OA: no table entries exist                     
             T777M: no table entries exist                     
             T778U: no table entries exist                     
             T777U: no table entries exist                     
             T77NI: no table entries exist                                                                               
    SOBJ entries                                                                               
    OBJECT PDST: no table entries exist               
             OBJECT PDWS: no table entries exist                                                                               
    Dialog module                                                                               
    Dialog module RH_INFOTYP_9007 does not exist   
        TADIR entries                                                                               
    R3TR TABL HRI9007 does not exist               
             R3TR TABL P9007 does not exist                 
             R3TR TABL HRP9007 does not exist               
             R3TR PROG MP900700 does not exist              
             R3TR PROG MP900720 does not exist              
             R3TR PROG MP9007BI does not exist              
             R3TR DIAL RH_INFOTYP_9007 does not exist                                                                               
    Could you give me some solution or else try the same steps . Create infotype - Delete infotype and DD objects - Then try creating the same.

  • How to create Customer data TAB in PO -ME23N

    Can anyone tell me how to add 'Customer data' TAB in the PO heade TABSTRIP. I have to add it in the header besides 'Status' TAB.
    I know an enhancement 'MM06E005' which is used for this purpose.
    Thanks
    SMS

    Hi
    see this sample doc and do it accordingly
    by creating a project in CMOD and assigning the Enhancment MM06E005  and writing the code in the respective screen
    How to implement screen exit for a SAP standard transaction
    Introduction
    SAP provides standard transactions to enter data into database. But a client may want to maintain some additional information in SAP other than what is provided.
    To make provisions for this, additional screens have to be provided and additional fields must be added into appropriate database table.
    To pave way for this, SAP has provided the option for screen exits. Usually, SAP provides the following:
    An append structure in the database table with the new fields.
    A subscreen area into the standard screen – where the programmer can attach his subscreen of his own program with the new fields.
    A function group under which the new subscreen has to be created with the new fields.
    Function exits to synchronize the PBO and PAI of the standard SAP program with the PBO and PAI of the subscreen – so that data can flow back and forth between the standard SAP program and the program written by the developer for the subscreen. These function modules also exist in the same function group under which the subscreen will have to be developed.
    Finally, a linkage has to be done between the subscreen area of standard SAP screen with the custom subscreen constructed by the developer.
    Typically, SAP provides an enhancement in which the developer can create an append structure, use the function exits to synchronize the PBO and PAI of the standard SAP program and the custom subscreen program, and make the necessary linking( as mentioned above in step 4. But, again, this is not a hard and fast rule. Linking in some case, is also done by configurations.) SAP also usually provides the name of the function group under which the subscreen has to be developed.
    Necessary guidance about implementing a screen exit development is usually available in the Documentation section of the enhancement ( can be availed by transaction SMOD).
    Pre-Requisites
    The developer to work on screen exit should have essential knowledge on the following:
    DDIC concepts, including the knowledge of append structure.
    Concept of SAP Enhancements and implementing them using Projects.
    Concept of function exits.
    Knowledge on Module Pool – including subscreens, Tabstrip controls etc.
    Steps
    Guidelines
    So, a developer can follow the guidelines mentioned below to implement a screen exit to a standard SAP transaction, as and when required:
    Find out the Required Enhancements
    Go to SMOD. Press F4 in the Enhancement field. In the next popup window, click pushbutton ‘SAP Applications’. A list will appear that contains information on all the enhancements, categorized under functional areas. Developer must search for the enhancements relevant to his functional area of interest – for e.g., Purchasing, Asset Accounting, etc.
    Note down the enhancements. Then, come to the initial screen of SMOD and view the documentation of each enhancement to find out which one is required for your development.
    Utilize the Enhancement in a Project
    After you have found one, do as directed in the documentation. Generally, the steps are as follows:
    Create a project using CMOD including your enhancement.
    Create the append structure with new fields.
    Go to the desired function group and create a subscreen with the new fields. Write PBO and PAI for the subscreen, if required.
    Use the function exits in the enhancement to link the PBO and PAI of the subscreen with that of the main SAP program supporting the SAP transaction.
    Maintain necessary linkage between the subscreen area of standard SAP program with the custom subscreen developed along with the custom program name. This can be done in the project (developed by CMOD including the enhancement) or outside as a part of configuration.
    Activate the project.
    Test to ensure that required functionality are met.
    Case Study 1
    Add three new custom fields for Asset master and maintain information for them
    Requirement
    Three fields in the legacy system have to be maintained in Asset master. These fields are:
    Original Asset number – 20 characters
    Location 2 – 15 Characters.
    Model no – 20 characters
    Location 2 should start with ‘L’.
    Pre-Analysis
    Finding out the Enhancement
    As described above, the enhancement is determined. It was found, that enhancement AIST0002 will serve the purpose. It contains the following components (can be viewed by transaction SMOD):
    Exit Type Description EXIT_SAPL1022_001 Function Exit Check of User-Defined Fields when Using Create and Change BAPI EXIT_SAPLAIST_002 Function Exit Transfer Data for User Subscreens in PBO. EXIT_SAPLAIST_003 Function Exit Transfer of User-Defined Fields to SAP Master Data Transactions CI_ANLU Customizing Include Include structure to add new fields
    Studying the Function Exits
    The function module level documentation for the function exits are then viewed from transaction SE37. The documentation clearly laid out for the purpose for their use:
    EXIT_SAPLAIST_002
    Function module Level Documentation
    This function module is called by asset master data maintenance at the start of the dialog. (When changing, it is called after reading of the data from the database; when creating it is called after the transfer of the default values from the asset class and reference asset.) The purpose of the function module is to enable this function group to recognize the master data. For interpreting or controlling master data fields that are important for user fields, it is possible to transfer to global variables at this point, so that they can be recognized when the user subscreens are processed.
    Import Parameters
    Understanding
    This function module is called at the PBO to pass the information retrieved from the database to pass them to the custom subscreen and its underlying program. Import parameter : I_ANLU will be populated with the values for user-defined fields which will be passed to the subscreen program. So, there must be some sort of variable assignment from I_ANLU.
    EXIT_SAPLAIST_003
    Function module Documentation: This function module is called by SAP asset master data maintenance after the screens are processed, but before saving. The purpose of the function module is to transfer fields entered on user sub-screens of SAP asset data maintenance to the database for updating. The export parameter for this function module is:
    Understanding
    This function module will be used to transfer the user entered data in the subscreen fields to the main SAP program, which will then be saved into the database.
    Studying the Documentation of the Enhancement
    The enhancement documentation (as is viewed from the initial screen of SMOD] also supports the idea. Moreover, it informs that we need to develop a subscreen under function group XAIS. This is the function group under which the two function exit modules also exist. So, if the custom subscreen refers to the global data of the function group XAIS, then those values will also be available to these function exits as well.
    Going to SE80 and viewing the function group XAIS helps us to inform that there are three DDIC tables declared for it:
    Deciding the Final course of Action
    After making all the investigations, the final course of action was determined.
    SrlNo Step Justification
    A project has to be created using transaction CMOD where the enhancement AIST0002 will be included.
    Customizing include CI_ANLU has to be created with the custom fields demanded When CI_ANLU will be developed, the custom fields will get appended to the database table ANLU. Also, these fields will be used to create screen fields in the new subscreen.
    A custom subscreen, say, 9000 will be developed under function group XAIS. The screen group for the screen will be ‘CUST’ (or any name). The three custom fields added to table ANLU (by creating CI_ANLU) will be used to create new fields in the screen.
    In the PAI of the subscreen, validation for Location to start with ‘L’ will be added. The subscreen with three new fields has to be developed so that it can be attached to a subscreen area of the asset master screens.
    In the custom include of the function exit module ‘EXIT_SAPLAIST_002’, the following code will be written:-
    ANLU = I_ANLU. I_ANLU is the import parameter of this FM. The value is assigned to the global variable ANLU, referring which the three new subscreen fields are developed. So, data retrieved from database table ANLU will be passed to this FM as I_ANLU by the standard SAP main program. The value will be taken and passed to the global variable of the function group XAIS, so that the three custom fields (referring to ANLU of XAIS) get populated.
    In the custom include of the function exit module ‘EXIT_SAPLAIST_003’, the following code will be written:-
    E_ANLU = ANLU. The changed values in the subscreen fields exist in global variable ANLU for the function group XAIS. This function exit module will pass the data back to the SAP main program as E_ANLU.
    Proper linkage/configuration has to be done so that the new subscreens get linked to the appropriate subscreen area of the Asset master screen. This has to be done – otherwise, the new custom subscreen will not be displayed in the Asset master screens.
    Development
    Creating a Project to include the enhancement
    Go to transaction CMOD and create a project.
    Enter a description for the project. Then, click on the pushbutton ‘Enhancement Assignments’ in the Application Toolbar.
    Enter the name of the enhancement and Save.
    Go to ‘Components’.
    Creating Custom Include for ANLU
    The screen shown below will appear, showing all the enhancement components under the assignment AIST0002. Double-click on the name of the Include Structure to create it.
    Create the include structure with three new fields, as required. Then, save and activate it.
    Develop the subscreen and the program
    Go to transaction SE80. For the function group XAIS, create a new subscreen 9000.
    Create it as subscreen.
    Then, go to the Layout of the screen and create three new fields from Database table ANLU.
    Drag the fields in the screen body and place them.
    Then, save and activate the screen and come back to screen flow editor.
    Create the PAI module to add validation for field “Location 2”, as required .
    Activate the whole function group and come out.
    Write code in the Function Exits to synchronize the programs
    Now, code has to be written in the function modules EXIT_SAPLAIST_002 and EXIT_SAPLAIST_003 so that data flows to and fro between the main SAP program and custom subscreen program. For that, go back to transaction CMOD and change the function exits.
    Write code in the function module EXIT_SAPLAIST_002 called once at the beginning of the transaction:
    Write code in EXIT_SAPLAIST_003 to pass the data from the subscreen to SAP main program.
    Then, activate everything – the whole project and come out.
    Complete the configuration to link the subscreen
    The development portion is complete. Now, linking of the subscreen has to be done with the subscreen area of the main program. In most of the cases, this linking can be done in the enhancement itself. But, here, requirement is a bit different. It is done by configuration using SPRO.
    Assets are created under Asset class. And for each asset class, there is a layout assigned to it. For a layout, there are multiple tab pages assigned to it. And, for each tab page, there are multiple screen groups/field groups assigned.
    Here, the requirement is to create these three custom fields in the tab page ‘General’ of asset master screen ( AS01/AS02/AS03/AS91).
    Determine the Layout
    To achieve this, first of all, we need to find out which layout is assigned to asset class 1000.For that, go to transaction AOLK( information has to be obtained from functional consultant).Select the Asset Class ‘1000’ and click on folder ‘General Assignment of Layout’.
    Here, for Asset class 1000, for all the user groups, tab layout SAP is assigned. Since layout ‘SAP’ cannot be changed, it has to be copied and manipulated to include our screen group. Later, the new layout has to be assigned over here.
    Create new tab layout
    Go to transaction AOLA. Copy the tab layout ‘SAP’ to create another layout, say, YSUB.
    System will copy all the settings and will inform you about that.
    Select your newly created layout and double-click on the folder ‘Tab page titles’.
    You want to put your custom fields in the tab page “General”. So, select this tab page entry and double-click on the folder "Position of Groups".
    Here, all the field groups currently residing in the tab-page “General” are shown. Add an entry for your newly created fields.
    Select the group box from the list. An entry will come with “U” padded with the custom subscreen prepared by you.
    Then, save and come out.
    Assign the new Layout to Asset Class
    Now, go to tcode AOLK and assign tab layout YSUB for asset class 1000.
    Save and come out.
    Test the Exit
    Everything is over. Now, go to transaction code AS01/02/03 or AS91 to deal with an asset of asset class 1000. You will see your new fields added to the screen. Add values to them…save. Then, enter into the tcodes again to see whether the values entered by you are being displayed or not.
    Original Source: ittoolbox.com
    Regards
    Anji

  • To Add Custom Tcode in SAP Menu

    Hi ,
    I want to edit the standard SAP menu in sap easy access screen and  need to add one custom transaction.
    Under the sap menu:
    Logistics --> Sales and Distribution --> Shipping and Transportation > Post Goods Issue> Custom Tcode
    Anyone please let me know,how to get this done.
    Thanks in advance,
    Savitha

    Hi,
    Creating your own SAP Customized Main Menu
    You can add additional menu transaction in the SAP main menu without affecting the original SAP default area menu S000.
    For example, you have created a transaction code called ( z123 - ABC Own Report ) and you want to insert it under Logistics.  The specific user will be able to access ABC Own Report by clicking Logistics -> ABC Own Report.
    Steps :-
    Goto Transaction SE43 - Area Menu
    Click the copy button.  Copy from S000 to ZXXX
    After copying, click Change (area menu ZXXX)
    Double click on Logistics and add in your transaction code in the AreaMenu.
    Remembers to Activate it.
    Next Goto Transaction SU01 - Maintain users
    Type in the user name and click the Defaults button
    Type in the area menu (ZXXX) in the Start Menu field.
    Click Save
    The user will be able to see the additional transaction on the next logon.
    Regards,
    Nagaraj

Maybe you are looking for

  • BAPI_ACC_DOCUMENT_POST for debtor with withholding tax

    Hello, I'm using the BAPI_ACC_DOCUMENT_POST to generate debtor invoices applying withholding tax. In order to obtain the withholding tax information, I'm using structure ACCOUNTWT, but when the document FI is generated, it has not line item for withh

  • Reload a jar in weblogic server without restart

    Hi All, We are using weblogic version '10.0.1.0' and have 'reports.jar' file in server for reports. If we change any existing class file under 'reports.jar' then we are using below steps in order to recognize a modified jar by weblogic 1) We need to

  • Need help to write query

    Hi I have following table structure Name Type HOSTNAME VARCHAR2(30) COL1 VARCHAR2(30) COL2 VARCHAR2(30) data inthe table is like this HOSTNAME COL1          COL2 H1               Authorized          Allowed H1               Authorized          Allowe

  • EBS Columns/Tables for DWH Columns/tables.

    Hi Friends, We are working on OBIA HR- Analytics. I want to trace out EBS Columns/Tables to some of our DWH columns. Pl find the below examples in my little investigation. Headcount (DWH Column) : DWH Table: W_WRKFC_BAL_A EMPLOYEE_NUMBER ( EBS column

  • IPages will not open

    When I click on the iPages icon - it bounces (and bounces and bounces) and the wheel turns (and turns and turns) but the message in Force Quit is always that iPages is not responding.  This holds true if I click on iPages on my icon bar or if I use L