Skip to main content
Skip table of contents

Sage: read text (ReadTextLine)


Sage: read text (ReadTextLine)

Read the data for a text component. The data for identifying text components must be entered in the input parameter group. The following parameters in the parameter group can be filled: kzdruck , lang_ext, lfdnr, txt, txt_art, txt_nr. The search should result in exactly one data record. Otherwise the service returns 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 parameter group are filled:

kzdruck , lang_ext, lfdnr, txt, txt_art, txt_nr.

Syntax:

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

 

Argument

Type

Meaning

 

Service

String

URL of the web service

 

'ReadTextLine'

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'
text_such.txt_nr = 'TST000000028'
text_such.lang_ext = 'en_us'
text_such.lfdnr = 1
Status = f$SageService ( B7Service , 'ReadArticle' , 'text_such' , 'text_erg' )
p$anzeige_ergebnis('text_erg' )

JavaScript errors detected

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

If this problem persists, please contact our support.