Creating Custom Structure!!!

Hi All,
I'm trying to create Custom Structure by following steps below. But I'm getting few errors which I've posted below.  Please help me in resolving this problem.
From SAP R/3
1)     /nse11 – Create / Maintain View
2)     Select Tables list
3)     Select Fields List
4)     Select Join Clause
5)     /nrso2 – Create / Maintain Data Source
From SAP BW
1)     /nrsa1 – Administrator Workbench
2)     Select Source Systems – R11client 800
3)     Select appropriate modules (e.g. BW DataSources ->SAP Application Components-> Sales and Distribution for SD)
4)     Right click and select Replicate DataSources
Error message or few windows confusion:
Transport Package How do we create a transport package?
/nse11 – Create View -  What does this value mean?
What is the significance of Z001 package??
Prompt for local workbench request.  What is the significance of this screen?
What is the meaning of base table??
What is the meaning of Generic Delta – screen from tcode: /nrs02 – Maintain Generic Data Source

Hi Singh
1. In RSO2, custom datasource is created. For doing so, you need to specify the table or view on which your datassouce would depend. If its Function module based datasource, then you would need to create a structure and mention it there,
2. In SE11, a view or a structure can be created, as per the need. A view is a combination of tables as you might want multiple fields acros base tables in your datasource.
3. For example, if you are creating a asset master datasource, you might create views on ANLA and ANLZ which are base tables.
4. A package is a collection object which collects all devlopment objects. You would need this to transports requests into target systems. Right now you would be in development phase. When you want all your objects in Test and Production systes, you would need to transport these requests which ultimately get assigned to one package.
To create a package, go to se80 and create one.
YOu seem to be totally new to SAP and BW. All d best!
And remember, assigning points is a way of saying thanks on SDN!!
Regards
Prakash

