SAP HR_MED_REQUEST Function Module for









HR_MED_REQUEST is a standard hr med request SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for hr med request FM, simply by entering the name HR_MED_REQUEST into the relevant SAP transaction such as SE37 or SE38.

Function Group: PMED_KR
Program Name: SAPLPMED_KR
Main Program: SAPLPMED_KR
Appliation area: P
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function HR_MED_REQUEST pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'HR_MED_REQUEST'"
EXPORTING
EMPLOYEENUMBER = "Personnel Number
* TOTALAMOUNT01 = "Total amount for medical expense
* TOTALAMOUNT11 = "Total amount for medical expense
* CURRENCY11 = "Medical expense currency
* CREDITCARDCNT11 = "Credit Card count for medical exp
* CREDITAMOUNT11 = "Credit amount for medical expense
* SUBTYPE12 = "Subtype
* OBJECTID12 = "Object Identification
* BIZNUMBER12 = "Biz number of supply
* SUPPLYNAME12 = "Name of supply
* TOTALCOUNT12 = "Total count for medical expense
* TOTALAMOUNT12 = "Total amount for medical expense
* CURRENCY01 = "Medical expense currency
* CURRENCY12 = "Medical expense currency
* CREDITCARDCNT12 = "Credit Card count for medical exp
* CREDITAMOUNT12 = "Credit amount for medical expense
* SUBTYPE13 = "Subtype
* OBJECTID13 = "Object Identification
* BIZNUMBER13 = "Biz number of supply
* SUPPLYNAME13 = "Name of supply
* TOTALCOUNT13 = "Total count for medical expense
* TOTALAMOUNT13 = "Total amount for medical expense
* CURRENCY13 = "Medical expense currency
* CREDITCARDCNT01 = "Credit Card count for medical exp
* CREDITCARDCNT13 = "Credit Card count for medical exp
* CREDITAMOUNT13 = "Credit amount for medical expense
* SUBTYPE14 = "Subtype
* OBJECTID14 = "Object Identification
* BIZNUMBER14 = "Biz number of supply
* SUPPLYNAME14 = "Name of supply
* TOTALCOUNT14 = "Total count for medical expense
* TOTALAMOUNT14 = "Total amount for medical expense
* CURRENCY14 = "Medical expense currency
* CREDITCARDCNT14 = "Credit Card count for medical exp
* CREDITAMOUNT01 = "Credit amount for medical expense
* CREDITAMOUNT14 = "Credit amount for medical expense
* SUBTYPE15 = "Subtype
* OBJECTID15 = "Object Identification
* BIZNUMBER15 = "Biz number of supply
* SUPPLYNAME15 = "Name of supply
* TOTALCOUNT15 = "Total count for medical expense
* TOTALAMOUNT15 = "Total amount for medical expense
* CURRENCY15 = "Medical expense currency
* CREDITCARDCNT15 = "Credit Card count for medical exp
* CREDITAMOUNT15 = "Credit amount for medical expense
* SUBTYPE02 = "Subtype
* SUBTYPE16 = "Subtype
* OBJECTID16 = "Object Identification
* BIZNUMBER16 = "Biz number of supply
* SUPPLYNAME16 = "Name of supply
* TOTALCOUNT16 = "Total count for medical expense
* TOTALAMOUNT16 = "Total amount for medical expense
* CURRENCY16 = "Medical expense currency
* CREDITCARDCNT16 = "Credit Card count for medical exp
* CREDITAMOUNT16 = "Credit amount for medical expense
* SUBTYPE17 = "Subtype
* OBJECTID02 = "Object Identification
* OBJECTID17 = "Object Identification
* BIZNUMBER17 = "Biz number of supply
* SUPPLYNAME17 = "Name of supply
* TOTALCOUNT17 = "Total count for medical expense
* TOTALAMOUNT17 = "Total amount for medical expense
* CURRENCY17 = "Medical expense currency
* CREDITCARDCNT17 = "Credit Card count for medical exp
* CREDITAMOUNT17 = "Credit amount for medical expense
* SUBTYPE18 = "Subtype
* OBJECTID18 = "Object Identification
* BIZNUMBER02 = "Biz number of supply
* BIZNUMBER18 = "Biz number of supply
* SUPPLYNAME18 = "Name of supply
* TOTALCOUNT18 = "Total count for medical expense
* TOTALAMOUNT18 = "Total amount for medical expense
* CURRENCY18 = "Medical expense currency
* CREDITCARDCNT18 = "Credit Card count for medical exp
* CREDITAMOUNT18 = "Credit amount for medical expense
* NTS_DATA_FLG = "Flag for NTS data or others
* PCD01 = "Proof Code for Medical Expense Classification
* PCD02 = "Proof Code for Medical Expense Classification
* SUPPLYNAME02 = "Name of supply
* PCD03 = "Proof Code for Medical Expense Classification
* PCD04 = "Proof Code for Medical Expense Classification
* PCD05 = "Proof Code for Medical Expense Classification
* PCD06 = "Proof Code for Medical Expense Classification
* PCD07 = "Proof Code for Medical Expense Classification
* PCD08 = "Proof Code for Medical Expense Classification
* PCD09 = "Proof Code for Medical Expense Classification
* PCD10 = "Proof Code for Medical Expense Classification
* PCD11 = "Proof Code for Medical Expense Classification
* PCD12 = "Proof Code for Medical Expense Classification
* TOTALCOUNT02 = "Total count for medical expense
* PCD13 = "Proof Code for Medical Expense Classification
* PCD14 = "Proof Code for Medical Expense Classification
* PCD15 = "Proof Code for Medical Expense Classification
* PCD16 = "Proof Code for Medical Expense Classification
* PCD17 = "Proof Code for Medical Expense Classification
* PCD18 = "Proof Code for Medical Expense Classification
* NOCOMMIT = "COMMIT control at BAPI interface
* TOTALAMOUNT02 = "Total amount for medical expense
VALIDITYBEGIN = "Start Date
* CURRENCY02 = "Medical expense currency
* CREDITCARDCNT02 = "Credit Card count for medical exp
* CREDITAMOUNT02 = "Credit amount for medical expense
* SUBTYPE03 = "Subtype
* OBJECTID03 = "Object Identification
* BIZNUMBER03 = "Biz number of supply
* SUPPLYNAME03 = "Name of supply
* TOTALCOUNT03 = "Total count for medical expense
* TOTALAMOUNT03 = "Total amount for medical expense
* CURRENCY03 = "Medical expense currency
VALIDITYEND = "End Date
* CREDITCARDCNT03 = "Credit Card count for medical exp
* CREDITAMOUNT03 = "Credit amount for medical expense
* SUBTYPE04 = "Subtype
* OBJECTID04 = "Object Identification
* BIZNUMBER04 = "Biz number of supply
* SUPPLYNAME04 = "Name of supply
* TOTALCOUNT04 = "Total count for medical expense
* TOTALAMOUNT04 = "Total amount for medical expense
* CURRENCY04 = "Medical expense currency
* CREDITCARDCNT04 = "Credit Card count for medical exp
MEDEXPTYPE = "Subtype
* CREDITAMOUNT04 = "Credit amount for medical expense
* SUBTYPE05 = "Subtype
* OBJECTID05 = "Object Identification
* BIZNUMBER05 = "Biz number of supply
* SUPPLYNAME05 = "Name of supply
* TOTALCOUNT05 = "Total count for medical expense
* TOTALAMOUNT05 = "Total amount for medical expense
* CURRENCY05 = "Medical expense currency
* CREDITCARDCNT05 = "Credit Card count for medical exp
* CREDITAMOUNT05 = "Credit amount for medical expense
* SUBTYPE01 = "Subtype
* SUBTYPE06 = "Subtype
* OBJECTID06 = "Object Identification
* BIZNUMBER06 = "Biz number of supply
* SUPPLYNAME06 = "Name of supply
* TOTALCOUNT06 = "Total count for medical expense
* TOTALAMOUNT06 = "Total amount for medical expense
* CURRENCY06 = "Medical expense currency
* CREDITCARDCNT06 = "Credit Card count for medical exp
* CREDITAMOUNT06 = "Credit amount for medical expense
* SUBTYPE07 = "Subtype
* OBJECTID01 = "Object Identification
* OBJECTID07 = "Object Identification
* BIZNUMBER07 = "Biz number of supply
* SUPPLYNAME07 = "Name of supply
* TOTALCOUNT07 = "Total count for medical expense
* TOTALAMOUNT07 = "Total amount for medical expense
* CURRENCY07 = "Medical expense currency
* CREDITCARDCNT07 = "Credit Card count for medical exp
* CREDITAMOUNT07 = "Credit amount for medical expense
* SUBTYPE08 = "Subtype
* OBJECTID08 = "Object Identification
* BIZNUMBER01 = "Biz number of supply
* BIZNUMBER08 = "Biz number of supply
* SUPPLYNAME08 = "Name of supply
* TOTALCOUNT08 = "Total count for medical expense
* TOTALAMOUNT08 = "Total amount for medical expense
* CURRENCY08 = "Medical expense currency
* CREDITCARDCNT08 = "Credit Card count for medical exp
* CREDITAMOUNT08 = "Credit amount for medical expense
* SUBTYPE09 = "Subtype
* OBJECTID09 = "Object Identification
* BIZNUMBER09 = "Biz number of supply
* SUPPLYNAME01 = "Name of supply
* SUPPLYNAME09 = "Name of supply
* TOTALCOUNT09 = "Total count for medical expense
* TOTALAMOUNT09 = "Total amount for medical expense
* CURRENCY09 = "Medical expense currency
* CREDITCARDCNT09 = "Credit Card count for medical exp
* CREDITAMOUNT09 = "Credit amount for medical expense
* SUBTYPE10 = "Subtype
* OBJECTID10 = "Object Identification
* BIZNUMBER10 = "Biz number of supply
* SUPPLYNAME10 = "Name of supply
* TOTALCOUNT01 = "Total count for medical expense
* TOTALCOUNT10 = "Total count for medical expense
* TOTALAMOUNT10 = "Total amount for medical expense
* CURRENCY10 = "Medical expense currency
* CREDITCARDCNT10 = "Credit Card count for medical exp
* CREDITAMOUNT10 = "Credit amount for medical expense
* SUBTYPE11 = "Subtype
* OBJECTID11 = "Object Identification
* BIZNUMBER11 = "Biz number of supply
* SUPPLYNAME11 = "Name of supply
* TOTALCOUNT11 = "Total count for medical expense

IMPORTING
RETURN = "Structure for return code
EMPLOYEENUMBER = "Personnel Number
SUBTYPE = "
OBJECTID = "
LOCKINDICATOR = "
VALIDITYBEGIN = "Start Date
VALIDITYEND = "End Date
RECORDNUMBER = "
.



