2009 Jan 14 11:59 PM
Hi,
I tried to run and debug the badi, but I got this An Exception with the type CX_SY_DYN_CALL_PARAM_NOT_FOUND when debugging ran until CALL FUNCTION 'BBP_PD_PO_GETDETAIL'.
What is the error about? What is wrong with my codes? Thanks.
method IF_EX_BBP_DOC_CHECK_BADI~BBP_DOC_CHECK.
DATA: ls_e_item TYPE BBP_PDS_PO_ITEM_D,
ls_e_header TYPE bbp_pds_ctr_header_d,
lt_e_account TYPE TABLE OF BBP_PDS_ACC,
ls_e_account TYPE BBP_PDS_ACC,
lt_e_item TYPE TABLE OF BBP_PDS_PO_ITEM_D.
DATA: lt_ta_approval_return TYPE TABLE OF ZSC_WFL_APPR_S,
lt_cc_approval_tbl TYPE TABLE OF ZSC_WFL_APPR_S,
lt_ta_costobj TYPE TABLE OF ZSC_WFL_APPR_S,
ls_ta_costobj TYPE ZSC_WFL_APPR_S,
ls_ta_approval_return TYPE ZSC_WFL_APPR_S.
DATA: lt_logical_sys TYPE BBPT_LOGICAL_SYSTEM,
lt_logical_msg TYPE BBPT_BALMI,
ls_logical_sys TYPE BBPS_LOGICAL_SYSTEM,
lv_logical_sys TYPE LOGSYS.
DATA: lt_worklist TYPE TABLE OF SWR_WIHDR,
ls_worklist TYPE SWR_WIHDR,
lv_retcode TYPE SYSUBRC,
lv_wiid TYPE SWW_WIID.
DATA: lt_simple_cont TYPE TABLE OF SWR_CONT,
ls_simple_cont TYPE SWR_CONT,
lt_message_lines TYPE SAPI_MSG_LINES,
lt_message_struct TYPE SAPI_MSG_STRUC,
lv_element TYPE SWC_ELEM.
DATA: lv_message TYPE BAPI_MSG,
lt_messages TYPE TABLE OF bbp_smessages_badi,
ls_messages TYPE bbp_smessages_badi.
DATA: lv_count_invalid_appr TYPE I VALUE 0,
lv_index TYPE sy-index.
CONSTANTS: lc_zsc TYPE string VALUE 'ZSC',
lc_004 TYPE string VALUE '004',
lc_msgty_w TYPE string VALUE 'W'.
IF flt_val = 'BUS2203'.
CALL FUNCTION 'BBP_PD_PO_GETDETAIL'
EXPORTING
........
2009 Jan 15 12:17 AM
Hi,
you need to check FM interface. Probably you call that FM with invalid parameter. Maybe you have just typo or some extra parameter. Unfortunately you cut off the most important part of your code.
Cheers
Hi,
you need to check FM interface. Probably you call that FM with invalid parameter. Maybe you have just typo or some extra parameter. Unfortunately you cut off the most important part of your code.
Cheers
2009 Jan 15 12:17 AM
Hi,
you need to check FM interface. Probably you call that FM with invalid parameter. Maybe you have just typo or some extra parameter. Unfortunately you cut off the most important part of your code.
Cheers
2009 Jan 15 2:10 AM
Hi,
Here are the callling FM codes:
IF flt_val = 'BUS2203'.
CALL FUNCTION 'BBP_PD_PO_GETDETAIL'
EXPORTING
i_guid = iv_doc_guid
IMPORTING
e_item = ls_e_item
TABLES
e_account = lt_e_account.I cant see what's wrong with the code.
Graham,
How to start the debugger? Currently, I just execute the badi and clicked at the "Debugging", am I doing the right way?
Thanks.
2009 Jan 15 3:28 AM
Hi,
I can't see exporting parameter e_item in my system. There is only E_HEADER.
Cheers
2009 Jan 15 3:50 AM
2009 Jan 15 1:26 AM
Hi Izzy,
for goodness sake just use the debugger.
Cheers
Graham Robbo
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |