Application Development and Automation 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: 
Read only

temse

Former Member
0 Likes
990

Hi All

I am trying to down load the error records of BDC session method from sm35 into a text file.

Please let me know how to proceed for that.

Let me know tha tables from where i can fetch these records or there any atandard function modules that i can use.

Thanks and regards

Satish

6 REPLIES 6
Read only

Former Member
0 Likes
860

Hi Satish,

Don't you think it is would be great if your subject line is more descriptive and suits the problem description?

What's "temse" ?

Regards,

Anand Mandalika.

Read only

Former Member
0 Likes
860

Hi Satish,

Correct me if I'm wrong but you want to execute a batch input and then store/write the error messages into a text file?

If so please look this tiny example (not full code):

data:  it_messages like bdcmsgcoll occurs 0 with header line.

call transaction 'VK11'
using bdcdata
mode 'E'
update 'S'
messages into it_messages.

* Messages
loop at it_messages
select single * from t100 
where sprsl = sy-langu and
      arbgb = it_messages-msgid and
      msgnr = it_messages-msgnr.

* And here write what you want to do with each message
* Maybe put messages into a another iternal table then process it later to a text file?

endloop.

Hopefully this will give you an idea where to look for the messages.

Regards,

Ville

Read only

Former Member
0 Likes
860

Hi satish,

Before processing the session datas will be stored in APQD and APQI Queue information tables.What u have mentioned this temse id will store in APQL table (BAtch input log directory).

Batch input log messages u can find BDCLM structure. And the table u can find from the where used list of programs and using sql trace.

I think this will serve ur purpose.

regards,

vijay

Read only

Former Member
0 Likes
860

Hi Satish,

Have you look through this one (about TemSe):

http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a8f9c51ea11d189570000e829fbbd/content.htm

Have to admit that I'm not very familiar with this TemSe Data Store thing but at least from link above you can find some the information where the data is stored.

Regards,

Ville

Read only

Former Member
0 Likes
860

Hi,

Check out the function Modules

RSTS_OPEN_RLC for opening Temse Object

RSTS_CLOSE for closing it and

RSTS_READ for reading the contents

Regards,

Siva

Message was edited by: Siva Prakash

Read only

Former Member
0 Likes
860

Hi satish,

I got some more points about TEMSE. The transaction code for TEMSE contents is sp11. ANd the transparents table are tst01 and tst03.