Q
Problem solve Get help with specific problems with your technologies, process and projects.

Changing table contents in a JCo client

I have being trying to add values thr JCo in SAPtable. thr code table.setRow(2); But the contents are added to the table temporarily. How can I commit my work in the table through JCO.

I have being trying to add values thr JCo in SAPtable. thr code table.setRow(2);
table.appendRows(2);
table.setValue("1000","COMP_CODE");
table.setValue("KNB1","COMP_NAME");
table.setValue("2000","COMP_CODE");
table.setValue("Dipali","COMP_NAME");

But the contents are added to the table temporarily. How can I commit my work in the table through JCO.


A table parameter is just a glorified array. Changing table contents (originating from an SAP call) in a JCo client has no effect whatsoever on SAP, unless there is a BAPI that uses the table to update information in the database and you invoke said BAPI.


Dig Deeper on SAP Basis

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchContentManagement

SearchHRSoftware

Close