Function Module - SAP ECC to BODS

Hi Experts - I have one function module in ECC system which is RFC enabeled and I have imported that in BODS.
Its showing me under function under ECC Data Store.
I am not able to drag it into normal data flow  ,,,, Why ?
Is there any special data flow is required to use this.
I want to put the output of this function module in a flat file ? can i achieve this ? so function module to transform and then flat file.
Thanks
R

You need to call the function via a Schema Out function within a Query transform just like you would call a custom function, i.e. right-click in the Schema Out panel and select 'New Function Call' then in the function wizard you must select your ECC datastore from the 'Function Categories' list and then you should see your imported function on the right, then follow the wizard to define the input parameters and choose which output parameters you want output as colums in the query (and can then write to a flat file).  Just be aware that if one of the output parameters is a table then you will need to unnest the table schema in a second query transform before wrtiting to the file.  Oh and just use a 'Row_Generation' transformation to generate one dummy row as a source.

Similar Messages

  • Error while creating webservice from function module in ECC

    Hi
    while creating a web service out of a function module in ECC, in the configure service section we get a message saying ' Remember that the service does not have any runtime configuration and therefore cannot be used. Create the Web service configuration in the NetWeaver Admninistrator (transaction WSADMIN2).'
    instead of check box 'release for runtime'.
    Our ECC at release 7 patch level 22.
    Checked in SCICM, SICF teh service and the folder are active.
    Please suggest if we are missing on anything
    Regards
    Kumar

    In new version on ECC, the runtime configurations needs to be performed in transaction SOAMANGER.
    On executing the transaction, it opens a browser. The important configurations to be performed are:
    1. Configure J2EE server and host. You can choose to provide the ECC server and host
    2. Administration of the service in "Single Service Administration". The navigation path may differ depending of the ECC versions. But it is related to administration of the services.
    Once done, check the WSDL generated.
    Use this WSDL in the NWDS.
    Regards,
    Sharath

  • /CAB* function modules in ECC 6.0 DIMP

    Hi all,
           The /CAB 4.6 objects are does not exist in ECC 6.0. I am working on upgradation project. There are many /CAB function modules used in 4.6 version. How can i get the compatable function modules in ecc 6.0. Is there anyway to find the compatable funciton modules in ECC?
    list of missing function modules:
    /CAB/MM_MAT_PRUEFEN
    /CAB/J_4CM_READ_SINGLE
    /CAB/J_3CB_READ_SINGLE
    /CAB/READ_MRP_ALLOCATION
    /CAB/J_5CL_READ_SINGLE
    /CAB/PP_MD_MCHB_J_5CO_FILL
    /CAB/PP_MD_BDBS_ENQUEUE
    /CAB/CHANGE_MRP_STATUS
    /CAB/PP_MD_FAUF_WM_BEARBEITEN
    /CAB/READ_MRP_ALLOCATION
    /CAB/CAFM_J_5CO_AUS_J_5CX
    /CAB/PP_MD_MSKA_J_5CO_FILL_ALL
    /CAB/SYNC_ENTRIES_SELECT
    /CAB/J_5CO_READ_SINGLE
    /CAB/J_5CX_READ_SINGLE
    /CAB/PP_MD_BDBS_ENQUEUE
    /CAB/PP_MD_BDBS_CHECK_RES
    /CAB/CHANGE_MRP_STATUS
    /CAB/MRP_CONTROL_2
    /CAB/J_2CS_READ_SINGLE
    /CAB/MSLB_READ_SINGLE
    /CAB/MSKA_READ_SINGLE
    /CAB/MSKU_READ_SINGLE
    /CAB/MKOL_READ_SINGLE
    /CAB/MCHB_READ_SINGLE
    thanks,
    Prakash.
    Edited by: Prakash Reddy on Apr 28, 2010 10:32 AM

    Hi,
    Theses function modules are Cable specific as i said before. i have solved the issues by using the existing ECC function modules and is working fne.
    Thanks & Regards,
    Prakash .s

  • Function module in ECC 6.0

    Hi Experts ,
          I have an issue in using Function module  in ECC 6.0 , while passing data in table parameter is showing an error as ' Table parameter is obselete'. Can u please suggest any other way of passing   table in function module.
    <removed_by_moderator>
    Edited by: Julius Bussche on Oct 20, 2008 10:35 AM

    use table types:
    types: ty_struc type ...,
           ty_tab type standard table of ty_struc.
    data: it_tab type ty_tab.
    call function ...
      changing it_tab
    Don't use TABLES parameters any more, they have implicit header lines, which is a no-no in ABAP Objects context.
    Thomas

  • Alternative Function module in ECC 6.0

    Hi,
    The function module FI_DOCUMENT_ARCH_JUMP_HEAD_SGL  and FI_DOCUMENT_ARCH_READ_DETAILS  is available in 4.6c but is not available in ECC 6.0.
    I have to import a progam from 4.6 to ECC 6.0.with uses this function module .
    Please let me know alternative function module in ECC 6.0
    Thanks
    Deepa

    That's why it's never recommended to use the FMs that have not been released to the customer... You might be able to copy FMs as Z... objects from 4.6 into ECC 6.0. However, it's possible that underlying functionality has changed a lot and it just won't work.
    Instead of asking for a replacement FM you might want to explain what exactly you're trying to achieve, then someone might be able to provide an alternative (not necessarily an FM).

  • WS_FILENAME_GET is obsolete function module in ECC 6.0

    Hi Guys,
    The function module "WS_FILENAME_GET" was obsolete in ECC 6.0, could you please suggest me which is relevant function module in ECC 6.0.
    Thanks,
    Gourisankar.

    Hello,
    Take a look at class CL_GUI_FRONTEND_SERVICES.
    Regards,
    John.

  • Absolete Function Modules for ECC 6.0

    Hi guys,
    iam doing upgrade project, i want know absolete for this function modules
    CALL FUNCTION 'NAMETAB_GET'
    EXPORTING
    TABNAME = 'BKPF'
    TABLES
    NAMETAB = HNAMTAB
    EXCEPTIONS
    OTHERS = 0.
    CALL FUNCTION 'WWW_USER_AUTH_MESSAG'
    plz give me suggestion for me.

    Hi Veera,
    To find obsolete function modules in ECC 6.0.
    The table is RODIR.
    Go to SE11.
    Give table name as RODIR.
    click on display.
    Then , in the selection criteria.......
    For the field OBJECT TYPE give FUNC
    and for OBSOLETE give 'X'
    Execute and you will be able to see all the function modules which are obsolete.
    Regards,
    Hari Kiran

  • Obsolete function module in ECC 6.0  - BAPI_COSTESTIMATE_CREATE_SPLIT

    Hi Guys,
    The above function module obsoleted in ECC 6.0, I need related function module in ECC 6.0.
    Could you please suggest me, which is the related function module in ECC 6.0?
    Please take a high priority. Advance thanks guys.
    Thanks,
    Gourisankar.

    Hello,
    Take a look at class CL_GUI_FRONTEND_SERVICES.
    Regards,
    John.

  • How to find the Obsolete function module in ECC 6.0

    Hi Guys,
    How we can find the all obsolete function in ECC 6.0, is any T-code to finding the obsolete function modules, or any other way to find.
    Could you please help me.
    Thanks,
    Gourisankar.

    Hi Gouri,
    If you are looking at determining whether a single FM is obsolete or not is by this method:
    Go to FM in SE37 -> Goto Attributes Tab -> General Data section -> look above the Edit Lock field ... where SAP places the release status and date of the FM, if the FM is obsolete, the text Function Obsolete appears
    This is one way of finding out one FM @ a time
    However if you want to check on a mass scale, I dont have a SAP system here hence cant confirm, however, all FMs are stored in TFDIR database table. Please scroll through the fields of the DB table to check whether any field relates to release status or the like. If it does, then from SE16, you can put the value corresponding to "Obsolete" in the field and run to check all FMs.
    Cheers,
    Aditya

  • Use of Interface parameters in Function module in ECC 6.0

    Hello all,
    In ECC 6.0 Version we do not use Changing/Tables interface parameters. Instead we declare a table type and use Exporting Parameters.
    Can any one send me the link to sap help where this is mentioned.
    Thanks,
    Salil

    Should be straight forward. Here's a sample...
    Exporting...
    VBSK_E     LIKE     VBSK
    ET_SPLITPROT     TYPE     VLIKP_T_SPLITPROT
    If not enough, do application help from function module....
    http://help.sap.com/saphelp_nw04/helpdata/en/d1/801e9a454211d189710000e8322d00/frameset.htm

  • Fetching Data from SAP ECC to BODS 4.0

    HI,
    I am trying to fetch tables like LFA1 and ADRC into BODS from ECC. I am able to connect to the ECC system from BODS.
    In Data services Designer I go to Datastore and add a new datastore as SAP Applications.
    I am able to connect to ECC using this. After that when I select the datastore and select import by name i get the following error
    Data Services Designer
    Error: Cannot import the metadata table <name=LFA1>.
    RFC CallReceive error <Function Z_AW_RFC_ABAP_INSTALL_AND_RUN: RFC_ABAP_MESSAGE- SAP System has status 'not modifiable'[SAP NWRFC 711][SAP Partner 701 ][PET][hicgudb3][BOBJDS][4102]>. (BODI-1112339)
    OK  
    Can you please help me in resolving this.
    What kind of access does the user need to have for fetching data from ECC using BODS
    Thanks in advance.
    Regards
    Sudip.

    Please refer to the [documentation|http://help.sap.com/businessobject/product_guides/boexir4/en/sbo401_ds_sap_en.pdf] that discusses that in quite a lot of detail.

  • How to debug LAE function modules in ECC

    Hi,
    I've been trying to debug sequence of FMs called by LAE during asset creation in ECC. The asset is created for every service contract created in SAP CRM and then replicated to ECC system. While debugging the flow from CRM, I could debug upto ECC and then put external breakpoing in LAE FMs mentioned above but those FMs were not hit. 
    LAFA_ASSETS_CREATE_ON_LEASE
    LAFA_ASSETS_CREATE
    LAFA_ASSET_CREATE
    LAFA_ASSETS_RETIRED_GET
    Could anybody help me debugging these FMs?
    Regards,
    Ravi

    Hi Ravi,
    this process works asynchonous. This means from CRM some entries are stored in LAE_CRM* tables with function module FILA_BUS_TRANSACTION_RECEVIE. A triggered function picks up the entreis and process them. This function runs through your mentioned function modules.
    In a test system, you can call transaction FILATEST and copy the contract sent from CRM and using the simulation or execution function. This will bring you to these function modules.
    Kind regards,
    Steve
    Edited by: Steve Trester on Mar 1, 2011 8:13 AM

  • Can I work backward from APO CIF function module to ECC Integration Model

    On our APO box, I have activated the "new-style" BAdI which is called by the CIF function module /SAPAPO/CIF_TLANE_INBOUND:
    CALL BADI lr_ref_cif_enhance->inbound_tlane
    How can I find out what the business analysts have to do in their ECC Integration Model
    to make sure that the CIF_TLANE_INBOUND function module is called when the Integration Model is activated (so that the BAdI will also fire)?.
    Our current Integration Model does fire the BAdI /SAPAPO/IF_EX_TR_TRANSFER , but not the "enhance inbound tlane" BAdI called by CIF_TLANE_INBOUND.
    So ...to restate the question:
    How do I figure out what I have to tell the business analysts  to do in their Integration Model to make sure that CIF_TLANE_INBOUND is called when the model is actrivated ???

    Hi David,
    I was away in a long meeting and just came back. A quick check in another R/3 (Enterprise) system showed the following:
    There is no FM in the R/3 Enterprise box as CIF_TLANE_SEND and in APO (SCM4.1)  
    /SAPAPO/CIF_TLANE_INBOUND. This is not surprising esp when I check the other system versions based on which I did the initial research. It was ECC 6.0 with Enterprise Extension DFPS switched on (checked SWF5) and the APO system SCM 5.0.
    Lucky me I checked the internal Sandbox systems instead of my client systems otherwise I would have posted there is no FM CIF_TLANE_SEND
    Forget the SD Scheduling Agreement object I mentioned in the previous reply. That master data object will not trigger FM CIF_TLANE_SEND. I found the correct FM for it CIF_SDLS_SEND on R/3 side and /SAPAPO/CIF_TPSCO_INBOUND on the APO side.
    So you have to necessarily use the BADI or User Exit enhancements for TPSRC and NOT TLANE.
    In any case if its a Contract or Scheduling Agreement or Purchasing Inforecord master in R/3 (or ECC any version) then TPSRC is the FM used to create External Procurement Relationships (txn /SAPAPO/PWBSRC1) in APO during CIF transfer. Also a corresponding Transportation Lane (txn /SAPAPO/SCC_TL1) gets created when the Procurement Relationship is added in APO. Otherwise you can always manually create a transportation lane in APO which is an important master data for External Procurement Order / Requisition creation in APO.
    Hope this helps. I am logging off for today - so no more further digging. But thanks to you I discovered another small "blackbox" of SAP. Will blog on this some time later - till then you can take a look at the [CIF Wiki|https://wiki.sdn.sap.com/wiki/display/SCM/CIF] page.
    Best regards,
    Somnath

  • Debugging RFC function module from ECC to CRM

    Hi All,
    My requirement is to debug an RFC function module present in CRM(7.0) system from ECC(6.0) system. A report program in ECC will call CRM custom FM. I found many posts in SDN with the same issue and tried to implement suggestions provided there. But I couldn't succeed. The approach I followed is:
    I logged in to ECC report program and kept an external breakpoint just before the function module call.
    I logged in to CRM system, opened the function module and kept an external breakpoint there.
    In both the systems I provided the dialogue userid( id through which I log in to SAPGUI) in the system->settings->debugging option.
    In CRM I activated the external break point in  transaction SRDEBUG.
    Now when I execute the report program in ECC, control stops at the breakpoint. If I press F5 at the function call, control is not going to the external break point set in the CRM FM. I am getting output of FM directly.
    I tried with different settings like turning on the check box for IP matching and session breakpoint active immediate, switching to classic debugger etc. I also tried to provide the RFC user id instead of dialogue user but system throws exception saying only dialogue userids are allowed. I found that by inserting an infinite loop statement, control goes inside the RFC CRM FM but I prefer not to change the code.
    Please let me know if I missed anything.
    Thanks and Regards,
    Naren

    Hi,
    Debug RFC calls
    When an RFC function module is called it is usually not possible to debug the call, using the below techniques we can achieve the same. For this example we are calling an RFC enabled FM in ECC system from CRM system.
    Scenario 1: Calling a custom RFC FM
    STEP 1: Add an infinite loop in the remote custom Function Module (adding a u201CDO. ENDDO.u201D statement at the start of the FM would be enough).
    STEP 2: Execute your program in the CRM system. The execution stops at the RFC call, because of the infinite loop.
    STEP 3: Now login to the ECC system and go to transaction SM51 select the process which is executing the RFC and navigate to the menu: u201CProgram/Session->Program->Debuggingu201D this triggers the debugger session in a separate window.
    Scenario 2: Calling a Standard RFC FM
    When we are debugging a standard program we cannot add the infinite loop, hence we cannot go to SM51 and debug the work process. The RFC destination for the ECC system has a User specified, the RFC function module gets executed using this users credentials. Usually the basis team set up the RFC user as non Dialog user, this does not allow debugging. Contact your Basis team and get this changed to a dialog user enabling you to debug RFC function calls via the normal debugger.
    Note: User name configured in the RFC destination (transaction SM59) 
    Note: User type for the RFC User (transaction SU01D)
    Hope this will be helpful..

  • Replacement of Function module in ECC 6.0

    Hello All,
    The Function module 'NAMETAB_GET' is shown to be obsolete in ECC 6.0 .
    Please suggest which of the function modules among 'DDIF_FIELDINFO_GET'  and 'DDIF_NAMETAB_GET' can be used as a replacement for the same.
    Also ,it would be helpful if the use of these function modules is mentioned.
    Best Regards,
    Lavanya.

    use          'DDIF_NAMETAB_GET'
    Functionality
    This function module reads the runtime information (nametab) of a table or in general of any type of the ABAP Dictionary. However, the runtime information does not contain any text. You should use the function module DDIF_FIELDINFO_GET to read the runtime information including text (or to determine the domain for table fields).
    The types of the ABAP Dictionary are divided into data elements, structured types and table types.
    A structured type consists of a sequence of components that are each identified by a unique name. A type is defined for each of these components. In addition to the types of the ABAP Dictionary, you can also use the built-in types of the R/3 System (CHAR, NUMC,...) to define the types of the components.
    All its components as well as the fields of its structured components are called the fields of a structured type. The name of a field no longer uniquely identifies it within a structured type. For example, a structured type S could have a structured component F, which itself has a component called F. In this case S would have two fields with the name F. For this reason, its long field name is used to identify a field within a structured type. The long field name is the same as the name of the components for the components of the structured type itself. For the fields of a structured component, the long field name is a concatenation of the name of this structured component, the separator '-' and the long field name of the field in the structured component.
    A field whose type is defined by a data element or a built-in type is also called an elementary type. A structured type whose components are all defined as elementary types is called flat. All other structured types are called deep.
    This module gets the runtime information for the type whose name is defined in the IMPORT parameter TABNAME. If there is no such type, the exception NOT_FOUND is triggered.
    Caution: If the IMPORT parameter ALL_TYPES is not set, only flat structured types are taken into consideration. In this case the exception is also triggered if the specified type is a data element, deep structure or a table type.
    If the IMPORT parameter LFIELDNAME is not initial, only structured types having a field with the long name defined by LFIELDNAME are taken into consideration. The exception NOT_FOUND is triggered for all other types.
    The internal representation of the runtime object is returned in parameters X030L_WA and X031L_TAB. Depending on the type category, this information is then edited in the corresponding parameters (see documentation about the parameters).
    Notes
    1. If parameter LFIELDNAME is not initial, X031L_TAB nevertheless contains the description of all fields of the structured type. The decoded form is only determined for the specified field, and the result is copied to DFIES_WA instead of DFIES_TAB. Since decoding for all the fields often takes up most of the runtime for this module, you should set parameter LFIELDNAME if you only need information about one field of the structured type.
    This module gets the runtime information about a type. This means that only the currently active version of the type is taken into consideration. If none exists, the exception NOT_FOUND is triggered.
    The corresponding function module DDIF_<object type>_GET is used to read the actual definition of a type of the ABAP Dictionary.
    Caution: These read modules are much less efficient than the modules for defining the runtime information. You should therefore only use them if the runtime information is not sufficient.
    2. The documentation for IMPORT parameter GROUP_NAMES describes how to handle named includes.

Maybe you are looking for

  • I have trouble opening and closing tabs in the update 3.6 versions, what's going on?

    After the recently updated 3.6 versions came out, I started having trouble opening and closing tabs. Is anyone else having this problem with the updated versions?

  • How can I use EOS 6D RAW files with Aperture 3.2.4?

    The EOS 6D RAW support for Aperture requires Aperture 3.4 or later. I tried to update to Aperture 3.4 but that requires OSX 10.8.3. I am stuck with OSX 10.6.8 for a while because I use Adobe CS5.5 and it is not compatable with newer OSX. So i do not

  • Acrobat 9 crashes on OCR

    I've been trying to convert a batch of large PDF files to PDF searchable files by using the OCR of Acrobat. In the middle of a batch, a large (1000+ page) document crashes acrobat. I have narrowed it down to this image: http://img90.imageshack.us/img

  • Real explain plan differs from one in v$sqlarea

    I have some more or less complex queries which I catch on runtime by reading v$sqlarea table to find sql with high cost.. but.. I found some highly costed sql, but when I run it through client ti see it's explain plan and execution time, it's much fa

  • Change to Extract Structure Doubt

    Hi, Our Basis Folks are trying to install Patch 6 ST-PI 2005_1_700 in ECC. I refered to OSS Note 328181. For this Patch do we need to delete the Set up Table and Fill it again? And How about Init Delta in BW? Please suggest me. Any answers will be ap