How to differentiate which is exporting and importing parameters when calling dynamically using CL_ABAP_OBJECTDESCR

Hello All,
First of all sorry for posting the question in general abap queries, since somehow I am not able to post in ABAP objects discussions.
My requirement is
Step 1 :  To get table name as input  and dynamically derive all fields which is going to be passed as parameters for a method
I did this using  cl_abap_typedescr class
Step 2:  Then Pass the values into the relevant fields using below code
ptab_line-name = 'DATA_TAB'.
ptab_line-kind =
cl_abap_objectdescr=>changing.
GET REFERENCE OF text_tab INTO
ptab_line-value.
INSERT ptab_line INTO TABLE ptab.
Step 3:  Later I am calling dynamic class like
    CALL METHOD (class)=>(meth)
      PARAMETER-TABLE
        ptab
      EXCEPTION-TABLE
        etab.
I have read most of the post using Class cl_abap_typedescr=>describe_by_name to get parameter where I have to give correct parameter type.
But my issue is that I also need to know which fields are acting as importing , exporting and changing parameter.
Is there anyway to determine and pass method's paramter type as well ?
Thanks!
Regards,
Ramya

Might be I can use table view VSEOMEPARA

Similar Messages

  • Exporting and importing parameters

    Hi,
    Can any one explain how the exporting and imopting parameters work in case of function call.
    for example in the folowing code:
    CALL FUNCTION ‘DOWNLOAD’
         EXPORTING
              FILENAME     = <default file name>
              FILETYPE     = <default file type>
              MODE          = <create new or extend>
         IMPORTING
              FILESIZE     = <size of file in bytes>
         TABLES
              DATA_TAB     = <internal table to transfer>
         EXCEPTIONS. . . .
    Do we have to specify the importin parameters also in the program, and if yes what is the use of specifying them.
    Thanks,
    Dhiraj

    You need to fill only export parameter and tables parameter
    CALL FUNCTION ‘DOWNLOAD’
    EXPORTING
    FILENAME = <default file name> -> specify local file name
    FILETYPE = <default file type> 'ASC'
    MODE = <create new or extend> comment mode
    IMPORTING -> comment import parameters
    FILESIZE = <size of file in bytes> comment
    TABLES
    DATA_TAB = <internal table to transfer> -> give internal table
    EXCEPTIONS. . . . uncomment all exceptions
    this FM will download the data from internal table data to local file as like.txt or .xls
    Thanks
    Seshu

  • How to do fast export and import

    i have a windows 2003 server and oracle 10.2.0.3 installed on it.
    here i want to ask how i can speedup my export and import using expdp.

    Hi User,
    user11798002 wrote:
    i have a windows 2003 server and oracle 10.2.0.3 installed on it.
    here i want to ask how i can speedup my export and import using expdp.You can utilize parallelizing export when using data pump,but for traditional export use the following
    Export of Databases - reads data by running a select statement of the data and generating the DDL to perform the import process in future.
    Fast Exports
    1) Use direct=y
    2) Until disk is not fully utilized try running exports in parallel.
    3) Keep export file on different disk then the datafiles.
    4) Run exports in two part rather than one i.e. 1st rows=n and second as indexes=n rows=y constraints=n.
    Fast Imports
    1) Use the first file out of two files created with the exports, It will insert all data but will not create any indexes and constraints. Once the data insertion is done run imp with indexfile option to extract script of index creation in text file. edit the file to include parallel clause and set parameters db_file_multiblock_read_count to 128 with sort_area_size to a higher value and workarea_size_policy=AUTO.
    A R P I T S I N H A
    [oracledba.in]

  • Language Problem while exporting and importing data

    hi,
    I have Oracle version 8.1.7.0.0 installed on one server and 9.2.0.1.0 installed on new server.
    I'm copying and pasting my version info from SQL*Plus:
    SQL*Plus: Release 8.1.7.0.0 - Production on Mon Aug 22 10:46:31 2005
    (c) Copyright 2000 Oracle Corporation. All rights reserved.
    Connected to:
    Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
    With the Partitioning option
    JServer Release 8.1.7.0.0 - Production
    SQL>
    SQL*Plus: Release 9.2.0.1.0 - Production on Mon Aug 22 12:30:06 2005
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    SQL>
    I created new user on my new server from enterprise manager.
    Exported user from the old server and imported in the new server.
    i.e: from Oracle8i Enterprise Edition Release 8.1.7.0.0, I did
    c:\>exp system/manager file=abc.dmp owner=abc
    Then on the new server Release 9.2.0.1.0, I did
    c:\>imp system/manager file=abc.dmp fromuser=abc touser=abc
    I'm using Arabic Language on my both servers. NLS_LANG parameter on both the servers is AMERICAN_AMERICA.WE8MSWIN1252.
    On both the servers I'm able to insert and select data in arabic.
    However, after I export the data from old server to the new server, the arabic data comes in question marks.
    If I create new table and insert arabic data on new server's user abc it is displaying well. Only the data which I exported and imported is not showing arabic.
    On both old and new servers operating system is Windows XP.
    I'm stuck with this problem. Anybody having any idea about how to solve this problem please help.
    Thank you all in advance.
    Regards

    Let me be clear here. Storing Arabic data in a WE8MSWIN1252 database is not supported by Oracle and will lead to problems. You are incorrectly using the NLS_LANG to prevent proper conversion and your data appears to be okay when you use utilties like SQL*PLUS to view your data. When you write applications that don't rely on the NLS_LANG like JDBC thin driver for instance you will realize your data is in fact invalid. To learn more about the NLS_LANG you can take a look at this FAQ: http://www.oracle.com/technology/tech/globalization/htdocs/nls_lang%20faq.htm
    To migrate your database to a proper character set you can refer to this paper:
    http://www.oracle.com/technology/tech/globalization/pdf/mwp.pdf
    But please do not ask for help in supporting your current configuration in this forum.

  • Exporting and importing non-sealed MPs to another environment

    Hello,
    I have a task to rebuild SCOM environment, replace SCOM 2007R2 with 2012R2, there are a lot of MPs with groups of monitoring objects, overrides for some monitors and rules, is it possible to import these MPs to the new SCOM after agent
    installation to save all configuration? These objects are saved in the MPs with GUIDs, I think these GUIDs will be changed in the new management group, so I need to create these groups and overrides again, yes? What can I export from old MG and import
    to the new MG automatically to reduce manual work? I have found script which can export and import membership of security groups, also all subscribers and notifications are saved in the non-sealed MP. Also I have found small post with information to save
    favorite and scheduled reports by backing up and restoring ReportServer database. 

    Hi,
    Yes, we can import saved MP to the new management group to use those saved overrides and groups.
    I would like to suggest you follow the link below to do side by side migration from SCOM 2007 to SCOM 2012:
    OpsMgr 2007-2012 Side-by-Side Migration Blog Series
    http://www.systemcentercentral.com/opsmgr-2007-2012-side-by-side-migration-blog-series/
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Exporting and Importing Specific Folders in Discoverer

    Hi,
    Can any one tell me how to export and import specific folders in Discoverer using command line.I tried using discoverer admin but the while importing the folders it is going to orphan folders.
    you help appreciated

    If using admin, go into the folder manager (I think it is on the tools menu), and assign the newly imported (and orphaned) folders to the BA where you want them to be.
    I'm not certain that the command line will not leave orphans (but I rarely use command line, so I could be wrong).

  • Help:Canadian Export and Import with GTS

    Hi all,
    Could you please explain as to how GTS is used in Canadian exports and imports. Is AES also used in Canada for export filing and how GTS is used in import process ie for import declarations in canada?
    Any help would greatly be appreciated.
    Thanks,
    Shruthi

    Since customs has not been certified for Canada can GTS be used for Compliance Management for Canada? If yes what legal regulations are to be used?
    Thanks,
    Shruthi
    Edited by: shruthi on May 19, 2009 9:24 PM

  • DHCP Server does not work after Exporting and Importing Using Netsh Command

    Hello Friends :
    I had two dhcp servers in windows server 2003 server , I have upgraded one of them to windows server 2008 32 bit and again i installed a windows server 2008 R2 as an additional Domain Controller , the last scenario was like this :
    srv-1 : windows server 2003 + DHCP = working with no problem
    srv-2 : windows server 2003 + DC + DHCP = Worked without problem
    srv-3 : windows server 2008 R2 + DC = worked without any problems
    I exported the DHCP server configuration on the srv-2 using netsh dhcp server export and Imported them to srv-3 using the
    netsh dhcp server import command , the command completed successfully and i can see all of the scopes without any problems and errors , i have authorized the new server without any problem , all scopes are activated without any problem so i
    disabled the srv-2 DHCP service and unauthorized it from active directory , the problem is that the new server semms that does not lease any address to clients !!!
    1- I have authorized it
    2- I used Rogue Checker tool in client computers they see authorized server without any problems
    3- The same tool in workgroup only shows srv-1 as the DHCP server and does not see other DHCP servers
    4- Bindings are OK and DHCP servers only have one NIC installed on them
    What can i do to make sure my srv-3 DHCP server will work on the network ?
    thanks ...
    MIMO

    Are the clients on another network so you need to configure a DHCP relay agent?
    If you load up perfmon on the dhcp server and remove all counters and then add DHCP counters. Do you see any dhcprequests when you reboot your dhcp clients? This will determine if your server actually receives any dhcp requests.
    Have you check event viewer for any warnings or errors?
    And the classic one restarted the dhcp server service (or reboot)?
    Regards Per-Torben Sørensen http://pertorben.wordpress.com/

  • How to export and import the Portal Components

    Hi,
    I had developed few components like (Forms, Reports, Frames etc.,) in Oracle Portal release 2. Now, I need to make available all the components on my Client's machine. I like to know how to export and import these components.
    If any can help in this, it will be a great help for me...
    Thanks in Advance...

    The migration of any Portal DB provider components, has the following steps.
    Assume that you are migrating a form component form_X.
    1) Click the export link of the form_x.
    (this will take you to create transport screen).
    2) Specify a name of the transport set which you are going to create. (eg., "My form_X transportset")
    (Since the objects are migrated using a container which is in other words called as 'Transport Set').
    3) In that select the export now button.
    (this will mark your form component form_X for export).
    4) Verify that the status of the transport is 'Extract Complete'
    (check with the browse transport screen in Export/Import Portlet under Admin tab).
    5) Now, the object information is extracted into transport set tables used by Portal Export/Import Utility.
    6) Go to that particular transport set, (browse transport) and download the script available.
    7) That script will lead you to various steps,
    (create a dump ).
    8) In the target instance, import that dump using the same script again.
    9) Merge the contents of the dump (form_X information) into any of the application.
    (Import option => in the export/import portlet under admin tab).
    10) Verify that the status of the transport set is 'Merge Complete'.
    Now, the object is migrated and ready for use.
    (Here are explaining the export/import process in detail.
    You can refer the export/import manuals.
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/INTERNALPRODDEVFOLDER/TECHREADINESS/CM_PUBLISHING/EXPIMP/EXPORT_IMPORT_LOB0.PPT

  • How to export and import the lsmw

    Hi Friends,
    How to export and import the objects in lsmw
    from dev to qas(quality) systems........
    its urgent.........
    regards,
    venu.

    best way is to create a transport and move it to other enviroments
    There are two ways of Transporting for this. Can choose any one.
    Goto the LSMW Transaction
    1)Extras>Export Projects>(Give the Project name)
    In next screen(Choose what subproject, routines, etc.. you wan to copy then, Export Rules-->Export((Will prompt for file name)
    A text file will be downloaded.
    In the Target System
    Goto LSMW Extras-->Import Projects and give the text file which was downloaded.
    2)Extras-->Generate Change Request
    Assign a change request which is basically a transport request and you can then get this transported from one system to another through the basis route.

  • How to export and import reports and presentations?

    Hi Guys,
    how to export and import reports and presentations from Analyzer 7.2 to Web Analysis 11.1.1.
    Can you plz tell me the procedure.
    Thanks

    Hi,
    Like I mentioned earlier, you can export documents and presentations to local computers and/or mapped drives.
    - Exported documents take ARD extension & presentations take APT extension.
    To export the current document, select File, then Export, then Current Document. In the Save dialog box, indicate your local drive/network location to which the file is to be saved and click OK.
    I believe- Analyzer 7.2 also has the wizard to let you Export docs. & Presentations.
    - Natesh

  • How to export and import dependent tables from 2 different schema

    I have a setup where schema1 has table 1 and schema 2 has table2. And table 1 from schema1 depends upon table 2 from schema 2.
    I would like to export and import these tables only and not any other tables from these 2 schemas with all information like grants,constraints.
    Also will there be same method for Oracle 10g R1,R2 and Oracle 11G.
    http://download.oracle.com/docs/cd/B12037_01/server.101/b10825/dp_export.htm#i1007514
    Looking at this For table mode it says
    Also, as in schema exports, cross-schema references are not exported
    Not sure what this means.
    As I am interested in only 2 tables I think I need to use table mode. But if I try to run export with both tables names, it says table mode support only one schema at a time. Not sure then How would the constraints would get exported in that case.
    -Rohit

    worked for my 1st time I tried
    exp file=table2.dmp tables="dbadmin.temp1,scott.emp"
    Export: Release 10.2.0.1.0 - Production on Mon Mar 1 16:32:07 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Username: / as sysdba
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export done in US7ASCII character set and AL16UTF16 NCHAR character set
    server uses WE8ISO8859P1 character set (possible charset conversion)
    About to export specified tables via Conventional Path ...
    Current user changed to DBADMIN
    . . exporting table                          TEMP1         10 rows exported
    EXP-00091: Exporting questionable statistics.
    Current user changed to SCOTT
    . . exporting table                            EMP         14 rows exported
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    Export terminated successfully with warnings.

  • How to export and import complete organization structure?

    Hello,
    I wanna import many (maybe 300) organization XML ObjectGroups in the right order.
    I tried something like that (see the code below),... but this solution only works for one file.
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE Waveset PUBLIC 'waveset.dtd' 'waveset.dtd'>
    <Waveset>
    <ImportCommand name='include' file='c:/import/org001.xml'/>
    <ImportCommand name='include' file='c:/import/org0011.xml'/>
    <ImportCommand name='include' file='c:/import/org002.xml'/>
    </Waveset>I tried to use wildcards like *,%,... the result is an error message :(
    e.g.
    file='import/org001*.xml'/>Has anyone experiences with that case?
    There are an another way to export and import complete organization structure in IDM 8.x ?
    greets and thx

    Hi, Since you are using an program to transform the org structure to XML file,
    why not write another program, just to generate the including list?
    Then import from the file?
    PS: How to generate the organization xml?
    Some file looks like the following? But how to generate those IDs of its parent is a problem...
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE ObjectGroup PUBLIC 'waveset.dtd' 'waveset.dtd'>
    <!-- MemberObjectGroups="#ID#Top" displayName="test4" name="096242075B658F30:4D058C8A:12181263D1D:-79e7"-->
    <ObjectGroup name='096242075B658F30:4D058C8A:12181263D1D:-79e7' displayName='test4' creator='Configurator' createDate='1243497029859' lastModifier='Configurator' lastModDate='1243497029859' primaryObjectClass='ObjectGroup'>
    <PathFromTop>
    <List>
    <String>#ID#Top</String>
    <String>#ID#E706-:F4B18168121:1AE80FB6:03F856B570242690</String>
    </List>
    </PathFromTop>
    <MemberObjectGroups>
    <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
    </MemberObjectGroups>
    </ObjectGroup>

  • How to export and import "Computer Groups" and "Patch approvals" in WSUS 4.0 ?

    Hi,
    I have a query regarding the export and import options for "Computer Groups" and "Patch Approvals" in WSUS 4.0.
    In WSUS 3.2 once we install WSUS 3.0 API Samples and Tools, we get "WSUSMigrationExport" and "WSUSMigrationImport" tools under
    C:\Program Files\Update Services 3.0 API Samples and Tools\WsusMigrate\ folder. 
    Using the 'WSUSMigrationExport' tool we can export the Computer Groups and the Patch Approvals in a XML file. And using the 'WSUSMigrationImport' tool we can import the 'Computer Groups' and the 'Patch Approvals' from that XML file into a different WSUS
    3.2 server. We can run the import tool as below:
    a. Run command prompt as administrator.
    b. In the command prompt, go to C:\Program Files (x86)\Update Services 3.0 API Samples ans Tools\ WsusMigrate\WsusMigrationImport
    c. Type WsusMigrationImport filename.xml TargetGroups None. Press enter; this will import Computer Groups to the WSUS 3.2 server.
       Type WsusMigrationImport filename.xml Approvals None. Press enter; this will import "Patch Approvals" to the WSUS 3.2 server.
    This is easy and useful.
    Now, for WSUS 4.0 I did not find  "WSUS
    4.0 API Samples and Tools". So I installed "WSUS 3.0 API Samples and Tools" in my WSUS 4.0 server. And tried to import a valid XML file in the above mentioned process. But the command returned an error.
    The error says the "Microsoft.UpdateService.Administration.dll" file was not found.
    I further searched in the internet about this issue and I found that the "WSUS 3.0 API Samples and Tools" is not supported in WSUS 4.0 as the .net framework used in "WSUS 3.0 API Samples and Tools" is 2.0 and WSUS 4.0 uses .net Framework
    4.5.
    So, Here are my questions.
    1. Is it correct that "WSUS 3.0 API Samples and Tools" is not supported in WSUS 4.0?
    2. Is "WSUS 4.0 API Samples and Tools" available?
    3. Is there any alternative way in WSUS 4.0 to export and import XML file consisting "Computer Groups" and "Patch Approvals" configurations?
    I need an urgent reply. Thank you in advance.

    Hi Tapojyoti,
    >>1. Is it correct that "WSUS 3.0 API Samples and Tools" is not supported in WSUS 4.0?
    Yes, WSUS 3.0 API Samples and Tools is not supported in Windows Server 2012R2 by default. We may try to rebuild it in Windows Server 2012R2. For detailed information about how the rebuiled, please refer to the readme document of the WSUS 3.0 API Samples
    and Tools.
    >>2. Is "WSUS 4.0 API Samples and Tools" available?
    No, I can't find the WSUS API Samples and Tools for 2012R2.
    >>3. Is there any alternative way in WSUS 4.0 to export and import XML file consisting "Computer Groups" and "Patch Approvals" configurations?
    As I have mentioned above, due to WSUS 3.0 API Samples and Tools is released with source code, we can try to rebuild it in the Windows Server 2012R2.
    If it doesn't work, as a workaround, we can configure the new WSUS server as the replica server of the existing WSUS server. After the synchronization, change the server mode to stand alone.
    Best Regards.
    Steven Lee
    TechNet Community Support

  • How to export and import signatures for addon Signature Auto Paste Prefill Fourms?

    Working with TB 24.7.0 and add-on Signature Auto Paste Prefill Fourms 4.2. I want to copy (export) the signatures to another computer where I want to import them. The developer of the add-on was not able to help me. The export function gives you three choices of format. The import function does NOT work.
    Can anyone provide detailed instructions on how to export and import the signatures from one computer to another? I am using windows XP.
    Bob Ptaker

    If the add-on author is unable to assist you, what hope do us mere mortals have

Maybe you are looking for