on 11-09-2013 12:28 PM
Hi Experts,
I have a query regarding the SAP Netweaver SDK which is as below-
How to get the complete data row from the table which contains data from SAP server while using the SAP Netweaver SDK. Currently we have used the below approach to get the data from SAP Server.
rc = RfcInvoke(connection, bapiFunction, &errorInfo);
RfcGetTable(bapiFunction, cU("ITM_HOSTS"), &tableHandle, 0);
RfcGetRowCount(tableHandle, &count, 0); //<-- moving table
For (unsigned I =0; i<count;i++)
{
RfcMoveTo(tableHandle, i, &errorInfo);
tabLine = RfcGetCurrentRow(tableHandle, &errorInfo);
RfcGetChars(tabLine, cU("ORIGINNODE"), buffer, 33, NULL);
RfcGetChars(tabLine, cU("SYSID"), buffer+33, 3, NULL);
}
Further we also wanted to convert the tabLine (current row reference from above code snap) into the single character buffer.
Please let me know if any more information is required.
Please help us resolve this issue urgently!
Thanks in advance.
Regards,
Kapil Laud
Hi Kapil,
please check below documentation from SAP : RFC API: Classical & NetWeaver. It may help you with your requirement.
http://help.sap.com/saphelp_nwpi71/helpdata/en/45/b04419a2146000e10000000a1553f6/content.htm
best regards
ashish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.