Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

hr report category remove selection fields..

Former Member
0 Likes
1,145

hi again All,

I am facing a problem again. I tried generating a new category for my report. Now again after creating the category i do not see how to add fields and remove selection fields. I need only company code in my selection criteria and nothing else.

can neone help me?

suresh and sarika, i m expecting lot of you..

please help..

Reena..

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
880

thank you suresh for your reply..

i tried doing what u suggested..

it gives me the company code but it also gives me an extra button that says selection from..

i dont knw how the button came up and how to get rid of it...

thanks in advance..

reena

7 REPLIES 7
Read only

Former Member
0 Likes
880

Hi,

You can use the HR report category IE_P35L - no selection screen fields. Add only the company code parameter in your code. You will get only that.

OR

you can use 00007 for only personal number and company code.

Rgds,

Balaji.

Award if useful.

Read only

Former Member
0 Likes
880

thank you balaji,

but i dont knw where to add new fields..

is it down under where it says selection-fields, because there i dont see any option where i can change the field..

reena

Read only

0 Likes
880

Reena,

You can write the selection-screen in your program.

DATA: g_cc LIKE pa0001-bukrs.

SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.

SELECT-OPTIONS s_cc FOR g_cc.

SELECTION-SCREEN END OF BLOCK b1.

Regards,

Balaji

Read only

0 Likes
880

Reena,

Pl follow these steps..


1.In the Program Attributes, click on the pushbutton 'HR Report Category'.Click on the 'Create' icon in the pop-up window that comes up.
2. On the next screen click on the 'New entries ' pushbutton in the menu bar.
3. In the next screen enter a anme for the report Category, say, 0COMPCODE.
4.On the same screen, you have a Navigation tree to the left hand side, click on the Allowable selection Criteria Node
5. On the next screen, click on the New Entriees pushbutton 
6. On the next screen enter 'PNPBUKRS'.
7. You will be prompted to tie it to a Transaport Request. Attach it to the sam ereq that your Report is tied to.
8. SAVE it & attach it to your Program.

~Suresh

Read only

Former Member
0 Likes
881

thank you suresh for your reply..

i tried doing what u suggested..

it gives me the company code but it also gives me an extra button that says selection from..

i dont knw how the button came up and how to get rid of it...

thanks in advance..

reena

Read only

0 Likes
880

here's how you can remove that Pushbutton..

1.Execute your report

2.System --> Status --> Double click on the screen 1000

3.click on Element List

4. click on the Change icon in the menu bar

5. Acknowledge any warning messages

4. Put your Cursor on the Element PNPS$MSL & click on the Attributes icon in the menu

5. In the next pop-up, select the checkbox 'invisible' under the Display block.

6. Save the chnages & activate the screen.

7. Execute the report again & the button will not appear any longer.

~Suresh

Read only

Former Member
0 Likes
880

thanks suresh..

thanks a lot..