Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

FM to read BDC data from SHDB

Former Member
0 Kudos

HI

There is FM that i can use in order to read BDC data from SHDB ?

Regards

James

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Have a look at FMs QUEUE_OPEN and QUEUE_GET and other FMs in that group.

Rob

3 REPLIES 3

Former Member
0 Kudos

Have a look at FMs QUEUE_OPEN and QUEUE_GET and other FMs in that group.

Rob

0 Kudos

HI ,

What i found is this function BDC_OBJECT_READ but i need to provide

for it the

VALUE(QUEUE_ID) LIKE APQD-QID

VALUE(DATATYPE) LIKE APQI-DATATYP DEFAULT '%BDC'

VALUE(TRANS) LIKE APQD-TRANS DEFAULT 0

but I dont know how to get this values and provide it to the FM ,

I want to provide the record name (GROUPID ) .

Thanks,

James

Edited by: James Herb on Jul 29, 2010 9:33 AM

0 Kudos

As you know, the session name (GROUPID) is not unique, while the Queue ID is.

You may use BDC_OBJECT_SELECT function module to get the Queue IDs, or directly use APQI table (which contains all the SM35 batch input sessions + SHDB recordings; these last have APQI-DATATYP = '%BDC').