2007 Jan 24 11:51 AM
Hi.
We want to extend table ANLV, i.e. we need few additional fields in asset master data (e.g. insurance end date).
I do this way: 1.create new Structure; 2.define new fields within this structure; 3.activate this structure. 4.In display of table ANLV, I can see my new structure and new fields, so I activate it.
But it is still not visible in end-user screen in Asset Master Data tabs! (in the screen layout maintenance, all field groups are chosen as Optional)
What I have to do, to make my new fields visible? And how to create new field groups for Asset Master Data screen layouts?
2007 Jan 25 11:55 PM
Try reading documentation for enhancement AIST0002. I think it might help you to add the custom fields into the sub-screen.
regards
Shantharam
Hi.
We want to extend table ANLV, i.e. we need few additional fields in asset master data (e.g. insurance end date).
I do this way: 1.create new Structure; 2.define new fields within this structure; 3.activate this structure. 4.In display of table ANLV, I can see my new structure and new fields, so I activate it.
But it is still not visible in end-user screen in Asset Master Data tabs! (in the screen layout maintenance, all field groups are chosen as Optional)
What I have to do, to make my new fields visible? And how to create new field groups for Asset Master Data screen layouts?
2007 Jan 25 11:32 PM
Seems you just added to custom fields to underlying database table ÁNLV'. But to able to see the same fields in Asset master Data, you should find the suitable screen exit . Screen exit usually have the sub scree and two fm's to insert your code. Create screen and add required fields. In the PBO Function module, pass the data from database to screen fields and PAI event do the reverse mappping to get data stored in database field.
-Anil
2007 Jan 25 11:55 PM
Try reading documentation for enhancement AIST0002. I think it might help you to add the custom fields into the sub-screen.
regards
Shantharam
2007 Jan 26 12:02 PM
Dear Shantharam and Kumar,
Please help me, because Im new in ABAP and in SAP at all
I read AIST0002 documentation, and Customer Exits documentation in help, but it is still unclear form me how it should work:
1) In ANLU table I created bran new Structure and my desired component (field);
2) Activated this bran new structure;
2) than I created new project;
3) than in Enhancement Assignments I assigned SAP Enhancement package AIST0002.
4) activated my new project;
In my project objects now I see activated Exits, but I can not find function how to go to Screen Painter.
So what next steps should be? How to define my desired subscreen?
2007 Jan 26 12:29 PM
when checked in SMOD for AIST0002, there are no Screens assigned...goto SM30 and after specfying the enhancement check components radio button and display...In screen areas u need to have a calling screen. if there is a calling screen then u can add fields to this calling screen.
2007 Jan 29 12:36 PM
So, should I create my new Screen or new Subscreen, and assigning it to program SAPLAIST? Or just extend/modify same Subscreen 0401 or Screen 1401 by adding my desired field?
And after that, assign this screen to function module exits in Enhancement AIST0002 in tc SMOD?
2007 Jan 31 10:18 AM
Finally I extended my asset master data screen. I thought that it may be helpful for someone who will search for such problem in this forum threads. So here is step-by-step what I did:
1) In ABAP Dictionary (tc SE11) select table ANLU in Display mode;
2) In ANLU table create new Structure (menu Goto->AppendStructure)
3) create desired component (field) and define data type, length and description;
4) Activate this new structure;
5) than create new project (tc CMOD);
6) than push button 'Enhancement Assignments' and assign SAP Enhancement package AIST0002.
7) activate new project;
😎 than go to Object Navigator (tc SE80);
9) In drop down menu on the left window choose Programs;
10) in the field below enter XAIS push enter;
11) in appeared tree from context menu choose create 'Screens';
12) push the button 'Layout';
13) in appeared Screen Painter window draw your desired text field and input field;
14) in Name field above enter table name "-" (minus sign) and created field in step '3' (in my case it was <i>ANLU-ZINSENDDATE</i>) and in Text field short description of this field for text field, and underscore line "_" for input field;
15) save and activate layout;
16) save and activate screen.
Done
Thanks to Shantharam Ramaswamy, you gave me very helpful reference to documentation of enhancement package AIST0002. (points were awarded!)
Message was edited by:
Marius Pocius
Message was edited by:
Marius Pocius
2011 Jul 13 2:24 PM
Hi Marius,
Have you ever inserted a custom field in General Tab??
But in the middle of standard field..
Example General Tab in AS02:
Description field
Asset main no. text field
(Your custom field is here)
Acct determination field
etc.
Can you give me solution?
Thanks,
Andreyus
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |