Invoice Details BAPI in SAP
BAPI_BILLINGDOC_GETDETAIL: Import parameters: o BILLINGDOCUMENT: 1900000020
Use of FM 'READ_TEXT' to read the various text objects not only in sale order, any document in SAP.
The function module reads the desired text from the text file, the text memory, or the archive. You must fully specify the text using OBJECT, NAME, ID, and LANGUAGE. An internal work area can hold only one text; therefore, generic specifications are not allowed with these options.
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID = '0001'
LANGUAGE = 'E'
NAME = TDNAME
OBJECT = 'VBBK'
HEADER = HTEXT
TABLES
LINES = LTEXT
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6.
Comments
Post a Comment