IMPORTING Parameters details for HR_MED_REQUEST

EMPLOYEENUMBER - Personnel Number

Data type: P41_P0812-PERNR
Optional: No
Call by Reference: No ( called with pass by value option)

TOTALAMOUNT01 - Total amount for medical expense

Data type: P41_P0812-TOTALAMOUNT01
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOTALAMOUNT11 - Total amount for medical expense

Data type: P41_P0812-TOTALAMOUNT11
Optional: Yes
Call by Reference: No ( called with pass by value option)

CURRENCY11 - Medical expense currency

Data type: P41_P0812-CURRENCY11
Optional: Yes
Call by Reference: No ( called with pass by value option)

CREDITCARDCNT11 - Credit Card count for medical exp

Data type: P41_P0812-CREDITCARDCNT11
Optional: Yes
Call by Reference: No ( called with pass by value option)

CREDITAMOUNT11 - Credit amount for medical expense

Data type: P41_P0812-CREDITAMOUNT11
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUBTYPE12 - Subtype

Data type: P41_P0812-SUBTYPE12
Optional: Yes
Call by Reference: No ( called with pass by value option)

OBJECTID12 - Object Identification

Data type: P41_P0812-OBJECTID12
Optional: Yes
Call by Reference: No ( called with pass by value option)

BIZNUMBER12 - Biz number of supply

Data type: P41_P0812-BIZNUMBER12
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUPPLYNAME12 - Name of supply

Data type: P41_P0812-SUPPLYNAME12
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOTALCOUNT12 - Total count for medical expense

Data type: P41_P0812-TOTALCOUNT12
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOTALAMOUNT12 - Total amount for medical expense

Data type: P41_P0812-TOTALAMOUNT12
Optional: Yes
Call by Reference: No ( called with pass by value option)

CURRENCY01 - Medical expense currency

Data type: P41_P0812-CURRENCY01
Optional: Yes
Call by Reference: No ( called with pass by value option)

CURRENCY12 - Medical expense currency

Data type: P41_P0812-CURRENCY12
Optional: Yes
Call by Reference: No ( called with pass by value option)

CREDITCARDCNT12 - Credit Card count for medical exp

Data type: P41_P0812-CREDITCARDCNT12
Optional: Yes
Call by Reference: No ( called with pass by value option)

CREDITAMOUNT12 - Credit amount for medical expense

Data type: P41_P0812-CREDITAMOUNT12
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUBTYPE13 - Subtype

Data type: P41_P0812-SUBTYPE13
Optional: Yes
Call by Reference: No ( called with pass by value option)

OBJECTID13 - Object Identification

Data type: P41_P0812-OBJECTID13
Optional: Yes
Call by Reference: No ( called with pass by value option)

BIZNUMBER13 - Biz number of supply

Data type: P41_P0812-BIZNUMBER13
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUPPLYNAME13 - Name of supply

Data type: P41_P0812-SUPPLYNAME13
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOTALCOUNT13 - Total count for medical expense

Data type: P41_P0812-TOTALCOUNT13
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOTALAMOUNT13 - Total amount for medical expense

Data type: P41_P0812-TOTALAMOUNT13
Optional: Yes
Call by Reference: No ( called with pass by value option)

CURRENCY13 - Medical expense currency

Data type: P41_P0812-CURRENCY13
Optional: Yes
Call by Reference: No ( called with pass by value option)

CREDITCARDCNT01 - Credit Card count for medical exp

Data type: P41_P0812-CREDITCARDCNT01
Optional: Yes
Call by Reference: No ( called with pass by value option)

CREDITCARDCNT13 - Credit Card count for medical exp

Data type: P41_P0812-CREDITCARDCNT13
Optional: Yes
Call by Reference: No ( called with pass by value option)

CREDITAMOUNT13 - Credit amount for medical expense

Data type: P41_P0812-CREDITAMOUNT13
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUBTYPE14 - Subtype

Data type: P41_P0812-SUBTYPE14
Optional: Yes
Call by Reference: No ( called with pass by value option)

OBJECTID14 - Object Identification

Data type: P41_P0812-OBJECTID14
Optional: Yes
Call by Reference: No ( called with pass by value option)

BIZNUMBER14 - Biz number of supply

Data type: P41_P0812-BIZNUMBER14
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUPPLYNAME14 - Name of supply

Data type: P41_P0812-SUPPLYNAME14
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOTALCOUNT14 - Total count for medical expense

Data type: P41_P0812-TOTALCOUNT14
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOTALAMOUNT14 - Total amount for medical expense

Data type: P41_P0812-TOTALAMOUNT14
Optional: Yes
Call by Reference: No ( called with pass by value option)

CURRENCY14 - Medical expense currency

Data type: P41_P0812-CURRENCY14
Optional: Yes
Call by Reference: No ( called with pass by value option)

CREDITCARDCNT14 - Credit Card count for medical exp

Data type: P41_P0812-CREDITCARDCNT14
Optional: Yes
Call by Reference: No ( called with pass by value option)

CREDITAMOUNT01 - Credit amount for medical expense

Data type: P41_P0812-CREDITAMOUNT01
Optional: Yes
Call by Reference: No ( called with pass by value option)

CREDITAMOUNT14 - Credit amount for medical expense

Data type: P41_P0812-CREDITAMOUNT14
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUBTYPE15 - Subtype

Data type: P41_P0812-SUBTYPE15
Optional: Yes
Call by Reference: No ( called with pass by value option)

OBJECTID15 - Object Identification

Data type: P41_P0812-OBJECTID15
Optional: Yes
Call by Reference: No ( called with pass by value option)

BIZNUMBER15 - Biz number of supply

Data type: P41_P0812-BIZNUMBER15
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUPPLYNAME15 - Name of supply

Data type: P41_P0812-SUPPLYNAME15
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOTALCOUNT15 - Total count for medical expense

Data type: P41_P0812-TOTALCOUNT15
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOTALAMOUNT15 - Total amount for medical expense

Data type: P41_P0812-TOTALAMOUNT15
Optional: Yes
Call by Reference: No ( called with pass by value option)

CURRENCY15 - Medical expense currency

Data type: P41_P0812-CURRENCY15
Optional: Yes
Call by Reference: No ( called with pass by value option)

CREDITCARDCNT15 - Credit Card count for medical exp

Data type: P41_P0812-CREDITCARDCNT15
Optional: Yes
Call by Reference: No ( called with pass by value option)

CREDITAMOUNT15 - Credit amount for medical expense

Data type: P41_P0812-CREDITAMOUNT15
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUBTYPE02 - Subtype

Data type: P41_P0812-SUBTYPE02
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUBTYPE16 - Subtype

Data type: P41_P0812-SUBTYPE16
Optional: Yes
Call by Reference: No ( called with pass by value option)

OBJECTID16 - Object Identification

Data type: P41_P0812-OBJECTID16
Optional: Yes
Call by Reference: No ( called with pass by value option)

BIZNUMBER16 - Biz number of supply

Data type: P41_P0812-BIZNUMBER16
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUPPLYNAME16 - Name of supply

Data type: P41_P0812-SUPPLYNAME16
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOTALCOUNT16 - Total count for medical expense

Data type: P41_P0812-TOTALCOUNT16
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOTALAMOUNT16 - Total amount for medical expense

Data type: P41_P0812-TOTALAMOUNT16
Optional: Yes
Call by Reference: No ( called with pass by value option)

CURRENCY16 - Medical expense currency

Data type: P41_P0812-CURRENCY16
Optional: Yes
Call by Reference: No ( called with pass by value option)

CREDITCARDCNT16 - Credit Card count for medical exp

Data type: P41_P0812-CREDITCARDCNT16
Optional: Yes
Call by Reference: No ( called with pass by value option)

CREDITAMOUNT16 - Credit amount for medical expense

Data type: P41_P0812-CREDITAMOUNT16
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUBTYPE17 - Subtype

Data type: P41_P0812-SUBTYPE17
Optional: Yes
Call by Reference: No ( called with pass by value option)

OBJECTID02 - Object Identification

Data type: P41_P0812-OBJECTID02
Optional: Yes
Call by Reference: No ( called with pass by value option)

OBJECTID17 - Object Identification

Data type: P41_P0812-OBJECTID17
Optional: Yes
Call by Reference: No ( called with pass by value option)

BIZNUMBER17 - Biz number of supply

Data type: P41_P0812-BIZNUMBER17
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUPPLYNAME17 - Name of supply

Data type: P41_P0812-SUPPLYNAME17
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOTALCOUNT17 - Total count for medical expense

Data type: P41_P0812-TOTALCOUNT17
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOTALAMOUNT17 - Total amount for medical expense

Data type: P41_P0812-TOTALAMOUNT17
Optional: Yes
Call by Reference: No ( called with pass by value option)

CURRENCY17 - Medical expense currency

Data type: P41_P0812-CURRENCY17
Optional: Yes
Call by Reference: No ( called with pass by value option)

CREDITCARDCNT17 - Credit Card count for medical exp

Data type: P41_P0812-CREDITCARDCNT17
Optional: Yes
Call by Reference: No ( called with pass by value option)

CREDITAMOUNT17 - Credit amount for medical expense

Data type: P41_P0812-CREDITAMOUNT17
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUBTYPE18 - Subtype

Data type: P41_P0812-SUBTYPE18
Optional: Yes
Call by Reference: No ( called with pass by value option)

OBJECTID18 - Object Identification

Data type: P41_P0812-OBJECTID18
Optional: Yes
Call by Reference: No ( called with pass by value option)

BIZNUMBER02 - Biz number of supply

Data type: P41_P0812-BIZNUMBER02
Optional: Yes
Call by Reference: No ( called with pass by value option)

BIZNUMBER18 - Biz number of supply

Data type: P41_P0812-BIZNUMBER18
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUPPLYNAME18 - Name of supply

Data type: P41_P0812-SUPPLYNAME18
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOTALCOUNT18 - Total count for medical expense

Data type: P41_P0812-TOTALCOUNT18
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOTALAMOUNT18 - Total amount for medical expense

Data type: P41_P0812-TOTALAMOUNT18
Optional: Yes
Call by Reference: No ( called with pass by value option)

CURRENCY18 - Medical expense currency

Data type: P41_P0812-CURRENCY18
Optional: Yes
Call by Reference: No ( called with pass by value option)

CREDITCARDCNT18 - Credit Card count for medical exp

Data type: P41_P0812-CREDITCARDCNT18
Optional: Yes
Call by Reference: No ( called with pass by value option)

CREDITAMOUNT18 - Credit amount for medical expense

Data type: P41_P0812-CREDITAMOUNT18
Optional: Yes
Call by Reference: No ( called with pass by value option)

NTS_DATA_FLG - Flag for NTS data or others

Data type: P41_P0812-NTS_DATA_FLG
Optional: Yes
Call by Reference: No ( called with pass by value option)

PCD01 - Proof Code for Medical Expense Classification

Data type: P41_P0812-PCD01
Optional: Yes
Call by Reference: No ( called with pass by value option)

PCD02 - Proof Code for Medical Expense Classification

Data type: P41_P0812-PCD02
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUPPLYNAME02 - Name of supply

Data type: P41_P0812-SUPPLYNAME02
Optional: Yes
Call by Reference: No ( called with pass by value option)

PCD03 - Proof Code for Medical Expense Classification

Data type: P41_P0812-PCD03
Optional: Yes
Call by Reference: No ( called with pass by value option)

PCD04 - Proof Code for Medical Expense Classification

Data type: P41_P0812-PCD04
Optional: Yes
Call by Reference: No ( called with pass by value option)

PCD05 - Proof Code for Medical Expense Classification

Data type: P41_P0812-PCD05
Optional: Yes
Call by Reference: No ( called with pass by value option)

PCD06 - Proof Code for Medical Expense Classification

Data type: P41_P0812-PCD06
Optional: Yes
Call by Reference: No ( called with pass by value option)

PCD07 - Proof Code for Medical Expense Classification

Data type: P41_P0812-PCD07
Optional: Yes
Call by Reference: No ( called with pass by value option)

PCD08 - Proof Code for Medical Expense Classification

Data type: P41_P0812-PCD08
Optional: Yes
Call by Reference: No ( called with pass by value option)

PCD09 - Proof Code for Medical Expense Classification

Data type: P41_P0812-PCD09
Optional: Yes
Call by Reference: No ( called with pass by value option)

PCD10 - Proof Code for Medical Expense Classification

Data type: P41_P0812-PCD10
Optional: Yes
Call by Reference: No ( called with pass by value option)

PCD11 - Proof Code for Medical Expense Classification

Data type: P41_P0812-PCD11
Optional: Yes
Call by Reference: No ( called with pass by value option)

PCD12 - Proof Code for Medical Expense Classification

Data type: P41_P0812-PCD12
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOTALCOUNT02 - Total count for medical expense

Data type: P41_P0812-TOTALCOUNT02
Optional: Yes
Call by Reference: No ( called with pass by value option)

PCD13 - Proof Code for Medical Expense Classification

Data type: P41_P0812-PCD13
Optional: Yes
Call by Reference: No ( called with pass by value option)

PCD14 - Proof Code for Medical Expense Classification

Data type: P41_P0812-PCD14
Optional: Yes
Call by Reference: No ( called with pass by value option)

PCD15 - Proof Code for Medical Expense Classification

Data type: P41_P0812-PCD15
Optional: Yes
Call by Reference: No ( called with pass by value option)

PCD16 - Proof Code for Medical Expense Classification

Data type: P41_P0812-PCD16
Optional: Yes
Call by Reference: No ( called with pass by value option)

PCD17 - Proof Code for Medical Expense Classification

Data type: P41_P0812-PCD17
Optional: Yes
Call by Reference: No ( called with pass by value option)

PCD18 - Proof Code for Medical Expense Classification

Data type: P41_P0812-PCD18
Optional: Yes
Call by Reference: No ( called with pass by value option)

NOCOMMIT - COMMIT control at BAPI interface

Data type: BAPI_STAND-NO_COMMIT
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOTALAMOUNT02 - Total amount for medical expense

Data type: P41_P0812-TOTALAMOUNT02
Optional: Yes
Call by Reference: No ( called with pass by value option)

VALIDITYBEGIN - Start Date

Data type: P41_P0812-BEGDA
Optional: No
Call by Reference: No ( called with pass by value option)

CURRENCY02 - Medical expense currency

Data type: P41_P0812-CURRENCY02
Optional: Yes
Call by Reference: No ( called with pass by value option)

CREDITCARDCNT02 - Credit Card count for medical exp

Data type: P41_P0812-CREDITCARDCNT02
Optional: Yes
Call by Reference: No ( called with pass by value option)

CREDITAMOUNT02 - Credit amount for medical expense

Data type: P41_P0812-CREDITAMOUNT02
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUBTYPE03 - Subtype

Data type: P41_P0812-SUBTYPE03
Optional: Yes
Call by Reference: No ( called with pass by value option)

OBJECTID03 - Object Identification

Data type: P41_P0812-OBJECTID03
Optional: Yes
Call by Reference: No ( called with pass by value option)

BIZNUMBER03 - Biz number of supply

Data type: P41_P0812-BIZNUMBER03
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUPPLYNAME03 - Name of supply

Data type: P41_P0812-SUPPLYNAME03
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOTALCOUNT03 - Total count for medical expense

Data type: P41_P0812-TOTALCOUNT03
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOTALAMOUNT03 - Total amount for medical expense

Data type: P41_P0812-TOTALAMOUNT03
Optional: Yes
Call by Reference: No ( called with pass by value option)

CURRENCY03 - Medical expense currency

Data type: P41_P0812-CURRENCY03
Optional: Yes
Call by Reference: No ( called with pass by value option)

VALIDITYEND - End Date

Data type: P41_P0812-ENDDA
Optional: No
Call by Reference: No ( called with pass by value option)

CREDITCARDCNT03 - Credit Card count for medical exp

Data type: P41_P0812-CREDITCARDCNT03
Optional: Yes
Call by Reference: No ( called with pass by value option)

CREDITAMOUNT03 - Credit amount for medical expense

Data type: P41_P0812-CREDITAMOUNT03
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUBTYPE04 - Subtype

Data type: P41_P0812-SUBTYPE04
Optional: Yes
Call by Reference: No ( called with pass by value option)

OBJECTID04 - Object Identification

Data type: P41_P0812-OBJECTID04
Optional: Yes
Call by Reference: No ( called with pass by value option)

BIZNUMBER04 - Biz number of supply

Data type: P41_P0812-BIZNUMBER04
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUPPLYNAME04 - Name of supply

Data type: P41_P0812-SUPPLYNAME04
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOTALCOUNT04 - Total count for medical expense

Data type: P41_P0812-TOTALCOUNT04
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOTALAMOUNT04 - Total amount for medical expense

Data type: P41_P0812-TOTALAMOUNT04
Optional: Yes
Call by Reference: No ( called with pass by value option)

CURRENCY04 - Medical expense currency

Data type: P41_P0812-CURRENCY04
Optional: Yes
Call by Reference: No ( called with pass by value option)

CREDITCARDCNT04 - Credit Card count for medical exp

Data type: P41_P0812-CREDITCARDCNT04
Optional: Yes
Call by Reference: No ( called with pass by value option)

MEDEXPTYPE - Subtype

Data type: P41_P0812-SUBTY
Optional: No
Call by Reference: No ( called with pass by value option)

CREDITAMOUNT04 - Credit amount for medical expense

Data type: P41_P0812-CREDITAMOUNT04
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUBTYPE05 - Subtype

Data type: P41_P0812-SUBTYPE05
Optional: Yes
Call by Reference: No ( called with pass by value option)

OBJECTID05 - Object Identification

Data type: P41_P0812-OBJECTID05
Optional: Yes
Call by Reference: No ( called with pass by value option)

BIZNUMBER05 - Biz number of supply

Data type: P41_P0812-BIZNUMBER05
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUPPLYNAME05 - Name of supply

Data type: P41_P0812-SUPPLYNAME05
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOTALCOUNT05 - Total count for medical expense

Data type: P41_P0812-TOTALCOUNT05
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOTALAMOUNT05 - Total amount for medical expense

Data type: P41_P0812-TOTALAMOUNT05
Optional: Yes
Call by Reference: No ( called with pass by value option)

CURRENCY05 - Medical expense currency

Data type: P41_P0812-CURRENCY05
Optional: Yes
Call by Reference: No ( called with pass by value option)

CREDITCARDCNT05 - Credit Card count for medical exp

Data type: P41_P0812-CREDITCARDCNT05
Optional: Yes
Call by Reference: No ( called with pass by value option)

CREDITAMOUNT05 - Credit amount for medical expense

Data type: P41_P0812-CREDITAMOUNT05
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUBTYPE01 - Subtype

Data type: P41_P0812-SUBTYPE01
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUBTYPE06 - Subtype

Data type: P41_P0812-SUBTYPE06
Optional: Yes
Call by Reference: No ( called with pass by value option)

OBJECTID06 - Object Identification

Data type: P41_P0812-OBJECTID06
Optional: Yes
Call by Reference: No ( called with pass by value option)

BIZNUMBER06 - Biz number of supply

Data type: P41_P0812-BIZNUMBER06
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUPPLYNAME06 - Name of supply

Data type: P41_P0812-SUPPLYNAME06
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOTALCOUNT06 - Total count for medical expense

Data type: P41_P0812-TOTALCOUNT06
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOTALAMOUNT06 - Total amount for medical expense

Data type: P41_P0812-TOTALAMOUNT06
Optional: Yes
Call by Reference: No ( called with pass by value option)

CURRENCY06 - Medical expense currency

Data type: P41_P0812-CURRENCY06
Optional: Yes
Call by Reference: No ( called with pass by value option)

CREDITCARDCNT06 - Credit Card count for medical exp

Data type: P41_P0812-CREDITCARDCNT06
Optional: Yes
Call by Reference: No ( called with pass by value option)

CREDITAMOUNT06 - Credit amount for medical expense

Data type: P41_P0812-CREDITAMOUNT06
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUBTYPE07 - Subtype

Data type: P41_P0812-SUBTYPE07
Optional: Yes
Call by Reference: No ( called with pass by value option)

OBJECTID01 - Object Identification

Data type: P41_P0812-OBJECTID01
Optional: Yes
Call by Reference: No ( called with pass by value option)

OBJECTID07 - Object Identification

Data type: P41_P0812-OBJECTID07
Optional: Yes
Call by Reference: No ( called with pass by value option)

BIZNUMBER07 - Biz number of supply

Data type: P41_P0812-BIZNUMBER07
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUPPLYNAME07 - Name of supply

Data type: P41_P0812-SUPPLYNAME07
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOTALCOUNT07 - Total count for medical expense

Data type: P41_P0812-TOTALCOUNT07
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOTALAMOUNT07 - Total amount for medical expense

Data type: P41_P0812-TOTALAMOUNT07
Optional: Yes
Call by Reference: No ( called with pass by value option)

CURRENCY07 - Medical expense currency

Data type: P41_P0812-CURRENCY07
Optional: Yes
Call by Reference: No ( called with pass by value option)

CREDITCARDCNT07 - Credit Card count for medical exp

Data type: P41_P0812-CREDITCARDCNT07
Optional: Yes
Call by Reference: No ( called with pass by value option)

CREDITAMOUNT07 - Credit amount for medical expense

Data type: P41_P0812-CREDITAMOUNT07
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUBTYPE08 - Subtype

Data type: P41_P0812-SUBTYPE08
Optional: Yes
Call by Reference: No ( called with pass by value option)

OBJECTID08 - Object Identification

Data type: P41_P0812-OBJECTID08
Optional: Yes
Call by Reference: No ( called with pass by value option)

BIZNUMBER01 - Biz number of supply

Data type: P41_P0812-BIZNUMBER01
Optional: Yes
Call by Reference: No ( called with pass by value option)

BIZNUMBER08 - Biz number of supply

Data type: P41_P0812-BIZNUMBER08
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUPPLYNAME08 - Name of supply

Data type: P41_P0812-SUPPLYNAME08
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOTALCOUNT08 - Total count for medical expense

Data type: P41_P0812-TOTALCOUNT08
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOTALAMOUNT08 - Total amount for medical expense

Data type: P41_P0812-TOTALAMOUNT08
Optional: Yes
Call by Reference: No ( called with pass by value option)

CURRENCY08 - Medical expense currency

Data type: P41_P0812-CURRENCY08
Optional: Yes
Call by Reference: No ( called with pass by value option)

CREDITCARDCNT08 - Credit Card count for medical exp

Data type: P41_P0812-CREDITCARDCNT08
Optional: Yes
Call by Reference: No ( called with pass by value option)

CREDITAMOUNT08 - Credit amount for medical expense

Data type: P41_P0812-CREDITAMOUNT08
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUBTYPE09 - Subtype

Data type: P41_P0812-SUBTYPE09
Optional: Yes
Call by Reference: No ( called with pass by value option)

OBJECTID09 - Object Identification

Data type: P41_P0812-OBJECTID09
Optional: Yes
Call by Reference: No ( called with pass by value option)

BIZNUMBER09 - Biz number of supply

Data type: P41_P0812-BIZNUMBER09
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUPPLYNAME01 - Name of supply

Data type: P41_P0812-SUPPLYNAME01
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUPPLYNAME09 - Name of supply

Data type: P41_P0812-SUPPLYNAME09
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOTALCOUNT09 - Total count for medical expense

Data type: P41_P0812-TOTALCOUNT09
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOTALAMOUNT09 - Total amount for medical expense

Data type: P41_P0812-TOTALAMOUNT09
Optional: Yes
Call by Reference: No ( called with pass by value option)

CURRENCY09 - Medical expense currency

Data type: P41_P0812-CURRENCY09
Optional: Yes
Call by Reference: No ( called with pass by value option)

CREDITCARDCNT09 - Credit Card count for medical exp

Data type: P41_P0812-CREDITCARDCNT09
Optional: Yes
Call by Reference: No ( called with pass by value option)

CREDITAMOUNT09 - Credit amount for medical expense

Data type: P41_P0812-CREDITAMOUNT09
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUBTYPE10 - Subtype

Data type: P41_P0812-SUBTYPE10
Optional: Yes
Call by Reference: No ( called with pass by value option)

OBJECTID10 - Object Identification

Data type: P41_P0812-OBJECTID10
Optional: Yes
Call by Reference: No ( called with pass by value option)

BIZNUMBER10 - Biz number of supply

Data type: P41_P0812-BIZNUMBER10
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUPPLYNAME10 - Name of supply

Data type: P41_P0812-SUPPLYNAME10
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOTALCOUNT01 - Total count for medical expense

Data type: P41_P0812-TOTALCOUNT01
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOTALCOUNT10 - Total count for medical expense

Data type: P41_P0812-TOTALCOUNT10
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOTALAMOUNT10 - Total amount for medical expense

Data type: P41_P0812-TOTALAMOUNT10
Optional: Yes
Call by Reference: No ( called with pass by value option)

CURRENCY10 - Medical expense currency

Data type: P41_P0812-CURRENCY10
Optional: Yes
Call by Reference: No ( called with pass by value option)

CREDITCARDCNT10 - Credit Card count for medical exp

Data type: P41_P0812-CREDITCARDCNT10
Optional: Yes
Call by Reference: No ( called with pass by value option)

CREDITAMOUNT10 - Credit amount for medical expense

Data type: P41_P0812-CREDITAMOUNT10
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUBTYPE11 - Subtype

Data type: P41_P0812-SUBTYPE11
Optional: Yes
Call by Reference: No ( called with pass by value option)

OBJECTID11 - Object Identification

Data type: P41_P0812-OBJECTID11
Optional: Yes
Call by Reference: No ( called with pass by value option)

BIZNUMBER11 - Biz number of supply

Data type: P41_P0812-BIZNUMBER11
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUPPLYNAME11 - Name of supply

Data type: P41_P0812-SUPPLYNAME11
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOTALCOUNT11 - Total count for medical expense

Data type: P41_P0812-TOTALCOUNT11
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for HR_MED_REQUEST

RETURN - Structure for return code

Data type: BAPIRETURN1
Optional: No
Call by Reference: No ( called with pass by value option)

EMPLOYEENUMBER - Personnel Number

Data type: P41_P0812-PERNR
Optional: No
Call by Reference: No ( called with pass by value option)

SUBTYPE -

Data type: P41_P0812-SUBTY
Optional: No
Call by Reference: No ( called with pass by value option)

OBJECTID -

Data type: P41_P0812-OBJPS
Optional: No
Call by Reference: No ( called with pass by value option)

LOCKINDICATOR -

Data type: P41_P0812-SPRPS
Optional: No
Call by Reference: No ( called with pass by value option)

VALIDITYBEGIN - Start Date

Data type: P41_P0812-BEGDA
Optional: No
Call by Reference: No ( called with pass by value option)

VALIDITYEND - End Date

Data type: P41_P0812-ENDDA
Optional: No
Call by Reference: No ( called with pass by value option)

RECORDNUMBER -

Data type: P41_P0812-SEQNR
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for HR_MED_REQUEST Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_return  TYPE BAPIRETURN1, "   
lv_employeenumber  TYPE P41_P0812-PERNR, "   
lv_totalamount01  TYPE P41_P0812-TOTALAMOUNT01, "   
lv_totalamount11  TYPE P41_P0812-TOTALAMOUNT11, "   
lv_currency11  TYPE P41_P0812-CURRENCY11, "   
lv_creditcardcnt11  TYPE P41_P0812-CREDITCARDCNT11, "   
lv_creditamount11  TYPE P41_P0812-CREDITAMOUNT11, "   
lv_subtype12  TYPE P41_P0812-SUBTYPE12, "   
lv_objectid12  TYPE P41_P0812-OBJECTID12, "   
lv_biznumber12  TYPE P41_P0812-BIZNUMBER12, "   
lv_supplyname12  TYPE P41_P0812-SUPPLYNAME12, "   
lv_totalcount12  TYPE P41_P0812-TOTALCOUNT12, "   
lv_totalamount12  TYPE P41_P0812-TOTALAMOUNT12, "   
lv_currency01  TYPE P41_P0812-CURRENCY01, "   
lv_currency12  TYPE P41_P0812-CURRENCY12, "   
lv_creditcardcnt12  TYPE P41_P0812-CREDITCARDCNT12, "   
lv_creditamount12  TYPE P41_P0812-CREDITAMOUNT12, "   
lv_subtype13  TYPE P41_P0812-SUBTYPE13, "   
lv_objectid13  TYPE P41_P0812-OBJECTID13, "   
lv_biznumber13  TYPE P41_P0812-BIZNUMBER13, "   
lv_supplyname13  TYPE P41_P0812-SUPPLYNAME13, "   
lv_totalcount13  TYPE P41_P0812-TOTALCOUNT13, "   
lv_totalamount13  TYPE P41_P0812-TOTALAMOUNT13, "   
lv_currency13  TYPE P41_P0812-CURRENCY13, "   
lv_creditcardcnt01  TYPE P41_P0812-CREDITCARDCNT01, "   
lv_creditcardcnt13  TYPE P41_P0812-CREDITCARDCNT13, "   
lv_creditamount13  TYPE P41_P0812-CREDITAMOUNT13, "   
lv_subtype14  TYPE P41_P0812-SUBTYPE14, "   
lv_objectid14  TYPE P41_P0812-OBJECTID14, "   
lv_biznumber14  TYPE P41_P0812-BIZNUMBER14, "   
lv_supplyname14  TYPE P41_P0812-SUPPLYNAME14, "   
lv_totalcount14  TYPE P41_P0812-TOTALCOUNT14, "   
lv_totalamount14  TYPE P41_P0812-TOTALAMOUNT14, "   
lv_currency14  TYPE P41_P0812-CURRENCY14, "   
lv_creditcardcnt14  TYPE P41_P0812-CREDITCARDCNT14, "   
lv_creditamount01  TYPE P41_P0812-CREDITAMOUNT01, "   
lv_creditamount14  TYPE P41_P0812-CREDITAMOUNT14, "   
lv_subtype15  TYPE P41_P0812-SUBTYPE15, "   
lv_objectid15  TYPE P41_P0812-OBJECTID15, "   
lv_biznumber15  TYPE P41_P0812-BIZNUMBER15, "   
lv_supplyname15  TYPE P41_P0812-SUPPLYNAME15, "   
lv_totalcount15  TYPE P41_P0812-TOTALCOUNT15, "   
lv_totalamount15  TYPE P41_P0812-TOTALAMOUNT15, "   
lv_currency15  TYPE P41_P0812-CURRENCY15, "   
lv_creditcardcnt15  TYPE P41_P0812-CREDITCARDCNT15, "   
lv_creditamount15  TYPE P41_P0812-CREDITAMOUNT15, "   
lv_subtype02  TYPE P41_P0812-SUBTYPE02, "   
lv_subtype16  TYPE P41_P0812-SUBTYPE16, "   
lv_objectid16  TYPE P41_P0812-OBJECTID16, "   
lv_biznumber16  TYPE P41_P0812-BIZNUMBER16, "   
lv_supplyname16  TYPE P41_P0812-SUPPLYNAME16, "   
lv_totalcount16  TYPE P41_P0812-TOTALCOUNT16, "   
lv_totalamount16  TYPE P41_P0812-TOTALAMOUNT16, "   
lv_currency16  TYPE P41_P0812-CURRENCY16, "   
lv_creditcardcnt16  TYPE P41_P0812-CREDITCARDCNT16, "   
lv_creditamount16  TYPE P41_P0812-CREDITAMOUNT16, "   
lv_subtype17  TYPE P41_P0812-SUBTYPE17, "   
lv_objectid02  TYPE P41_P0812-OBJECTID02, "   
lv_objectid17  TYPE P41_P0812-OBJECTID17, "   
lv_biznumber17  TYPE P41_P0812-BIZNUMBER17, "   
lv_supplyname17  TYPE P41_P0812-SUPPLYNAME17, "   
lv_totalcount17  TYPE P41_P0812-TOTALCOUNT17, "   
lv_totalamount17  TYPE P41_P0812-TOTALAMOUNT17, "   
lv_currency17  TYPE P41_P0812-CURRENCY17, "   
lv_creditcardcnt17  TYPE P41_P0812-CREDITCARDCNT17, "   
lv_creditamount17  TYPE P41_P0812-CREDITAMOUNT17, "   
lv_subtype18  TYPE P41_P0812-SUBTYPE18, "   
lv_objectid18  TYPE P41_P0812-OBJECTID18, "   
lv_biznumber02  TYPE P41_P0812-BIZNUMBER02, "   
lv_biznumber18  TYPE P41_P0812-BIZNUMBER18, "   
lv_supplyname18  TYPE P41_P0812-SUPPLYNAME18, "   
lv_totalcount18  TYPE P41_P0812-TOTALCOUNT18, "   
lv_totalamount18  TYPE P41_P0812-TOTALAMOUNT18, "   
lv_currency18  TYPE P41_P0812-CURRENCY18, "   
lv_creditcardcnt18  TYPE P41_P0812-CREDITCARDCNT18, "   
lv_creditamount18  TYPE P41_P0812-CREDITAMOUNT18, "   
lv_nts_data_flg  TYPE P41_P0812-NTS_DATA_FLG, "   
lv_pcd01  TYPE P41_P0812-PCD01, "   
lv_pcd02  TYPE P41_P0812-PCD02, "   
lv_supplyname02  TYPE P41_P0812-SUPPLYNAME02, "   
lv_pcd03  TYPE P41_P0812-PCD03, "   
lv_pcd04  TYPE P41_P0812-PCD04, "   
lv_pcd05  TYPE P41_P0812-PCD05, "   
lv_pcd06  TYPE P41_P0812-PCD06, "   
lv_pcd07  TYPE P41_P0812-PCD07, "   
lv_pcd08  TYPE P41_P0812-PCD08, "   
lv_pcd09  TYPE P41_P0812-PCD09, "   
lv_pcd10  TYPE P41_P0812-PCD10, "   
lv_pcd11  TYPE P41_P0812-PCD11, "   
lv_pcd12  TYPE P41_P0812-PCD12, "   
lv_totalcount02  TYPE P41_P0812-TOTALCOUNT02, "   
lv_pcd13  TYPE P41_P0812-PCD13, "   
lv_pcd14  TYPE P41_P0812-PCD14, "   
lv_pcd15  TYPE P41_P0812-PCD15, "   
lv_pcd16  TYPE P41_P0812-PCD16, "   
lv_pcd17  TYPE P41_P0812-PCD17, "   
lv_pcd18  TYPE P41_P0812-PCD18, "   
lv_nocommit  TYPE BAPI_STAND-NO_COMMIT, "   
lv_totalamount02  TYPE P41_P0812-TOTALAMOUNT02, "   
lv_validitybegin  TYPE P41_P0812-BEGDA, "   
lv_employeenumber  TYPE P41_P0812-PERNR, "   
lv_currency02  TYPE P41_P0812-CURRENCY02, "   
lv_creditcardcnt02  TYPE P41_P0812-CREDITCARDCNT02, "   
lv_creditamount02  TYPE P41_P0812-CREDITAMOUNT02, "   
lv_subtype03  TYPE P41_P0812-SUBTYPE03, "   
lv_objectid03  TYPE P41_P0812-OBJECTID03, "   
lv_biznumber03  TYPE P41_P0812-BIZNUMBER03, "   
lv_supplyname03  TYPE P41_P0812-SUPPLYNAME03, "   
lv_totalcount03  TYPE P41_P0812-TOTALCOUNT03, "   
lv_totalamount03  TYPE P41_P0812-TOTALAMOUNT03, "   
lv_currency03  TYPE P41_P0812-CURRENCY03, "   
lv_subtype  TYPE P41_P0812-SUBTY, "   
lv_validityend  TYPE P41_P0812-ENDDA, "   
lv_creditcardcnt03  TYPE P41_P0812-CREDITCARDCNT03, "   
lv_creditamount03  TYPE P41_P0812-CREDITAMOUNT03, "   
lv_subtype04  TYPE P41_P0812-SUBTYPE04, "   
lv_objectid04  TYPE P41_P0812-OBJECTID04, "   
lv_biznumber04  TYPE P41_P0812-BIZNUMBER04, "   
lv_supplyname04  TYPE P41_P0812-SUPPLYNAME04, "   
lv_totalcount04  TYPE P41_P0812-TOTALCOUNT04, "   
lv_totalamount04  TYPE P41_P0812-TOTALAMOUNT04, "   
lv_currency04  TYPE P41_P0812-CURRENCY04, "   
lv_creditcardcnt04  TYPE P41_P0812-CREDITCARDCNT04, "   
lv_objectid  TYPE P41_P0812-OBJPS, "   
lv_medexptype  TYPE P41_P0812-SUBTY, "   
lv_creditamount04  TYPE P41_P0812-CREDITAMOUNT04, "   
lv_subtype05  TYPE P41_P0812-SUBTYPE05, "   
lv_objectid05  TYPE P41_P0812-OBJECTID05, "   
lv_biznumber05  TYPE P41_P0812-BIZNUMBER05, "   
lv_supplyname05  TYPE P41_P0812-SUPPLYNAME05, "   
lv_totalcount05  TYPE P41_P0812-TOTALCOUNT05, "   
lv_totalamount05  TYPE P41_P0812-TOTALAMOUNT05, "   
lv_currency05  TYPE P41_P0812-CURRENCY05, "   
lv_creditcardcnt05  TYPE P41_P0812-CREDITCARDCNT05, "   
lv_creditamount05  TYPE P41_P0812-CREDITAMOUNT05, "   
lv_subtype01  TYPE P41_P0812-SUBTYPE01, "   
lv_lockindicator  TYPE P41_P0812-SPRPS, "   
lv_subtype06  TYPE P41_P0812-SUBTYPE06, "   
lv_objectid06  TYPE P41_P0812-OBJECTID06, "   
lv_biznumber06  TYPE P41_P0812-BIZNUMBER06, "   
lv_supplyname06  TYPE P41_P0812-SUPPLYNAME06, "   
lv_totalcount06  TYPE P41_P0812-TOTALCOUNT06, "   
lv_totalamount06  TYPE P41_P0812-TOTALAMOUNT06, "   
lv_currency06  TYPE P41_P0812-CURRENCY06, "   
lv_creditcardcnt06  TYPE P41_P0812-CREDITCARDCNT06, "   
lv_creditamount06  TYPE P41_P0812-CREDITAMOUNT06, "   
lv_subtype07  TYPE P41_P0812-SUBTYPE07, "   
lv_objectid01  TYPE P41_P0812-OBJECTID01, "   
lv_validitybegin  TYPE P41_P0812-BEGDA, "   
lv_objectid07  TYPE P41_P0812-OBJECTID07, "   
lv_biznumber07  TYPE P41_P0812-BIZNUMBER07, "   
lv_supplyname07  TYPE P41_P0812-SUPPLYNAME07, "   
lv_totalcount07  TYPE P41_P0812-TOTALCOUNT07, "   
lv_totalamount07  TYPE P41_P0812-TOTALAMOUNT07, "   
lv_currency07  TYPE P41_P0812-CURRENCY07, "   
lv_creditcardcnt07  TYPE P41_P0812-CREDITCARDCNT07, "   
lv_creditamount07  TYPE P41_P0812-CREDITAMOUNT07, "   
lv_subtype08  TYPE P41_P0812-SUBTYPE08, "   
lv_objectid08  TYPE P41_P0812-OBJECTID08, "   
lv_biznumber01  TYPE P41_P0812-BIZNUMBER01, "   
lv_validityend  TYPE P41_P0812-ENDDA, "   
lv_biznumber08  TYPE P41_P0812-BIZNUMBER08, "   
lv_supplyname08  TYPE P41_P0812-SUPPLYNAME08, "   
lv_totalcount08  TYPE P41_P0812-TOTALCOUNT08, "   
lv_totalamount08  TYPE P41_P0812-TOTALAMOUNT08, "   
lv_currency08  TYPE P41_P0812-CURRENCY08, "   
lv_creditcardcnt08  TYPE P41_P0812-CREDITCARDCNT08, "   
lv_creditamount08  TYPE P41_P0812-CREDITAMOUNT08, "   
lv_subtype09  TYPE P41_P0812-SUBTYPE09, "   
lv_objectid09  TYPE P41_P0812-OBJECTID09, "   
lv_biznumber09  TYPE P41_P0812-BIZNUMBER09, "   
lv_recordnumber  TYPE P41_P0812-SEQNR, "   
lv_supplyname01  TYPE P41_P0812-SUPPLYNAME01, "   
lv_supplyname09  TYPE P41_P0812-SUPPLYNAME09, "   
lv_totalcount09  TYPE P41_P0812-TOTALCOUNT09, "   
lv_totalamount09  TYPE P41_P0812-TOTALAMOUNT09, "   
lv_currency09  TYPE P41_P0812-CURRENCY09, "   
lv_creditcardcnt09  TYPE P41_P0812-CREDITCARDCNT09, "   
lv_creditamount09  TYPE P41_P0812-CREDITAMOUNT09, "   
lv_subtype10  TYPE P41_P0812-SUBTYPE10, "   
lv_objectid10  TYPE P41_P0812-OBJECTID10, "   
lv_biznumber10  TYPE P41_P0812-BIZNUMBER10, "   
lv_supplyname10  TYPE P41_P0812-SUPPLYNAME10, "   
lv_totalcount01  TYPE P41_P0812-TOTALCOUNT01, "   
lv_totalcount10  TYPE P41_P0812-TOTALCOUNT10, "   
lv_totalamount10  TYPE P41_P0812-TOTALAMOUNT10, "   
lv_currency10  TYPE P41_P0812-CURRENCY10, "   
lv_creditcardcnt10  TYPE P41_P0812-CREDITCARDCNT10, "   
lv_creditamount10  TYPE P41_P0812-CREDITAMOUNT10, "   
lv_subtype11  TYPE P41_P0812-SUBTYPE11, "   
lv_objectid11  TYPE P41_P0812-OBJECTID11, "   
lv_biznumber11  TYPE P41_P0812-BIZNUMBER11, "   
lv_supplyname11  TYPE P41_P0812-SUPPLYNAME11, "   
lv_totalcount11  TYPE P41_P0812-TOTALCOUNT11. "   

  CALL FUNCTION 'HR_MED_REQUEST'  "
    EXPORTING
         EMPLOYEENUMBER = lv_employeenumber
         TOTALAMOUNT01 = lv_totalamount01
         TOTALAMOUNT11 = lv_totalamount11
         CURRENCY11 = lv_currency11
         CREDITCARDCNT11 = lv_creditcardcnt11
         CREDITAMOUNT11 = lv_creditamount11
         SUBTYPE12 = lv_subtype12
         OBJECTID12 = lv_objectid12
         BIZNUMBER12 = lv_biznumber12
         SUPPLYNAME12 = lv_supplyname12
         TOTALCOUNT12 = lv_totalcount12
         TOTALAMOUNT12 = lv_totalamount12
         CURRENCY01 = lv_currency01
         CURRENCY12 = lv_currency12
         CREDITCARDCNT12 = lv_creditcardcnt12
         CREDITAMOUNT12 = lv_creditamount12
         SUBTYPE13 = lv_subtype13
         OBJECTID13 = lv_objectid13
         BIZNUMBER13 = lv_biznumber13
         SUPPLYNAME13 = lv_supplyname13
         TOTALCOUNT13 = lv_totalcount13
         TOTALAMOUNT13 = lv_totalamount13
         CURRENCY13 = lv_currency13
         CREDITCARDCNT01 = lv_creditcardcnt01
         CREDITCARDCNT13 = lv_creditcardcnt13
         CREDITAMOUNT13 = lv_creditamount13
         SUBTYPE14 = lv_subtype14
         OBJECTID14 = lv_objectid14
         BIZNUMBER14 = lv_biznumber14
         SUPPLYNAME14 = lv_supplyname14
         TOTALCOUNT14 = lv_totalcount14
         TOTALAMOUNT14 = lv_totalamount14
         CURRENCY14 = lv_currency14
         CREDITCARDCNT14 = lv_creditcardcnt14
         CREDITAMOUNT01 = lv_creditamount01
         CREDITAMOUNT14 = lv_creditamount14
         SUBTYPE15 = lv_subtype15
         OBJECTID15 = lv_objectid15
         BIZNUMBER15 = lv_biznumber15
         SUPPLYNAME15 = lv_supplyname15
         TOTALCOUNT15 = lv_totalcount15
         TOTALAMOUNT15 = lv_totalamount15
         CURRENCY15 = lv_currency15
         CREDITCARDCNT15 = lv_creditcardcnt15
         CREDITAMOUNT15 = lv_creditamount15
         SUBTYPE02 = lv_subtype02
         SUBTYPE16 = lv_subtype16
         OBJECTID16 = lv_objectid16
         BIZNUMBER16 = lv_biznumber16
         SUPPLYNAME16 = lv_supplyname16
         TOTALCOUNT16 = lv_totalcount16
         TOTALAMOUNT16 = lv_totalamount16
         CURRENCY16 = lv_currency16
         CREDITCARDCNT16 = lv_creditcardcnt16
         CREDITAMOUNT16 = lv_creditamount16
         SUBTYPE17 = lv_subtype17
         OBJECTID02 = lv_objectid02
         OBJECTID17 = lv_objectid17
         BIZNUMBER17 = lv_biznumber17
         SUPPLYNAME17 = lv_supplyname17
         TOTALCOUNT17 = lv_totalcount17
         TOTALAMOUNT17 = lv_totalamount17
         CURRENCY17 = lv_currency17
         CREDITCARDCNT17 = lv_creditcardcnt17
         CREDITAMOUNT17 = lv_creditamount17
         SUBTYPE18 = lv_subtype18
         OBJECTID18 = lv_objectid18
         BIZNUMBER02 = lv_biznumber02
         BIZNUMBER18 = lv_biznumber18
         SUPPLYNAME18 = lv_supplyname18
         TOTALCOUNT18 = lv_totalcount18
         TOTALAMOUNT18 = lv_totalamount18
         CURRENCY18 = lv_currency18
         CREDITCARDCNT18 = lv_creditcardcnt18
         CREDITAMOUNT18 = lv_creditamount18
         NTS_DATA_FLG = lv_nts_data_flg
         PCD01 = lv_pcd01
         PCD02 = lv_pcd02
         SUPPLYNAME02 = lv_supplyname02
         PCD03 = lv_pcd03
         PCD04 = lv_pcd04
         PCD05 = lv_pcd05
         PCD06 = lv_pcd06
         PCD07 = lv_pcd07
         PCD08 = lv_pcd08
         PCD09 = lv_pcd09
         PCD10 = lv_pcd10
         PCD11 = lv_pcd11
         PCD12 = lv_pcd12
         TOTALCOUNT02 = lv_totalcount02
         PCD13 = lv_pcd13
         PCD14 = lv_pcd14
         PCD15 = lv_pcd15
         PCD16 = lv_pcd16
         PCD17 = lv_pcd17
         PCD18 = lv_pcd18
         NOCOMMIT = lv_nocommit
         TOTALAMOUNT02 = lv_totalamount02
         VALIDITYBEGIN = lv_validitybegin
         CURRENCY02 = lv_currency02
         CREDITCARDCNT02 = lv_creditcardcnt02
         CREDITAMOUNT02 = lv_creditamount02
         SUBTYPE03 = lv_subtype03
         OBJECTID03 = lv_objectid03
         BIZNUMBER03 = lv_biznumber03
         SUPPLYNAME03 = lv_supplyname03
         TOTALCOUNT03 = lv_totalcount03
         TOTALAMOUNT03 = lv_totalamount03
         CURRENCY03 = lv_currency03
         VALIDITYEND = lv_validityend
         CREDITCARDCNT03 = lv_creditcardcnt03
         CREDITAMOUNT03 = lv_creditamount03
         SUBTYPE04 = lv_subtype04
         OBJECTID04 = lv_objectid04
         BIZNUMBER04 = lv_biznumber04
         SUPPLYNAME04 = lv_supplyname04
         TOTALCOUNT04 = lv_totalcount04
         TOTALAMOUNT04 = lv_totalamount04
         CURRENCY04 = lv_currency04
         CREDITCARDCNT04 = lv_creditcardcnt04
         MEDEXPTYPE = lv_medexptype
         CREDITAMOUNT04 = lv_creditamount04
         SUBTYPE05 = lv_subtype05
         OBJECTID05 = lv_objectid05
         BIZNUMBER05 = lv_biznumber05
         SUPPLYNAME05 = lv_supplyname05
         TOTALCOUNT05 = lv_totalcount05
         TOTALAMOUNT05 = lv_totalamount05
         CURRENCY05 = lv_currency05
         CREDITCARDCNT05 = lv_creditcardcnt05
         CREDITAMOUNT05 = lv_creditamount05
         SUBTYPE01 = lv_subtype01
         SUBTYPE06 = lv_subtype06
         OBJECTID06 = lv_objectid06
         BIZNUMBER06 = lv_biznumber06
         SUPPLYNAME06 = lv_supplyname06
         TOTALCOUNT06 = lv_totalcount06
         TOTALAMOUNT06 = lv_totalamount06
         CURRENCY06 = lv_currency06
         CREDITCARDCNT06 = lv_creditcardcnt06
         CREDITAMOUNT06 = lv_creditamount06
         SUBTYPE07 = lv_subtype07
         OBJECTID01 = lv_objectid01
         OBJECTID07 = lv_objectid07
         BIZNUMBER07 = lv_biznumber07
         SUPPLYNAME07 = lv_supplyname07
         TOTALCOUNT07 = lv_totalcount07
         TOTALAMOUNT07 = lv_totalamount07
         CURRENCY07 = lv_currency07
         CREDITCARDCNT07 = lv_creditcardcnt07
         CREDITAMOUNT07 = lv_creditamount07
         SUBTYPE08 = lv_subtype08
         OBJECTID08 = lv_objectid08
         BIZNUMBER01 = lv_biznumber01
         BIZNUMBER08 = lv_biznumber08
         SUPPLYNAME08 = lv_supplyname08
         TOTALCOUNT08 = lv_totalcount08
         TOTALAMOUNT08 = lv_totalamount08
         CURRENCY08 = lv_currency08
         CREDITCARDCNT08 = lv_creditcardcnt08
         CREDITAMOUNT08 = lv_creditamount08
         SUBTYPE09 = lv_subtype09
         OBJECTID09 = lv_objectid09
         BIZNUMBER09 = lv_biznumber09
         SUPPLYNAME01 = lv_supplyname01
         SUPPLYNAME09 = lv_supplyname09
         TOTALCOUNT09 = lv_totalcount09
         TOTALAMOUNT09 = lv_totalamount09
         CURRENCY09 = lv_currency09
         CREDITCARDCNT09 = lv_creditcardcnt09
         CREDITAMOUNT09 = lv_creditamount09
         SUBTYPE10 = lv_subtype10
         OBJECTID10 = lv_objectid10
         BIZNUMBER10 = lv_biznumber10
         SUPPLYNAME10 = lv_supplyname10
         TOTALCOUNT01 = lv_totalcount01
         TOTALCOUNT10 = lv_totalcount10
         TOTALAMOUNT10 = lv_totalamount10
         CURRENCY10 = lv_currency10
         CREDITCARDCNT10 = lv_creditcardcnt10
         CREDITAMOUNT10 = lv_creditamount10
         SUBTYPE11 = lv_subtype11
         OBJECTID11 = lv_objectid11
         BIZNUMBER11 = lv_biznumber11
         SUPPLYNAME11 = lv_supplyname11
         TOTALCOUNT11 = lv_totalcount11
    IMPORTING
         RETURN = lv_return
         EMPLOYEENUMBER = lv_employeenumber
         SUBTYPE = lv_subtype
         OBJECTID = lv_objectid
         LOCKINDICATOR = lv_lockindicator
         VALIDITYBEGIN = lv_validitybegin
         VALIDITYEND = lv_validityend
         RECORDNUMBER = lv_recordnumber
. " HR_MED_REQUEST




ABAP code using 7.40 inline data declarations to call FM HR_MED_REQUEST

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
"SELECT single PERNR FROM P41_P0812 INTO @DATA(ld_employeenumber).
 
"SELECT single TOTALAMOUNT01 FROM P41_P0812 INTO @DATA(ld_totalamount01).
 
"SELECT single TOTALAMOUNT11 FROM P41_P0812 INTO @DATA(ld_totalamount11).
 
"SELECT single CURRENCY11 FROM P41_P0812 INTO @DATA(ld_currency11).
 
"SELECT single CREDITCARDCNT11 FROM P41_P0812 INTO @DATA(ld_creditcardcnt11).
 
"SELECT single CREDITAMOUNT11 FROM P41_P0812 INTO @DATA(ld_creditamount11).
 
"SELECT single SUBTYPE12 FROM P41_P0812 INTO @DATA(ld_subtype12).
 
"SELECT single OBJECTID12 FROM P41_P0812 INTO @DATA(ld_objectid12).
 
"SELECT single BIZNUMBER12 FROM P41_P0812 INTO @DATA(ld_biznumber12).
 
"SELECT single SUPPLYNAME12 FROM P41_P0812 INTO @DATA(ld_supplyname12).
 
"SELECT single TOTALCOUNT12 FROM P41_P0812 INTO @DATA(ld_totalcount12).
 
"SELECT single TOTALAMOUNT12 FROM P41_P0812 INTO @DATA(ld_totalamount12).
 
"SELECT single CURRENCY01 FROM P41_P0812 INTO @DATA(ld_currency01).
 
"SELECT single CURRENCY12 FROM P41_P0812 INTO @DATA(ld_currency12).
 
"SELECT single CREDITCARDCNT12 FROM P41_P0812 INTO @DATA(ld_creditcardcnt12).
 
"SELECT single CREDITAMOUNT12 FROM P41_P0812 INTO @DATA(ld_creditamount12).
 
"SELECT single SUBTYPE13 FROM P41_P0812 INTO @DATA(ld_subtype13).
 
"SELECT single OBJECTID13 FROM P41_P0812 INTO @DATA(ld_objectid13).
 
"SELECT single BIZNUMBER13 FROM P41_P0812 INTO @DATA(ld_biznumber13).
 
"SELECT single SUPPLYNAME13 FROM P41_P0812 INTO @DATA(ld_supplyname13).
 
"SELECT single TOTALCOUNT13 FROM P41_P0812 INTO @DATA(ld_totalcount13).
 
"SELECT single TOTALAMOUNT13 FROM P41_P0812 INTO @DATA(ld_totalamount13).
 
"SELECT single CURRENCY13 FROM P41_P0812 INTO @DATA(ld_currency13).
 
"SELECT single CREDITCARDCNT01 FROM P41_P0812 INTO @DATA(ld_creditcardcnt01).
 
"SELECT single CREDITCARDCNT13 FROM P41_P0812 INTO @DATA(ld_creditcardcnt13).
 
"SELECT single CREDITAMOUNT13 FROM P41_P0812 INTO @DATA(ld_creditamount13).
 
"SELECT single SUBTYPE14 FROM P41_P0812 INTO @DATA(ld_subtype14).
 
"SELECT single OBJECTID14 FROM P41_P0812 INTO @DATA(ld_objectid14).
 
"SELECT single BIZNUMBER14 FROM P41_P0812 INTO @DATA(ld_biznumber14).
 
"SELECT single SUPPLYNAME14 FROM P41_P0812 INTO @DATA(ld_supplyname14).
 
"SELECT single TOTALCOUNT14 FROM P41_P0812 INTO @DATA(ld_totalcount14).
 
"SELECT single TOTALAMOUNT14 FROM P41_P0812 INTO @DATA(ld_totalamount14).
 
"SELECT single CURRENCY14 FROM P41_P0812 INTO @DATA(ld_currency14).
 
"SELECT single CREDITCARDCNT14 FROM P41_P0812 INTO @DATA(ld_creditcardcnt14).
 
"SELECT single CREDITAMOUNT01 FROM P41_P0812 INTO @DATA(ld_creditamount01).
 
"SELECT single CREDITAMOUNT14 FROM P41_P0812 INTO @DATA(ld_creditamount14).
 
"SELECT single SUBTYPE15 FROM P41_P0812 INTO @DATA(ld_subtype15).
 
"SELECT single OBJECTID15 FROM P41_P0812 INTO @DATA(ld_objectid15).
 
"SELECT single BIZNUMBER15 FROM P41_P0812 INTO @DATA(ld_biznumber15).
 
"SELECT single SUPPLYNAME15 FROM P41_P0812 INTO @DATA(ld_supplyname15).
 
"SELECT single TOTALCOUNT15 FROM P41_P0812 INTO @DATA(ld_totalcount15).
 
"SELECT single TOTALAMOUNT15 FROM P41_P0812 INTO @DATA(ld_totalamount15).
 
"SELECT single CURRENCY15 FROM P41_P0812 INTO @DATA(ld_currency15).
 
"SELECT single CREDITCARDCNT15 FROM P41_P0812 INTO @DATA(ld_creditcardcnt15).
 
"SELECT single CREDITAMOUNT15 FROM P41_P0812 INTO @DATA(ld_creditamount15).
 
"SELECT single SUBTYPE02 FROM P41_P0812 INTO @DATA(ld_subtype02).
 
"SELECT single SUBTYPE16 FROM P41_P0812 INTO @DATA(ld_subtype16).
 
"SELECT single OBJECTID16 FROM P41_P0812 INTO @DATA(ld_objectid16).
 
"SELECT single BIZNUMBER16 FROM P41_P0812 INTO @DATA(ld_biznumber16).
 
"SELECT single SUPPLYNAME16 FROM P41_P0812 INTO @DATA(ld_supplyname16).
 
"SELECT single TOTALCOUNT16 FROM P41_P0812 INTO @DATA(ld_totalcount16).
 
"SELECT single TOTALAMOUNT16 FROM P41_P0812 INTO @DATA(ld_totalamount16).
 
"SELECT single CURRENCY16 FROM P41_P0812 INTO @DATA(ld_currency16).
 
"SELECT single CREDITCARDCNT16 FROM P41_P0812 INTO @DATA(ld_creditcardcnt16).
 
"SELECT single CREDITAMOUNT16 FROM P41_P0812 INTO @DATA(ld_creditamount16).
 
"SELECT single SUBTYPE17 FROM P41_P0812 INTO @DATA(ld_subtype17).
 
"SELECT single OBJECTID02 FROM P41_P0812 INTO @DATA(ld_objectid02).
 
"SELECT single OBJECTID17 FROM P41_P0812 INTO @DATA(ld_objectid17).
 
"SELECT single BIZNUMBER17 FROM P41_P0812 INTO @DATA(ld_biznumber17).
 
"SELECT single SUPPLYNAME17 FROM P41_P0812 INTO @DATA(ld_supplyname17).
 
"SELECT single TOTALCOUNT17 FROM P41_P0812 INTO @DATA(ld_totalcount17).
 
"SELECT single TOTALAMOUNT17 FROM P41_P0812 INTO @DATA(ld_totalamount17).
 
"SELECT single CURRENCY17 FROM P41_P0812 INTO @DATA(ld_currency17).
 
"SELECT single CREDITCARDCNT17 FROM P41_P0812 INTO @DATA(ld_creditcardcnt17).
 
"SELECT single CREDITAMOUNT17 FROM P41_P0812 INTO @DATA(ld_creditamount17).
 
"SELECT single SUBTYPE18 FROM P41_P0812 INTO @DATA(ld_subtype18).
 
"SELECT single OBJECTID18 FROM P41_P0812 INTO @DATA(ld_objectid18).
 
"SELECT single BIZNUMBER02 FROM P41_P0812 INTO @DATA(ld_biznumber02).
 
"SELECT single BIZNUMBER18 FROM P41_P0812 INTO @DATA(ld_biznumber18).
 
"SELECT single SUPPLYNAME18 FROM P41_P0812 INTO @DATA(ld_supplyname18).
 
"SELECT single TOTALCOUNT18 FROM P41_P0812 INTO @DATA(ld_totalcount18).
 
"SELECT single TOTALAMOUNT18 FROM P41_P0812 INTO @DATA(ld_totalamount18).
 
"SELECT single CURRENCY18 FROM P41_P0812 INTO @DATA(ld_currency18).
 
"SELECT single CREDITCARDCNT18 FROM P41_P0812 INTO @DATA(ld_creditcardcnt18).
 
"SELECT single CREDITAMOUNT18 FROM P41_P0812 INTO @DATA(ld_creditamount18).
 
"SELECT single NTS_DATA_FLG FROM P41_P0812 INTO @DATA(ld_nts_data_flg).
 
"SELECT single PCD01 FROM P41_P0812 INTO @DATA(ld_pcd01).
 
"SELECT single PCD02 FROM P41_P0812 INTO @DATA(ld_pcd02).
 
"SELECT single SUPPLYNAME02 FROM P41_P0812 INTO @DATA(ld_supplyname02).
 
"SELECT single PCD03 FROM P41_P0812 INTO @DATA(ld_pcd03).
 
"SELECT single PCD04 FROM P41_P0812 INTO @DATA(ld_pcd04).
 
"SELECT single PCD05 FROM P41_P0812 INTO @DATA(ld_pcd05).
 
"SELECT single PCD06 FROM P41_P0812 INTO @DATA(ld_pcd06).
 
"SELECT single PCD07 FROM P41_P0812 INTO @DATA(ld_pcd07).
 
"SELECT single PCD08 FROM P41_P0812 INTO @DATA(ld_pcd08).
 
"SELECT single PCD09 FROM P41_P0812 INTO @DATA(ld_pcd09).
 
"SELECT single PCD10 FROM P41_P0812 INTO @DATA(ld_pcd10).
 
"SELECT single PCD11 FROM P41_P0812 INTO @DATA(ld_pcd11).
 
"SELECT single PCD12 FROM P41_P0812 INTO @DATA(ld_pcd12).
 
"SELECT single TOTALCOUNT02 FROM P41_P0812 INTO @DATA(ld_totalcount02).
 
"SELECT single PCD13 FROM P41_P0812 INTO @DATA(ld_pcd13).
 
"SELECT single PCD14 FROM P41_P0812 INTO @DATA(ld_pcd14).
 
"SELECT single PCD15 FROM P41_P0812 INTO @DATA(ld_pcd15).
 
"SELECT single PCD16 FROM P41_P0812 INTO @DATA(ld_pcd16).
 
"SELECT single PCD17 FROM P41_P0812 INTO @DATA(ld_pcd17).
 
"SELECT single PCD18 FROM P41_P0812 INTO @DATA(ld_pcd18).
 
"SELECT single NO_COMMIT FROM BAPI_STAND INTO @DATA(ld_nocommit).
 
"SELECT single TOTALAMOUNT02 FROM P41_P0812 INTO @DATA(ld_totalamount02).
 
