2013 Jan 07 6:55 AM
dear all, pls check this code.
i developed 7 bapis using submit program for transactions IH06, IH08, IP24, IW39, IW69 etc
they worked fine till yesterday but now,
the bapi when communicated by non-sap tool returning no data exists message.
though the data exiists.
when i check the same in SE37. I GET DATA AND MESSAGE Data Fetched Successfully.
BAPI uset to work fine for last 3 months. im unable to undestand whts the issue.
TRY.
CALL METHOD cl_salv_bs_runtime_info=>get_data_ref(
IMPORTING
r_data = r_data ).
CATCH cx_salv_bs_sc_runtime_info . "#EC NO_HANDLER
ENDTRY.
SUBMIT riqmel40 " submit program using values
WITH datuv EQ ivnotif_datefrom
WITH datub EQ ivnotif_dateto
WITH qmart IN shbynotiftype
WITH strno IN lsht_200funclocs
WITH equnr IN lsht_200equips
WITH ernam IN shbycreatedby
WITH aenam IN shbychangedby
EXPORTING LIST
TO MEMORY AND RETURN.
TRY.
CALL METHOD cl_salv_bs_runtime_info=>get_data_ref(
IMPORTING
r_data = r_data ).
CATCH cx_salv_bs_sc_runtime_info .
call method cl_salv_bs_runtime_info=>clear_all.
regards
satish chandra
2013 Jan 08 7:12 AM
Same solution as in Screen output with out Connection to User-bapi for parameter dy_selm seems relevant. (Same "family" of reports)
The called report will execute a
EXPORT sel_tab TO MEMORY ID sy-repid.
Then import the selected table in your "BAPI" wrapper.
Regards,
Raymond
2013 Jan 07 2:17 PM
GUYS, when i test the bapi in se37, i have no problems. but when via non-sap im not getting data here
CALL METHOD cl_salv_bs_runtime_info=>get_data_ref(
IMPORTING
r_data = r_data )..
i have no clue why this is happenening, it worked last three months very well.
please we are above to close our project.. help me on this.
thanks & regards
satish chandra
2013 Jan 08 6:29 AM
GUYS, i believe the draw back in submit program is when single recored to be displayed then the display would be of screen. how could we chage this display from screen to list.?
any ideas guys
regards
satish chandra
2013 Jan 08 6:29 AM
GUYS, i believe the draw back in submit program is when single recored to be displayed then the display would be of screen. how could we chage this display from screen to list.?
any ideas guys
regards
satish chandra
2013 Jan 08 7:12 AM
Same solution as in Screen output with out Connection to User-bapi for parameter dy_selm seems relevant. (Same "family" of reports)
The called report will execute a
EXPORT sel_tab TO MEMORY ID sy-repid.
Then import the selected table in your "BAPI" wrapper.
Regards,
Raymond