Skip to Content
author's profile photo Former Member
Former Member

raising cx_amdp_error

Hi

I am defining a method like this

METHODS retv_proj_rep

IMPORTING

value(iv_com) TYPE bsik-bukrs

value(iv_lifnr) TYPE mseg-lifnr

EXPORTING

VALUE(et_proj_rep) TYPE tt_prj_rep

RAISING cx_amdp_error.

It is throwing an error

Any help on this would be useful.

Thanks and regards

Arun Kumar Menon

Capture31.PNG (4.4 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on May 18, 2015 at 07:38 AM

    Hi Arun,
    which SAP_BASIS release are you working on?
    That exception is available as of 740 support package 8 (and higher).
    Cheers,
    Jasmin

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 18, 2015 at 05:43 AM

    Hi Arun,

    Basically we can catch exception in below way,

    Try.

    METHODS retv_proj_rep

    IMPORTING

    value(iv_com) TYPE bsik-bukrs

    value(iv_lifnr) TYPE mseg-lifnr

    EXPORTING

    VALUE(et_proj_rep) TYPE tt_prj_rep

    Catch cx_amdp_error into data(lw_amdp_error).

    endtry.

    -Amol

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 18, 2015 at 07:58 AM

    May be you can think of procedure proxies.

    sree

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.