Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BAPI Commit issue

Gurus,

I want to update SAP with some batch characteristics data that i have in local DB(MS SQL Server). The problem is only the last row of values are getttiing updated in SAP.I checked the message in the response and there is no error message.

My sQL server table has the following records

<b>Charact</b> <b>CharVal</b>

Density 5.6

Cut 1

I created the following transaction

Sequence 1: Query the SQL server for the records

Sequence 2: Repeater Action to iterate through the records.Xpath Expr-(IllumSQLQuery_0.Results{/Rowsets/Rowset/Row})

Sequence 3:SAP JCo Interface -mapped to BAPI_OBJCL_CHANGE and all the inputs are mapped for the repeater output.I have checked the Auto Commit option check box while configuring the BAPI object.

After executing the transaction, in sap we see the cut values are updated and the density value is blank.

PLease guide me as to where i may have gone wrong?

Thanks and Regards,

Ram

Former Member
Former Member replied

This may help:

<a href="/people/abesh.bhattacharjee/blog/2007/06/05/calling-a-bapi-with-a-table-as-an-input-parameter-from-xmii:///people/abesh.bhattacharjee/blog/2007/06/05/calling-a-bapi-with-a-table-as-an-input-parameter-from-xmii

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question