Application Development 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: 

Add custom fields to fixed asset master

former_member443015
Participant
0 Kudos

Dear all,

I have followed the steps from previous questions to add some cust. fields in fixed asset master.

1. Create structure CI_ANLU and add the new fields.

2. Create an include program ZXAISU03 in function module EXIT_SAPLAIST_002 with the below coding.

MOVE I_MODE TO Z_USER_MODE.
ANLU-ZCUSTODIAN = I_ANLU-ZCUSTODIAN.
ANLU-Z_BUILD_CODE1 = I_ANLU-Z_BUILD_CODE1.
ANLU-Z_BUILD_CODE2 = I_ANLU-Z_BUILD_CODE2.
ANLU-Z_BUILD_CODE3 = I_ANLU-Z_BUILD_CODE3.

3. Create an include program ZXAISU04 in function module EXIT_SAPLAIST_003 with the below coding.

E_ANLU-ZCUSTODIAN = ANLU-ZCUSTODIAN.
E_ANLU-Z_BUILD_CODE1 = ANLU-Z_BUILD_CODE1.
E_ANLU-Z_BUILD_CODE2 = ANLU-Z_BUILD_CODE2.
E_ANLU-Z_BUILD_CODE3 = ANLU-Z_BUILD_CODE3.


4. Create a subscreen in function group XAIS

After completed the above steps, the fields appeared in the asset master and saved successfully.

I found that after I provided values to the cust. fields . When I opened the asset again via AS02 and leave the screen without any changes, a message prompted "Should the asset be saved?" Actually, no changed is made to the asset.

I have no idea about that, can you advise me how to solve it?

Many thanks for your help.

Thanks

Sunny

0 REPLIES 0