Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Adding Custom TAB in AS01

Former Member
0 Likes
2,977

Hi all,

I have a requirement to add new custom TAB 'XYZ' next to 'Deprec. Areas' of t-code AS01 with some custom fields appended in table ANLA using Exit - AIST0002, so can anyone please tell me the step by step procedure for doing the same?

regards.

8 REPLIES 8
Read only

Former Member
0 Likes
2,052

Hi,

Read exit AIST0002 documentation in smod it has step by step procedure for implementing screen exits.

Regards

Ahsan.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
2,052

- First step is : read Customizing documentation via SPRO (Financial Accounting, Asset Accounting, Master Data, User Fields, Develop Enhancement for User Fields in Asset Master Record)

- Second step is : read AIST0002 Enhancement documentation via SMOD

- In case of problem : [read those threads|http://forums.sdn.sap.com/search.jspa?threadID=&q=AIST0002&objID=c42&dateRange=all&numResults=30&rankBy=10001] (start with thread )

Regards,

Raymond

Read only

0 Likes
2,052

Hi all,

Thanx for reply, now problem is that i am not getting the data in ANLA table, actually i made the TAB successfully with Z fields but now problem is that when i m going to create asset in AS01 then that TAB data is not getting populated in ANLA table, so can anyone please tell me how will i update ANLA table?

Actually i am using exit AIST0002 and Fm EXIT_SAPLAIST_002 but i seen in debugger that debugger is going in this exit before click on that TAB, can anyone please help me?

Regards.

Read only

0 Likes
2,052

Data will be stored in database table ANLU, not ANLA. Add the customer fields to CI_ANLU.

Regards,

Raymond

Read only

0 Likes
2,052

hiii Raymond,

Thanx for reply, but problem is that data is neither getting saved in ANLU nor in ANLA, so can anyone please tell me what shud i do to save data in ANLA and ANLU?

regards.

Read only

0 Likes
2,052

Kindly double check, there must be something missing.

put your update code EXIT_SAPLAIST_003 in this exit.

as Raymond said add your fields in CI_ANLU.

this statement will do the trick in EXIT_SAPLAIST_003.

E_ANLU = ANLU.

Regards

Ahsan

Read only

0 Likes
2,052

Hi Ahsan,

i have done the same....but still i am not getting the data in both table...can u please tell me that should i write any other codes for that?

regards.

Read only

0 Likes
2,052

Workbench

- Add you ZZ-fields to CI_ANLU

- When writing the code in includes of EXIT_SAPLAIST_002 and EXIT_SAPLAIST_003, first copy the samples provided by SAP

-- EXIT_SAPLAIST_002 : copy LXAISF03 in ZXAISU03

-- EXIT_SAPLAIST_003 : copy LXAISF04 in ZXAISU04

- In the 900x dynpro of SAPLXAIS, use ddic ref for fields with name like ANLU-ZZxxxx.

- Also be sure to activate the project with CMOD that contains AIST0002 enhancement.

Customizing

SPRO : Financial Accounting, Asset Accounting, Master Data - Screen Layout and User Fields

Regards,

Raymond