‎2010 Oct 20 7:49 AM
Hi Friends,
For PS network infor using folloiwng BAPI in version 4.6 c. Its taking very long time in execution. Couldn't find any note related to performance also. Any idea how it can be improved.
CALL FUNCTION 'BAPI_NETWORK_GETINFO'
EXPORTING
I_WITHOUT_NETWORK = 'X'
I_WITHOUT_NETWORK_ACTIVITY = space
I_WITHOUT_RELATION = 'X'
I_WITHOUT_ACTIVITY_ELEMENT = 'X'
I_WITHOUT_ACTIVITY_MILESTONE = 'X'
I_WITHOUT_COMPONENT = space
IMPORTING
RETURN = return
TABLES
I_NETWORK_LIST = i_network
E_NETWORK =
E_ACTIVITY = i_activity
E_RELATION =
E_MESSAGE_TABLE = i_message
E_ACTIVITY_ELEMENT =
E_ACTIVITY_MILESTONE =
E_COMPONENT = i_ncomponent
thanks
anya
‎2010 Oct 21 4:14 PM
Generally, ABAP programmers understand that BAPIs have been optimized by SAP. That's one of many reasons that we like to use them.
Why do you think it needs to be improved? Are you submitting some huge list of networks for retrieval and expecting a 500 microsecond runtime? Have you tried retrieving without a BAPI? Perhaps you can write something faster?