cancel
Showing results for 
Search instead for 
Did you mean: 

getting next line of a table returned by a BAPI...

david_fryda2
Participant
0 Kudos

Hi everyone,

I have a problem when I want to get the next line of a table returned by a BAPI called.

I am doing the call with JCo and only get the first line (or structure) of the table returned as a result. How can I iterate (get to the next line) ? What is the API ?

Thanx a lot

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi David,

please have a look at the <a href="http://help.sap.com/saphelp_nw04/helpdata/en/b0/45e13d82fcfb34e10000000a114084/frameset.htm">JCO.Table documentation</a>, there are methods to move the "cursor" to the next, previous, first and last row.

Hope that helps

Regards

Stefan

david_fryda2
Participant
0 Kudos

Yes, Got it.

Thanx!

Former Member
0 Kudos

Hi David,

don't forget to mark your question as answered and <a href="https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/680">to spread the love</a>.

Regards

Stefan

david_fryda2
Participant
0 Kudos

You are Right.......thanx