Maintaining the Flash file session in JsP
Can anybody say how to mainatain the session in the flash to the jsp file.
-- when the flash session is expired the corresponding jsp session should expire.
-- when the user clicks the button in the flash file that communication should retrun into the Jsp page.
please provide the solutions for in this regards will be appreciated.
thanks,.
Sateesh,got any solution?
Similar Messages
-
Text field is not working at first time after loading the flash files
Hi to all,
In my Java application, I'm using a text field and a panel to load flash files. I'm using JDIC 0.9.1 to load the flash files in the panel. The flash files are created by Flash CS4.
While running the application, I can't enter any value in the Text field, after minimize and maximize the application I can enter the values.
This problem happens after change the jre version from 1.6 to 1.7.
I'm getting the following exception while running the application.
org.jdesktop.jdic.init.JdicInitException: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
at org.jdesktop.jdic.init.JdicManager.initBrowserNati ve(Unknown Source)
at org.jdesktop.jdic.browser.WebBrowser.<clinit>(Unkn own Source)
pls give me a solution.
Thanks in advance...:)Have you tried testing on a server?
When you test in Flash, see if you get traces when you click these buttons. -
SWF error- while generating the flash files.
Post Author: [email protected]
CA Forum: Xcelsius and Live Office
Hi, in the old forum I came across the folowing topic: SWF error- while generating the flash files.
As I have the same problem, I would like to know the solution / answer / meaning please. What do I have to change in order to let in function properly again.
Thanks anyone.
Femke
(The post is from 3/6/2007)
The following error is generated upon generating the flash files Any insight???SWF error- while generating the flash files.--ErrorSWF Function Overflow. The generated SWF will not function correctly because data dependencies go beyond SWF limits.--
OK -Post Author: Andres
CA Forum: Xcelsius and Live Office
Hello.
I'm having the same problem. It appeared after I made use of many cells (a table of 10x200 cells) with formulas inside them.
Before that, while I was making my tests and only used a few cells and the .XLF file was 4Mb, I had no problem. Now that the .XLF file is 8Mb I see this error appearing (in Spanish):
"Error
Desbordamiento de la función SWF. El archivo SWF generado no funcionará correctamente ya que las dependencias de datos superan los límites de SWF."
Any idea of how this could be resolved (appart from using less data)?
Thanks in advance. -
I am using CSS and Javascript to display a div with an
embedded flash object in it. Mozilla Firefox reloads the flash file
when the div is displayed! (I dont want this to happen, as it's
unexpected functionality, my expectation would be that the flash
file would not change it's state at all, and would remain in
whatever state it was left in.)
I was wondering if anyone has come across this issue and is
there something I can do to prevent this from occurring?
To be more specific, I have a single HTML page with 8 flash
files embedded in it (yeah I know, it's a bit much). I am then
using CSS and Javascript to display (via a numbered link (with an
id)) an equivalent numbered div tag containing the flash file.
Mozilla Firefox reloads the flash object that is in the div.
Internet Explorer will not do this and will instead, load the flash
object only upon initial view of the flash object. All subsequent
links (in IE) will NOT reload the flash object on the page. I'm
guessing this is some kind of difference in the flash player as an
Active X object and the plugin, or is it just IE being clever? Or
am I way off?
Anyway, here is the code...I am using CSS and Javascript to display a div with an
embedded flash object in it. Mozilla Firefox reloads the flash file
when the div is displayed! (I dont want this to happen, as it's
unexpected functionality, my expectation would be that the flash
file would not change it's state at all, and would remain in
whatever state it was left in.)
I was wondering if anyone has come across this issue and is
there something I can do to prevent this from occurring?
To be more specific, I have a single HTML page with 8 flash
files embedded in it (yeah I know, it's a bit much). I am then
using CSS and Javascript to display (via a numbered link (with an
id)) an equivalent numbered div tag containing the flash file.
Mozilla Firefox reloads the flash object that is in the div.
Internet Explorer will not do this and will instead, load the flash
object only upon initial view of the flash object. All subsequent
links (in IE) will NOT reload the flash object on the page. I'm
guessing this is some kind of difference in the flash player as an
Active X object and the plugin, or is it just IE being clever? Or
am I way off?
Anyway, here is the code... -
What is the use of session in jsp
hai,
what is the use of session in jsp. i cant understand from books. give some practical approach
thanksgive some practical approachYou sound like a supervisor ordering for a cup of coffee.
I DONT TAKE ORDERS !!
IMAO
Which book did you refer ? Did you google ? -
I can't enter any values in JTextField after loading the flash files.
Hi to all,
In my application I have two panels. One panel has JTextField and another panel i loaded flash files.
The flash files are build by CS4. I'm using JDIC to load the flash files. While open the application i loaded flash file and I try to enter any input in the textfiled, but I can't. After minimize and maximize the application I can enter the values. This problem happens only after I change the jre version from 1.6 to 1.7.
While loading flash files I'm getting the below exception.
org.jdesktop.jdic.init.JdicInitException: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
at org.jdesktop.jdic.init.JdicManager.initBrowserNative(Unknown Source)
at org.jdesktop.jdic.browser.WebBrowser.<clinit>(Unknown Source)
pls give me a solution.
Thanks in advance...:)I can't enter any values in JTextField after loading the flash files., locking.
-
Hide the flash files under CMC folders
How to hide the flash files which are in a particular folder in Infoview so that only few users have access to view them.
When I try to set security for the flash object, i do not see the User security option when i right click on the object.
Even when I go to Manage->Top level Security, click on it nothing happens...it means that we cannot set security for the flash objects similar to that of Excel files.
Can you help me on this....
~Neethi.. -
Could not generate the flash file(SWF)
Hi all,
I am working with a Dashboard having a GMap plugin and it was working fine on BO server.
But now the plugin has been changed from GMap to CMaps plugin. I am able to download the same dashboard from BO Server to my desktop.
The snapshot of the warning I get while downloading the dashboard has been attached.
When downloaded from server, in place of displaying map on GMap plugin I get a warning "Invalid request this request is invalid" but when i open its properties the warning goes and the map appears back.
Then I tried to upload the same dashboard on BO Server and I get an error "Could not generate the flash file(SWF)...". The snapshot of the same has been attached.
I am unable to do any modification on this Dashboard.
RegardsHi,
In your discussion,you have downloaded the dashboard file from the BO server to your desktop.
You can export the dashboard to BO Server in SWF format.But how can you download the physical dashboard file from BO server.Is it possible?
Do the changes in .xlf physical file and export the .xlf file to BO server as File-->Save to platform.
Regards,
Venkat P -
Could not write the AIF file (session error)
I receive the error "Could not write the AIF file (session error)" when trying to record to Sound Track using any of my USB input microphones. Does anybody know how to resolve the problem?
Also, does anybody have any suggestions about what product to use to produce good multi-track audio files. I am interested in both a hardware and a software solution. It seems that using the standard Apple software that comes on the new G5s does not offer any good solutions.Update to Snow Leopard then update Final Cut Studio. Chances are your problem will have been fixed.
In my experience, in previous iterations of STP there were a number of serious bugs related to saving files. Running everything up-to-date, however, I am no longer having those problems (knock on wood). -
I have tried numerous times to restart my macbook pro to get to the startup manager. And even when holding down the option key, it will just take me back to the flashing file with a question mark in it. If anyone can help, I'd sincerely appreciate it.
Reinstall Lion, Mountain Lion, or Mavericks without erasing drive
Boot to the Recovery HD:
Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
Repair
When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported then click on the Repair Permissions button. When the process is completed, then quit DU and return to the main menu.
Reinstall Lion, Mountain Lion, or Mavericks
OS X Mavericks- Reinstall OS X
OS X Mountain Lion- Reinstall OS X
OS X Lion- Reinstall Mac OS X
Note: You will need an active Internet connection. I suggest using Ethernet
if possible because it is three times faster than wireless. -
How to make the Open/Save dialogue download the text file instead of JSP
I am currently coding on a JSP program, which searches the database and writes the resultset into a file on the server, and then allows the client to download this tab delimited text file onto their local machine. But I met a problem, when the default Open or Save dialogue appears, it shows that it's trying to download the running JSP file from my local host instead of the newly-created text file. Despite this, when I click OK to either Open or Save the file, a warning dialogue will appear saying: The explorer cann't download this file, it's unable to find this internet site or something like that. I get no error message from the server but I was always told that Javax.servlet.ServletException: getWriter() was already called. What does this mean?
I guess maybe this is caused by the mix use of outputStreams in my program. I don't know if there is a way to directly read the resultset from the database and then send it through outputStream to the client. My solution is: first create a file on the server to hold the resultset, and then output this file to the client. I did all these in one JSP program: Create file on the server, search database, and then read file and output the contents to client. Is this correct? I attached my code, please feel free to correct any of my mistake? Thanks!
//global.class is a class dealing with database connection
<%@ page language="java" import="java.sql.*,java.util.*,java.math.*,java.io.*,ises.*,frmselection.*" %>
<jsp:useBean id="global" scope="session" class="ises.Global" />
/>
<!--start to process data-->
<%
//get query statement from the session
String sQuery = "";
if (session.getAttribute("sQuery")!=null && !(session.getAttribute("sQuery").toString()).equals(""))
sQuery = session.getAttribute("sQuery").toString();
String path = "c:/temp";
String fileName = "temp.TXT";
File file= null;
FileOutputStream fo = null;
PrintStream ps = null;
try {
file = new File(path,fileName);
if(file.exists()) {
file.delete();
file.createNewFile();
fo = new FileOutputStream(file);
ps = new PrintStream(fo);
}catch(IOException exp){
System.out.println("IO Exception: " +exp.toString() );
java.sql.ResultSet recResults = null;
java.sql.Statement STrecResults = null;
STrecResults = global.getConnection().createStatement();
recResults = STrecResults.executeQuery(sQuery);
ResultSetMetaData meta = recResults.getMetaData();
int columns = meta.getColumnCount();
String [] tempColumnName = new String[columns];
String [] ColumnName =null;
int DisColumns = 0;
int unDisCol = 0;
String sLine = "";
if(recResults.next()) { //if_1
for(int n=0;n<columns;n++) {
String temp = meta.getColumnName(n+1);
if(!temp.equals("PROJECTID")&&!temp.equals("BUILDINGID")&&!temp.equals("HAZMATPROFILEID")) {
sLine = sLine + "'" + temp + "'" + " ";
tempColumnName[DisColumns] = temp;
DisColumns ++;
ColumnName = new String[DisColumns];
}else {
unDisCol ++;
}//end for
for(int i=0;i<(columns-unDisCol);i++) {
ColumnName[i] = tempColumnName;
ps.println(sLine);
do{
sLine = "";
for(int n=0;n<(columns-unDisCol);n++) {
String tempColName = recResults.getString(ColumnName[n]);
if(tempColName==null) {
sLine = sLine + "" + " ";
} else {
sLine = sLine + "'"+tempColName+"'" + " ";
ps.println(sLine);
}while(recResults.next());
} //end if_1
recResults.close();
recResults = null;
STrecResults.close();
STrecResults = null;
%>
<!--end of processing data-->
<!--start of download.jsp-->
<%
//set the content type to text
response.setContentType ("plain/text");
//set the header and also the Name by which user will be prompted to save
response.setHeader ("Content-Disposition", "attachment;filename=temp.TXT");
//Open an input stream to the file and post the file contents thru the servlet output stream to the client
InputStream in = new FileInputStream(file);
ServletOutputStream outs = response.getOutputStream();
int bit = 256;
try {
while ((bit) >= 0) {
bit = in.read();
outs.write(bit);
} catch (IOException ioe) {
ioe.printStackTrace(System.out);
outs.flush();
outs.close();
in.close();
%>
<!--end of download -->Thanks. I believe something wrong with this statement
in my program:
You are correct there is something wrong with this statement. Seeing how you are doing this in a jsp, not really what they're made for but thats another topic, the output stream has already been called. When a jsp gets compiled it creates a few implicit objects, one of them being the outputstream out, and it does this by calling the response.getWriter(). getWriter or getOutputStream can only be called once, other wise you will get the exception you are experiencing. This is for both methods as well, seeing how the jsp compiles and calls getWriter means that you cannot call getOutputStream. Calling one makes the other throw the exception if called as well. As far as the filename problem in the browser goes I'm guessing that it's in IE. I've had some problems before when I had to send files to the browser through a servlet and remember having to set an inline attribute of some sort in the content-dis header inorder to get IE to see the real filename. The best way to solve this is to get the orielly file package and use that. It is very easy to use and understand and does all of this for you already. Plus it's free. Cant beat that.
ServletOutputStream outs =
response.getOutputStream();
because I put a lot of printout statement within my
code, and the program stops to print out exactly
before the above statement. And then I get the
following message, which repeats several times:
ServletExec: caught exception -
javax.servlet.ServletException: getWriter() was
already called. -
Coding for maintain the multip[le sessions
i have 1,00,000 records in a flat file how to maintain the multiple sessions
each session having 10000 records i want coding for how these multiple sessionssee the example program and the selection screen you can maintain how many records per session.
Report : ZMPPC015
Type : Data upload
Author : Seshu Maramreddy
Date : 05/26/2005
Transport : DV3K920025
Transaction: ??
Description: This ABAP/4 Program to Create Planned Independent
Requirement for SMI plants using MD61 Transaction.
It accepts tab-delimited spreadsheet input and
creates BDC sessions.
report zmppc015 no standard page heading
line-size 120
line-count 55
message-id zz.
Constants
constants : c_x type c value 'X'," Dynbegin
c_tcode type tstc-tcode value 'MD61'." Transaction Code
Variables
data : v_lines_in_xcel like sy-tabix,
l_tabix like sy-tabix,
v_trans_in_ssn type i,
v_ssnnr(4) type n," Counter
v_ssnname like apqi-groupid,
v_matnr(18) type c. " Material Number
Internal Tables
Internal table for file
data : begin of t_file occurs 0,
matnr(18) type c, " Material Number
berid(10) type c, " MRP Area
PLNMG01(17) type n, " Forecast Month -01
PLNMG02(17) type n, " Forecast Month -02
PLNMG03(17) type n, " Forecast Month -03
PLNMG04(17) type n, " Forecast Month -04
PLNMG05(17) type n, " Forecast Month -05
PLNMG06(17) type n, " Forecast Month -06
PLNMG07(17) type n, " Forecast Month -07
PLNMG08(17) type n, " Forecast Month -08
PLNMG09(17) type n, " Forecast Month -09
PLNMG10(17) type n, " Forecast Month -10
PLNMG11(17) type n, " Forecast Month -11
PLNMG12(17) type n, " Forecast Month -12
WERKS(4) TYPE C, " Plant
end of t_file.
Internal table for BDCDATA Structure
data : begin of itab_bdc_tab occurs 0.
include structure bdcdata.
data : end of itab_bdc_tab.
Selection-screen
selection-screen: skip 3.
selection-screen: begin of block id1 with frame.
parameters: p_name like rlgrap-filename
default 'C:\My Documents\InputFile.txt'
obligatory,
bdc session name prefix
p_bdcpfx(6) default 'ZPIRCT'
obligatory,
number for transction per BDC session
p_trnssn type i
default 2000 obligatory,
retain the BDC session after successfull execution
p_keep like apqi-qerase
default c_x,
user who will be executing BDC session
p_uname like apqi-userid
default sy-uname
obligatory.
selection-screen : skip 1.
Requirement type
parameters : p_bedae like t459u-bedae,
From Date
p_date like sy-datum default sy-datum obligatory.
selection-screen: end of block id1.
at selection-screen on value-request for p_name.
F4 value for Input file
perform filename_get.
main processing
start-of-selection.
To get the data from file to Internal table
perform getdata_fromfile.
loop at t_file.
hang on to xcel line num
l_tabix = sy-tabix.
if num-of-trnas-in-session = 0, create new BDC session
if v_trans_in_ssn is initial.
perform bdc_session_open.
endif.
begin new bdc script for rtg create trans
fill in bdc-data for prod.version maintenance screens
perform bdc_build_script.
insert the bdc script as a BDC transaction
perform bdc_submit_transaction.
keep track of how many BDC transactions were inserted in the BDC
session
add 1 to v_trans_in_ssn.
if the user-specified num of trans in BDC session is reached OR
if end of input file is reached, close the BDC session
if v_trans_in_ssn = p_trnssn or
l_tabix = v_lines_in_xcel.
perform bdc_session_close.
clear v_trans_in_ssn.
endif.
clear t_file.
endloop.
top-of-page.
call function 'Z_HEADER'
EXPORTING
FLEX_TEXT1 =
FLEX_TEXT2 =
FLEX_TEXT3 =
*& Form filename_get
F4 Value for input file
FORM filename_get.
CALL FUNCTION 'WS_FILENAME_GET'
EXPORTING
DEF_PATH = 'C:\Temp\ '
MASK = ',.,..'
MODE = 'O'
TITLE = 'Select File '(007)
IMPORTING
FILENAME = p_name
EXCEPTIONS
INV_WINSYS = 1
NO_BATCH = 2
SELECTION_CANCEL = 3
SELECTION_ERROR = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " filename_get
*& Form getdata_fromfile
Upload the data from file to Internal table
FORM getdata_fromfile.
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
FILENAME = p_name
FILETYPE = 'DAT'
TABLES
DATA_TAB = t_file
EXCEPTIONS
CONVERSION_ERROR = 1
FILE_OPEN_ERROR = 2
FILE_READ_ERROR = 3
INVALID_TYPE = 4
NO_BATCH = 5
UNKNOWN_ERROR = 6
INVALID_TABLE_WIDTH = 7
GUI_REFUSE_FILETRANSFER = 8
CUSTOMER_ERROR = 9
OTHERS = 10.
if sy-subrc eq 0.
sort t_file by matnr .
delete t_file where matnr = ''.
clear v_lines_in_xcel.
describe table t_file lines v_lines_in_xcel.
if v_lines_in_xcel is initial.
write: / 'No data in input file'.
stop.
endif.
else.
write:/ 'Error reading input file'.
stop.
endif.
ENDFORM. " getdata_fromfile
*& Form bdc_session_open
BDC_OPEN_GROUP
FORM bdc_session_open.
create bdc session name = prefix-from-selectn-screen + nnnn
add 1 to v_ssnnr.
concatenate p_bdcpfx v_ssnnr into v_ssnname.
CALL FUNCTION 'BDC_OPEN_GROUP'
EXPORTING
CLIENT = SY-MANDT
GROUP = v_ssnname
KEEP = p_keep
USER = p_uname
EXCEPTIONS
CLIENT_INVALID = 1
DESTINATION_INVALID = 2
GROUP_INVALID = 3
GROUP_IS_LOCKED = 4
HOLDDATE_INVALID = 5
INTERNAL_ERROR = 6
QUEUE_ERROR = 7
RUNNING = 8
SYSTEM_LOCK_ERROR = 9
USER_INVALID = 10
OTHERS = 11.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " bdc_session_open
*& Form bdc_build_script
BDC Script
FORM bdc_build_script.
Local Variables
DATA : l_frdat(8) type c, " From Date
l_todat(8) type c, " To Date
l_frdat1(4) type c, " Year
l_frdat2(2) type c, " Month
l_frdat3(2) type c, " Day
l_tdate like sy-datum, " Subtract date(1)
l_todat1(4) type c, " Year
l_todat2(2) type c, " Month
l_todat3(3) type c. " Day
Get the material number from tables ZMSMI_FERR_RAW,
ZMSMI_SNAP_RAW and ZMSMI_SIMP_RAW
perform get_matnr.
Screen 0100.
perform bdc_screen using 'SAPMM60X' '0100'.
perform bdc_field using 'BDC_OKCODE' '/EBDPT'.
perform bdc_field using 'AM60X-MATAW' 'X'.
perform bdc_field using 'AM60X-MATNR' T_FILE-MATNR.
perform bdc_field using 'AM60X-PRGRP' SPACE.
perform bdc_field using 'AM60X-PBDNR' SPACE.
perform bdc_field using 'RM60X-BERID' T_FILE-BERID.
perform bdc_field using 'AM60X-WERKS' SPACE.
perform bdc_field using 'RM60X-VERSB' '00'.
Converted the date as per MD61 Transaction.
From date
l_frdat1 = p_date+0(4).
l_frdat2 = p_date+4(2).
l_frdat3 = p_date+6(2).
concatenate l_frdat2 l_frdat3 l_frdat1 into l_frdat.
To Date
l_tdate = p_date - 1.
l_todat1 = l_tdate+0(4) + 1.
l_todat2 = l_tdate+4(2).
l_todat3 = l_tdate+6(2).
concatenate l_todat2 l_todat3 l_todat1 into l_todat.
perform bdc_field using 'RM60X-DATVE' l_frdat.
perform bdc_field using 'RM60X-DATBE' l_todat.
perform bdc_field using 'RM60X-ENTLU' 'M'.
Screen 0127
perform bdc_screen using 'SAPMM60X' '0127'.
perform bdc_field using 'BDC_OKCODE' '=WEIT'.
if p_bedae is initial.
perform bdc_field using 'T459U-BEDAE' space.
else.
perform bdc_field using 'T459U-BEDAE' P_BEDAE.
endif.
Screen 0100.
perform bdc_screen using 'SAPMM60X' '0100'.
perform bdc_field using 'BDC_OKCODE' '/00'.
perform bdc_field using 'AM60X-MATAW' 'X'.
perform bdc_field using 'AM60X-MATNR' T_FILE-MATNR.
perform bdc_field using 'AM60X-PRGRP' SPACE.
perform bdc_field using 'AM60X-PBDNR' SPACE.
perform bdc_field using 'RM60X-BERID' T_FILE-BERID.
perform bdc_field using 'AM60X-WERKS' SPACE.
perform bdc_field using 'RM60X-VERSB' '00'.
perform bdc_field using 'RM60X-DATVE' l_frdat.
perform bdc_field using 'RM60X-DATBE' l_todat.
perform bdc_field using 'RM60X-ENTLU' 'M'.
Screen 0200
perform bdc_screen using 'SAPLM60E' '0200'.
perform bdc_field using 'BDC_OKCODE' '=S+'.
perform bdc_field using 'RM60X-PLN01(01)' T_FILE-PLNMG01.
perform bdc_screen using 'SAPLM60E' '0200'.
perform bdc_field using 'BDC_OKCODE' '=S+'.
perform bdc_field using 'RM60X-PLN01(01)' T_FILE-PLNMG02.
perform bdc_screen using 'SAPLM60E' '0200'.
perform bdc_field using 'BDC_OKCODE' '=S+'.
perform bdc_field using 'RM60X-PLN01(01)' T_FILE-PLNMG03.
perform bdc_screen using 'SAPLM60E' '0200'.
perform bdc_field using 'BDC_OKCODE' '=S+'.
perform bdc_field using 'RM60X-PLN01(01)' T_FILE-PLNMG04.
perform bdc_screen using 'SAPLM60E' '0200'.
perform bdc_field using 'BDC_OKCODE' '=S+'.
perform bdc_field using 'RM60X-PLN01(01)' T_FILE-PLNMG05.
perform bdc_screen using 'SAPLM60E' '0200'.
perform bdc_field using 'BDC_OKCODE' '=S+'.
perform bdc_field using 'RM60X-PLN01(01)' T_FILE-PLNMG06.
perform bdc_screen using 'SAPLM60E' '0200'.
perform bdc_field using 'BDC_OKCODE' '=S+'.
perform bdc_field using 'RM60X-PLN01(01)' T_FILE-PLNMG07.
perform bdc_screen using 'SAPLM60E' '0200'.
perform bdc_field using 'BDC_OKCODE' '=S+'.
perform bdc_field using 'RM60X-PLN01(01)' T_FILE-PLNMG08.
perform bdc_screen using 'SAPLM60E' '0200'.
perform bdc_field using 'BDC_OKCODE' '=S+'.
perform bdc_field using 'RM60X-PLN01(01)' T_FILE-PLNMG09.
perform bdc_screen using 'SAPLM60E' '0200'.
perform bdc_field using 'BDC_OKCODE' '=S+'.
perform bdc_field using 'RM60X-PLN01(01)' T_FILE-PLNMG10.
perform bdc_screen using 'SAPLM60E' '0200'.
perform bdc_field using 'BDC_OKCODE' '=S+'.
perform bdc_field using 'RM60X-PLN01(01)' T_FILE-PLNMG11.
perform bdc_screen using 'SAPLM60E' '0200'.
perform bdc_field using 'BDC_OKCODE' '=SICH'.
perform bdc_field using 'RM60X-PLN01(01)' T_FILE-PLNMG12.
ENDFORM. " bdc_build_script
*& Form get_matnr
Get the material number from tables ZMSMI_FERR_RAW,
ZMSMI_SNAP_RAW and ZMSMI_SIMP_RAW
FORM get_matnr.
clear v_matnr.
case t_file-werks.
when '0101'.
select single cmatnr from zmsmi_simp_raw
into v_matnr where matnr = t_file-matnr.
if sy-subrc eq 0.
clear t_file-matnr.
t_file-matnr = v_matnr.
endif.
when '0103'.
select single cmatnr from zmsmi_ferr_raw
into v_matnr where matnr = t_file-matnr.
if sy-subrc eq 0.
clear t_file-matnr.
t_file-matnr = v_matnr.
endif.
when '0102' or '0110' or '0111' or '0112' or '0113'
or '0114' or '0115' or '0116' or '0117'.
select single cmatnr from zmsmi_snap_raw
into v_matnr where matnr = t_file-matnr.
if sy-subrc eq 0.
clear t_file-matnr.
t_file-matnr = v_matnr.
endif.
endcase.
ENDFORM. " get_matnr
*& Form bdc_screen
BDC Script for Screen fields
-->P_PROG Program name
-->P_SCRN Screen Number
FORM bdc_screen USING p_prog
p_scrn.
clear itab_bdc_tab.
itab_bdc_tab-program = p_prog.
itab_bdc_tab-dynpro = p_scrn.
itab_bdc_tab-dynbegin = c_x.
append itab_bdc_tab.
ENDFORM. " bdc_screen
*& Form bdc_field
BDC Script for Screen fileds
-->P_NAM Field name
-->P_VAL Field value
FORM bdc_field USING p_nam
p_val.
clear itab_bdc_tab.
itab_bdc_tab-fnam = p_nam.
itab_bdc_tab-fval = p_val.
append itab_bdc_tab.
ENDFORM. " bdc_screen
*& Form bdc_submit_transaction
BDC_INSERT Function Module
FORM bdc_submit_transaction.
Load BDC script as a trqansction in BDC session
call function 'BDC_INSERT'
EXPORTING
tcode = c_tcode
TABLES
dynprotab = itab_bdc_tab
EXCEPTIONS
internal_error = 01
not_open = 02
queue_error = 03
tcode_invalid = 04.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
refresh itab_bdc_tab.
ENDFORM. " bdc_submit_transaction
*& Form bdc_session_close
text
FORM bdc_session_close.
CALL FUNCTION 'BDC_CLOSE_GROUP'
EXCEPTIONS
NOT_OPEN = 1
QUEUE_ERROR = 2
OTHERS = 3
skip 2.
if sy-subrc ne 0.
write: / 'Error Closing BDC Session ' , 'RETURN CODE: ', sy-subrc.
else.
write : / 'Session created:', v_ssnname,
50 '# of transactions:', v_trans_in_ssn.
endif.
ENDFORM. " bdc_session_close
Reward Points if it is helpful
Thanks
Seshu -
How do I get rid of the flashing file with a question mark in it?
I wanted to start clean on my MacBook Pro osx 10.9.4. So I did the command r and erased what I thought was the right one. I restarted my computer and did the command r again and what came up was internet recovery. It can't find my internet because it's WEP and I don't know to change it to wpa. So I restarted my computer again and I didn't do the command r but just let it load itself to see what would happen and all I get is a flashing file with a question mark. I don't know what to do. Someone please help me.
Do you get this display?
If so, you have to select an Internet connection. Do not expect quick response time in this mode. All activities in this mode will be lengthy.
Ciao. -
Camera attached with USB - How to access the flash file system?
OK...this is maddening for someone that is so used to using a Windows file system that can be enumerated on any device, whether a hard disk or attached USB flash device. All I want to do (at this moment) is see the file system on the flash in my camera so I can delete certain images. None of the Leopard utilities seem to be able to access this as a "device". Perhaps this can be done from the terminal with Unix/Linux commands...not something that I want to do.
Can someone help me?
Thanks.Scott Radloff wrote:
This has more to do with the camera than OS X. Some cameras use communication protocols that do not play well with the Finder. For these cameras, support is built into iPhoto.
It is also built into the included Image Capture utility, which is more flexible than iPhoto in some ways for simple downloads. You can preview and select individual pics, and set the folder where the pictures go.
Terence Devlin wrote:
Almost all Canon and some Kodak cameras refuse to mount in the File System. It’s a characteristic of the brands.
In the case of Canon it is lack of support for USB Mass Storage which almost all other brands do. But as stated it is much better and safer to use a card reader instead of the USB cable. A card reader always shows up on the desktop for drag-and-drop. -
Keynote and Flash export. No sound in the flash file
Oh well...
Here I am again. I have recorded speech for my slide show as a narration and there is a sound file on every slide. The sound files are mp3s (Exported from Audacity as mp3 ID3v1). Come to playing the show and the sound doesn't play. All the builds still play correctly but sound there aint. How do I fix it?
G5 iMac Mac OS X (10.4.6)That parameter just has to do with playback from your computer. From all the reading that I have done lately it seems that Flash 6 only supports 3 differnet type of sound files.
Supports PCM, ADPCM and MP3 audio/sound playback for the speaker and headphone.
http://www.flashdevices.net/2006/04/sony-psp-flash-player-6-supported.html
This would be why all those other types of files that you put in a project wont export. Flash 6 doesn't support them. Also looking at the release notes (tucked away in the Macromedia/Adobe archives) Flash Player 6.0r40 and later supports MP3 files with ID3 v1.0 and v1.1 tags.
http://www.adobe.com/support/flash/releasenotes/player/rn_6.html
Now I tested my Flash file with ID3 v2.0 tags and if worked fine. I think it has something to do with give the taags to the player so the player can do something with them (check the link above). Also having flash player 9 might have something to do with it. Anyway the ID3 v 1.0 tags are more compatable with software than the v2.0 tags. So I would use v1.0 anyway. I think that is what iTunes/QT uses anyway.
Also another thing that is weird about this whole saga is that I checked the Audio MIDI settings earlier in the piece. They were set to the correct setting. Audacity must have changed it back (of maybe something else did). But I did notice a little white noise when I did start playing my Audacity tracks (like a skip on a LP). Happens when the setting is changed. But the strange thing is that I have no idea what was causing it to change to 96000 Hz. I suppose it doesn't matter too much but rather that know that it happens. (I do remeber a time when a Flash file did it. I have a slow conection and I think that the player did something weird. That's another story)
IT Toad
G5 iMac Mac OS X (10.4.6)
Maybe you are looking for
-
I'm trying to install itunes 10.5 but i'm getting the following error msg
There is a problem with this WIndows Installer package.A program required for this install to complete could not be run.Contact your support personnel or package vendor.
-
Error in Soap_RFC_File scenario
Hi Experts, I have done sceanrio like Soap to RFC to File with BPM. The input will be taken by RFC. the response of RFC will be checked. If the response contains the feild available quantity material, then based on the response of bapi
-
PS CS6: cropping in portrait modus?
Hi, see my screeenshot in Adobe CS6, Photoshop -- cropping an area in portrait size 2x3 and NOT landscape 3:2. Why ignores PS this setting and shows me first a landscape area in 3:2 instead of the chosen portrait area in 2:3? Yes, I can rotate the se
-
How can you edit a song in iTunes so that you can separate the part I want?
Some songs have LONG intros I'd like to edit out. For example, Elton John's Funeral for a friend/Love Lies Bleeding is only available as one track. How can I edit out the FFAF part? (at least for the version I sync to my ipod.
-
Croping and resizing a video.
Example: I record a sequence with a green screen and a person talking. The recording is in 1920x1080 pixels. After the keying and editing the movie I would only output the person talking, let's say 700x1080.I had no problem to do it with FLV since th