cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_AP_ACC_GETSTATEMENT

Former Member
0 Kudos

Hi experts,

I need to fetch the data based on a standard bapi BAPI_AP_ACC_GETSTATEMENT to bi, is there any way to take this bapi's data into my data source  other than creating a generic data source based on a function module and calling the BAPI .


thanking you.

Accepted Solutions (1)

Accepted Solutions (1)

former_member226999
Contributor
0 Kudos

Generic data source using function module is best option but tricky as you need to handle the packet size initialisation etc.

The other option is to create a custom program which will dump all the required data provided by BAPI_AP_ACC_GETSTATEMENT into a Z table in the source system.

Also if needed you can add three key field namely RUNID (numeric sequence), RUN_date & RUN_time field to custom table. In the RUNID generate unique RUNID which will increment every time the custom program fills the Z table. The Run_date & RUN_time is for keeping (audit) track of your data generated.

Then you can use the Z table to design a generic extractor with view. You can use the RUNID as delta field for your extractor.

Answers (0)