How can I create tables (data dictionary) on SAP Environment in BATCH mode?
I need a Help on Table Creation on SAP in Batch Mode. I don't want to use SE11 and manually enter all 2000 table definition in the Front END. Is there any way where I can create a tables on SAP in Batch MODE. I want to create around 2000 tables, where schema is generated from external source. As we know table created from Native SQL will not be available in SAP Application Layer.
Hi Kenneth,
Which version are you in? I'm on 4.7 and i have the class on my system.
You may even try using the Function module that i had mentioned in my earlier post. That might solve your problem.
Please write back if you problems decides to have a date with you.
Thanks, Debasish
Similar Messages
-
Oracle Forms - How can I create a Data Block with query
Dear friends I have a question, I couldn't do this..
I have a sql query, I want to show the datas of the query.. How can I do this. ?
Data Block Wizard wants a table, view or stored procedure, but I have a query, how can I create a data block with my query.. I m waiting your helps..? Please...
SemihHi,
You have two options
1. create a view and base the block on the view
2. create a block with a query Data Source Type of 'FROM clause query'
Hope this helps
Neil -
How can we create a data source on structures
Hi,
How can we create a data source on structures.
Regs,
abdulAbdul,
Welcome to SDN!
We can't create Datasource using Strcutres. We need to have base tables.
For Function Module Extractors, we will create strctures. We will use these strctures as Extract Structures. But, we will get the data from Base tables only not from Strcutures.
Strctures won't contain data.
all the best.
Regards,
Nagesh Ganisetti. -
How Can we get the data from Non-SAP to SAP in WebDynpro
Hi,
I hope u understand my query, How can we get the data from Non-SAP to SAP thru WebDynpro Programming.
Help out with the steps for getting the data or procedure.
Regards,
MutyapuYou can expose the APIs in the Non-SAP backend as Web Services, and consume them in SAP by creating an Enterprise Proxy. Then these can be called just like normal class methods from Web Dynpro.
Regards,
Nithya -
How can i create table which in use
Dear all,
How can i create a index on table which have much dml any time?In 10g :
The CREATE ONLINE waits for existing transactions to commit before it can proceed. Once it starts, it uses a log table (MV Log) to track subsequent changes (i.e. it allows concurrent DML once it has started). At the end of the operation, it encounters another wait if there are existing transactions as it has to sync changes from the MV Log to the index.
Here's an explanation by Jonathan Lewis : Re: Alter Index Rebuild Online
In 11g :
There's an improvement in that only the transactions that were active at the instant when the CREATE .. ONLINE was issued are the ones it waits for. It does not have to wait on subsequent transactions.
Here's an explanation by Richard Foote : http://richardfoote.wordpress.com/2008/02/11/index-create-and-rebuild-locking-improvements-in-11g-ch-ch-ch-changes/
Hemant K Chitale -
How can i create tables ?
how can i create a table from two string arrays (of equal length)?
I haven't found much in the documentation.
thanks
nullHi,
Thank you for your post.
Please have a check on the below links and check if it helps you
https://msdn.microsoft.com/en-us/library/dn305849.aspx
http://azure.microsoft.com/en-in/documentation/articles/sql-database-get-started/
This link describes how to migrate a relational database to Microsoft Azure SQL Database
https://msdn.microsoft.com/library/azure/ee730904.aspx
Regards,
Mekh.
-
How can I create a data file?
I'm back. I found the CFA & PEF files and I am getting ready to go to work and delete all these on all my drives.
What I need to know now is how to create a data only file on a DVD for back up. I have successfully burnt a DVD in Encore, but I do not want to use that as a back up
I feel like it would be degraded somewhat. Besides it is an Encore file.
What I want is a Premiere file from CS4. This way I can always go back to it and make any changes or edits in the original time-line.
If I can do this I was planning on using a DVD-RW so I could make changes later on.
I also want to make a transfer DVD to install my projects on another computer. This will be a Video only computer with no internet connection to mess with my OS and slow things down.
Thanks AgainFor the Projects, the trick will be the Asset files. If they will fit onto DVD DL discs, you're OK. If they are too large (DV-AVI is ~ 13GB per hour), then you'll need some type of backup, or spanning software, that will write files across multiple discs. A better choice, IMO, would be a 1 - 2 TB external, where you can use Project Manager, or just Windows Explorer and Copy, to do the entire Project folder with Assets. I'd recommend against a USB and go at least for FW-400. FW-800 would be better, but you'll need FW-800 connections on your computer. eSATA would be the best, but then you'll need eSATA connectors.
Good luck,
Hunt -
How can we export table data to a CSV file??
Hi,
I have the following requirement. Initially business agreed upon, exporting the table data to Excel file. But now, they would like to export the table data to a CSV file, which is not being supported by af:exportCollectionActionListener component.
Because, when i opened the exported CSV file, i can see the exported data sorrounded with HTML tags. Hence the issue.
Does someone has any solution for this ... Like, how can we export the table data to csv format. And it should work similar to exporting the data to excel sheet.
For youre reference here is the code which i have used to export the table data..
><f:facet name="menus">
><af:menu text="Menu" id="m1">
><af:commandMenuItem text="Print" id="cmi1">
><af:exportCollectionActionListener exportedId="t1"
>title="CommunicationDistributionList"
>filename="CommunicationDistributionList"
>type="excelHTML"/> ---- I tried with removing value for this attribute. With no value, it did not worked at all.
></af:commandMenuItem>
></af:menu>
></f:facet>
Thanks & Regards,
Kiran KonjetiHi Alex,
I have already visited that POST and it works only in 10g. Not in 11g.
I got the solution for this. The solution is :
Use the following code in jsff
==================
<af:commandButton text="Export Data" id="ctb1">><af:fileDownloadActionListener contentType="text/csv; charset=utf-8"
>filename="test.csv"
>method="#{pageFlowScope.pageFlowScopeDemoAppMB.test}"/>
></af:commandButton>
OR
<af:commandButton text="Export Data" id="ctb1">><af:fileDownloadActionListener contentType="application/vnd.ms-excel; charset=utf-8"
>filename="test.csv"
>method="#{pageFlowScope.pageFlowScopeDemoAppMB.test}"/>
></af:commandButton>
And place this code in ManagedBean
======================
> public void test(FacesContext facesContext, OutputStream outputStream) throws IOException {
> DCBindingContainer dcBindings = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
>DCIteratorBinding itrBinding = (DCIteratorBinding)dcBindings.get("fetchDataIterator");
>tableRows = itrBinding.getAllRowsInRange();
preparaing column headers
>PrintWriter out = new PrintWriter(outputStream);
>out.print(" ID");
>out.print(",");
>out.print("Name");
>out.print(",");
>out.print("Designation");
>out.print(",");
>out.print("Salary");
>out.println();
preparing column data
> for(Row row : tableRows){
>DCDataRow dataRow = (DCDataRow)row;
> DataLoaderDTO dto = (DataLoaderDTO)dataRow.getDataProvider();
>out.print(dto.getId());
>out.print(",");
>out.print(dto.getName());
>out.print(",");
>out.print(dto.getDesgntn());
>out.print(",");
>out.print(dto.getSalary());
>out.println();
>}
>out.flush();
>out.close();
> }
And do the following settings(*OPTIONAL*) for your browser - Only in case, if the file is being blocked by IE
==================================================================
http://ais-ss.usc.edu/helpdoc/main/browser/bris004b.html
This resolves implementation of exporting table data to CSV file in 11g.
Thanks & Regards,
Kiran Konjeti -
How can i create table between different servers schema
Hi,
Can any advice me how I can create table on remote oracle schema.
Thanks in advance
Faheem LatifI am telling you what I know about remote table creation - it is impossible in Oracle, if you trust the documentation of course.
ORA-02021: DDL operations are not allowed on a remote database
Cause: An attempt was made to use a DDL operation on a remote database. For example, "CREATE TABLE tablename@remotedbname ...".
Action: To alter the remote database structure, you must connect to the remote database with the appropriate privileges. -
How can I create a portal server authentication user with a batch
hi,
I am trying to import users into the portal server emulating the create user procedure as plumtree. What I cannot understand at the moment is which classes are involved in the sequence of creating a user.
the problem starts from the fact that I have used a synch WS and it works but, being the table a dummy one and the users to be authenticated by the portal server, I couldn't use that synch as a definitive.
I tryed using plumtree.server.CIPTUser class with no success. could not understand how to actually create the user after setting the parameters to the object.
Is there any documentation explaining how to create the portal server emulation of create user. this could be usefull for all those cases when there is no central repository of user and passwords.
thanks
MarioThis should get you started.
IPTUser=IPTSession.GetUsers.Create(iAdminFolderID)
IPTServerContext=IPTUser.GetInterFaces("IPTServerContext")
IPTServercontext.Store
This is a high level implementation. It should get you very close.
thanks,
Craig -
How can I create a data connection without ODBC (directly with OLE DB)
If connecting to an OLE DB data source, which is not defined as ODBC, the well known error message appears in Acrobat, that the environment is not trusted. The Designer Help says, that the document must be certified in Acrobat to run OLE DB without ODBC. So I certified the document in Acrobat allowing dynamic content for it. But the error message always appears. So I have some questions to this:
How is the correct certification process in Acrobat to define a trusted environment for using OLE DB without ODBC?
Why generates using of ODBC an trusted environment? With using ODBC data sources can be changed external from Acrobat, so I must think, ODBC is absolutely insecure.
Why is OLE DB without ODBC insecure? Here I have a defined connection string, which cannot be changed at runtime (if the form developer this doesn't want).
And why is the first record displayed instead of the error message, if using OLE DB without ODBC, but navigation is impossible?
This seems all very mysterious to me.
Does anyone in the world has ever created an OLE DB data connection (without ODBC) with Designer and Acrobat, which runs in a trusted environment?
Thanks for your answers.
MichaelFor the Projects, the trick will be the Asset files. If they will fit onto DVD DL discs, you're OK. If they are too large (DV-AVI is ~ 13GB per hour), then you'll need some type of backup, or spanning software, that will write files across multiple discs. A better choice, IMO, would be a 1 - 2 TB external, where you can use Project Manager, or just Windows Explorer and Copy, to do the entire Project folder with Assets. I'd recommend against a USB and go at least for FW-400. FW-800 would be better, but you'll need FW-800 connections on your computer. eSATA would be the best, but then you'll need eSATA connectors.
Good luck,
Hunt -
How can I create a model node in SAP Records Management
Product: SAP Records Management
Hi,
I would like to create a model node in a record tree.
I found in the function modul BAPI_RECORD_ADDELEMENT no entry for the creation of a model node. Only the instance and the structure node can create by this function modul.
So, does anyone know a solution to create a model note?
Regards,
Thomas FanningerHi Thomas,
it is not possible with the BAPI due to the piece of coding:
case myElementType.
when glob_const_elem_type_instance.
myRecordElement->Type_Set( if_srm_sp_record_element=>type_instance ).
myRecordInstanceElement ?= myRecordElement.
loop at element_sp_poid into myElementSpPoidWa.
mySpPoidWa-id = myElementSpPoidWa-name.
mySpPoidWa-value = myElementSpPoidWa-value.
insert mySpPoidWa into table myElementSpPoidTab.
endloop.
myElementSpsId = sps_id.
myElementPoid = myClientService->poid_get_instance( im_rms_id = myRmsId
im_sps_id = myElementSpsId im_sp_poid = myElementSpPoidTab ).
myService->check_sp_connection( myElementPoid ).
myRecordInstanceElement->poid_set( myElementPoid ).
when glob_const_elem_type_folder.
myRecordElement->Type_Set( if_srm_sp_record_element=>type_folder ).
when others.
perform set_error using '852' return.
return.
endcase.
But you can do that by using directly the Records API. How to use this is demonstrated in the report 'SRM_RECORD_API_HOWTO'. Search there for the subroutine 'fillrecordelement'. There a record element for insert is created and its type is set. You can set the type there to 'IF_SRM_SP_RECORD_ELEMENT~TYPE_MODEL'. Of course your POID then may not be an instance POID.
Best regards,
Thomas -
How can we create Versions for Products in SAP CRM
Hi All,
We want use Product Versions in our CRM IC Webclient. We want to be able to select a product and then have a list of versions to pick from. Can anyone tell me if they have configured Versions for Products in their SAP CRM system. If yes, then how did you go about it.
Thanks,
Ramesh NallabelliHi Arup and Shanthala,
Thanks for the prompt responses. Appreciate your help. We want to create Product versions like this: Product: Windows OS Version: 95, 98, XP, Vista, 7, etc.
When I try to create a configurable product, using the Configuration tab, to create or use a product model I see an error message: PME installation with errors The long text is: The environment variable PME_HOME that includes the PME application has to exist locally in order to start the PME from CRM.
This indicates the configuration of IPC in our CRM system. This is something that we have not undertaken so far.
When I use the Poduct Variants tab to create a product variant for a configurable product, I can't edit here. This view opens in a display only mode. After reading some more about this, It looks like variant configuration needs to be used in tandem with ERP variant configuration. There might also be a need to recreate this in the Java configuration engine. We are going to create these products in CRM only, so this might not work for us.
Regards,
Ramesh -
How can we create a table with more than 64 fields in the default DB?
Dear sirs,
I am taking part in the process of migrating a J2ee application from JBoss to SAP Server. I have imported the ejb project.
I have an entity bean with 79 CMP fields. i have created the bean and created the table for the same also. but when i tried to build the dictionary, i am getting an error message as given below,
"Dictionary Generation: DB2:checkNumberOfColumns (primary key of table IMP_MANDANT): number of columns (79) greater than allowed maximum (64) IMP_MANDANT.dtdbtable MyAtlasDictionary/src/packages"
Is it mean that we can not create tables with fields more than 64?
How can i create tables with more than 64 fields?
Kindly help,
Thankyou,
Sudheesh...Hi,
I found a link in the help site which says its 1024 (without key 1023).
http://help.sap.com/saphelp_nw04s/helpdata/en/f6/069940ccd42a54e10000000a1550b0/content.htm
Not sure about any limit of 64 columns.
Regards,
S.Divakar -
Can´t create a date attribute for basic asset
Hi
I created a basic asset where I want to have a date attribute to pick up a date for calendar.
My question is: How can I create a date attribute for a basic asset? For what I understand I have to create an element attribute in my descriptor file like this
<PROPERTY NAME="imagedate" DESCRIPTION="Image date">
<STORAGE TYPE="TIMESTAMP" LENGTH="8"/>
<INPUTFORM TYPE="ELEMENT" WIDTH="24" MAXLENGTH="48" REQUIRED="NO" DEFAULT="" INSTRUCTION="Format: yyyy-mm-dd hh:mm"/>
<SEARCHFORM DESCRIPTION="Image date" TYPE="ELEMENT" WIDTH="48" MAXLENGTH="128"/>
</PROPERTY>
Then, when I create a new instance of this asset, this attribute appears with this error:
Date: Unable to find element OpenMarket/Xcelerate/AssetType/Oportunidade/ContentForm/imagedate
But the element (imagedate.xml) is there!!
I request help.It seems that the table does not have the entries, maybe b/c we are on R3 4.7. Could you tell me what the entries are suppossed to be to allow the Asset and Cost Center lookup? The search does work for WBS element though and I don't see anything specific to WBS element in that table. In any case if you know the entries that would be great, also this table is not modifiable via SM30, here are the entries that I have in that table.
AUF_NETNR PLM_HELPVALUES_AUTHCHECK
BU_PARTNER BUPA_BAPI_F4_AUTHORITY
DAENR PLM_HELPVALUES_AUTHCHECK
DOKNR PLM_HELPVALUES_AUTHCHECK
EQUNR PLM_HELPVALUES_AUTHCHECK
KUNNR PARTNER_BAPI_F4_AUTHORITY
LIFNR PARTNER_BAPI_F4_AUTHORITY
MATNR PLM_HELPVALUES_AUTHCHECK
NW_AUFNR PLM_HELPVALUES_AUTHCHECK
PARNR PARTNER_BAPI_F4_AUTHORITY
PS_POSID PLM_HELPVALUES_AUTHCHECK
PS_PSPID PLM_HELPVALUES_AUTHCHECK
QMNUM PLM_HELPVALUES_AUTHCHECK
S_AGNCYNUM INT_FLBOOK_F4_AUTHORITY
S_AIRPORT INT_FLBOOK_F4_AUTHORITY
S_BOOK_ID INT_FLBOOK_F4_AUTHORITY
S_CARR_ID INT_FLBOOK_F4_AUTHORITY
S_CITY INT_FLBOOK_F4_AUTHORITY
S_CONN_ID INT_FLBOOK_F4_AUTHORITY
S_COUNTNUM INT_FLBOOK_F4_AUTHORITY
S_COUNTR INT_FLBOOK_F4_AUTHORITY
S_CUSTOMER INT_FLBOOK_F4_AUTHORITY
S_FLCONN INT_FLBOOK_F4_AUTHORITY
S_FLCONN1 INT_FLBOOK_F4_AUTHORITY
S_FLCONN2 INT_FLBOOK_F4_AUTHORITY
S_PLANETYE INT_FLBOOK_F4_AUTHORITY
S_TRNUM INT_FLBOOK_F4_AUTHORITY
TPLNR PLM_HELPVALUES_AUTHCHECK
USCOMP SUSR_BAPI_F4_AUTHORITY
XUBNAME SUSR_BAPI_F4_AUTHORITY
Maybe you are looking for
-
1-Up vs. 2-Up -- I design in 2-Up but my print house wants 1-Up
I've been designing magazines and newsletters for about 10 years, and I have learned to do it using facing pages -- this seems perfectly natural and that is how I visualize and balace my pages. My print house of 7 years has recently informed me that
-
G//L Report Displays NO Budget Data
Hi Friends, In one of my G/L report, i need to display Actual Data & Budget data. Actual Data is coming from 0FIGL_C01 cube and Budget data coming from Flat File. When i execute the query based on G/L Account, i'm getting all the data both for the Ac
-
Is there a maximum size (on 2TB hard disk) for iTunes folder?
I have a large music collection which I am converting and storing on my hard drive in iTunes. Is there a limit to how much music I can store without iTunes becoming buggy? I already have 1TB stored and will probably finish at around 1.5TB. Does an
-
How to improve performance for this code
Hi, LOOP AT lt_element INTO ls_element. READ TABLE lt_element_ident INTO ls_element_ident WITH KEY element_id = ls_element-element_id BINARY SEARCH. IF sy-subrc EQ 0. MOVE ls_element_ident-value TO lv_guid. SELECT * FROM zcm_valuation_at APPENDING CO
-
Ipad mini and bluethoot connection with pc
I have a ipad mini Model MD531C/A on version 6.1.3. It is named Caroline. I want to connect the ipad Caroline on the internet using bluethoot with my PC (on windows 8). My PC is named Creator. The PC detected the ipad named Caroline. The ipad dected