on 06-06-2012 9:42 AM
Hi,
We are using the function module BAPI_PBSRVAPS_GETDETAIL2 to fetch the data from planning area. The values which are coming out of BAPI is very random.
1)We are using storing the data at daily, weekly, monthly, yearly & fiscal year variant(which is again a weekly bucket but not inline with SAP standard weekly bucket) levels.
2)This planning area has one planning book & the planning bucket is first 3 weeks are daily then it is daily.
3)Out of seven flags we have ticked only MACRO_EXECUTION_FLAG as planning book has macros
4)The number of records extracted from BAPI is at the max 7000 records
With any of the above points we are not finding any issues but still we are finding wrong data extraction from BAPI. Not sure in what to check & correct this. Can somebody throw light on resolving this issue?
Thanks & Regards
Yogeesha
Hi Yogeesha,
Probably, you can execute the BAPI without MACRO_EXECUTION_FLAG flag set. If macro execution is required, use the program /SAPAPO/TS_BATCH_RUN to execute the required macro before you attempt to read the planning book data.
Thanks,
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajesh,
Even with or without MACRO_EXECUTION_FLAG set the results are very random.So totally clueless on how to proceed
Regards
Yogeesha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
9 | |
4 | |
3 | |
2 | |
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.