cancel
Showing results for 
Search instead for 
Did you mean: 

Read BAPI Output - Table

Former Member
0 Kudos

All,

I'm calling BAPI from Webdynpro. The BAPI Input/output are not mapped to any context node..But I want to read the output table from Bapi. how can i do that...

Say BAPI is returning a table called RESULT, which has fields called ObjectID, Content etc.

How can i read the tables..

BM

Message was edited by:

Bharathi M

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello BM,

You are saying BAPI Nodes are not mapped to any context node, so How you will read i guess It's impossible. If you are not mapped to any context node means that Ouput instances (classes) not available in WD apllication or Project.So Its not possible.

One other way is there to read BAPI output table by Using JCO API.

That is possible using with JCO API.

Rgds

-SS

Answers (3)

Answers (3)

Former Member
0 Kudos

I solved it on my own. There is a way to read the BAPI output using RFC Model with Iterator..

Thanks for the help anyhow..

BM

Former Member
0 Kudos
Former Member
0 Kudos

Hi Bharathi,

How you are calling BAPI? If you are calling BAPI through adaptive RFC model you should map your model context to your controller context. If you are not using adaptive RFC model you can go ahead with the JCO API. The following link will help you to know about JCA.

http://help.sap.com/saphelp_nw04/helpdata/en/97/fabc3d8af79633e10000000a11405a/frameset.htm