SAP ABAP Function Module OIDA_GET_ORIGIN_DESTINATION (Get the orgin and destination field values from plant and ship-to)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       OID (Package) MCOE Marketing, Contracts and Order Entry
Basic Data
Function Module OIDA_GET_ORIGIN_DESTINATION Get the orgin and destination field values from plant and ship-to  
Function Group OIDA   Function Module for MCOE  
Program Name SAPLOIDA   MCOE external details module pool 
INCLUDE Name LOIDAU02    
Parameters
Type Parameter Name Typing Associated Type Default value Optional Pass Value Short text
Exporting E_OIC_DCITYC TYPE OIC_PIPE-OIC_DCITYC destination city code (from ship-to)
Exporting E_OIC_DCOUNC TYPE OIC_PIPE-OIC_DCOUNC destination county code (from ship-to)
Exporting E_OIC_DREGIO TYPE OIC_PIPE-OIC_DREGIO destination region code (from ship-to)
Exporting E_OIC_OLAND1 TYPE OIC_PIPE-OIC_OLAND1 origin country code (from plant)
Exporting E_OIC_OREGIO TYPE OIC_PIPE-OIC_OREGIO origin region code (from plant)
Exporting E_OIC_OCOUNC TYPE OIC_PIPE-OIC_OCOUNC origin county code (from plant)
Exporting E_OIC_OCITYC TYPE OIC_PIPE-OIC_OCITYC origin city code (from plant)
Exporting E_OIC_DLAND1 TYPE OIC_PIPE-OIC_DLAND1 destination country code (from ship-to)
Importing I_WERKS TYPE VBAP-WERKS Input plant: (get the ORIGIN field values)
Importing I_SHIP_TO TYPE VBPA-KUNNR Input ship-to: (get DESTINATION field values)
Importing I_PO_SO TYPE EKKO-ABGRU
Importing I_VEND TYPE EKKO-LIFNR
Importing I_REC_WERKS TYPE EKPO-WERKS
               
Processing Type
Normal Function Module  
Remote-Enabled Module BaseXML supported
Update Module Start immediately
Immediate Start, No Restart
Start Delayed
Coll.run
JAVA Module Callable from ABAP  
Remote-Enabled JAVA Module  
Module Callable from JAVA  
History
Last changed by/on SAP  20050224 
SAP Release Created in