I need some examples
Does one know where I can find some well documented examples how to use OWF, how to create plsql code with ?
The documentaitions from oracle are not usable.
regards
Hi! I'm new in this, Where I find this Zip File?? If some one have any example I try with Oracle Workflow Designer, and try with OW4J and Jdev 9.05 , 10.1.3 but I don't understand how work the Oracle Workflow Some one have any documentation or functional example????
Please I need Help :'( Pleaaaseeeeeeee some one.
Similar Messages
-
Need some examples for smartforms and scripts
hi
now i am working in scripts and smartforms. so i need some examples and some information for scripts and smartforms. where i can find that information.hi jyothsna,
i have given below a simple example
this is the report program,
*& Report ZSCRIPT1 *
REPORT ZSCRIPT1 .
TABLES : EKKO,
EKPO,
KNA1,
USR01,
MARA,
MAKT.
DATA : BEGIN OF ZOPTION.
INCLUDE STRUCTURE ITCPO.
DATA : END OF ZOPTION.
PARAMETERS: P_EBELN LIKE EKKO-EBELN,
P_EBELP LIKE EKPO-EBELP.
CLEAR EKPO.
SELECT SINGLE * FROM EKPO
WHERE EBELN = P_EBELN AND
EBELP = P_EBELP.
CLEAR KNA1.
SELECT SINGLE NAME1 FROM KNA1
INTO KNA1-NAME1
WHERE KUNNR = EKPO-KUNNR.
CLEAR MAKT.
SELECT SINGLE MAKTX FROM MAKT
INTO MAKT-MAKTX
WHERE MATNR = EKPO-MATNR AND
SPRAS = SY-LANGU.
CLEAR USR01.
SELECT SINGLE * FROM USR01 WHERE BNAME = SY-UNAME.
ZOPTION-TDDEST = USR01-SPLD. "Output device (printer)
ZOPTION-TDIMMED = 'X'. "Print immediately
ZOPTION-TDDELETE = 'X'. "Delete after printing
ZOPTION-TDPROGRAM = 'ZPQRPRNT'. "Program Name
CALL FUNCTION 'OPEN_FORM'
EXPORTING
APPLICATION = 'TX'
ARCHIVE_INDEX = ' '
ARCHIVE_PARAMS = ' '
DEVICE = 'PRINTER'
DIALOG = ' '
FORM = 'ZFORM1'
LANGUAGE = SY-LANGU
OPTIONS = ZOPTION
IMPORTING
LANGUAGE = SY-LANGU
EXCEPTIONS
OTHERS = 1.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'HEADER'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'HEADER'
EXCEPTIONS
ELEMENT = 1.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'MAIN'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'
EXCEPTIONS
ELEMENT = 1.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'FOOTER'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'FOOTER'
EXCEPTIONS
ELEMENT = 1.
CALL FUNCTION 'CLOSE_FORM'
EXCEPTIONS
UNOPENED = 1
OTHERS = 2.
This is the layout Set
Layout set Z_TESTSCRIPT
Description Test SAP script
Standard attributes
First page FIRST
Default paragraph P1
Tab-stop 1.00 CH
Page format DINA4
Orientation Landscape
Lines/inch 6.00
Characters/inch 10.00
Font attributes
Font family COURIER
Font size 12.0 Point
Bold No
Italic No
Underlined No
Characters Attributes
B Character String Bold
Standard attributes
Marker No
Font attributes
Bold Yes
Paragraphs Attributes
P1 Default Paragraph
Standard attributes
Line spacing 1.00 LN
Left margin 1.00 CM
Alignment Left-aligned
Font attributes
Font family TIMES
Font size 12.0 Point
P2 Header Paragraph
Standard attributes
Line spacing 1.00 LN
Left margin 4.50 CM
Alignment Left-aligned
Font attributes
Font family TIMES
Font size 18.0 Point
Bold Yes
P3 Undelined paragraph
Standard attributes
Line spacing 1.00 LN
Alignment Left-aligned
Font attributes
Font family TIMES
Font size 12.0 Point
Underlined Yes
Windows Attributes
MAIN Main window
Window type MAIN
HEADER Main window
Window type CONSTANT
FOOTER Main window
Window type CONSTANT
Pages Attributes
FIRST First Page
Standard attributes
Next page FIRST
Page counter
Mode START
Numbering type Arabic numerals
Page window
HEADER Left margin 00.00 CM
Upper margin 00.00 CM
Window width 20.00 CM
Window height 04.00 CM
MAIN Left margin 00.00 CM
Upper margin 05.00 CM
Window width 20.00 CM
Window height 20.00 CM
FOOTER Left margin 00.00 CM
Upper margin 25.00 CM
Window width 20.00 CM
Window height 04.00 CM
Text elements for following windows:
HEADER
Element HEADER
/: POSITION XORIGIN 2 CM YORIGIN '-0.5 CM'
/: BOX XPOS 1 CM YPOS 1 CM WIDTH 18 CM HEIGHT 1 CM FRAME 10 TW INTENSITY 10
P2 ,,<B>TEST PURCHASE ORDER</>
MAIN
Element MAIN
P1 <B>Customer/Supplier:</>,,&KNA1-NAME1&
P1 <B>PO No:</>,,&EKPO-EBELN&
P1 <B>Part No:</>,,&MAKT-MATNR&
P1 <B>Description:</>,,&MAKT-MAKTX&
P1 <B>Quantity:,,</>&EKPO-MENGE&
P1 <B>Sign:</>&uline(81)&
P1 <B>Date:</>&EKKO-AEDAT&
FOOTER
Element FOOTER
/: POSITION XORIGIN 2 CM YORIGIN '-0.5 CM'
/: BOX XPOS 1 CM YPOS 1 CM WIDTH 18 CM HEIGHT 1 CM FRAME 10 TW INTENSITY 10
P2 ,,<B>PLEASE SIGN THE PO BEFORE DISPATCH</>
<b>reward if useful :)</b> -
Need some examples how to handle execptions in bpm
hi guys,
can any one provide an link where i can get some examples how to handle exceptions and fork etc., in bpm
regrds
viswaHi,
Check this SAP help.
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/33/4a773f12f14a18e10000000a114084/content.htm">http://help.sap.com/saphelp_nw04s/helpdata/en/33/4a773f12f14a18e10000000a114084/content.htm</a>
Regards,
Sudharshan. -
Need some example of 'SET DATE MASK'.
Hi Gurus,
I need come example of 'SET DATE MASK ' & 'SET TIME MASK'.
Thanking you.
SubashHi Subasha,
/ : SET DATE MASK = 'MMMM DD, YY'
This displays the date as : September 26, 07.
YY Year (2 digits)
YYYY Year (4 Digits)
MM Month (2 Digits)
MMM Month Name (Abbreviated)
MMMM Month Name (Full)
DD Day as two digits
DDD Day name (Abbreviated)
DDDD Day name
Using the SET DATE MASK causes the subsequent date fields to be displayed using the same formatting. To return to the default formatting use the following command:
/: SET DATE MASK = ' '
/: SET TIME MASK = 'HH hrs MM min SS sec'
This displays the time as : 11 hrs 43 min 37 sec'
The following are the codes that can be used in the time mask:
HH Hours
MM Minutes
SS Seconds
The time formatting can be reset to the default setting using:
/: SET TIME MASK = ' ' -
I need some examples of invoice templates
Hi, i'm new in xml publihser and i would like to receive some examples of complex templates (exemplos of invoice, order purchasing or others. Send to my email [email protected]
ThanksNot sure if this would fit in your definition of complex templates, but here is link that provides a zip file with the RTF and sample XML file.
Blog by Tim Dexter: http://blogs.oracle.com/xmlpublisher/2007/10/here_are_my_terms_conditions.html
Look for this statement at the end of the post: 'All files available here and the pertinent bits in the template highlighted in red.' and get the zip file.
Thanks! -
Need some example to study but could not find sh.rpd and sh folder
Dear all,
I am new for OBIEE and want to use sh example to study.
But I am so puzzle that I searched each space of the computer and could not find sh.rpd and sh folder.
For some reason, I can't re-install dataware house.
Is there someone could attach the sh folder and sh.rpd?
Million thanks for any helps!hi
see this
http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/bi_admin/biadmin.html
here you can download the sh rpd.. . -
Hi guys,
can anyone give an example for IDOC to FILE scenario?
like for FILE 2 IDOC posting purchase orders form a third party system to SAP R/3 system.like this can anyone give an example for IDOC to FILE?Refer the below link
/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - File to RFC
/people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping - Any flat file to any Idoc
Pls reward if useful -
Please ..give me some example APDU for writing data to java card
morning everybody .. :)
I need some example APDUs for writing data to java card. (CLA || INS || P1 || P2 etc)..
please..thank for your attention .. god blessing u.Hi,
did you check some articles about JavaCards:
[Understanding Java Card 2.0|http://www.javaworld.com/cgi-bin/mailto/x_java.cgi?pagetosend=/export/home/httpd/javaworld/javaworld/jw-03-1998/jw-03-javadev.html&pagename=/javaworld/jw-03-1998/jw-03-javadev.html&pageurl=http://www.javaworld.com/javaworld/jw-03-1998/jw-03-javadev.html&site=jw_core]
[How to write a Java Card applet: A developer's guide|http://www.javaworld.com/cgi-bin/mailto/x_java.cgi?pagetosend=/export/home/httpd/javaworld/javaworld/jw-07-1999/jw-07-javacard.html&pagename=/javaworld/jw-07-1999/jw-07-javacard.html&pageurl=http://www.javaworld.com/javaworld/jw-07-1999/jw-07-javacard.html&site=jw_core]
Hope it helps,
Tex -
Give Me Some Example Codes!!
I need some example codes that has a dataSource and the separate java file written in JDBC
The following code will establish a database connection, if you have a datasource called "Labor" defined
--> go to Control Panel
--> go to Administrative Tools
--> ODBC Data sources
--> User DSN (Add a data source called Labor of type Ms-Access) You will need to have a database already created. Give the path to this database.
Connection con = null;
Statement st = null;
String url = "jdbc:odbc:Labor"; //define the URL
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
} catch (Exception e) {} //Locate the Driver
try {
con = DriverManager.getConnection(url, "", "");
} catch (Exception e) {} //Open A Database Connection
try { st = con.createStatement(); } catch (Exception e) { }
You can then execute SQL queries using the Statement object. It will return result sets, but you need to research this some more as there is too much to explain.
Adwait -
I need some working examples with pl/sql records and pl/sql tables.
i am new to pl/sql tables and pl/sql records. i need some working examples on pl/sql records and pl/sql tables from basics to hoghlevel.how to use then procedures and functions and packages.
i am new to pl/sql tables and pl/sql records. i need some working examples on pl/sql records and pl/sql tables from basics to hoghlevelThere is no such thing as PL/SQL "+tables+". This is a misnomer and creates the perception that a PL/SQL "table" is somewhat like a SQL table. Nothing can be further from the truth. The correct term is "+collection+" or "+associative array+". Compared to SQL tables, these are very primitive structures, very rigid structures, cannot scale, and can be quite expensive memory wise.
That is not to say do not use an associative array or collection. These are very useful tools.. but only when applied correctly. Like using a collection for a bulk fetch to transfer more rows between the PL and SQL engines and thus decrease context switching.
Unfortunately, quite often we see the row-by-row and slow-by-slow approach - where the developer uses SQL as an I/O only layer, pulls rows into expensive PL engine memory into record structures and arrays, and then process the rows there.
So before looking at working example (even the wrong approach's code will compile and run and work in practice), make sure that you know the fundamentals of correctly using the PL engine and correctly using the SQL engine. And these fundamentals can be summed up into a very basic rule:
Maximize SQL. Minimize PL/SQL+
Get this rule right, and you will have a sound foundation for writing performant and scalable Oracle applications. -
Some problem about SAP R/3 ~ I need some detail solutions and suggests
I need some detail solutions and suggests about below these problems:
Problem 1: SAP Management Console cannot start successfully
Problem 1.1: Click on SAP Management Console, but yellow light continues for a long period of time.
Problem 1.2: In DOS, startsap command cannot start SAP R/3.
Problem 1.3: Oracle 9i database automatically shutdown by itself.
Problem 1.4: There is very low disk storage left (say less than 50MB) in the hard disk where Oracle 9i database is installed in the server.
Problem 2: Problems in User Maintenance and Security of the SAP R/3 System
Problem 2.1: Super user account password was lost (e.g. SAP* password was lost)
Problem 2.2: Super users DDIC and SAP* were dropped in table usr02 in Oracle.
Problem 2.3: Some users have been locked or deleted by an ABAP programmer who has been granted with almost superuser profiles. For example, an ABAP programmer has been granted a profile of SAP_ALL and SAP_NEW but the system administrator would like to restrict all programmers form using SU01, SU02, SM01, so that no programmers can maintain other user's accounts.
Problem 3: Problems in the configuration of client copy
Problem 3.1: A copied client from the Client 000 cannot be customized.
Problem 3.2: No sample data in IDES after a successful client copy.
Problem 3.3: Logging on without being authorized. A new client is created and client copied and transported successfully. However, anyone can log into the system using user SAP* with the default password PASS.
Problem 4: Problems in the installation of SAP R/3 Server
Problem 4.1: Computer Name of the SAP R/3 server has been changed after the full installation of Oracle 9i and SAP R/3.
Problem 4.2: A network card of a server was faulty and it was replaced by a new network card but the SAP R/3 license was expired.
Problem 4.3: You would like to reinstall SAP R/3 on a server which has previously installed with SAP R/3 but the same error message appears during the re-installation.
Problem 5: Problems in the backup and recovery of Oracle 9i Database
Problem 5.1: A redo log file was lost and the database could not be started.
Problem 5.2: A group of data files were accidentally deleted and the database could not be started.
Problem 5.3: Both the online redo log files and archived redo log files have been damaged.
Problem 6: General problems regarding the general operations and the connection to the SAP R/3 System
Problem 6.1: After a reboot of the Windows 2003 Server, SAP service is not automatically started.
Problem 6.2: Some users complained that the performance of SAP R/3 is really very slow.
Problem 6.3: A user complained that his/her password was correct but he/she could not lock on the client because it was locked.Problem 2
2.1 If user account of the sap* is lost u can retrive by loging into os level as sidadm type this command
DELETE SAP<sid>.USR02 where BNAME='SAP*' AND MANDT=100
This 100 is the client in which u want to delete the sap*
after that restart the server and login as sap* with the default password as pass
there is also another way of doing this if needed u can catch me at [email protected] -
In a bit of a pickle and I need some guidance...
I'm what you call a "Jack of all trades, Master of none". I've dabled in technology since I was a kid, but have never taken any formal classes or had any training on anything. I learned how to use Photoshop, Fireworks and Dreamweaver on my own over the years. Pretty much one of those trial and error kind of guy, but it has opened up many opportunities for me.
Well, the company I work for recently decided to do some advertising at a local horse race track. One of the ways we'll be advertising our business there is on a 20 ft. tall by 40 ft. long billboard. Knowing that I've done some print advertising for them in the past, they asked me if I could come up with something to have printed to put on the billboard and of course I took on the challenge.
I already have the perfect idea in mind for the billboard and all I need to do is implement it. The only problem I have is that I've never had to make something for that big of print. So my question is, should I be using InDesign CS6 for this, or is this something I should use Photoshop CS6 for?
If someone could point me in the right direction I would really appreciated. The worst part is that I need to have this done ASAP as the racing season starts on Monday.
Any help will be greatly appreciated.
Thank you,
RobertoYou will absolutely want to contact the billboard company to find out the technical specifications. After having worked at an outdoor advertising company, I can share a few tips with you.... Scale is a tough question to answer because some companies use a 1 ft = 1 in. scale and others have a different scaling method. Some will provide templates either in PDF format or in all of the programs they work with. Try checking the printer's website, if there's no info, you'll want to get in touch by phone - which is usually a good idea the first time you work with a printer anyway.
Most companies will accept all the major file types: PDF, EPS & JPG included, but you want to make sure before you get too far into the project. Sounds like you have an idea in mind, so what I really wanted to mention to you was that billboards are unique design-wise. You'll want to keep in mind that you only have about five seconds to get your message across and it needs to very legible. If the sign is lit, then you want to make sure to use a color combo that will work well both day and night, and in different lighting conditions in between. Certain color combinations work better than others as do some fonts. As Peter mentioned, billboards are sometimes produced in panels. You will want to know whether the billboard you are designing for is going to be produced in panels or in one vinyl sheet. Back at the company I worked for (keep in mind this was quite a few years back), the cost of the billboard was affected by how many colors were used in each panel of the billboard, so this may be a good question to check on as well.
For some good tips on design and to get an idea of the types of specifications you'll be dealing with (but again, be sure to ask YOUR printer for their specs), take a look at these two links from Lamar Graphics. I don't have any connection with the company, but they are all over the U.S. so they are a good starting reference point.
http://www.lamaroutdoor.com/
Go to Creative Lab->Everyone is an Artist for some great hints about colors, graphics and fonts to use in billboard design.
For some examples of technical specifications, look at this part of their website:
http://www.lamargraphics.com/lgweb/LG2k8/LG2k8-Plants.aspx -
I need some advice on a small servers network please !!
hi every one.
i need a small help please.
i have a collage project that is upgrading a network and my part is the server's network. actually it is 65servers, windows and non-win.
i wish to know what are the important issues that should be considered in connecting the servers with the rest of the enterprise?
i thought of some,but i need some deatails how to start working on it;
pls add any more or try to explain what do you think should be done in it:
*trafic analysis, but where?
*redundancy and failure backup
*security
*authorization, is VLANs sufficiant?
*server loads, how to calculate it?
Is there a special topology for server networks?or layering?
regards;
naifThere is a layered model for building infrastructure
core layer
distribution layer
access layer
The core layer needs to be fast most of the time layer 2 on some optical systems
Then you have the distribution layer. this is where you connect your servers and traffic analysing on layer 3. (like Cat6500 switches)
Then the access layer thats where you connect the end nodes. (like Cat4500 switches or 2950)
It is wise to segment your network into different VLAN's Like a seperate server VLAN and some client VLAN's, number of client VLAN's depents on the number of end nodes.
You can use multi layer switches (a MSFC card in 6500 switch) for routing between the VLAN's
For redundancy you can use for example 2 6500 switches with MSFC where you implement HSRP to have redundant gateways for clients and servers
For security you have to create some access-lists on the VLAN interfaces on the MSFC so you can implement traffic filtering between VLAN's
Do you also have a internet connection (firewallzone) in that case create a sepearate VLAN in which you connect the (PIX)firewall.
Do you need any more information?
Regards,
Maarten -
Need some help in creating Search Help for standard screen/field
I need some help in adding a search-help to a standard screen-field.
Transaction Code - PP01,
Plan Version - Current Plan (PLVAR = '01'),
Object Type - Position ( OTYPE = 'S'),
Click on Infotype Name - Object ( Infotype 1000) and Create.
I need to add search help to fields Object Abbr (P1000-SHORT) / Object Name (P1000-STEXT).
I want to create one custom table with fields, Position Abb, Position Name, Job. Position Abb should be Primary Key. And when object type is Position (S), I should be able to press F4 for Object Abb/Object Name fields and should return Position Abbr and Position Name.
I specify again, I have to add a new search help to standard screen/field and not to enhance it.
This is HR specific transaction. If someone has done similar thing with some other transation, please let me know.
There is no existing search help for these fields. If sm1 ever tried or has an idea how to add new search help to a standard screen/field.
It's urgent.
Thanks in advace. Suitable answers will be rewardedHi Pradeep,
Please have a look into the below site which might be useful
Enhancing a Standard Search Help
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/daeda0d7-0701-0010-8caa-
edc983384237
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee93446011d189700000e8322d00/frameset.htm
A search help exit is a function module for making the input help process described by the search help more flexible than possible with the standard version.
This function module must have the same interface as function module F4IF_SHLP_EXIT_EXAMPLE. The search help exit may also have further optional parameters (in particular any EXPORTING parameters).
A search help exit is called at certain timepoints in the input help process.
Note: The source text and long documentation of the above-specified function module (including the long documentation about the parameters) contain information about using search help exits.
Function modules are provided in the function library for operations that are frequently executed in search help exits. The names of these function modules begin with the prefix F4UT_. These function modules can either be used directly as search help exits or used within other search help exits. You can find precise instructions for use in the long documentation for the corresponding function module.
During the input help process, a number of timepoints are defined that each define the beginning of an important operation of the input help process.
If the input help process is defined with a search help having a search help exit, this search help exit is called at each of these timepoints. If required, the search help exit can also influence the process and even determine that the process should be continued at a different timepoint.
timepoints
The following timepoints are defined:
1. SELONE
Call before selecting an elementary search help. The possible elementary search helps are already in SHLP_TAB. This timepoint can be used in a search help exit of a collective search help to restrict the selection possibilities for the elementary search helps.
Entries that are deleted from SHLP_TAB in this step are not offered in the elementary search help selection. If there is only one entry remaining in SHLP_TAB, the dialog box for selecting elementary search helps is skipped. You may not change the next timepoint.
The timepoint is not accessed again if another elementary search help is to be selected during the dialog.
2. PRESEL1
After selecting an elementary search help. Table INTERFACE has not yet been copied to table SELOPT at this timepoint in the definition of the search help (type SHLP_DESCR_T). This means that you can still influence the attachment of the search help to the screen here. (Table INTERFACE contains the information about how the search help parameters are related to the screen fields).
3. PRESEL
Before sending the dialog box for restricting values. This timepoint is suitable for predefining the value restriction or for completely suppressing or copying the dialog.
4. SELECT
Before selecting the values. If you do not want the default selection, you should copy this timepoint with a search help exit. DISP should be set as the next timepoint.
5. DISP
Before displaying the hit list. This timepoint is suitable for restricting the values to be displayed, e.g. depending on authorizations.
6. RETURN (usually as return value for the next timepoint)
The RETURN timepoint should be returned as the next step if a single hit was selected in a search help exit.
It can make sense to change the F4 flow at this timepoint if control of the process sequence of the Transaction should depend on the selected value (typical example: setting SET/GET parameters). However, you should note that the process will then depend on whether a value was entered manually or with an input help.
7. RETTOP
You only go to this timepoint if the input help is controlled by a collective search help. It directly follows the timepoint RETURN. The search help exit of the collective search help, however, is called at timepoint RETTOP.
8. EXIT (only for return as next timepoint)
The EXIT timepoint should be returned as the next step if the user had the opportunity to terminate the dialog within the search help exit.
9. CREATE
The CREATE timepoint is only accessed if the user selects the function "Create new values". This function is only available if field CUSTTAB of the control string CALLCONTROL was given a value not equal to SPACE earlier on.
The name of the (customizing) table to be maintained is normally entered there. The next step returned after CREATE should be SELECT so that the newly entered value can be selected and then displayed.
10. APP1, APP2, APP3
If further pushbuttons are introduced in the hit list with function module F4UT_LIST_EXIT, these timepoints are introduced. They are accessed when the user presses the corresponding pushbutton.
Note: If the F4 help is controlled by a collective search help, the search help exit of the collective search help is called at timepoints SELONE and RETTOP. (RETTOP only if the user selects a value.) At all other timepoints the search help exit of the selected elementary search help is called.
If the F4 help is controlled by an elementary search help, timepoint RETTOP is not executed. The search help exit of the elementary search help is called at timepoint SELONE (at the
F4IF_SHLP_EXIT_EXAMPLE
This module has been created as an example for the interface and design of Search help exits in Search help.
All the interface parameters defined here are mandatory for a function module to be used as a search help exit, because the calling program does not know which parameters are actually used internally.
A search help exit is called repeatedly in connection with several
events during the F4 process. The relevant step of the process is passed on in the CALLCONTROL step. If the module is intended to perform only a few modifications before the step, CALLCONTROL-STEP should remain unchanged.
However, if the step is performed completely by the module, the following step must be returned in CALLCONTROL-STEP.
The module must react with an immediate EXIT to all steps that it does not know or does not want to handle.
Hope this info will help you.
***Reward points if found useful
Regards,
Naresh -
Need some help in debugging this exported script
Below is DDL generated by visio forward engineering tool . The example below consists of 2 test tables with one foreign key.
Forward engineering generated DDL script
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[Table1]') AND type in (N'U'))
DROP TABLE [dbo].[Table1]
GO
CREATE TABLE [dbo].[Table1] (
[test] CHAR(10) NOT NULL
, [test2] CHAR(10) NULL
GO
ALTER TABLE [dbo].[Table1] ADD CONSTRAINT [Table1_PK] PRIMARY KEY CLUSTERED (
[test]
GO
GO
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[Table2]') AND type in (N'U'))
DROP TABLE [dbo].[Table2]
GO
CREATE TABLE [dbo].[Table2] (
[test2] CHAR(10) NOT NULL
GO
ALTER TABLE [dbo].[Table2] ADD CONSTRAINT [Table2_PK] PRIMARY KEY CLUSTERED (
[test2]
GO
GO
ALTER TABLE [dbo].[Table1] WITH CHECK ADD CONSTRAINT [Table2_Table1_FK1] FOREIGN KEY (
[test2]
REFERENCES [dbo].[Table2] (
[test2]
GO
GO
When i converted this DDL script using scratch editor the migration tool gave some errors can anyone help me to resolve below
DECLARE
v_temp NUMBER(1, 0) := 0;
BEGIN
BEGIN
SELECT 1 INTO v_temp
FROM DUAL
WHERE EXISTS ( SELECT *
FROM objects
WHERE OBJECT_ID_ = NULL/*TODO:OBJECT_ID(N'[OPS].[Table1]')*/
AND TYPE IN ( N'U' )
EXCEPTION
WHEN OTHERS THEN
NULL;
END;
IF v_temp = 1 THEN
TRUNCATE TABLE Table1;
END IF;
END;
CREATE TABLE Table1
test CHAR(10) NOT NULL,
test2 CHAR(10)
ALTER TABLE Table1
ADD
CONSTRAINT Table1_PK PRIMARY KEY( test );
--SQLDEV:Following Line Not Recognized
DECLARE
v_temp NUMBER(1, 0) := 0;
BEGIN
BEGIN
SELECT 1 INTO v_temp
FROM DUAL
WHERE EXISTS ( SELECT *
FROM objects
WHERE OBJECT_ID_ = NULL/*TODO:OBJECT_ID(N'[OPS].[Table2]')*/
AND TYPE IN ( N'U' )
EXCEPTION
WHEN OTHERS THEN
NULL;
END;
IF v_temp = 1 THEN
TRUNCATE TABLE Table2;
END IF;
END;
CREATE TABLE Table2
test2 CHAR(10) NOT NULL
ALTER TABLE Table2
ADD
CONSTRAINT Table2_PK PRIMARY KEY( test2 );
--SQLDEV:Following Line Not Recognized
ALTER TABLE Table1
ADD
CONSTRAINT Table2_Table1_FK1 FOREIGN KEY( test2 ) REFERENCES Table2 (test2)
--SQLDEV:Following Line Not Recognized
;Pl do not post duplicates - Need some help in debugging this script
Maybe you are looking for
-
I am trying to open itunes on my computer. Windows 7 64-bit operating system. When I try to open itunes, I get an error message saying MSVCR80.dll file is missing. Where can I find this file and how can I get it on my computer? I have tried unin
-
Yet another temporary freezing problem, energy saving related, maybe
I've followed uncountable suggestions about this issue, but none seem to be quite the same situation, and none of the suggestions I tried made any difference so far. History: MBP 17" June/2009, 8GB RAM, 500GB Seagate with sudden movement protection,
-
Iphone doesn't appear in «devices» category when I try to synch it
When I connect my device (iPhone 4S) to my computer (which one is under Windows XP), my computer recognize my iphone as a camera. When I open iTunes, a speech box appears and says: «Iphone can't be used because Apple Mobile Device isn't launch.». I r
-
Swap size keeps dropping on Solaris 10 (x86)
Hi, I have setup Solaris 10 (x86) on a SunFire V20Z, and mirrored my 2 hds. raidctl c1t0d0 c1t1d0 recently i have been getting system messages that says WARNING: /tmp: File system full, swap space limit exceeded when i checked, I noticed that my swap
-
Goods Issue Configuration - Account 330001 already used in transaction BSX
Dear All Experts, I am configuring OBYC for Goods Issue scnario. When I am putting Stock account and this error I am getting Account 330001 already used in transaction BSX Message no. F4803 Diagnosis Accounts used in transaction BSX (posting to asse