Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9159

Re: How do I see why BPC package is aborting?

$
0
0
  1. You can go to T-code -SE24 and go to class CL_UJXD_PACKAGES_RES.
  2. Go to line 179 of the DO_POST method and set an external breakpoint.
  3. Also put a Break-point inside your BADI.
  4. Switch to the BPC client and execute the data manager package you want to debug.
  5. This will launch a SAPGUI debugger
  6. Double click on the ‘ls_package_run-if_debug’ exporting parameter and set its value to true (represented by the character X).
  7. This will take you inside your BADI code.
  8. You this code code below and to check the et_error_records and the et_message,so that you understand why it is getting aborted.

 

  TRY.

      CALL METHOD lo_writeback->write_back

        EXPORTING

          i_appset_id      = appset_id

          i_appl_id        = appl_id

          is_wb_param      = is_wb_param

          it_records       = <lt_query_result1>

        IMPORTING

          es_wb_status     = wb_status

*         et_error_records = error_records.

          et_message       = message.

    CATCH cx_ujo_write_back .

    CATCH cx_uj_static_check .

  ENDTRY.



OR ELSE if you are not using a BADI and just a script logic then go to T-code- UJKT and debug your script using that and you will get the log files.


Regards,

Bishwajit.


Viewing all articles
Browse latest Browse all 9159

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>