As of IS-H Release 2.11 (July 1994), it is possible to lay out the line item texts for a specific customer for copayment. The following conventions apply in this case:
- the customer function module must start with 'ZZ_'
- the following interface is mandatory:
Import parameter EINRI Reference structure TN01-EINRI
FALNR Reference structure NFAL-FALNR
PATNR Reference structure NPAT-PATNR
Export parameter POPTEXT Reference structure BSEG-SGTXT
- Example:
FUNCTION ZZ_POSTING_STRING.
*"
*"Lokale Schnittstelle:
*" IMPORTING
*" EINRI LIKE TN01-EINRI
*" FALNR LIKE NFAL-FALNR
*" PATNR LIKE NPAT-PATNR
*" EXPORTING
*" POSTEXT LIKE BSEG-SGTXT
TABLES: NPAT, NBEW,...
DATA: ...
* Datenbeschaffung
SELECT SINGLE * FROM NPAT WHERE PATNR = PATNR.
...
* Zuweisung an Belegpostionstext
POSTEXT = ...
ENDFUNCTION.
If the conventions are not adhered to, a runtime error can occur (incorrect interface) or the customer function module is not called at all (incorrect name)
Please check the interface and the syntax.
Key word: Copayment
No comments:
Post a Comment