Skip to Content

AIST0002 duplicate records

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!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Oct 11, 2016 at 11:42 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 23, 2017 at 04:56 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 24, 2017 at 06:51 AM

    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?

    Add comment
    10|10000 characters needed characters exceeded