SAP OXDEP_SAP_CONVERSION Function Module for NOTRANSL: conversion customer-source to SAP-source
OXDEP_SAP_CONVERSION is a standard oxdep sap conversion SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: conversion customer-source to SAP-source processing and below is the pattern details for this FM, 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 oxdep sap conversion FM, simply by entering the name OXDEP_SAP_CONVERSION into the relevant SAP transaction such as SE37 or SE38.
Function Group: OXDEP_SAP
Program Name: SAPLOXDEP_SAP
Main Program: SAPLOXDEP_SAP
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function OXDEP_SAP_CONVERSION 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 'OXDEP_SAP_CONVERSION'"NOTRANSL: conversion customer-source to SAP-source.
EXPORTING
* ALTER_MAX = "Predefined Type
* ONLY = ' ' "Generic Type
* ALTER_ONLY = "Predefined Type
CHANGING
* ELEMENTS = "DE-EN-LANG-SWITCH-NO-TRANSLATION
SOURCE = "OM: SAP Source
TABLES
CSOURCE = "DE-EN-LANG-SWITCH-NO-TRANSLATION
IMPORTING Parameters details for OXDEP_SAP_CONVERSION
ALTER_MAX - Predefined Type
Data type: IOptional: Yes
Call by Reference: Yes
ONLY - Generic Type
Data type: CDefault: ' '
Optional: Yes
Call by Reference: Yes
ALTER_ONLY - Predefined Type
Data type: IOptional: Yes
Call by Reference: Yes
CHANGING Parameters details for OXDEP_SAP_CONVERSION
ELEMENTS - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: OMDEP_CHARSOptional: Yes
Call by Reference: Yes
SOURCE - OM: SAP Source
Data type: OMDEP_SOURCEOptional: No
Call by Reference: Yes
TABLES Parameters details for OXDEP_SAP_CONVERSION
CSOURCE - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: OMDEP_SOURCEOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for OXDEP_SAP_CONVERSION 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: | ||||
| lt_csource | TYPE STANDARD TABLE OF OMDEP_SOURCE, " | |||
| lv_elements | TYPE OMDEP_CHARS, " | |||
| lv_alter_max | TYPE I, " | |||
| lv_only | TYPE C, " ' ' | |||
| lv_source | TYPE OMDEP_SOURCE, " | |||
| lv_alter_only | TYPE I. " |
|   CALL FUNCTION 'OXDEP_SAP_CONVERSION' "NOTRANSL: conversion customer-source to SAP-source |
| EXPORTING | ||
| ALTER_MAX | = lv_alter_max | |
| ONLY | = lv_only | |
| ALTER_ONLY | = lv_alter_only | |
| CHANGING | ||
| ELEMENTS | = lv_elements | |
| SOURCE | = lv_source | |
| TABLES | ||
| CSOURCE | = lt_csource | |
| . " OXDEP_SAP_CONVERSION | ||
ABAP code using 7.40 inline data declarations to call FM OXDEP_SAP_CONVERSION
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.| DATA(ld_only) | = ' '. | |||
Search for further information about these or an SAP related objects