Modify code generated by Form Editor
Hello,
I'm wondering how I can add the methode
setLocationRelativeTo()
to the code generated by the Form Editor in JDeveloper12.
Or what do I have to do, to create a Project with Swing GUI, using a visual editor, which let's me modify the code???
Maybe this is a very odd question, but I'm just a little bit confused. I'm quite sure, that I was able to modify my code using the Visual Editor in JDeveloper10. Or am I on the wrong way and have to write the code by totaly by myself, if I want to have the possibility of modification?
Thanks
chrissy
Hi Timo,
that's the way I think it should work, but all code for components created with visual GUI Editor is blocked. What also makes sense, because the Form Editor will overwrite it, everytime I change something with the GUI Editor.
My start up was to create a new Application (Java Desktop Application) with a project. I think it is just using NetBeans (with which I have never worked before). Creating now a JFrame Form is using the Form Editor for visual stuff. What's nice to have, because a lot of code is auto-generated, but I also need to do some modifications, like setting the window appear in the middle of the screen with setLocationRelativeTo(). Is there a chance to do it, or do I have to start up another way, i.e. just creating a Custom Application and writing all the code by myself and use no visual editor?
Thanks
chrissy
Similar Messages
-
Generate bar codes in mail forms
Hi,
I know how to insert Bar codes in smartforms, but I need to print the bar codes in Mail Forms, is that possible?
Thanks a lot,
Nuno MoreiraHi Gregor,
What I need to do is:
I have several mail forms treated as a standard response in ICWC. We are using the e-mail view (in ICWC) mainly to print the forms, via smartforms or in online mode without smartforms.
So, at the moment, I have two questions:
1) If I use a smartform to print the mail form, even if I create the form in plain text and create the bar code into mail form, when I print the number it is not converted in a bar code;
2) If I generate the bar code in a mail form and I try to print it in ICWC e-mail view the number is not printed as a bar code too;
Thanks a lot for your help and interest,
Best Regards,
Nuno -
Modify hostname while automatically generating task-form in human wok-flow
Hi,
I am creating one task form automatically, using the option available "create form -->Auto generate task form" in task file using jdev 11g. The form is good, but when I try to access this form in oracle BPM worklist, it gives me error "Unknown Host Description: Unable to locate the server named *servername.domain.com*. the server does not have a DNS entry. Perhaps there is a misspelling in the server name, or the server no longer exists. Double-check the name and try again."
Actually the case is, In our env, we can access the server by it's IP address only, and not by name. << this is due to some network or some other setup >>
like folllowing will work fine: http://10.239.5.80:7001/em.
but this one will give the same error as above: http://servername.domain.com:7001/em
I tried to create hostname entry in C:\Windows\System32\drivers\etc\hosts, but of no help. Also, i tried to find from where this server name automatically comes up. so that i can change that to IP address. but no success yet.
Need some pointers to get going. thanks for your help.
~rpsJust posting What I have found about this issue.
If there is a need to change the target URL for any work-list task form, then follow below steps in SOA em console:
From the SOA Infrastructure Menu in em console:
1. Select home. ( i.e. click on SOA-INFRA link in left navigation.).
2. Select the Deployed Composites tab.
3. In the Composite section, select the specific SOA composite application.
4. Under soa-infra, select a specific SOA composite application.
5. Select the human task service component in the Component Metrics table.
6. Click Administration tab.
7. Set the HTTP Host and Port if it wasn't configured that way when you deployed. << At this step you can change the target URL>>.
thanks,
rps -
How to print BAR code in SMART Form
Hi All,
I have the requirement to print BAR CODE in Smartforms.
For this, I create a character format with Bar code in style forms and create a text element in Smart form and associate bar code character format with this text element.
Now when I look the print preview for the data, then it shows me data in bar code format but not in right format i.e. its shows me all the similar block in bar code.
If you look the bar code in SAP script, its always show you bar code with similar block, but in SMART FORM it will show you exact bar code; as in SAP Script, bar code is generated at printer end and in SMARTFORM bar code is generated as graphic in SAP and then sent to printer for print.
PLease let me know, why in SMARTFORM its not showing BAR CODE in correct format in print preview.
Thanks
Piyush MathurHi,
To Create a Bar code prefix:
1) Go to T-code - SPAD -> Full Administration -> Click on Device Type -> Double click the device for which you wish to create the print control -> Click on Print Control tab ->Click on change mode -> Click the plus sign to add a row or prefix say SBP99 (Prefix must start with SBP) -> save you changes , it will ask for request -> create request and save
2) Now when you go to SE73 if you enter SBP00 for you device it will add the newly created Prefix
Create a character format C1.Assign a barcode to the character format.Check the check box for the barcode.
The place where you are using the field value use like this
<C1> &itab-field& </C1>.
You will get the field value in the form of barcode.
Which barcode printer are you using ? Can you download this file and see.
http://www.servopack.de/Files/HB/ZPLcommands.pdf.
It will give an idea about barcode commands.
Check this link:
http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
Detailed information about SAP Barcodes
A barcode solution consists of the following:
- a barcode printer
- a barcode reader
- a mobile data collection application/program
A barcode label is a special symbology to represent human readable information such as a material number or batch number
in machine readable format.
There are different symbologies for different applications and different industries. Luckily, you need not worry to much about that as the logistics supply chain has mostly standardized on 3 of 9 and 128 barcode symbologies - which all barcode readers support and which SAP support natively in it's printing protocols.
You can print barcodes from SAP by modifying an existing output form.
Behind every output form is a print program that collects all the data and then pass it to the form. The form contains the layout as well as the font, line and paragraph formats. These forms are designed using SAPScript (a very easy but frustratingly simplistic form format language) or SmartForms that is more of a graphical form design tool.
Barcodes are nothing more than a font definition and is part of the style sheet associated with a particular SAPScript form. The most important aspect is to place a parameter in the line of the form that points to the data element that you want to represent as barcode on the form, i.e. material number. Next you need to set the font for that parameter value to one of the supported barcode symbologies.
reward if useful
regards,
ANJI -
Forte form editor wont work, missing *.form file
Hi,
I have a .java GUI file (subclass of a subclass of JDialog) that was generated with Forte, but the .form file that the form editor needs wasnt checked into CVS. So now I cant open the form editor in Forte (sun one). Is there a way to auto generate a new one based on the *.java code?
Thanks,
Chris
ps. I know this isnt a forte board, I coudlnt find the forte board.
pps. Sorry if this has been asked before, I searched for the answer and couldnt find one...
ppps. I tried a blank file, and I tried a minimal XML document, neither worked (the *.form file is XML).Thanks for the suggestion!
I searched their list, and found this post:
Essentially it is currently impossible, and the GUI must be recreated. dote!
http://www.netbeans.org/servlets/ReadMsg?msgId=87985&listName=nbusers
Richard,
currently it is not possible to generate .form file from java code - because
form editor is not "two-way" (that is why .form XML files are used to store
GUI information). However two-way editing is planned for the future - see
our proposal:
http://www.netbeans.org/www-nbusers/msg03322.html.
There was also a related discussion some time before (about "reverse
endineering"):
http://www.netbeans.org/www-nbusers/msg01590.html.
As for converting forms from old NetBeans X2: direct serialization was used
for saving forms sooner, which is not suitable for longer persistence -
because e.g. serialized Swing components might not be compatible between JDK
versions. (That's why we moved to more general XML storing time ago.) So -
to import older forms you should use at least the same JDK version you used
with old X2. I would also recommend you to import it using Forte 2.0, which
could be more "polite" to old form formats (is a bit older than NetBeans
3.1). Once you save form to XML .form file, you can use it in newest JDK and
NetBeans.
Hope this somehow helps,
Tomas Pavek
-----Original Message-----
From: Uschold, Richard J. [mailto:[email protected]]
Sent: Tuesday, January 30, 2001 5:22 PM
To: '[email protected]'
Subject: [nbusers] Converting a *.java file to a *.form or *.xml
Is there a way to start with a *.java file and convert / generate a *.form
file? (for NetBeans X2 2.1) Or maybe convert / generate a *.xml project
file for NetBeans 3.1?
I had a project in NetBeans X2 2.1 last year and I lost everything except
the *.java file.
Thanks
Rick Uschold -
Ambiguity while generating the form module through designer
Hi All
In designer I am setting the default value of an item(check box) as 'N'. But when I am generating the module, the initial value of this item is changed to Y in the corresponding form module(This I can see through the initial value property of an item in property pallette).
Since this happens right after the form generation..So it can't be like that some procedure is there which is changing the value of this item because procedure will run only when form will run.
Can anyone explain as to why this ambiguity happens?
Message was edited by:
sudhirDid you set the Generator Preference before module to form generation? If yes, you must save the Generator Preference with a valid Preference Name, select the Preference Name before each generation.
Alternatively, you could modify the generated From and use Design Editor's Design Capture to reverse your required properties of items from the Form to Module Daigram and inspect the property of items from the reversed Module Diagram. -
Unable to generate any form in oracle r12
Dear Gurus,
suddenly we can't generate any form "standard or customized" with following error:
frmcmp_batch Module=$AU_TOP/forms/US/INVGIPDP.fmb Userid=apps/apps compile_all=yes module_type=form batch=no output_file=$INV_TOP/12.0.0/forms/US/test.fmx
Forms 10.1 (Form Compiler) Version 10.1.2.3.0 (Production)
Forms 10.1 (Form Compiler): Release - Production
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
PL/SQL Version 10.1.0.5.0 (Production)
Oracle Procedure Builder V10.1.2.3.0 - Production
Oracle Virtual Graphics System Version 10.1.2.0.0 (Production)
Oracle Multimedia Version 10.1.2.0.2 (Production)
Oracle Tools Integration Version 10.1.2.0.2 (Production)
Oracle Tools Common Area Version 10.1.2.0.2
Oracle CORE 10.1.0.5.0 Production
Compiling package specification APP_CUSTOM...
No compilation errors.
Compiling package specification IPDP_TREE...
No compilation errors.
Compiling package specification DATA_SET_CTRL...
No compilation errors.
Compiling package specification RESULTS...
No compilation errors.
Compiling package specification APP_CUSTOM...
No compilation errors.
Compiling package body APP_CUSTOM...
Compilation error on package body APP_CUSTOM:
PL/SQL ERROR 302 at line 24, column 19
component 'DISABLED' must be declared
PL/SQL ERROR 0 at line 24, column 5
Statement ignored
PL/SQL ERROR 201 at line 30, column 5
identifier 'APP_WINDOW.CLOSE_FIRST_WINDOW' must be declared
PL/SQL ERROR 0 at line 30, column 5
Statement ignored
PL/SQL ERROR 201 at line 43, column 5
identifier 'APP_WINDOW.SET_WINDOW_POSITION' must be declared
PL/SQL ERROR 0 at line 43, column 5
Statement ignored
PL/SQL ERROR 201 at line 46, column 3
identifier 'APP_WINDOW.SET_TITLE' must be declared
PL/SQL ERROR 0 at line 46, column 3
Statement ignored
Compiling package specification IPDP_TREE...
No compilation errors.
Compiling package body IPDP_TREE...
Compilation error on package body IPDP_TREE:
PL/SQL ERROR 201 at line 43, column 26
identifier 'APPTREE.COLLAPSED_NODE' must be declared
PL/SQL ERROR 0 at line 43, column 3
Statement ignored
PL/SQL ERROR 201 at line 50, column 26
identifier 'APPTREE.TREE_NAME' must be declared
PL/SQL ERROR 0 at line 50, column 3
Statement ignored
PL/SQL ERROR 201 at line 103, column 39
identifier 'APPTREE.TRIGGER_NODE_USER_VALUE' must be declared
PL/SQL ERROR 0 at line 96, column 3
SQL Statement ignored
PL/SQL ERROR 201 at line 109, column 18
identifier 'APPTREE.TRIGGER_NODE_TYPE' must be declared
PL/SQL ERROR 0 at line 109, column 3
Statement ignored
PL/SQL ERROR 201 at line 117, column 13
identifier 'APPTREE.TRIGGER_NODE_LOW_VALUE' must be declared
PL/SQL ERROR 0 at line 117, column 5
Statement ignored
PL/SQL ERROR 201 at line 144, column 20
identifier 'APPTREE.TRIGGER_NODE_HIGH_VALUE' must be declared
PL/SQL ERROR 0 at line 144, column 5
Statement ignored
PL/SQL ERROR 201 at line 148, column 26
identifier 'APPTREE.TREE_NAME' must be declared
PL/SQL ERROR 0 at line 148, column 3
Statement ignored
PL/SQL ERROR 201 at line 159, column 6
identifier 'APPTREE.TRIGGER_NODE_TYPE' must be declared
PL/SQL ERROR 0 at line 159, column 3
Statement ignored
PL/SQL ERROR 201 at line 184, column 6
identifier 'APPTREE.TRIGGER_NODE_TYPE' must be declared
PL/SQL ERROR 0 at line 184, column 3
Statement ignored
PL/SQL ERROR 201 at line 264, column 15
identifier 'APPTREE.FIND_TREE_NODE' must be declared
PL/SQL ERROR 0 at line 264, column 2
Statement ignored
PL/SQL ERROR 201 at line 272, column 28
identifier 'APPTREE.TREE_NAME' must be declared
PL/SQL ERROR 0 at line 272, column 5
Statement ignored
PL/SQL ERROR 201 at line 275, column 16
identifier 'APPTREE.FIND_TREE_NODE' must be declared
PL/SQL ERROR 0 at line 275, column 3
Statement ignored
PL/SQL ERROR 201 at line 282, column 28
identifier 'APPTREE.TREE_NAME' must be declared
PL/SQL ERROR 0 at line 282, column 5
Statement ignored
PL/SQL ERROR 201 at line 290, column 6
identifier 'APPTREE.ACTION' must be declared
PL/SQL ERROR 0 at line 290, column 3
Statement ignored
Compiling package specification DATA_SET_CTRL...
No compilation errors.
Compiling package body DATA_SET_CTRL...
Compilation error on package body DATA_SET_CTRL:
PL/SQL ERROR 201 at line 30, column 7
identifier 'APPTREE.NEW_VIEW_BY' must be declared
PL/SQL ERROR 0 at line 30, column 7
Statement ignored
PL/SQL ERROR 201 at line 43, column 7
identifier 'APP_ITEM_PROPERTY.SET_PROPERTY' must be declared
PL/SQL ERROR 0 at line 43, column 7
Statement ignored
PL/SQL ERROR 201 at line 46, column 7
identifier 'APP_ITEM_PROPERTY.SET_PROPERTY' must be declared
PL/SQL ERROR 0 at line 46, column 7
Statement ignored
PL/SQL ERROR 201 at line 97, column 14
identifier 'APP_FORM.QUIETCOMMIT' must be declared
PL/SQL ERROR 0 at line 97, column 11
Statement ignored
Compiling package specification RESULTS...
No compilation errors.
Compiling package body RESULTS...
No compilation errors.
Compilation errors have occurred.
Form not created
DB version: 11.2.0.3
apps version: 12.1.3
OS: hp-ux B.11.31 U ia64
Kindly advice.
Regards,
AhmedSalam Asif, Srini, Hussein,
1st of all please accept my apologize of being late in reply due to fever that attacked me yesterday!
To Asif,
number of invalid objects now 16, and all of them related to customized schema. Actually there were 3 more related to apps and I could recompile them.
To Srini,
I'm not sure if it's modified recently, I'm Apps DBA so I'll check with the developer and get back to you ASAP. Unlesss you have some guidance to check if it's modified or not, also what do you mean by replace it with a good back? does this mean can I get CUSTOM.pll from any other envrionment and put it there?
To Hussein,
Can you compile the form on your client using forms builder with no issues?
I don't think so but I'll confirm with the developer.
Where this package is used? What is line 24 and column 19?
Again I've no idea, I'm sorry about that and I'll ask the developer.
Regards,
Ahmed -
How to change font size in HR Forms Editor
Hi Experts,
I am modifiying the pay slip which was created using HR Forms Editor, now i modified the form, is it possible to change the font size ? i am not able to find option to change the font size.
could any one please tell how to change the font size?
With Regards,
Thanesh*Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/
-
Application error while generating PDF form
Hello there,
I am getting the message "Application error while generating PDF form" and when you hover it has additional information Message Class HREIC_APPL - Message number 258.
I get this upon doing the following steps:
1. Enter SAP R3, enter HREIC on the transaction code input.
2. Enter EIC, Activity Search. Searched for an Activity, selected it and click the "PRINT" button.
3. After clicking the PRINT button, I get the error message "Application error while generating PDF form".
Installed this on development box, did the same configuration in test system, but still I get this error. ADS Configuration is working fine and configured fine.
Is there anything else that is needed to be checked? like Ports, Firewalls, etc?
Thanks a lot.Be sure that the RFC name is "ADS" and not anything else.
Thanks. -
How do I make this code generate a new pro when the "NEXT" button is pushed
How do I make this code generate a new set of problem when the "NEXT" Button is pushed
* To change this template, choose Tools | Templates
* and open the template in the editor.
/* Figure out how to create a new set of problms
* Type a list of specifications, include a list of test cases
* DONE :]
package javaapplication1;
import java.awt.GridLayout;
import java.awt.Window;
import javax.swing.*;
import java.awt.event.*;
* @author Baba Akinlolu -
class Grid extends JFrame{
int done = 0;
final int score = 0;
final int total = 0;
//Create Panels
JPanel p2 = new JPanel();
JPanel p3 = new JPanel();
final JPanel p1 = new JPanel();
//Create Radio buttons & group them
ButtonGroup group = new ButtonGroup();
final JRadioButton ADD = new JRadioButton("Addition");
final JRadioButton SUB = new JRadioButton("Subtraction");
final JRadioButton MUL = new JRadioButton("Multiplication");
final JRadioButton DIV = new JRadioButton("Division");
//Create buttons
JButton NEXT = new JButton("NEXT");
JButton END = new JButton("End");
//Create Labels
JLabel l1 = new JLabel("First num");
JLabel l2 = new JLabel("Second num");
JLabel l3 = new JLabel("Answer:");
JLabel l4 = new JLabel("Score:");
final JLabel l5 = new JLabel("");
JLabel l6 = new JLabel("/");
final JLabel l7 = new JLabel("");
//Create Textfields
final JTextField number = new JTextField(Generator1());
final JTextField number2 = new JTextField(Generator1());
final JTextField answer = new JTextField(5);
Grid(){
setLayout(new GridLayout(4, 4, 2 , 2));
p2.add(ADD);
p2.add(SUB);
group.add(ADD);
group.add(SUB);
group.add(MUL);
group.add(DIV);
p2.add(ADD);
p2.add(SUB);
p2.add(DIV);
p2.add(MUL);
//Add to panels
p1.add(l1);
p1.add(number);
p1.add(l2);
p1.add(number2);
p1.add(l3);
p1.add(answer);
p1.add(l4);
p1.add(l5);
p1.add(l6);
p1.add(l7);
p3.add(NEXT);
p3.add(END);
//Add panels
add(p2);
add(p1);
add(p3);
//Create Listners
Listeners();
void Listeners(){
NEXT.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
int answer1 = 0;
//Grab the numbers entered
int numm1 = Integer.parseInt(number.getText());
int numm2 = Integer.parseInt(number2.getText());
int nummsanswer = Integer.parseInt(answer.getText());
//Set the score and total into new variabls
int nummscore = score;
int nummtotal = total;
//Check if the add radio button is selected if so add
if (ADD.isSelected() == true){
answer1 = numm1 + numm2;
//otherwise check if the subtract button is selected if so subtract
else if (SUB.isSelected() == true){
answer1 = numm1 - numm2;
//check if the multiplication button is selected if so multiply
else if (MUL.isSelected() == true){
answer1 = numm1 * numm2;
//check if the division button is selected if so divide
else if (DIV.isSelected() == true){
answer1 = numm1 / numm2;
//If the answer user entered is the same with th true answer
if (nummsanswer == answer1){
//add to the total and score
nummtotal += 1;
nummscore += 1;
//Convert the input back to String
String newscore = String.valueOf(nummscore);
String newtotal = String.valueOf(nummtotal);
//Set the text
l5.setText(newscore);
l7.setText(newtotal);
//Otherwise just increase the total counter
else {
nummtotal += 1;
String newtotal = String.valueOf(nummtotal);
l7.setText(newtotal);
//Create End listener
END.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
// get the root window and call dispose on it
Window win = SwingUtilities.getWindowAncestor(p1);
win.dispose();
//new Grid();
String Generator1(){
int randomnum;
randomnum = (1 + (int)(Math.random() * 100));
String randomnumm = String.valueOf(randomnum);
return randomnumm;
public class Main {
* @param args the command line arguments
public static void main(String[] args) {
// TODO code application logic here
JFrame frame = new Grid();
frame.setTitle("Flashcard Testing");
frame.setSize(500, 200);
frame.setLocationRelativeTo(null);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setVisible(true);
}Edited by: SirSaula on Dec 7, 2009 10:17 AMNot only are you continuing to post in the wrong forum but now you are multiposting: [http://forums.sun.com/thread.jspa?threadID=5418935]
If people haven't answered you other posting its probably because we don't understand the question. Quit cluttering the forum by asking the same question over and over and then next time you have a new question post it in the proper forum. Your first posting was moved becuase you didn't post it properly. -
I Need Help to Access The Source Code From A Form to Know the Calculation Formula
Hi,
I Need Help to Access The Source Code From A Form to Know the Calculation Formula. The application is a windows form application that is linked to SQL Server 2008. In one of the application forms it generates an invoice and does some calculations. I just
need to know where behind that form is the code that's doing the calculations to generate the invoice, I just need to get into the formula that's doing these calculations.
Thank you so much.Hi,
Thanks for the reply. This is a view and [AmountDue] is supposed to be [CurrentDueAmount] + [PastDueAmount] - [PaidAmount]. The view is not calculating [PaidAmount] right . Below is the complete code of the view. Do you see anything wrong in the code ?
Thanks.
SELECT [isi].[InvoiceID], [ii].[DueDate], [SubInvoiceID] = [isi].[ID], [INV_FacilityID] = [if].[ID], [if].[FacilityID],
[iff].[FacilityFeeID], [LoanID] = NULL, [isi].[PortfolioID], [isi].[Portfolio],
[PaymentType] = [isis_fee].[SectionType], [Name]
= [iff].[Name], [ReceivedAmount], [dates].[CurrentDueAmount],
[PastDueAmount] = CASE WHEN ISNULL([ReceivedAmount],
0) > 0 THEN [pastdue].[PastDueFeeAmount] + ISNULL([ReceivedAmount], 0)
WHEN ISNULL([ReceivedAmount], 0)
< 0 THEN /* We bring past due to zero and
apply reset to current. */ CASE WHEN [pastdue].[PastDueFeeAmount] + ISNULL([ReceivedAmount], 0)
< 0 THEN 0 ELSE [pastdue].[PastDueFeeAmount]
+ ISNULL([ReceivedAmount], 0) END WHEN ISNULL([ReceivedAmount], 0) = 0 AND
[pastdue].[PastDueFeeAmount] < 0 THEN 0 ELSE
[pastdue].[PastDueFeeAmount] END, [PaidAmount] = CASE WHEN ISNULL([ReceivedAmount], 0)
< 0 THEN /* We bring past due to zero and
apply rest to current. */ CASE WHEN [pastdue].[PastDueFeeAmount] + ISNULL([ReceivedAmount], 0)
< 0 THEN - ([pastdue].[PastDueFeeAmount]
+ ISNULL([ReceivedAmount], 0)) ELSE 0 END WHEN ISNULL([ReceivedAmount], 0) = 0 AND
[pastdue].[PastDueFeeAmount] < 0 THEN - [pastdue].[PastDueFeeAmount]
ELSE 0 END, [AmountDue] = [unpaid].[UnpaidFeeAmount], [ID] = [iff].[FacilityFeeID]
FROM [dbo].[INV_SubInvoice] isi JOIN
[dbo].[INV_Invoice] ii ON [isi].[InvoiceID]
= [ii].[ID] JOIN
[dbo].[INV_Facility] [if] ON [isi].[ID] = [if].[SubInvoiceID]
JOIN
[dbo].[INV_FacilityFee] iff ON [if].[ID] = [iff].[INV_FacilityID]
JOIN
(SELECT [sis_fee].[ID],
[sis_fee].[SectionTypeCode], [SectionType] = [st_fee].[Name], [sis_fee].[INV_FacilityFeeID]
FROM
[dbo].[INV_SubInvoiceSection] sis_fee JOIN
[dbo].[INV_SectionType] st_fee ON [sis_fee].[SectionTypeCode] = [st_fee].[Code]
WHERE [INV_FacilityFeeID]
IS NOT NULL AND [StatusCode] = 'BILL') isis_fee ON [iff].[ID] = [isis_fee].[INV_FacilityFeeID] JOIN
(SELECT [iffa].[SectionID],
[AccrualDeterminationDateMax] = MAX([iffa].[AccrualDeterminationDate]),
[AccrualDeterminationDateMin] = MIN([iffa].[AccrualDeterminationDate]), [CurrentDueAmount] = SUM([iffa].[AccruedFeeAmount]),
[ReceivedAmount] = SUM([iffa].[ReceivedFeeAmount])
FROM
[dbo].[INV_FacilityFeeAccrual] iffa
GROUP BY [iffa].[SectionID])
dates ON [isis_fee].[ID] = [dates].[SectionID] LEFT JOIN
(SELECT *
FROM
[dbo].[INV_FacilityFeeAccrual]) unpaid ON [dates].[SectionID] = [unpaid].[SectionID] AND
[dates].[AccrualDeterminationDateMax] = [unpaid].[AccrualDeterminationDate]
LEFT JOIN
(SELECT [SectionID],
[PastDueFeeAmount] = SUM([PastDueFeeAmount])
FROM
[dbo].[INV_FacilityFeeAccrual]
GROUP BY [SectionID]) pastdue
ON [dates].[SectionID] = [pastdue].[SectionID]
UNION
SELECT [isi].[InvoiceID], [ii].[DueDate], [SubInvoiceID] = [isi].[ID], [INV_FacilityID] = [if].[ID], [if].[FacilityID],
[FacilityFeeID] = NULL, [il].[LoanID], [isi].[PortfolioID], [isi].[Portfolio],
[PaymentType] = [isis_loan].[SectionType], [Name]
= [il].[Name], [ReceivedAmount], [CurrentDueAmount], [PastDueAmount] = CASE WHEN ISNULL([ReceivedAmount],
0) > 0 THEN [PastDueAmount] + ISNULL([ReceivedAmount],
0) WHEN ISNULL([ReceivedAmount], 0)
< 0 THEN /* We bring past due to zero and
apply rest to current. */ CASE WHEN [PastDueAmount] + ISNULL([ReceivedAmount], 0)
< 0 THEN 0 ELSE [PastDueAmount] + ISNULL([ReceivedAmount],
0) END WHEN ISNULL([ReceivedAmount], 0) = 0 AND
[PastDueAmount] < 0 THEN 0 ELSE [PastDueAmount]
END,
[PaidAmount] = CASE WHEN [isis_loan].[SectionTypeCode]
= 'LOAN_PRIN' THEN 0 ELSE CASE WHEN ISNULL([ReceivedAmount], 0)
< 0 THEN /* We bring past due to zero and
apply rest to current. */ CASE WHEN [PastDueAmount] + ISNULL([ReceivedAmount], 0)
< 0 THEN - ([PastDueAmount] + ISNULL([ReceivedAmount],
0)) ELSE 0 END WHEN ISNULL([ReceivedAmount], 0) = 0 AND
[PastDueAmount] < 0 THEN - [PastDueAmount]
ELSE 0 END END,
[AmountDue] = CASE WHEN [isis_loan].[SectionTypeCode]
= 'LOAN_PRIN' THEN [CurrentDueAmount] ELSE [unpaid].[AmountDue] END, [ID] = [il].[LoanID]
FROM [dbo].[INV_SubInvoice] isi JOIN
[dbo].[INV_Invoice] ii ON [isi].[InvoiceID]
= [ii].[ID] JOIN
[dbo].[INV_Facility] [if] ON [isi].[ID] = [if].[SubInvoiceID]
JOIN
[dbo].[INV_Loan] il ON [if].[ID] = [il].[INV_FacilityID]
JOIN
(SELECT [sis_loan].[ID],
[sis_loan].[SectionTypeCode], [SectionType] = [st_loan].[Name], [sis_loan].[INV_LoanID]
FROM
[dbo].[INV_SubInvoiceSection] sis_loan JOIN
[dbo].[INV_SectionType] st_loan ON [sis_loan].[SectionTypeCode] = [st_loan].[Code]
WHERE [INV_LoanID]
IS NOT NULL AND [StatusCode] = 'BILL') isis_loan ON [il].[ID] = [isis_loan].[INV_LoanID] JOIN
(SELECT [iffa].[SectionID],
[AccrualDeterminationDateMax] = MAX([iffa].[AccrualDeterminationDate]),
[AccrualDeterminationDateMin] = MIN([iffa].[AccrualDeterminationDate]), [CurrentDueAmount] = SUM([iffa].[ExpectedPrincipalAmount]),
[ReceivedAmount] = SUM([ReceivedPrincipalAmount])
FROM
[dbo].[INV_LoanPrincipalAmortization] iffa
GROUP BY [iffa].[SectionID]
UNION
SELECT [iffa].[SectionID],
[AccrualDeterminationDateMax] = MAX([iffa].[AccrualDeterminationDate]),
[AccrualDeterminationDateMin] = MIN([iffa].[AccrualDeterminationDate]), [CurrentDueAmount] = SUM([iffa].[AccruedInterestAmount]),
[ReceivedAmount] = SUM([ReceivedInterestAmount])
FROM
[dbo].[INV_LoanCashInterestAccrual] iffa
GROUP BY [iffa].[SectionID]
UNION
SELECT [iffa].[SectionID],
[AccrualDeterminationDateMax] = MAX([iffa].[AccrualDeterminationDate]),
[AccrualDeterminationDateMin] = MIN([iffa].[AccrualDeterminationDate]), [CurrentDueAmount] = SUM([iffa].[AccruedInterestAmount]),
[ReceivedAmount] = SUM([ReceivedInterestAmount])
FROM
[dbo].[INV_LoanPIKInterestAccrual] iffa
GROUP BY [iffa].[SectionID])
dates ON [isis_loan].[ID] = [dates].[SectionID] LEFT JOIN
(SELECT [AmountDue]
= [UnpaidPrincipalAmount], [SectionID], [AccrualDeterminationDate]
FROM
[dbo].[INV_LoanPrincipalAmortization]
UNION
SELECT [AmountDue]
= [UnpaidInterestAmount], [SectionID], [AccrualDeterminationDate]
FROM
[dbo].[INV_LoanCashInterestAccrual]
UNION
SELECT [AmountDue]
= [UnpaidInterestAmount], [SectionID], [AccrualDeterminationDate]
FROM
[dbo].[INV_LoanPIKInterestAccrual]) unpaid ON [dates].[SectionID] = [unpaid].[SectionID] AND
[dates].[AccrualDeterminationDateMax] = [unpaid].[AccrualDeterminationDate]
LEFT JOIN
(SELECT [PastDueAmount]
= SUM([PastDuePrincipalAmount]), [SectionID]
FROM
[dbo].[INV_LoanPrincipalAmortization]
GROUP BY [SectionID]
UNION
SELECT [PastDueAmount]
= SUM([PastDueInterestAmount]), [SectionID]
FROM
[dbo].[INV_LoanCashInterestAccrual]
GROUP BY [SectionID]
UNION
SELECT [PastDueAmount]
= SUM([PastDueInterestAmount]), [SectionID]
FROM
[dbo].[INV_LoanPIKInterestAccrual]
GROUP BY [SectionID]) pastdue
ON [dates].[SectionID] = [pastdue].[SectionID]
UNION
SELECT [isi].[InvoiceID], [ii].[DueDate], [SubInvoiceID] = [isi].[ID], [INV_FacilityID] = [if].[ID], [if].[FacilityID],
[FacilityFeeID] = NULL, [il].[LoanID], [isi].[PortfolioID], [isi].[Portfolio],
[PaymentType] = 'PIK Interest Applied', [Name]
= [il].[Name], [ReceivedAmount], [CurrentDueAmount] = - [dates].[CurrentDueAmount],
[PastDueAmount] = - CASE WHEN ISNULL([ReceivedAmount],
0) > 0 THEN [PastDueAmount] + ISNULL([ReceivedAmount], 0) WHEN ISNULL([ReceivedAmount], 0)
< 0 THEN /* We bring past due to zero and
apply rest to current. */ CASE WHEN [PastDueAmount] + ISNULL([ReceivedAmount], 0)
< 0 THEN 0 ELSE [PastDueAmount] + ISNULL([ReceivedAmount],
0) END WHEN ISNULL([ReceivedAmount], 0) = 0 AND
[PastDueAmount] < 0 THEN 0 ELSE [PastDueAmount]
END, [PaidAmount] = - CASE WHEN ISNULL([ReceivedAmount], 0)
< 0 THEN /* We bring past due to zero and
apply rest to current. */ CASE WHEN [PastDueAmount] + ISNULL([ReceivedAmount], 0)
< 0 THEN - ([PastDueAmount] + ISNULL([ReceivedAmount],
0)) ELSE 0 END WHEN ISNULL([ReceivedAmount], 0) = 0 AND
[PastDueAmount] < 0 THEN - [PastDueAmount]
ELSE 0 END, [AmountDue] = - [AmountDue], [ID] = [il].[LoanID]
FROM [dbo].[INV_SubInvoice] isi JOIN
[dbo].[INV_Invoice] ii ON [isi].[InvoiceID]
= [ii].[ID] JOIN
[dbo].[INV_Facility] [if] ON [isi].[ID] = [if].[SubInvoiceID]
JOIN
[dbo].[INV_Loan] il ON [if].[ID] = [il].[INV_FacilityID]
JOIN
(SELECT [sis_loan].[ID],
[sis_loan].[SectionTypeCode], [SectionType] = [st_loan].[Name], [sis_loan].[INV_LoanID]
FROM
[dbo].[INV_SubInvoiceSection] sis_loan JOIN
[dbo].[INV_SectionType] st_loan ON [sis_loan].[SectionTypeCode] = [st_loan].[Code]
WHERE [INV_LoanID]
IS NOT NULL AND [StatusCode] = 'BILL' AND [sis_loan].[SectionTypeCode] = 'LOAN_INT_PIK') isis_loan ON
[il].[ID] = [isis_loan].[INV_LoanID] JOIN
(SELECT [iffa].[SectionID],
[AccrualDeterminationDateMax] = MAX([iffa].[AccrualDeterminationDate]),
[AccrualDeterminationDateMin] = MIN([iffa].[AccrualDeterminationDate]), [CurrentDueAmount] = SUM([iffa].[AccruedInterestAmount]),
[ReceivedAmount] = SUM([ReceivedInterestAmount])
FROM
[dbo].[INV_LoanPIKInterestAccrual] iffa
GROUP BY [iffa].[SectionID])
dates ON [isis_loan].[ID] = [dates].[SectionID] LEFT JOIN
(SELECT [AmountDue]
= [UnpaidInterestAmount], [SectionID], [AccrualDeterminationDate]
FROM
[dbo].[INV_LoanPIKInterestAccrual]) unpaid ON [dates].[SectionID] = [unpaid].[SectionID] AND
[dates].[AccrualDeterminationDateMax] = [unpaid].[AccrualDeterminationDate]
LEFT JOIN
(SELECT [PastDueAmount]
= SUM([PastDueInterestAmount]), [SectionID]
FROM
[dbo].[INV_LoanPIKInterestAccrual]
GROUP BY [SectionID]) pastdue
ON [dates].[SectionID] = [pastdue].[SectionID] -
PE51/Form Editor for Payslip - Need to Include a digital signature
Hi,
I have the digital signature of the Manager of HR, and I need to include it in the payslip automatically.
The payslip was made by using de PE51 Form Editor, and I can´t find the way to include it.
I need to Know if there is a posibility to do this, using the PE51, or if I need to re-do the form in Sapscript.
Thanks for your answers.
Susana Quiroz.I believe you do have to put it in a SAPScript form. I do not recall any way to put it directly into your HR Form through PE51. Our rem statement is printed using a combination of a SAPScript and an HR Form, so our electronic signature is just included in the SAPScript.
You might want to check your config to see if you already have a SAPScript assigned to your payment method. It is under: Financial Accounting --> Accounts Receivable and Accounts Payable --> Business Transactions --> Outgoing Payments --> Automatic Outgoing Payments --> Payment Method/Bank Selection for Payment Program --> Set up payment methods per company code for payment transactions. -
How to generate a form based on PL/SQL-procedures instead of tables?
Hi all,
I'm trying to generate a form based on a package, which has procedures for insert/update/delete/select. In Forms, this is no problem. It is unclear to me how to do this in Oracle Designer (10g). Online Help of Designer doesn't clear things up a lot, it seems I have to generate a table API and a module component API. But when I do this, these are generated as file and no definitions are created in Designer. So what do I base my block on?
Can somebody assist me in this?
Kind regards,
RonaldHi:
Thank you for reply to my question.
I have tried your codes and apply them the following the form. However, I always got the following error:
Error: (WWV-00000)
No conversion performed for type INTEGER, value . (WWC-49102)
No conversion performed for type INTEGER, value . (WWC-49102)
No conversion performed for type INTEGER, value . (WWC-49102)
No conversion performed for type INTEGER, value . (WWC-49102)
My codes is:
declare
request_no number;
blk varchar2(30) := 'DEFAULT';
l_url varchar2(4000);
begin
request_no := p_session.get_value_as_NuMBER(
p_block_name => blk,
p_attribute_name => 'A_WORK_REQUEST_ID');
l_url := 'portal30.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=11880470335&p_arg_names=_sessionid&p_arg_values=&p_arg_names=work_request_id&p_arg_values='||request_no;
portal30.wwa_app_module.set_target(l_url,'call');
end;
then,
I created another form which has two fields and the dattype of pk is varchar2 and change manually put the pk's p_arg_value into the url.
e.g.
l_url:='PORTAL30.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=9029417810&p_arg_names=WORK_AREA_CD&p_arg_values=APP';
portal30.wwa_app_module.set_target(l_url,'call');
However, I still get the error message as below:
Error: (WWV-00000)
No conversion performed for type INTEGER, value . (WWC-49102)
No conversion performed for type INTEGER, value . (WWC-49102)
No conversion performed for type INTEGER, value . (WWC-49102)
No conversion performed for type INTEGER, value . (WWC-49102)
No conversion performed for type INTEGER, value . (WWC-49102)
Your help would be highly appreciated.
Wei Ye -
hai
who will create form editor
is it functional consultants or abapers
suitable answer will be given suitable points
kumariHi Aruna,
Form Editor is a standard tool available in SAP. nobody needs to 'create' it. (Tcode - PE51)
But if are asking about who uses it to create new forms - HR Consultant would use it to create new forms or copy existing ones and modify them to get the form he requires.
For example if you want to create a payslip form using form editor - here is the procedure
Re: payslip creation...............
Hope that helped
Regards,
Anand -
How do I edit the file created by code generator?
hi all,
I want to modify a java file that is generated when you create the webdynpro, but I can not change.
// This file has been generated partially by the Web Dynpro Code Generator.
// MODIFY CODE ONLY IN SECTIONS ENCLOSED BY @@begin AND @@end.
// ALL OTHER CHANGES WILL BE LOST IF THE FILE IS REGENERATED.
how can I disable the file to modify
thanks!Hi Pablo.
There's no way to modify it, NW2004s and its IDE has a code compilation based in some internal scripts based on eclipse plugin architecture.
In your code you must consider this.
1 - Try to find in your declared methods, importing directives, packages declarations some like this:
// This file has been generated partially by the Web Dynpro Code Generator.
// MODIFY CODE ONLY IN SECTIONS ENCLOSED BY @@begin AND @@end.
// ALL OTHER CHANGES WILL BE LOST IF THE FILE IS REGENERATED.
package com.sap.teste;
// IMPORTANT NOTE:
// ALL IMPORT STATEMENTS MUST BE PLACED IN THE FOLLOWING SECTION ENCLOSED
// BY @@begin imports AND @@end. FURTHERMORE, THIS SECTION MUST ALWAYS CONTAIN
// AT LEAST ONE IMPORT STATEMENT (E.G. THAT FOR IPrivateTesteApp).
// OTHERWISE, USING THE ECLIPSE FUNCTION "Organize Imports" FOLLOWED BY
// A WEB DYNPRO CODE GENERATION (E.G. PROJECT BUILD) WILL RESULT IN THE LOSS
// OF IMPORT STATEMENTS.
//@@begin imports
import com.sap.teste.wdp.IPrivateTesteApp;
import com.sap.myimport.MyClass;
//@@end
//@@begin
//@@end
it means that between begin and end...you can add what you want..and the code will not be removed after class compilation....
//@@begin javadoc:wdDoExit()
/** Hook method called to clean up controller. */
//@@end
public void wdDoExit()
//@@begin wdDoExit()
//@@end
int this case too....if you implement something between //@@begin and //@@end in the method scope...all part of your code will be surely safe.
Maybe you are looking for
-
I have read things that can help me such as this: wjosten This solved my questionRe: Spinning wheel after 'Erase All...' Jul 8, 2011 1:44 AM (in response to khosra) Something has gone wrong, on a 3GS, the erase of all content setting should take but
-
Hi everyone, I'm trying to export a: 1920x1080 29.97 Interlaced ProRes 422 HQ to: DVD Best Quality (90 minutes) in Compressor Quality all the way high Mpeg-2 in Final Cut Pro and/or Compressor (both so far export with the green lines) and so far it h
-
Trouble distributing PDF Form. Emailing fails
I have an PDF form I created and wish to distribute to my clients. Once filled out I would like them to return the complete form to me via email. When I choose distribute form in the forms menu to send it to my recipients. I get an error "Failed t
-
How to load item level and location level member in demantra
This is in context where we are not using any integration of demantra with either Ebiz or E1 system. Data is present in flat file. As per i know, integration interface can only export the data for item level and location level but can not import data
-
Lenovo T430 - No Audio Devices Are Installed - I am out of ideas
Hey all, Over the last week we have had multiple laptops lose sounds after some windows updates came through.. When clicking on the speakers on the bottom right on the screen and going to playback, recording devices, etc. all we get is a No Audio Dev