Skip to Content
0

AIST0002 duplicate records

Oct 10, 2016 at 09:33 PM

72

avatar image

Hi experts.

I implemented that user exit well adding fields to the CI_ANLU and activating the enhancement, but someone had already added the Z fields into the dynpros by modifying the PBO directly and I think that's not ok.

So, I implemented the enhancement but when I try to create an asset via AS01, the system gives me an error that says that cannot duplicate the data.

I suppouse that when this other person modified the PBO directly, somewhere activated something that create the data into ANLU but all Z fields are blank. I mean, when I put in comment all my enhancement, the system create the record into ANLU but with all the fields in blank.

Can you please help me? I'm going crazy!

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

3 Answers

Raymond Giuseppi
Oct 11, 2016 at 11:42 AM
0

Did you check thru version management for any actual change of the standard?

'when I put in comment all my enhancement, the system create the record into ANLU but with all the fields in blank.'

is the normal behavior when nobody changed the standard, your appended fields are just not filled...

Could you post your code of includes ZXAISU03 and ZXAISU04 (should be very very small/short)

Regards,

Raymond

Share
10 |10000 characters needed characters left characters exceeded
Anyelini Quintero Feb 23, 2017 at 04:56 PM
0

Hi.

I just pass the values.

In ZXAISU03 was

anlu = i_anlu.
anla = i_anla.

And in ZXAISU04 was

e_anlu = anlu.

That's all. But the main program is doing first what the other person put in with an enhacement.

Share
10 |10000 characters needed characters left characters exceeded
Raymond Giuseppi
Feb 24, 2017 at 06:51 AM
0

In include ZXAISU03, you should have at least the same code than in sample include LXAISF03 (Else the fields will be input allowed in display mode 'i_mode' should be save in top include, in LXAISTOP look at LXAISTAP.)

Did you try to deactivate the other enhancement in SE20, also the screen modifications (and wild code modificaitons too) can be removed with version management?

Share
10 |10000 characters needed characters left characters exceeded