Skip to Content
author's profile photo Former Member
Former Member

can we add "Pers. Sub Area" in ABKRS feature as "Field of Decision Opera"

Hi Gurus,

I have payroll Area Name "Sales" for Sales Department. I have "Personel sub Area" Sales as well. I want to use this personnel sub area to default payroll Area for sales personnel based on "Personnel Sub area".

However, personnel sub Area is not available in ABKRS feature as "Field of decision operation", when creat new node in feature.

kindly replyl

regards,

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 01, 2010 at 10:12 AM

    Ikhlaq,

    Personnel Sub Area filed is not available in ABKRS feature as "Field of decision operation" for a reason.

    Features are used as decision trees based on certain conditions. Here in this case, you want to default the payroll area based on the Personnel Sub Area of the employee.

    When you run the hiring action the "Personnel Sub Area" field and "Payroll Area" field are in the same screen and Infotype (Org assignment - 0001). Remember infotype 0000 (Actions), which is the first infotype to appear when running an action does not have a field Personnel Sub Area. So, the feature program cannot determine the payroll area

    A workaround , If you are using infotype 1008 (Acct. Assignment Features) for positions then you can write a small program to return the value in the feature based on the field BTRTL in infotype 1008 for the position specified in Infotype 0000(actions).

    What Sergey wrote is correct if you want to add a decision filed in your feature but please note that the Feature program does not have artificial intelligence and it is not psychic for sure 😊

    Hope this helps.

    Please let me know if you have any more questions.

    -Deepak

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 31, 2010 at 04:58 PM

    For adding personnel subarea as a decision field, you should change the structure of ABKRS feature.

    Go to PE03 -> Select Attributes and press Change -> then press Structure -> Select BTRTL and press Save.

    After that you can do necessary changes in this feature. But don't forget to activate it.

    Rergards,

    Sergey.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 22, 2011 at 05:28 PM

    Hi,

    Yes it is not possible in normal circumstances. But it is possible with the user-exit. When you are switching from IT0000 to IT0001

    since the PSA is not available, feature will not be able to fetch the correct value.

    What you can do is, define a default value of payroll area (e.g. 99 for which you are not executing the payroll)for the switching from IT000 to IT0001. The code the user exit which is common for the master data. You can call the feature ABKRS here again. Now when you will fill the Personnel subarea and other required parameter in IT0001and save it (or press enter), system will call the feature again and default the correct value.

    For the user-exit, check with your abaper. If you are not able to find the user-exit, let me know. It works perfectly as i did the same in 1 of my implementation.

    - Praveen

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.