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

Issue with BAPI_OBJCL_GETDETAIL

Former Member
0 Likes
2,149

Dear All,

I have 50000 plus Functioanl Location ( IFLOT-TPLNR ) and I have another field named Bahnhofsmanagement in Selection screen.

The value of Bahnhofmanagement is calulated by passing each TPLNR to BAPI_OBJCL_GETDETAIL.

But since the number of TPLNR is high, its finally leading to SAP Timeout Error, or even if for example, the Error is no more, the user has to wait for 20 to 25 mins for the Value of Bahnhof management to get populated in the Search help.

Is there any alternative for this ?

Many Thanks!

7 REPLIES 7
Read only

Former Member
0 Likes
1,824

Hi Antony,

Check this Note : 1719799 - Performance issues when calling BAPI_OBJCL_GETDETAIL .

Regard's

Smruti

Read only

MariaJooRocha
Contributor
0 Likes
1,824

Hi,

If you need only 1 characteristic value why not to get the value directly in DB tables?

Regards,

Maria João Rocha

Read only

0 Likes
1,824

Hi Maria, I need all the Characteristics value for the TPLNRs present.

Read only

0 Likes
1,824

Hi,

50000 functional location for selection at once, I suppose it's too much. Do you really need such selection? Can you force the completion of the selection screen TPLNR first, so that the values for search help my be less?

For time out problem, you can reduce the number of FL on the BAPI_OBJCL_GETDETAIL, calling  the BAPI several times.

Regards,

Maria João Rocha

Read only

Former Member
0 Likes
1,824

Hi

Do you want get details of all functional location? or particular functional location.

can you explain in brief?
if you want particular functional location details.Then pass those values,get the details.

Regards

Ashok P

Read only

Former Member
0 Likes
1,824

I am not very sure about this. But you can restrict this by sending first 200 records of TPLNR,and show related data in F4. Just like standard SAP search helps work in standard tables. Like MATNR in MARA.

Regards,

Supratik

Read only

Former Member
0 Likes
1,824

Hello all,

Acheived it by debugging the BAPI and taking only 2 FMs which was present in the BAPI for this use.

Its working now.

Thankyou all.

Regards,

Jacob