Skip to Content
0

Add custom fields to fixed asset master

Jun 21, 2017 at 10:19 AM

40

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers