OIA_FEE_COPY is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name OIA_FEE_COPY into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
V61A
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'OIA_FEE_COPY' "
* EXPORTING
* tvak_lisof_e = ' ' " tvak-lisof Create delivery immediately
* vbtyp_new = ' ' " vbrk-vbtyp Sales Document Category
* quantity_old = " vbrp-lmeng Required quantity for mat.management in stockkeeping units
* quantity_new = " vbrp-fklmg Billing quantity in stockkeeping unit
* item_number_to = " konv-kposn Condition Item Number
* item_number_from = " konv-kposn Condition Item Number
* currency_new = ' ' " komk-waerk SD Document Currency
* currency_new_date = " komk-prsdt Date for Pricing and Exchange Rate
* currency_new_local = ' ' " komk-hwaer Local Currency
* currency_new_rate = " komk-kurrf Exchange rate for FI postings
* currency_new_type = 'M' " komk-kurst Exchange Rate Type
* currency_old = ' ' " komk-waerk SD Document Currency
* document_number_from = " konv-knumv Number of Document Condition
* document_number_to = " konv-knumv Number of Document Condition
* TABLES
* so_oia_komf = " komv Pricing: Communications Condition Record
* tkomv = " komv Pricing: Communications Condition Record
. " OIA_FEE_COPY
The ABAP code below is a full code listing to execute function module OIA_FEE_COPY including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| it_so_oia_komf | TYPE STANDARD TABLE OF KOMV,"TABLES PARAM |
| wa_so_oia_komf | LIKE LINE OF it_so_oia_komf , |
| it_tkomv | TYPE STANDARD TABLE OF KOMV,"TABLES PARAM |
| wa_tkomv | LIKE LINE OF it_tkomv . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_tvak_lisof_e | TYPE TVAK-LISOF , |
| it_so_oia_komf | TYPE STANDARD TABLE OF KOMV , |
| wa_so_oia_komf | LIKE LINE OF it_so_oia_komf, |
| ld_vbtyp_new | TYPE VBRK-VBTYP , |
| it_tkomv | TYPE STANDARD TABLE OF KOMV , |
| wa_tkomv | LIKE LINE OF it_tkomv, |
| ld_quantity_old | TYPE VBRP-LMENG , |
| ld_quantity_new | TYPE VBRP-FKLMG , |
| ld_item_number_to | TYPE KONV-KPOSN , |
| ld_item_number_from | TYPE KONV-KPOSN , |
| ld_currency_new | TYPE KOMK-WAERK , |
| ld_currency_new_date | TYPE KOMK-PRSDT , |
| ld_currency_new_local | TYPE KOMK-HWAER , |
| ld_currency_new_rate | TYPE KOMK-KURRF , |
| ld_currency_new_type | TYPE KOMK-KURST , |
| ld_currency_old | TYPE KOMK-WAERK , |
| ld_document_number_from | TYPE KONV-KNUMV , |
| ld_document_number_to | TYPE KONV-KNUMV . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name OIA_FEE_COPY or its description.
OIA_FEE_COPY - OIA_FEE_CHECK - OIA_EXG_ASSIGNMENT_USR_EXIT_TD - Exchange assignment for bulk shipment via user exit OIA_EXG_ASSIGNMENT_USER_EXIT - Exchange assignment for deliveries via user exit OIA_EXG_ASSIGNMENT_UPDATE_TD - Update exchange assignment (OIA12 and OIA06) by TD OIA_EXG_ASSIGNMENT_TD - Assign delivery item to exchange entitlement