Skip to main content
Skip table of contents

Sage: find formatted text (FindRichText)


Sage: find formatted text (FindRichText)

Read the data for multiple formatted texts. In the input parameter group, multiple parameters can be filled with the corresponding search criteria. If the parameters contain the character %, a search is made with like, otherwise with =. The individual search criteria are connected with AND. The following parameters in the parameter group can be filled: aendnr, dataen, datneu, formulargruppe, lang_ext, txt_art, txt_nr, txtlong, txtrich, useraen, userneu. The search can deliver many data records. The size of the parameter group can be adjusted if necessary. If the search criteria do not give any results, the service delivers a corresponding error message. This is entered via the parameter Message. Before evaluating the output parameter group, the parameter Message should be verified.

The following parameters in the output parameter group are filled:

aendnr, dataen, datneu, formulargruppe, lang_ext, txt_art, txt_nr, txtlong, txtrich, useraen, userneu.

Syntax:

Status = f$SageService ( Service , 'FindRichText' , 'PGINPUT' , 'PGOUTPUT' )

 

Argument

Type

Meaning

 

Service

String

URL of the web service

 

'FindRichText'

String

Command constant

 

'PGINPUT'

String

Name of the ePOS parameter group with the search criteria.

 

'PGOUTPUT'

String

Name of the ePOS parameter group with the result data.

Result:

Integer

Status of the function:

1 : the service function was successfully called

-1 : the component eposvbcomexe could not be found

-2 : function URL not entered

-4 : general error

Example:

B7Service = 'http://b7demo.sagebaeurer.de/br71/callin/epos_soap'
rtf_such.txt_nr = 'TTI%'
rtf_such.lang_ext = 'en_us'
Status = f$SageService ( B7Service , 'FindRichText' , 'rtf_such' , 'rtf_liste' )
p$anzeige_ergebnis('rtf_liste' )

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.