How to print messages ??
Hi all,
select_flag is enabled (Y) and disabled (N)
I need a warning messages like
if it is disabled means , need a message 'Order Number Already Created'
if it is enabled means , 'Please select check Box'
if(pageContext.getParameter("createnumber") != null)
Integer v_count = Integer.valueOf(0);
CrossRefVOImpl vo1 = (CrossRefVOImpl)am.findViewObject("CrossRefVO");
vo1.setMaxFetchSize(0);
oracle.jbo.Row rows[] = vo1.getAllRowsInRange();
int cnt5 = vo1.getRowCount();
System.out.println((new StringBuilder()).append("count :").append(cnt5).toString());
if(cnt5 > 0)
for(int i = 0; i < rows.length; i++)
CrossRefVORowImpl rowi = (CrossRefVORowImpl)rows[i];
String SelectFlag = (String)rowi.getAttribute("SelectFlag");
System.out.println((new StringBuilder()).append("SelectFlag :").append(SelectFlag).toString());
if("Y".equals(SelectFlag))
v_count = Integer.valueOf(v_count.intValue() + 1);
else
System.out.println("no");
System.out.println((new StringBuilder()).append("count1 :").append(v_count).toString());
if(v_count.intValue() > 0)
System.out.println("saved sucess");
} else
throw new OAException("Please select the check box", (byte)1);
} else
throw new OAException("Please click on the New Button", (byte)1);
aJohny wrote:
instead of
if("Y".equals(SelectFlag))
v_count = Integer.valueOf(v_count.intValue() + 1);
else
System.out.println("no");
Rajesh,
I am still not clear what you are trying to do. What exactly is your requirement ?
Cheers
AJ
Not working with that code.
I will search with some columns values , to check whether any order number created with those items or not.If it has order number then it's select flag is in Disabled Mode.
Now, i am creating new row , passing some value's and click on the createnumber Button to create New Order number , without selecting the select check box i need a message
"please check the select box"
And also if we get order number with those itemns while serach case , now user's try to click on the createnumber Button to recreate create order number
then i need a message "order number already created"
Note:
Exitst Order number message "order number already created" (seraching with items)
Not exitsted Order number message "please check the select box" if the user not selectd select box and clicking on the createnumber Button
Similar Messages
-
How to print message in oracle rdf report output?
Hi,
There is a requirement to print message in output of oracle rdf report. srw.message prints the message in log file but how to print message in output.
Please suggest.
Thanks & Regards,
Sunita897745 wrote:
Hi,
We are trying to print BARCODE for Order Number in RDF report. Kindly let me know how to do this.It's very easy. Download a font which show barcode then choose your desire field's font that font. I use IDAutomationHC39M font.
Hope this will help you. -
How to print the message in 2 lines?
How to print the message in 2 lines?
Here i am having it like this... MESSAGE i000(zm) WITH lv_uname.
here I want to print lv_uname in 2 lines because it lengthy one.
Thanks,
Sridhar.No man, itas not comming..I am using the below logic to print my message:
CONCATENATE text-I01 lv_printdate1 text-I02 INTO lv_printname
SEPARATED BY space.
MESSAGE i002(zm) WITH lv_printname.
its printing in a single line... -
How to print error messages in browser?
When I visit a jsp file in browser, there's some errors in the jsp file, so the browser returns
The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot be displayed.
I want the detail error messages, so I can debug my problem. How to print error message in browser or find the message in some log file?Hi Kanaraja,
Thanks for your answer. I need to get certain information from the list. So, I use LIST_To_ASCII FM. However, may I know the ascii_tab should be type to what? And after this FM, do I have to use another FM to display the ascii list?
data ABAPLIST type ABAPLIST OCCURS 0.
SUBMIT RPCALCU0 VIA SELECTION-SCREEN
with PNPXABKR = 'US'
with PNPTIMRA = 'X'
with PNPPABRP = '10'
with PNPPABRJ = '2003'
with PNPPERNR-LOW = '100750'
with PNPPERNR-LOW = '109202'
with PNPPERNR-LOW = '100255'
with PNPABKRS-LOW = 'US'
with SCHEMA = 'ZUSP'
with RADI_EDT ='X'
with EDT_VARI = 'CUS&SAP_US'
with TST_ON = 'X'
EXPORTING LIST TO MEMORY and RETURN.
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = ABAPLIST
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2.
CALL FUNCTION 'LIST_TO_ASCI'
EXPORTING
list_index = -1
TABLES
listasci = asci_tab
listobject = ABAPLIST
EXCEPTIONS
empty_list = 1
list_index_invalid = 2
OTHERS = 3.
IF sy-subrc NE '0'.
WRITE:/ 'LIST_TO_ASCI error !! ', sy-subrc.
ENDIF. -
Does anyone know how to print a text message from a bill?
Does anyone know how to print text messages from a phone bill or view them?
There might third party apps or iTunes or iCloud options to backup the text messages from the Apple phone itself. Then you can print the contents of the messages from the backup.
There are similar applications for Android devices as well. -
How to print a message in forms in oracle apps
Hi all
i am using oracle apps r12
In when button trigger how to print a message when the button is pressed.
I tried message('HELLO'); this works in oracle forms but in oracle apps its different and i searched so for and used like this
fnd_message.set_name( 'FND', 'FND_GENERIC_MESSAGE' ) ; but it doesnt works
Regards
SrikkanthHi
Thanks for your kind response.
Can you please give me the steps to call a form from another form in oracle apps i am using apps r12.
I have created a custom form and attached in the special menu and in that form i have two button are there. When the use click the one button another form(custom form) need to called. Can you please provide me the steps.
Whether it is different from oracle form builder like CALL_FORM('FORM_NAME', ACTIVATE) like this.
Regards
Srikkanth -
How to Print Pictures sent by Text message
I received a text message with some pictures. I'd like to print a copy of those pictures. I thought you just use your USB cord and attached it from my Droid X to my computer than searched for those pictures.
Would someone send me the "steps" on how to print those pictures?The phone creates two drives, one CD ROM and a SD CARD the SD Card will be the last letter on the computer, in the screen shot mine is J", just look for last letter and open and images will be in "Messaging" folder.
Make sure you saved the files to card first... JUST VIEWING IT DOESNT SAVE FILE... Follow instructions below to save....
Save Files
SMS
1. Go to Text Messages view, threader veiw that shows the pic preview when its not opened.
2. Press and hold on Pic
3. Select Save from the list\
4. Now the pic should be saved in SD/Messages folder
EMAIL
1. Open Email
2. At top there should be the number and the words "View Attachments" - Click on View Attachments
3. Now you should have a list of attachments with a arrow next to it if not downloaded.
4. Click file you want to download and you should get a animation where the arrow was that is indicating its being downloaded.
5. Once the animation stops this means file has been downloaded to a temp file to be viewed.
6. Now Press and Hold on file text and a window should open with three options - VIEW - SAVE- and SHARE
7. Select Save from list
8. Once complete it will have a little message at bottom of page that says "File was downloaded to SD Card"
9. Now file will be saved in SD / Messages folder on SD Card. -
Can anyone help how to print stack trace messages using log4j?
Can anyone help how to print stack trace messages using log4j?
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j='http://jakarta.apache.org/log4j/'>
<appender name="STDOUT" class="org.apache.log4j.ConsoleAppender">
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d %-5p %m%n"/>
</layout>
</appender>
<appender name="DEBUG" class="org.apache.log4j.RollingFileAppender">
<param name="File" value="/usr/local/dice/d2jbin/cmdToNetJobs/app-debug.log"/>
<param name="Append" value="true"/>
<param name="MaxFileSize" value="1000KB"/>
<param name="MaxBackupIndex" value="5"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d %-5p %m%n"/>
</layout>
<filter class="org.apache.log4j.varia.LevelRangeFilter">
<param name="LevelMin" value="DEBUG" />
<param name="LevelMax" value="DEBUG" />
</filter>
</appender>
<appender name="INFO" class="org.apache.log4j.RollingFileAppender">
<param name="File" value="/usr/local/dice/d2jbin/cmdToNetJobs/app-info.log"/>
<param name="Append" value="true"/>
<param name="MaxFileSize" value="1000KB"/>
<param name="MaxBackupIndex" value="5"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d %-5p %m%n"/>
</layout>
<filter class="org.apache.log4j.varia.LevelRangeFilter">
<param name="LevelMin" value="INFO" />
<param name="LevelMax" value="INFO" />
</filter>
</appender>
<appender name="WARN" class="org.apache.log4j.RollingFileAppender">
<param name="File" value="/usr/local/dice/d2jbin/cmdToNetJobs/app-warn.log"/>
<param name="Append" value="true"/>
<param name="MaxFileSize" value="1000KB"/>
<param name="MaxBackupIndex" value="5"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d %-5p %m%n"/>
</layout>
<filter class="org.apache.log4j.varia.LevelRangeFilter">
<param name="LevelMin" value="WARN" />
<param name="LevelMax" value="WARN" />
</filter>
</appender>
<appender name="ERROR" class="org.apache.log4j.RollingFileAppender">
<param name="File" value="/usr/local/dice/d2jbin/cmdToNetJobs/app-error.log"/>
<param name="Append" value="true"/>
<param name="MaxFileSize" value="1000KB"/>
<param name="MaxBackupIndex" value="5"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d %-5p %m%n"/>
</layout>
<filter class="org.apache.log4j.varia.LevelRangeFilter">
<param name="LevelMin" value="ERROR" />
<param name="LevelMax" value="ERROR" />
</filter>
</appender>
<root>
<priority value="debug"/>
<!--<appender-ref ref="STDOUT"/>
--><appender-ref ref="DEBUG"/>
<appender-ref ref="INFO"/>
<appender-ref ref="WARN"/>
<appender-ref ref="ERROR"/>
</root>
</log4j:configuration>
I ve written like this
and to print stack trace I used
log.error(Throwable(e))
but does nt display printstacktrace how to do it -
Anyone know how to Print Text Message Threads??
Does anyone know how to print or copy a thread of text messages to/from one contact without copying each text message separately?
You can't.
-
How to turn off printing message box that appears every time I send a document to the printer?
How to turn off printing message box that appears every time I send a document to the printer? Appears bottom right corner of screen above task bar. Printer is HP c309a All-in-One PhotoSmart printer.
I have an Iphone 4s, and every time I receive a call and i dont answer it, the cell shows a black screen with many things to do and automatic messages to send, like "call back, save, remind, call now, call later, etc". If I don´t close it as soon as i receive the call, then the cell gets frozen in that screen and i have to restart it. Sory for my english, i´m from argentina! thaks for your help !!!
-
How can I change the default page setup for printing messages in Apple Mac Version 4.6 (1085)
As soon as I posted, Ifigured this one out on my own by going into user settings and changing the default there. Then I was able to delete the default @mac account. Thanks!
-
How to print Skype message history?
Please assist me on how to print my Skype messages history. Thank you.
[Topic title updated by moderator to be more descriptive. Original topic title was: "Skype messages"]Suresh.Salver wrote:
How to get skype call history?
My Calls I made, Received and thier cost.
Hello
Visit your account page and click on "Usage".
TIME ZONE - US EASTERN. LOCATION - PHILADELPHIA, PA, USA.
I recommend that you always run the latest Skype version: Windows & Mac
If my advice helped to fix your issue please mark it as a solution to help others.
Please note that I generally don't respond to unsolicited Private Messages. Thank you. -
I am having trouble with printing from my MacBook Pro. After succesfully installing a printer, sending a print job results in a alert in the print que that says "on hold Authentication Required"
I am fairly new to Mac and have not the slightest clue what I am doing wrong. Please help!
Thanks, SlojonAfter upgrading to OSX Mountain Lion on one of our home computers and having no difficulty with printer access for months, after a glitch involving loss of power, suddenly "On hold (authentication required)" started showing up.
When I deleted the printer and then tried to add it back using the default listing for the printer I got the message "Unable to download the software from the server at this time." I felt I was going backwards. The whole situation was maddening for a couple of days.
Details:
Older G5 Desktop Mac running OSX Snow Leopard wth an HP Color LaserJet 2550 attached via USB.
Early 2011 13" MacBook Pro running OSX Mountain Lion.
Airport WiFi network.
This is really two problems: how to add a printer successfully and how to print without authentication.
How to add a printer
Do not use the default listing for adding the printer that shows up in the popup menu, instead use the generic "Add printer" command, then select the printer and printer type from the secondary menu that comes up. This worked fine for me.
How to avoid the "Authentication required"
Software update on both machines.
Reset printing system (Option & minus "-" key) on both systems.
Add the printer back to the server (older G5 Mac in my case) system.
Ensure that both the printer sharing is selected for the printer and …
… that printer sharing is turned on globally in the Sharing System Preferences
Add the printer back to the client system
I was also able to work this through the CUPS system described in other posts (http://localhost:631) but I always prefer to let Mac OSX handle the UNIX details since I have greater confidence I won't be inadvertantly messing something up. -
How to print bar codes in adobe forms
Hi folks,
Iam new adobe forms , any one please explain how to print barcodes in adobe forms
Moderator Message: Firstly, this is not a Adobe Forms forum. Secondly, I suggest you SEARCH before you post. Im sure this procedure has been widely discussed already.
Edited by: kishan P on Jul 20, 2011 12:55 PMhi,
check these.
[https://forums.sdn.sap.com/click.jspa?searchID=18572128&messageID=4724540]
[http://help.sap.com/saphelp_nw04/helpdata/en/68/4a0d5b74110d44b1b88d9b6aa1315b/content.htm] -
How to print text on container using oop on alv list
Hello Guru's,
pl guide me how to print text on container using alv list-display which have interactive events using oop classes/methods ...
I want to print hard coded text on coantainer , on double clicking it will call another screen.
Pl Help..
Message was edited by:
paresh sonavaneHi Paresh,
1. Go to the Layout and Create One custom container box and give name it.
2. Custom Container is the one type of tool and its used for Displaying the Reports
with the use of ABAP Objects.
3. Go to se38 and Write The Following Code.
tables ZTEAM_GD.
DATA : OBJ TYPE REF TO CL_GUI_CUSTOM_CONTAINER,
OBJ1 TYPE REF TO CL_GUI_ALV_GRID.
DATA IT_TEAM LIKE TABLE OF ZPLAYER_BAT_DET .
SELECT * FROM ZPLAYER_BAT_DET INTO TABLE IT_TEAM.
CREATE OBJECT OBJ
EXPORTING
CONTAINER_NAME = 'ALV'. -
> Give ur Container Name
CREATE OBJECT OBJ1
EXPORTING
I_PARENT = OBJ.
CALL METHOD OBJ1->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
I_STRUCTURE_NAME = 'ZPLAYER_BAT_DET'
CHANGING
IT_OUTTAB = IT_TEAM.
*CALL METHOD OBJ1->SET_DROP_DOWN_TABLE
EXPORTING
I_STRUCTURE_NAME = 'ZTEAM_GD'
CHANGING
IT_OUTTAB = IT_TEAM.
CALL SCREEN 9000.
*& Module USER_COMMAND_9000 INPUT
text
MODULE USER_COMMAND_9000 INPUT.
CASE SY-UCOMM.
WHEN 'EXT'.
LEAVE PROGRAM.
ENDCASE.
ENDMODULE. " USER_COMMAND_9000 INPU
Thanks.
Reward If Helpful.
Maybe you are looking for
-
Upgrade path from Access 2003/SQL 2003 ADP to cloud, Azure, etc.
My company uses a massive client database to track all interactions with our clients -- phone log, billing info, authorized users, associates, products and services they subscribe to, etc. -- as well as separate records for leads and clients. There a
-
Need to split last name from full namek to sort
I have a column of names, either "John & Jane Doe" or "Jane Doe". I need to sort on the last name. How do I split off the last name to do a proper sort?
-
XI-Content for Solution Manager Service Desk
Hi Experts, From an SAP course (SMO150) I am reading that XI-Content should be available for SAP web services. In particular I am interested in Solution Manager Service Desk content. (This course is on Solution Manager Service Desk). However when I
-
''Duplicate post, continue here - [https://support.mozilla.com/en-US/questions/781986]'' I find this reminder/suggestion to upgrade Firefox EXTREMELY annoying. How do I stop it? What about:config settings do I change-- because I have been unable to f
-
Problem running java applications on Mac Mini.
Hi all. I have a Mac Mini. Days ago, I started having problems running java applications. Right now, I can not run any java application or even a plugin into a web page. I downloaded and reinstalled java from Oracle website, but the problem remains u