‎2006 Nov 07 12:09 PM
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..
‎2006 Nov 07 1:44 PM
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
‎2006 Nov 07 12:17 PM
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.
‎2006 Nov 07 12:18 PM
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
‎2006 Nov 07 12:47 PM
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
‎2006 Nov 07 1:00 PM
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
‎2006 Nov 07 1:44 PM
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
‎2006 Nov 07 2:29 PM
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
‎2006 Nov 07 3:05 PM