×

Loading...
Ad by
  • 推荐 OXIO 加拿大高速网络,最低月费仅$40. 使用推荐码 RCR37MB 可获得一个月的免费服务
Ad by
  • 推荐 OXIO 加拿大高速网络,最低月费仅$40. 使用推荐码 RCR37MB 可获得一个月的免费服务

ABAP HR question.

I’m doing an ABAP program which needs to delete employee’s qualification data in SAP HR table HRP1001. Instead of deleting table entries from physical table directly (too much risk) , I would like to build a batch input session via BDC and run the session through SM35. We currently maintain employee’s qualification data through PPPM or PA3=>IT0024 (we have integrated qualification between PA and PD), but both transaction codes locate employee’s qualification data by the screen physical position. It’s really hard for a ABAP program to find a data entry by calculating the position (# of lines) showing on the screen. Is there any other Transaction Code that can be used to locate employee’s qualification data directly or any other way to locate data entry from the screen? Thanks.
Report

Replies, comments and Discussions:

  • ABAP HR question.
    I’m doing an ABAP program which needs to delete employee’s qualification data in SAP HR table HRP1001. Instead of deleting table entries from physical table directly (too much risk) , I would like to build a batch input session via BDC and run the session through SM35. We currently maintain employee’s qualification data through PPPM or PA3=>IT0024 (we have integrated qualification between PA and PD), but both transaction codes locate employee’s qualification data by the screen physical position. It’s really hard for a ABAP program to find a data entry by calculating the position (# of lines) showing on the screen. Is there any other Transaction Code that can be used to locate employee’s qualification data directly or any other way to locate data entry from the screen? Thanks.
    • I believe you can use PA30 transaction to directly select the record by entering 0024 into the infotype field of the "Direct selection" selection screen block.
      • Thanks Ed for the input. You are always there when we need help.
        Yes, we normally enter Infotype # into Infotype field to reach Infotype maintenance screen directly. But, for IT0024, when you get there, you will see a whole list of qualification entries that employee has. You have to mouse scroll down to locate the particular qualification item that you want to delete. Looks like I have to pull all data entries into internal table and calculate the # of lines that I want to delete, if the # of lines is over screen line limit (say : 16), I have to use BDC page down to reach the page of deletion line first. Anyway, it’s complicate, but, I have no more good choice.
        • Use BAPI if you can , Try to avoid BDC.
          • Thanks, will study your suggestion.
            • BAPI_QUALIPROF_CHANGE
              • That's really helpful. Thanks again.
              • This BAPI worked with my program. I have replaced BDC by this BAPI. Great!