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

help

Former Member
0 Likes
1,257

Hi friends what exactly the below means and how should i approach to explain this .

<b>Salary Analysis Report - Updated the report program to make it global by adding country grouping to the selection screen. Added authority-check for company codes.</b>

could u plz explain me .

regards,

siri.

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,229

Well, first we need to know if this selection screen is defined in a logical database or in the program. Look at the program, do you see any SELECTION-SCREEN statements? If not, then it is probably coming from logical database. In the program, click Go To -> Attributes. In the dialog screen, is the logical database field filled in?

Regards,

Rich Heilman

13 REPLIES 13
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,229

This report was modified, the developer added country grouping to the selection screen definition, a parameter or a select-option statement, and also added code to make sure that the user had authority to the company code(probably entered in the selection screen also).

Regards,

Rich Heilman

Read only

0 Likes
1,229

Thanx Rich,

could u plz explain me what procedure i should follow to do this.

how to add the authority checks.

regards,

siri.

Message was edited by: sireesha yalamanchili

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,230

Well, first we need to know if this selection screen is defined in a logical database or in the program. Look at the program, do you see any SELECTION-SCREEN statements? If not, then it is probably coming from logical database. In the program, click Go To -> Attributes. In the dialog screen, is the logical database field filled in?

Regards,

Rich Heilman

Read only

0 Likes
1,229

Rich,

this is not related to logical database.

regards,

venkat.

Read only

0 Likes
1,229

You will need to add the authority check coding in the program, most likely in the AT SELECTION-SCREEN event. Click the "Pattern" button in the editor, then choose "Authority Check", select the appropriate AC object and the code will be written for you, then just fill in the parameters.

Regards,

RIch Heilman

Read only

0 Likes
1,229

thanx Rich,

How to add country grouping to the selection screen.

whats the procedure?.

regards,

siri.

Read only

0 Likes
1,229

If you want a parameter, then simply add the PARAMETER statement where you see the other SELECT-SCREEN statements.

Parameters:  p_molga type T500L-molga.

Regards,

Rich Heilman

Read only

0 Likes
1,229

Thanks Rich,

bcoz this is a enhancement what r the steps i have to follow and do to add the selection screen parameters and authority check.

regards,

venkat.

Read only

0 Likes
1,229

Is this a custom program or a standard SAP program? Does it start with a "Z" or "Y"?

Regards,

Rich Heilman

Read only

0 Likes
1,229

Thanx Rich,

This is standard sap program.

plz guide me how to proceed .

Rich could u plz help me with this

regards,

siri.

Message was edited by: sireesha yalamanchili

Read only

0 Likes
1,229

You would probably need to copy the program and modify it, then assign to a "Z" tcode. Usually there will not be any supplied user exits or enhancements for these requirements in reports.

Regards,

RIch Heilman

Read only

0 Likes
1,229

Rich if they do not supply any user exits or enhancements

then how to do.

regards,

siri.

Read only

0 Likes
1,229

You need to copy the program into a "Z" version of the program, modify as you need to, then assign a "Z" tcode to the "Z" program, the user will then use this modified program instead of the standard.

Regards,

Rich Heilman