02-03-2018 10:53 AM
Hi,
I want to import TP data from cluster without using FM: HR_FORMS_TIM_GET_B2_RESULTS.
But TP is not found PCL2 - B2 Cluster.
IMPORT tp FROM DATABASE pcl2(b2) ID b2-key.
IF sy-subrc EQ 0.
LOOP AT tp.
APPEND tp TO it_tp.
ENDLOOP.
ENDIF.
How to import TP data ?
Regards,
Shabbir
04-07-2018 11:01 AM
This question resolved by myself.
I have checked the code inside the function module HR_FORMS_TIM_GET_B2_RESULTS and used the required code as per requirement. The FM:HR_TIME_RESULTS_GET is very useful.
02-03-2018 11:20 AM
https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-US/index.htm?file=abendata_cluster.htm
Most propably you use the wrong key.
And by the way, copying an internal table with LOOP and APPEND as you do is the least optimal solution. Where did you learn that?
04-07-2018 11:01 AM
This question resolved by myself.
I have checked the code inside the function module HR_FORMS_TIM_GET_B2_RESULTS and used the required code as per requirement. The FM:HR_TIME_RESULTS_GET is very useful.