on 09-26-2011 11:29 AM
Hi,
I am facing issue while using standard BAPI : BAPI_PBSRVAPS_GETDETAIL2 in our program to extract planning book data in to CSV file. For material locaiton Program picking from selection id.
When we call the above BAPI without passing table parameter u201CKEY_FIGURE_SELECTIONu201D, the execution terminates due to
timeout error, however when we add some product entries to the table of KEY_FIGURE_SELECTION, it executes fine.
In Selection Id we maintain Material/ Location.
We tried running this in foreground and background ...its getting timeout.
Can you please suggest why it is not working with range option in selection id.
id.
Regards
Samir
Hi Samir,
Can you please confirm if selection id is of TYPE /sapapo/ts_sel_descr.
The selection id would behave like a parameter field.
There is no reason for it to not work,If you are passing other values perfectly.
The best way to confirm the usage is to do a where-used for this BAPI and find if you are not using it in correct manner.
Thanks
Ajay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Samir,
The response was based on the following understanding. Please correct me if I am wrong.
1. You are using a custom Z program for extracting planning data to CSV file.
2. You are using BAPI: BAPI_PBSRVAPS_GETDETAIL2 in your Z program which is causing problem.
In my previous response I wanted your ABAP team to analyse the correct usage of the BAPI in SAP standard code with the help of where used list for the BAPI.
Please let me know if I am not clear.
Thanks
Ajay
Badi was sending results properly but next step of Zprogram was taking time..(while loop), code corrected to do pallele processing, Issue resolved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
4 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.