Application Development 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: 

Find authorization check in BAPI implemented in a program

Former Member
0 Kudos
69

Dear ,

How can we find the authoruty check in a program in which a BAPI is used.If we search authority check in program click search button and find authority then only the authorization check implemented in program except BAPI is shown not in BAPI.

Kindly send me solution ASAP.

Regard,

Yatendra Sharma

Edited by: yatendra sharma on Mar 19, 2009 12:42 PM

1 ACCEPTED SOLUTION

g_srivastava
Active Contributor
0 Kudos
32

Hi Yatendra,

May be this code works out for you .It is just a dummy code.Try using Authority Check.Hope your query resolves soon.

authority check

PERFORM <AUTHORITY CHECK> USING <TABLE>.

IF NO_AUTHORITY NE SPACE.
   PERFORM BAPIRETURN TABLES RETURN
                           USING  u2018VALUE1'
                                  u2018VALUE2'
                                  u2018VALUE3'
                                  VALUE4
                                  VALUE5.
    EXIT.
ENDIF.

Have a best day ahead.

2 REPLIES 2

g_srivastava
Active Contributor
0 Kudos
33

Hi Yatendra,

May be this code works out for you .It is just a dummy code.Try using Authority Check.Hope your query resolves soon.

authority check

PERFORM <AUTHORITY CHECK> USING <TABLE>.

IF NO_AUTHORITY NE SPACE.
   PERFORM BAPIRETURN TABLES RETURN
                           USING  u2018VALUE1'
                                  u2018VALUE2'
                                  u2018VALUE3'
                                  VALUE4
                                  VALUE5.
    EXIT.
ENDIF.

Have a best day ahead.

0 Kudos
32

Dear,

I want to ask that how to search all the authority check implemented in any program not how to implement.I am facing a problem that the programs in which BAPIs are used , I am not able to search all the authority checks used in BAPI.Kindly provide me the solution.

-


Yatendra Sharma