"SELECT single BEGDA FROM P41_P0812 INTO @DATA(ld_validitybegin).
 
"SELECT single PERNR FROM P41_P0812 INTO @DATA(ld_employeenumber).
 
"SELECT single CURRENCY02 FROM P41_P0812 INTO @DATA(ld_currency02).
 
"SELECT single CREDITCARDCNT02 FROM P41_P0812 INTO @DATA(ld_creditcardcnt02).
 
"SELECT single CREDITAMOUNT02 FROM P41_P0812 INTO @DATA(ld_creditamount02).
 
"SELECT single SUBTYPE03 FROM P41_P0812 INTO @DATA(ld_subtype03).
 
"SELECT single OBJECTID03 FROM P41_P0812 INTO @DATA(ld_objectid03).
 
"SELECT single BIZNUMBER03 FROM P41_P0812 INTO @DATA(ld_biznumber03).
 
"SELECT single SUPPLYNAME03 FROM P41_P0812 INTO @DATA(ld_supplyname03).
 
"SELECT single TOTALCOUNT03 FROM P41_P0812 INTO @DATA(ld_totalcount03).
 
"SELECT single TOTALAMOUNT03 FROM P41_P0812 INTO @DATA(ld_totalamount03).
 
"SELECT single CURRENCY03 FROM P41_P0812 INTO @DATA(ld_currency03).
 
"SELECT single SUBTY FROM P41_P0812 INTO @DATA(ld_subtype).
 
"SELECT single ENDDA FROM P41_P0812 INTO @DATA(ld_validityend).
 
"SELECT single CREDITCARDCNT03 FROM P41_P0812 INTO @DATA(ld_creditcardcnt03).
 
"SELECT single CREDITAMOUNT03 FROM P41_P0812 INTO @DATA(ld_creditamount03).
 
"SELECT single SUBTYPE04 FROM P41_P0812 INTO @DATA(ld_subtype04).
 
"SELECT single OBJECTID04 FROM P41_P0812 INTO @DATA(ld_objectid04).
 
"SELECT single BIZNUMBER04 FROM P41_P0812 INTO @DATA(ld_biznumber04).
 
"SELECT single SUPPLYNAME04 FROM P41_P0812 INTO @DATA(ld_supplyname04).
 
"SELECT single TOTALCOUNT04 FROM P41_P0812 INTO @DATA(ld_totalcount04).
 
"SELECT single TOTALAMOUNT04 FROM P41_P0812 INTO @DATA(ld_totalamount04).
 
"SELECT single CURRENCY04 FROM P41_P0812 INTO @DATA(ld_currency04).
 
"SELECT single CREDITCARDCNT04 FROM P41_P0812 INTO @DATA(ld_creditcardcnt04).
 
"SELECT single OBJPS FROM P41_P0812 INTO @DATA(ld_objectid).
 
"SELECT single SUBTY FROM P41_P0812 INTO @DATA(ld_medexptype).
 
"SELECT single CREDITAMOUNT04 FROM P41_P0812 INTO @DATA(ld_creditamount04).
 
"SELECT single SUBTYPE05 FROM P41_P0812 INTO @DATA(ld_subtype05).
 
"SELECT single OBJECTID05 FROM P41_P0812 INTO @DATA(ld_objectid05).
 
"SELECT single BIZNUMBER05 FROM P41_P0812 INTO @DATA(ld_biznumber05).
 
"SELECT single SUPPLYNAME05 FROM P41_P0812 INTO @DATA(ld_supplyname05).
 
"SELECT single TOTALCOUNT05 FROM P41_P0812 INTO @DATA(ld_totalcount05).
 
"SELECT single TOTALAMOUNT05 FROM P41_P0812 INTO @DATA(ld_totalamount05).
 
"SELECT single CURRENCY05 FROM P41_P0812 INTO @DATA(ld_currency05).
 
"SELECT single CREDITCARDCNT05 FROM P41_P0812 INTO @DATA(ld_creditcardcnt05).
 
"SELECT single CREDITAMOUNT05 FROM P41_P0812 INTO @DATA(ld_creditamount05).
 
"SELECT single SUBTYPE01 FROM P41_P0812 INTO @DATA(ld_subtype01).
 
"SELECT single SPRPS FROM P41_P0812 INTO @DATA(ld_lockindicator).
 
"SELECT single SUBTYPE06 FROM P41_P0812 INTO @DATA(ld_subtype06).
 
"SELECT single OBJECTID06 FROM P41_P0812 INTO @DATA(ld_objectid06).
 
"SELECT single BIZNUMBER06 FROM P41_P0812 INTO @DATA(ld_biznumber06).
 
"SELECT single SUPPLYNAME06 FROM P41_P0812 INTO @DATA(ld_supplyname06).
 
"SELECT single TOTALCOUNT06 FROM P41_P0812 INTO @DATA(ld_totalcount06).
 
"SELECT single TOTALAMOUNT06 FROM P41_P0812 INTO @DATA(ld_totalamount06).
 
"SELECT single CURRENCY06 FROM P41_P0812 INTO @DATA(ld_currency06).
 
"SELECT single CREDITCARDCNT06 FROM P41_P0812 INTO @DATA(ld_creditcardcnt06).
 
"SELECT single CREDITAMOUNT06 FROM P41_P0812 INTO @DATA(ld_creditamount06).
 
"SELECT single SUBTYPE07 FROM P41_P0812 INTO @DATA(ld_subtype07).
 
"SELECT single OBJECTID01 FROM P41_P0812 INTO @DATA(ld_objectid01).
 
"SELECT single BEGDA FROM P41_P0812 INTO @DATA(ld_validitybegin).
 
"SELECT single OBJECTID07 FROM P41_P0812 INTO @DATA(ld_objectid07).
 
"SELECT single BIZNUMBER07 FROM P41_P0812 INTO @DATA(ld_biznumber07).
 
"SELECT single SUPPLYNAME07 FROM P41_P0812 INTO @DATA(ld_supplyname07).
 
"SELECT single TOTALCOUNT07 FROM P41_P0812 INTO @DATA(ld_totalcount07).
 
"SELECT single TOTALAMOUNT07 FROM P41_P0812 INTO @DATA(ld_totalamount07).
 
"SELECT single CURRENCY07 FROM P41_P0812 INTO @DATA(ld_currency07).
 
"SELECT single CREDITCARDCNT07 FROM P41_P0812 INTO @DATA(ld_creditcardcnt07).
 
"SELECT single CREDITAMOUNT07 FROM P41_P0812 INTO @DATA(ld_creditamount07).
 
"SELECT single SUBTYPE08 FROM P41_P0812 INTO @DATA(ld_subtype08).
 
"SELECT single OBJECTID08 FROM P41_P0812 INTO @DATA(ld_objectid08).
 
"SELECT single BIZNUMBER01 FROM P41_P0812 INTO @DATA(ld_biznumber01).
 
"SELECT single ENDDA FROM P41_P0812 INTO @DATA(ld_validityend).
 
"SELECT single BIZNUMBER08 FROM P41_P0812 INTO @DATA(ld_biznumber08).
 
"SELECT single SUPPLYNAME08 FROM P41_P0812 INTO @DATA(ld_supplyname08).
 
"SELECT single TOTALCOUNT08 FROM P41_P0812 INTO @DATA(ld_totalcount08).
 
"SELECT single TOTALAMOUNT08 FROM P41_P0812 INTO @DATA(ld_totalamount08).
 
"SELECT single CURRENCY08 FROM P41_P0812 INTO @DATA(ld_currency08).
 
"SELECT single CREDITCARDCNT08 FROM P41_P0812 INTO @DATA(ld_creditcardcnt08).
 
"SELECT single CREDITAMOUNT08 FROM P41_P0812 INTO @DATA(ld_creditamount08).
 
"SELECT single SUBTYPE09 FROM P41_P0812 INTO @DATA(ld_subtype09).
 
"SELECT single OBJECTID09 FROM P41_P0812 INTO @DATA(ld_objectid09).
 
"SELECT single BIZNUMBER09 FROM P41_P0812 INTO @DATA(ld_biznumber09).
 
"SELECT single SEQNR FROM P41_P0812 INTO @DATA(ld_recordnumber).
 
"SELECT single SUPPLYNAME01 FROM P41_P0812 INTO @DATA(ld_supplyname01).
 
"SELECT single SUPPLYNAME09 FROM P41_P0812 INTO @DATA(ld_supplyname09).
 
"SELECT single TOTALCOUNT09 FROM P41_P0812 INTO @DATA(ld_totalcount09).
 
"SELECT single TOTALAMOUNT09 FROM P41_P0812 INTO @DATA(ld_totalamount09).
 
"SELECT single CURRENCY09 FROM P41_P0812 INTO @DATA(ld_currency09).
 
"SELECT single CREDITCARDCNT09 FROM P41_P0812 INTO @DATA(ld_creditcardcnt09).
 
"SELECT single CREDITAMOUNT09 FROM P41_P0812 INTO @DATA(ld_creditamount09).
 
"SELECT single SUBTYPE10 FROM P41_P0812 INTO @DATA(ld_subtype10).
 
"SELECT single OBJECTID10 FROM P41_P0812 INTO @DATA(ld_objectid10).
 
"SELECT single BIZNUMBER10 FROM P41_P0812 INTO @DATA(ld_biznumber10).
 
"SELECT single SUPPLYNAME10 FROM P41_P0812 INTO @DATA(ld_supplyname10).
 
"SELECT single TOTALCOUNT01 FROM P41_P0812 INTO @DATA(ld_totalcount01).
 
"SELECT single TOTALCOUNT10 FROM P41_P0812 INTO @DATA(ld_totalcount10).
 
"SELECT single TOTALAMOUNT10 FROM P41_P0812 INTO @DATA(ld_totalamount10).
 
"SELECT single CURRENCY10 FROM P41_P0812 INTO @DATA(ld_currency10).
 
"SELECT single CREDITCARDCNT10 FROM P41_P0812 INTO @DATA(ld_creditcardcnt10).
 
"SELECT single CREDITAMOUNT10 FROM P41_P0812 INTO @DATA(ld_creditamount10).
 
"SELECT single SUBTYPE11 FROM P41_P0812 INTO @DATA(ld_subtype11).
 
"SELECT single OBJECTID11 FROM P41_P0812 INTO @DATA(ld_objectid11).
 
"SELECT single BIZNUMBER11 FROM P41_P0812 INTO @DATA(ld_biznumber11).
 
"SELECT single SUPPLYNAME11 FROM P41_P0812 INTO @DATA(ld_supplyname11).
 
"SELECT single TOTALCOUNT11 FROM P41_P0812 INTO @DATA(ld_totalcount11).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!