Similar Messages

  • How to create custom structure in smart forms & use them in interface

    hi experts....
    can anyone tell me how to use  custom structure in
    form interface (parameters) without creating any structure
    in the dictionary.

    Hi Shrama,
    If you want to use the structure in interface. You have to create structure in dictionary.
    if you create in form or in report ..they won't recongnize the local structures.
    Thanks,
    Sunil

  • Why do u need a custom structure for creating a custom bapi

    Hi ,
    why do u need a custom structure for creating a custom bapi.

    Hi,
        Once any Bapi realeased the structures it is using freezed to this bapi, the structure becomes specific to this Bapi, we can not make any changes over there. That is why we need custom structure for creating a custom bapi.

  • How to create custom infotype for training and event management

    hai freinds can any one tell me how to create custom infotype for training and event managment with following fields
    PS No – PA0000-> PERNR
    Name   - PA0001 -> ENAME
    IS PS.No. – PA0001-> PS no. of Immediate Superior
    IS name PA0001 -> ENAME
    thanx in advance
    afzal

    Hi,
    Your question is not clear for me. Since it is a TEM infotype, it could be a PD infotype.
    If you wish to create a PD infotype, use transaction PPCI to create the infotype.
    But before that you need to create a structure HRInnnn (where nnnn is the infotype number) with all the fields relevant for the infotype.
    If you wish to create a PA infotype, use transaction PM01 to create the infotype.
    But before that you may be required to create a strcuture PSnnnn  (where nnnn is the infotype number) with all the fields relevant for the infotype.
    Regards,
    Srini

  • Error while creating customer

    While creating customer from AR responsibility, I am getting an error while clicking "details" tab for "Ship to"
    error I am getting are
    1. The data that defines the flexfield on this field may be inconsistent. Inform your system administrator that the function: KeyFlexfieldDefinitionFactory.getStructureNumber could not find the structure definition for the flexfield specified by Application = SQLGL, Code = GL# and Structure number =
    2. Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-20001: Operating unit -1 does not exist in the target database. ORA-06512: at "APPS.APP_EXCEPTION", line 72 ORA-06512: at "APPS.GL_GLOBAL", line 65 ORA-06512: at line 1 ;
    any idea why is it coming, I checked Operating unit profile option i.e MO: Op Unit and MO: Sec. , all are fine.

    The error is occuring because Oracle is trying to validate/set a DFF.
    Check the DFF attached to the customer entity, address entity or site use entity.
    Especially look at the value sets attached to the DFF.
    Look at the value set definition and the default value for the field.
    Hope this helps,
    Sandeep Gandhi

  • How I create a structure in the ABAP DICTIONARY?

    I need a structure for a FORM, how can I create a structure in the ABAP DICTIONARY?
    Thanks!!

    Hi Carlos,
    Go to SE11(ABAP Dictionary).
    Select the Data Type radio button.
    Specify the name for your structure.
    Note structure in customer namespace should start with Z or Y.
    Press the create button.
    Then in the next dialog box select the structure radio button.
    Then you will get in to the structure screen.
    Give a meaningful description for your structure.
    Add the relevant fields and finally activate.
    Regards,
    Abdul

  • How to create custom template for webcenter portal application

    Hi,
    I created webcenter portal application in my jdev using the webcenter portal application template provided by the webcenter framework.
    I tried to create custom template for my application by following steps:
    1. Created new application using webcenter portal application template with all default package structure.
    2. Right click pagetemplates folder under webcontent package and select new option.
    3. New gallery opens up.
    4. Selected JSF under webtier and JSF Page Template under items in the right hand side and clicked Ok button.
    5. New wizard opens up for creating new JSF page template.
    6. Gave template name(file name) and Page Template Name(template def name).
    7. Selected checkbox staing start a Quick Start Layout and selected three column layout and selected Ok.
    8. Selected checkbox for Create Associated ADFm Page Defination(so that page templates can be changes at run time).
    9. Created some Facet Definations (header, footer, content1, content2, LHN, RHN).
    10. Clicked Ok button which will create custom template.
    11. Added some Panel Group Layout component from Component Palette.
    12. Created new page (.jspx) with this template.
    Now when I try to add producer portlets created using Producer Portlet application template and connected to the above application using WSRP2.0, I'm facing problem.
    The prolem is that I'm not able to add more than one portlet in one single page?
    Kindly let me know whether the steps followed by me is wrong some where and needs to corrected and let me know how I can add more than one portlet to page?
    Basically I cant see more than one placeholders in my page to add portlets.

    Thanks Yannick.
    In the step 9 I had mentioned that I created various facet definations (header, footer, content, content1 RHN and LHN).
    Is this is not facet you are talking about or should I drop facet ref from the resource palette?
    Can't I add moer than one portlet to my page at design time itself?
    Annoying since in weblogic portal we do this at design time(.portal).

  • Unable to create Customer master in ECC 6

    Hii Gurus
    I am unable to create customer master in ECC 6 version as system says that sales area defined even though it is defined. if i am going to XD01 when i click on All sales area Button it is showing only sales organisaiton and rest distribution channel and division is not appearing. is there any activation required for distribution channels or at divisions so that i can appear in avalible sales area.
    i have tried to enter it manually but it is not accepting. when i check at enterprise structure it is defined and assinged
    can any body help me oout?
    thanks in advance
    sur

    Hello,
    This is an issue by non-assigning on common distribution channel and common division.
    Go to SPRO --> Sales & Distribution --> Masterdata --> Define Common Distribution channel (Txn : VOR1).
    Give you distribution channel to the fields Reference distribution channle for conditions and Reference DC for customer and material masters
    Go to SPRO --> Sales & Distribution --> Masterdata --> Define Common Division (Txn : VOR2)
    Maintian Common division 00 agaist your sales org as well as the fields Reference Division for conditions and Reference Division for customer and material masters
    Prase

  • RE: Need to create custom fileds in sourcing in SRM

    Hi All,
    I am working on SRM 4.0. I had a requirement where in Sourcing I need to add a custom field in the standard SRM shopping cart. The best approach is BADI as far as my know ledge is concerned.
    Can anybody help me out the procedure, which BADI to use or any other suggestion so that my issue will get resolved.
    Await your response.
    vishal

    Hi Vishal,
    To bring customer fields to the sourcing cockpit , you need to add those custom fields to shopping cart first and these fields will automatically show up in the sourcing cockpit.
    To add fields in the shopping cart you need to follow the steps given in the following blog:
    How to create custom fields in SRM
    To find out in which structures the field is to be included you can go through the following notes:
    Note 672960 - User-defined fields 2
    Note 458591 - User-defined fields: Preparation and use
    And after adding the fields in shopping cart you need to regenarate the sourcing screens so that the custom fields are dispalyed in the sourcing cockpit. For doing that the below given note:
    Note 632982 - Generation of the screens for the sourcing.
    Thanks,
    Pradeep

  • . bapi to create customer

    Hi All,
    I am having problem finding a right bapi for create a customer.
    I am using "bapi_customer_createfromdata1" to create a customer. Problem is i couldn't find a structure to pass sales org. data as well as partner functions.
    Please help me. Feel free to ask me questions.
    Thanks,
    Diwakar.

    Hi,
    The way is using multiple BAPI's.
    bapi "bapi_customer_createfromdata1" is used to create customer with reference customer number and then send the information to bapi "sd_customer_maintain_all" for changing the the values.
    Still having problem passing parameters.
    When i am sending partner information(knvp) to "sd_customer_maintain_all", it is giving abap dump assertion_failed.
    I tried to debug the program but i couldn't find the error.
    values i passed to bapi sd_customer_maintain_all
    internal table of type <b>fknvp</b>.
    MANDT sy-mandt
    KUNNR st_knvp-kunnr
    VKORG st_knvp-vkorg
    VTWEG st_knvp-vtweg
    SPART st_knvp-spart
    PARVW st_knvp-parvw
    PARZA
    KUNN2 st_knvp-sp_kunnr
    LIFNR
    PERNR
    PARNR
    KNREF
    DEFPA
    Appended line by line to the table.
    Reward points if found helpful....
    Cheers,
    Venkoji Babu.

  • How we create custom infotype and how to configure with its subtypes.

    hai abap-hr gurus,
    how to create custom infotype and how to configure with its subtypes. when i am creating infotypes i am not getting how to configure subtypes.
    plz help me for this with an example code.
    thanks..
    kiran kumar

    Hi Kiran,
        Please fallow the below steps to create the custom infotype. If you have any quires let me know.
    For Creation of Infotype first Go to Transaction PM01, Enter the custom Infotype number which you want to create, it should be a 4 digit number and have to start with 9xxx.
    then select the `Employee Infotype' radio button
    after that select the `PS Structure Infotype'
    then click on Create… A separate table maintenance window appears
    then Create a PS structure with all the fields you want on the infotype
    Save and Activate the PS structure
    now Go back to the initial screen of PM01
    Click on `All' push button. It takes a few moments
    Click on `Technical Characteristics’. Infotype list screen appears
    Click on `Change'(pencil) button
    Now select your Infotype and click on `Detail' (magnifying glass) button
    Give `T591A' as subtype table & also Give `T591S' as subtype txt tab
    Give your subtype field as subtype field & Save and come back to PM01 initial screen
    Click on `Infotype Characteristics' … Infotype list screen appears
    Click on `Change' (pencil) button & on New Entries
    and then Enter your Infotype number and short text Here we have to set different Infotype Characteristics as per the requirement. (Better open another session with some standard Infotype's infotype characteristics screen and use as the reference
    to fill yours). Now save ur entries
    Now the Infotype is created and ready to use.
    If you want to change the layout of the Infotype as per your
    requirement…
    In the PM01 initial screen…Select `Screen' radio button and give
    2000 as the screen name, then click on edit.
    In the next screen.. Select `Layout Editor' and click `Change'.
    Screen default layout appears…here you can design/modify the
    screen..change the attributes of the fields..etc.
    Save and activate. (Don't forget to `Activate at every level)
    Regards,
    Ramakrishna kotha.

  • Creating Org Structure in OM

    Hi Gurus,
       I am new to SAP HR, and hence pardon me if my question seems very basic. I tried searching for a solution on the forum but couldnt get a decent hit. The question is we have a organization structure as follows:
    Unit
    Function
    Department
    and in some cases teams within departments
    Positions.
    We implement this schema by means of Organizational Unit and Positions. but we are not able to replicate the exact structure in SAP as the levels cannot be defined for Organzational Units. We need this information for reporting purpose when we need to find where exactly a prticular position or employee is in the Org Structure.
    Also there is no way of identifying the managerial poisition of employees in the company. What we get based on reporting structure  is only the employee and his immediate supervisor. We have following Hierarchy in our organization:
    CEO
    Senior Vice President
    Vice President
    Department Manager
    Team Leader
    Employee
    How can we maintain this information in OM? We are struggling with our reporting and help will be highly appreciated.
    Best Regards,
    Imran

    Greetings,,
    from what i understood from what you have wrote here is couple of hint that might help you.
    use PPOCE to create a new root organization i.e. the main organization in the company, if you already did use PPOME to create sub orgs, positions and jobs.
    if you maintain this, you can maintain OM relationships in PO10 "for organization units" PO13 "for positions" and PO03 "for jobs"
    In general, to get the reporting structure "and show whom report to who" you need to maintain couple of relations in OM infotype 1001 "Relationships"
    here is a list of couple of usefull relationship that you need to maintain:
    B|012 is managed by "position"
    B|002 is reports line to "org unit"
    scroll the standard relationships that you might benefit from it.
    Edit: Regarding reporting tools, if the standard reports of SAP didn't satisfy your needs, you always can take help of ABAP'ers to get a custom reporting tools.
    also, you can create custom OM infotypes where you can create what you need from OM structure and tailor it based on your needs.
    Edited by: Fahad Al-Angari on Apr 20, 2011 11:50 AM

  • Custom structure grouping in crystal report 2008

    I have a Product Line revenue report, where it is reporting revenue and cost for various oilfield divisions such as oilfield us, oilfield egypt, oilfield oman etc.... and total at the end.
    say if iam developing a custom structure for each division in a BEx query and the results of the queries have to be shown in one report.
    now the custom structure is coming down as a flat structure in crystal report 2008, so I added conditional formatting in X-position to indent, that shows as a hierarchy.
    I will do the same for all the divisions in the report.
    Can I make this each division as groups so I can add the drill-down to see a particular division by selecting that group, instead of scrolling thru pages. Please help!!
    Any suggestion with all that Iam doing to generate the P&L report is greatly appreciated.
    Thanks.

    Hi Ingo,
    This is not hierarchy actually. It is actually BEx structure created in row section which replicating hierarchy levels. In BEx web application it provides the hierarchy look.
    But while using it in either WebI, crystal report or Voyager it gives us a flat column instead of hierachy. I have understood this.
    Using this flat column I am trying to create groups to replicate the hierachy structure. Please let me know if you want more explanation.
    Thanks
    Raghu

  • Bapi Bdc Combination to create customer

    Dear all,
    I want to create a customer master from external system. What are the standard bapis are there  they re not suitable for my requirement. I approach it in the following way. I did a bdc for xd01 and trying to call it from a rfc fm which i prepared.  But the data that i passes from this fm is not reaching my bdc program. If any body have a good idea on this please share your idea with me .
    1) I created an import parameter in this i created a structure.
    2) the same structure i declare with the same name in bdc report(se38).
    The code in the fm is in this way
    DATA:
        t_cust TYPE zcust_table .(this is the structure name  in my fm import tab)
    EXPORT t_cust TO MEMORY ID 'TABLE'.
    SUBMIT ZBDC_CUSTOMER AND RETURN.
    3) 
    DATA :BEGIN OF zcust OCCURS 100 .
          INCLUDE STRUCTURE zcust_table.
    DATA:END OF ZCUST.
    START-OF-SELECTION.
    IMPORT t_cust  FROM MEMORY ID 'TABLE'.(Thi is my decalration in se38 bdc program.)
    when i executed my fm  the value that given in fm is not reaching my table which i declared in bdc program.
    Regards,
    Madhu.

    Hi,
    Populate all the customer details address details and personal details in KNA1 structure.
    Populate Company code details in KNB1 structure.
    Populate Sales area details in KNVV structure.
    Populate dunning data in KNB5 table.
    Populate Tax data in KNVI table
    In all the structures other than customer number we have to fill all the primary key fields.
    Call the SD_CUSTOMER_MAINTAIN_ALL function module to create customer as below.
    Create Customer in SAP
            CALL FUNCTION 'SD_CUSTOMER_MAINTAIN_ALL'
              EXPORTING
                i_kna1                  = fs_kna1
                i_knb1                  = fs_knb1
                i_knvv                  = fs_knvv
                i_bapiaddr1             = fs_add1
                i_bapiaddr2             = fs_add2
                pi_postflag             = c_true
              IMPORTING
                e_kunnr                 = w_kunnr
              TABLES
                t_xknb5                 = t_knb5
                t_xknvi                 = t_knvi
              EXCEPTIONS
                client_error            = 1
                kna1_incomplete         = 2
                knb1_incomplete         = 3
                knb5_incomplete         = 4
                knvv_incomplete         = 5
                kunnr_not_unique        = 6
                sales_area_not_unique   = 7
                sales_area_not_valid    = 8
                insert_update_conflict  = 9
                number_assignment_error = 10
                number_not_in_range     = 11
                number_range_not_extern = 12
                number_range_not_intern = 13
                account_group_not_valid = 14
                parnr_invalid           = 15
                bank_address_invalid    = 16
                tax_data_not_valid      = 17
                no_authority            = 18
                company_code_not_unique = 19
                dunning_data_not_valid  = 20
                knb1_reference_invalid  = 21
                cam_error               = 22
                OTHERS                  = 23.
    Check sysubrc to know the error .
    Please let me know if you need any further details.
    Regards
    Madhu

  • 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

Maybe you are looking for

  • Regarding hovering reports

    Hi I want to implement hovering reports i.e when i hover mouse over the report label it should display the report and it should be closed as soon as mouse is moved away from the label.(just as hovering help, but here for report region).Can any one pl

  • Error handling in Portal standard forms

    I have a customer who needs to validate input on a Form Based on a Table (standard component). They have tried code, as shown below, as a PLSQL handler on a Save button. This example can obviously be solved with JavaScript validation on the client, b

  • Safari on my account does not display images when you open a picture.

    I have Snow Leopard 10.6.8 installed. Safari on my account does not display images most of the time when you open a picture like (www.example.com/example/example.jpg or any other format). If the image does not display, I can drag from the corner, it

  • Sybase support

    Guys Is there any information on being able to use SQL developer for connecting to Sybase SQL server. Not for migration but in a manner similar to connecting to MS SQL. Thanks

  • Lost License when Disk Crashed.  How to Restore?

    I replaced the disk on my macbook pro with an SSD after the disk failed. I restored disk from Time Machine.  I recovered my Microsoft Office License and Mathematica.  Adobe was the only problem. I have SS4 suite version 11.0.2