The OneStream Community is temporarily frozen until June 29th due to the ongoing maintenance. Please read the blog post here to learn more.
Forum Discussion
PrithviK
2 years agoNew Contributor III
Extract data from BAPI_AP_ACC_OPENITEMS
Hello Everyone,
Has anyone done an extract for BAPI "BAPI_AP_ACC_OPENITEMS" using RFC connection from SAP. I have below code, any suggestions here. What will be the Imports if we have to extract 7-...
Nikpowar97
2 years agoContributor
Hi Prithvi,
I assume you are running a SIC Rule, Can you give this a try:
' Define which columns to import
Dim imports As New RFCStructure()
imports.AddField("Field1") ' Example: Field1
imports.AddField("Field2") ' Example: Field2
' Add more fields as needed
' Import the specified columns into a table
Dim dataTable As DataTable = r3Func.Imports("").ToTable(imports)
Replace "Field1", "Field2" with the actual field names you want to extract from the BAPI response. Make sure these fields correspond to the fields available in the BAPI result set. This should allow you to extract the desired columns from the BAPI response.
Thanks,
Nikhil
PrithviK
2 years agoNew Contributor III
Hi Nikhil, this is not SIC, rather am using Connector rule for this export
Related Content
- 1 year ago