Skip to main content
This forum is closed to new posts and responses. New discussions are now taking place in the IBM Developer Answers forum.
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  Enterprise Integration Forum

Enterprise Integration Forum

developerWorks

  

Sign in to participate PreviousPrevious NextNext


Engin Celiktug 26.Feb.10 05:09 PM a Web browser
Domino SAP R/3 Integration - SAP Connector Connector for SAP Solutions - All Releases Windows


Hi,
We have upgraded the SAP connector after the the upgrade of SAP system (to ECC version). Because, we could not use the old scripts anymore. Now, we are using the new script library/methods and we were be able to send the data to SAP but we could not get the old return message which we are saving it into notes document.

At SAP side, we could see all records in MESS_TAB and we could see the required return message at the end of the recordset but when we try to fetch filed list we get only the first record in the table(MESS_TAB).

Is there anybody knows How to get all records from MESS_TAB.

Here is the sample code. Although we use "while" to get all messages we can only get one record.

Thank you in advance!

Engin

CODE:

'and fill it into batch input table
intItemCount = Ubound(itmField.Values)
wrkstring = wrkstring + itmField.Values(0) + "=" + itmValue.Values(0)
For intIndex = 1 To intItemCount
wrkstring = wrkstring + "," + itmField.Values(intIndex) + "=" + itmValue.Values(intIndex)
Next
sapsession.ScreenFields = wrkstring
sapsession.MapByName=True

Call sapsession.Call(transinputlist,1,transoutputlist)

While (sapsession.Fetch (transoutputlist) > 0)
Set Field = transoutputlist.lookup("EXPORTSSUBRC",index)
Set msgid = transoutputlist.Lookup("MESS_TABMSGID")
Set msgnr = transoutputlist.Lookup("MESS_TABMSGNR")
Set msgv1 = transoutputlist.Lookup("MESS_TABMSGV1")
Set msgv2 = transoutputlist.Lookup("MESS_TABMSGV2")
If Field.Text(0) = "0" Then sMessage="(Post edilmiştir)" Else sMessage="(Post İşeminde Hata Alınmıştır!!!)"
MsgBox "MSGID = " + msgid.Text(0) + Chr(13) + _
"MSGNR = " + msgnr.Text(0) + Chr(13) + _
"MSGV1 = " + msgv1.Text(0) + Chr(13) + _
"MSGV2 = " + msgv2.Text(0) + Chr(13) + sMessage

docTrans.Message = msgv2.text(0)
docTrans.Msg = msgv2.text(0)
Wend






sapsession.Fetch and MESS_TAB (Engin Celiktug 26.Feb.10)
. . RE: sapsession.Fetch and MESS_TAB (edy maradona 12.Jan.16)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Author
Category
Platform
Release
Advanced search

 Sign In or Register
Sign in
Forgot your password?
Forgot your user name?
Create new registration

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Connections Cloud Developers
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums


 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
IBM Connections
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
Lotus Enterprise Integration
Lotus Protector
Lotus Quickr
Lotus SmartSuite