Hi Guys Im currently looking into an issue that we have here.
In the syclo agentry app that we have, we have a function that returns stocks. It is working but I found an issue that is causing big problems in our system.
Here you can see there are 2 transfer requests.
When it gets processed only the first one will be retrieved from SAP back end and completed.
*********************************************************************
* Main Section
*********************************************************************
TRY.
me->message = 'Entering method ~ CREATE...'(m08).
me->logger->loginfo( iv_mobile_user = me->str_bapi_input-mobile_user
iv_mobile_id = me->str_bapi_input-mobile_id
iv_user_guid = me->str_bapi_input-user_guid "<-ins 310_700 bugid 25317
iv_message = me->message
iv_source = me->source ).
iref_rfc_oo_data->get_ooref_param_tab(
IMPORTING et_in_ooref_param_tab = lt_in_ooref_param ).
" Set return time stamp at begining if exchange process not used
IF me->mobile_timestamp_in IS INITIAL.
me->mobile_timestamp_out = /syclo/cl_core_do_services=>get_sys_timestamp( ).
ENDIF.
*-----------------------------------------------------------------------*
*Step 1 - Initialization
*-----------------------------------------------------------------------*
lref_do_serv = /syclo/cl_core_do_services=>get_do_service(
iref_logger = me->logger ).
CREATE DATA: LS_MDO_INPUT_VALS-IS_GOODSRET_HEADER,
LS_MDO_INPUT_VALS-IT_GOODSRET_ITEM.
me->oref_mdo_data->map_local_mobile_filter(
CHANGING cs_filters = ls_mdo_input_vals ).
ME->OREF_MDO_DATA->MAP_LOCAL_DOF_FILTER(
CHANGING CS_FILTERS = LS_DOF_FILTER_VALS ).
ASSIGN iref_rfc_oo_data->dref_return->* TO <bapi_return>.
ASSIGN LS_MDO_INPUT_VALS-IS_GOODSRET_HEADER->* TO <goodsret_header> .
ASSIGN ls_mdo_input_vals-IT_GOODSRET_ITEM->* TO <goodsret_item>.
ASSIGN LS_DOF_FILTER_VALS-POTYPE->* to <fs_potype>.
ASSIGN ls_dof_filter_vals-PURCHASINGGROUP->* to <fs_prgrp>.
*
lt_prgrp = <fs_prgrp> .
lt_potype = <fs_potype>.
And here are the objects.
What do I need to check next?