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

Error/dump when printing Cover Page

Former Member
0 Likes
1,083

Dear SDNers,

I have this issue where the User wants to print some cover page but is not able to print.

But other users are able to print the same

When user is trying to print cover page she is getting ABAP Dump.

"RPERF_ILLEGAL_STATEMENT"

short text" Mesasge E " is not allowed in this form.

Upon seeing the dump in ST22 and the source Code extract,

the dump is happening inside standard FM PRINT_SELECTIONS.

Inside this FM print_selections, there is another call for FM "RS_VARIANT_EXISTS.

It is at this FM, the sy-subrc = 1 and message E626 is invoked.

call function print_selections.
  Importing
         -----
         -----
  Tables
        -----

 Data---
 -----
 -----
 ----
 ----
If raldb_variant ne space and raldb_variant(1) ne '&'.
     call function RS_VARIANT_EXISTS
         exporting = 
         importing r_c = l_subrc
         exceptions
            not authorized = 1
            no report = 2
            others = 2

         case sy-subrc.
            when 1.
*>>>>>>> message E626.*
            when 2.
               -----------
          endcase.

Clarification required.

when subrc 1 is returned, it says that there is no authorization.

pls tell me as to what authorization is required for this user.

what is confusing me is the name of the FM.it says to check if the variant exists or not.

But subrc talks about authorization.

Kindly clarify.

Regs,

SuryaD.

Edited by: SuryaD on Mar 30, 2010 11:41 PM

Edited by: SuryaD on Mar 30, 2010 11:42 PM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,038

Let the dump come up once again and then execute SU53. This will show you which authorization object does the user require to execute that print program. Take a screen shot of SU53 and send that to your basis/security team and request them to give this role to the user who is facing the problem.

Thanks,

Kiran

Dear SDNers,

I have this issue where the User wants to print some cover page but is not able to print.

But other users are able to print the same

When user is trying to print cover page she is getting ABAP Dump.

"RPERF_ILLEGAL_STATEMENT"

short text" Mesasge E " is not allowed in this form.

Upon seeing the dump in ST22 and the source Code extract,

the dump is happening inside standard FM PRINT_SELECTIONS.

Inside this FM print_selections, there is another call for FM "RS_VARIANT_EXISTS.

It is at this FM, the sy-subrc = 1 and message E626 is invoked.

call function print_selections.
  Importing
         -----
         -----
  Tables
        -----

 Data---
 -----
 -----
 ----
 ----
If raldb_variant ne space and raldb_variant(1) ne '&'.
     call function RS_VARIANT_EXISTS
         exporting = 
         importing r_c = l_subrc
         exceptions
            not authorized = 1
            no report = 2
            others = 2

         case sy-subrc.
            when 1.
*>>>>>>> message E626.*
            when 2.
               -----------
          endcase.

Clarification required.

when subrc 1 is returned, it says that there is no authorization.

pls tell me as to what authorization is required for this user.

what is confusing me is the name of the FM.it says to check if the variant exists or not.

But subrc talks about authorization.

Kindly clarify.

Regs,

SuryaD.

Edited by: SuryaD on Mar 30, 2010 11:41 PM

Edited by: SuryaD on Mar 30, 2010 11:42 PM

5 REPLIES 5
Read only

Former Member
0 Likes
1,038

Hello,

just execute your program, let the dump show........and inmediately execute transaction SU53 and you'll see what authorization objects are getting required.

(sorry about my english)

Regards, Sebastiá

Read only

Former Member
0 Likes
1,039

Let the dump come up once again and then execute SU53. This will show you which authorization object does the user require to execute that print program. Take a screen shot of SU53 and send that to your basis/security team and request them to give this role to the user who is facing the problem.

Thanks,

Kiran

Read only

0 Likes
1,038

Hi Kiran and Sebastin,

thansk for your response.

The user says that on SU53 she see the S_develop authorization error.

Kindly tell me what has to be done to have have the user print the cover page successfully.

Regs,

SuryaD.

Edited by: SuryaD on Mar 31, 2010 12:54 PM

Read only

0 Likes
1,038

I already mentioned what needs to be done. Take a screen shot of this transaction SU53 and send it to BASIS / Security team and ask them to add that role to this particular user.

Kiran

Read only

0 Likes
1,038

Hi All,

this is a standard SAP issue.

please find the note no. 453265

Also pls refer note 775865

Regs,

SuryaD.

Edited by: SuryaD on Apr 25, 2010 11:33 AM