Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Performance improvement for 'BAPI_NETWORK_GETINFO'

Former Member
0 Likes
441

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

1 REPLY 1
Read only

Former Member
0 Likes
382

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?