Skip to Content
avatar image
Former Member

HRPAD00INFTY - How to determine what action the user took (AFTER_INPUT)

Greetings, Experts.

I've been asked to modify an existing BAdI for infotype 0167. The existing code is in method AFTER_INPUT.

Some of my logic depends on what the user is doing, i.e., inserting, updating, delimiting or deleting a record. I was testing different scenarios in PA30 to see what the value of IPSPA-ACTIO would be and got some puzzling results.

For example, I used the Edit->Copy feature in PA30 to copy and then delimit an existing record and was expecting an ACTIO of "LIS9" (Delimit) but it was "MOD". Similarly, I used the trashcan to remove an existing record and got a "MOD" operation. Finally, I deleted another record the same way (trashcan icon) and this time it was "LIS1" which I found stupefying since that's not even a valid value according to the DDIC for data element ACTIO.

I can't seem to get a consistent way to determine what the user is doing. What is the best practice?

Thanks.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jun 25, 2010 at 06:34 AM

    Hi Steve,

    You can try with IPSYST-IOPER Parameter Which is Showing the Right Values .

    Regards,

    Kishore.S

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 25, 2010 at 12:56 PM

    This question is technically not answered; however, I realized I titled the post wrong, i.e., I'm not using AFTER_INPUT but IN_UPDATE which is a very important distinction. I am going to repost with a new title.

    Add comment
    10|10000 characters needed characters exceeded