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

Getting an exception while dealing with a new BADI

Hi,

I am stuck with one problem while executing an enhancement of a new BADI type <b>/rpm/fin_cap_plan</b>.

I call my own function 'Z_RPM_CLOG_FIN' from a method of this enhancement.

Inside Z_RPM_CLOG_FIN imake another call as

CALL FUNCTION 'Z_FIN_TAB_WRITE_DOCUMENT'
  EXPORTING
    OBJECTID                = func_param-I_objectid
    TCODE                   = func_param-I_tcode.....

Here 'Z_FIN_TAB_WRITE_DOCUMENT' is a function we obtained after running SCDO transaction for 2 financial tables.

Now in debug mode when control to Z_FIN_TAB_WRITE_DOCUMENT it goes ito some other method and catches some exception 'parameter missing' and I don't know from where this exception came into scene. As per my understanding if we call a function control should go into that function.

And this was really happening when I created an implementation of a classic BADI.

Can someone help me out at this point ?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Sep 06, 2006 at 02:02 PM

    Did you try something like this:

    CALL FUNCTION 'Z_FIN_TAB_WRITE_DOCUMENT'

    EXPORTING

    OBJECTID = func_param-I_objectid

    TCODE = func_param-I_tcode.....

    EXCEPTIONS

    OTHERS = 99.

    if sy-subrc ne 0.

    endif.

    hith

    Sunil Achyut

    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.