Quantcast
Channel: SCN : Unanswered Discussions - SAP for Mobile
Viewing all articles
Browse latest Browse all 5512

SAP Fiori - My Time sheet - Read Data issue - No data was selected ( io_data_provider->read_entry_data )

$
0
0

HI Experts ,

 

Could you please help me in resolving the below issue  .

 

We are Facing an issue while Implementing My Time Sheet App (UISRA002-100 , SRA002- 600 -SAPK-60004INSRA002 , SAPBasis - 702 )

 

As mentioned in below thread  , Applied notes

Notes Update with respect to UIX01HCM (UI Component for HCM apps)

 

After applying 2026754 note Corrections  - Upon submission of time sheet - 'Check time entry' service getting called and asking for confirmation , once confirmed getting an error Message - No data was selected (LR-860) .

 

I have debugged the ABAP Code and observed that above message is coming from FM -SRA002_TS_TIMEENTRY_EDIT

This FM was called in class -  CL_SRA002_TIMESHEET_DPC_EXT  Here Getting blank values While reading the raw data using structure type

sra002_s_timeentry

 

Please find the code spot as below ./IWBEP/IF_MGW_APPL_SRV_RUNTIME~CREATE_ENTITY => CREATE_TIMEENTRY )

 

Do I need to implement any corrections/Customize here to read/Update the CATSDB table . ?? Please suggest ??

 

* Get request input data

   io_data_provider->read_entry_data( IMPORTING es_data = ls_request_input_data ).

 

* Map request input fields to function module parameters

   iv_operation = ls_request_input_data-cats_operation.

   iv_pernr = ls_request_input_data-employee_number.

   IF ls_request_input_data-releasedata EQ abap_true.                     "Note 1924974: Release flag

     lv_releasedata = abap_true.

   ELSE.

     lv_releasedata = abap_false.

   ENDIF.

 

* Append lines of table parameters in the function call

   IF ls_request_input_data IS NOT INITIAL.

     APPEND ls_request_input_data TO it_timeentry.                  "blank values here leading to error .

   ENDIF.

   TRY.

     clear lt_messages.

    CALL FUNCTION 'SRA002_TS_TIMEENTRY_EDIT'

         EXPORTING

           IV_FINAL           = 'X'

           IV_OPERATION       = iv_operation

           IT_TIMEENTRY       = it_timeentry

           iv_release_data    = lv_releasedata                               "Note 1924974: Release flag

         IMPORTING

           ET_TIMEENTRY       = lt_timeentry

           ES_LEADING_MESSAGE = lS_LEADING_MESSAGE

           et_messages        = lt_messages.

 



Thanks

Sarath Babu


 

Tags edited by: Michael Appleby


Viewing all articles
Browse latest Browse all 5512

Trending Articles



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