How to achieve precise control of frames flv?
How to achieve precise control of frames flv?
Thanks for that suggestion, but still it did not work. I am working on a theory that certain adjustments to the embedded text pane didn't get properly propagated up the component hierarchy. I wouldn't be surprised if something broke the component communication.
The curious thing is that the scrollpane seems to know how big the viewport is, but the scrollbar finds the wrong "0" point.
I am making a little progress. I will post my solution here, if and when I find it.
Similar Messages
-
How to achieve Quantity Control in purchasing?
Hi all,
My client company is controlling the purchasing quantity of consumable goods manually. Now in the new SAP system
they want to control from the system.
The scenario is , let us say diesel, they will prepare yearly estimated quantity for plant wise, then the quantity of diesel while purchasing for this plant should not be exceeded this quantity.
How to achieve this in SAP? Is there any settings in material master? If not able to control by quantity ,is it posiible to control budget from FI side for these goods?
Thanks,
AravindHi Aravind,
Can make use of internal order with Budget functionality of Internal Order.
create Internal Order for each Asset Class / Services or Cost Center - KO01
assign Budget to the same as sanctioned by management - KO23.
You need to activate availability control for the above Order type and mark the activity control to 3 (Error Message) which will restrict the user from raising any PO/PR.
While creating PR/PO a buyer must maintain Internal Order number in account assignment field with account assignment category F.
if the PR/PO exceeds the budgeted value for the year, an error message is promopted.
Please refer the link:
http://help.sap.com/erp2005_ehp_03/helpdata/EN/a9/ab73ee414111d182b10000e829fbfe/frameset.htm
Regards,
Bijoy Kumar -
How to send a Control or frame Back(send to back)
Hi all ,
I have a Graphic Frame I want to sent this control back i.e implementing "Send to Back". How to do it progammatically from my pluginHave a look at Arranger.
Ian -
How to achieve an image loading affect?
Hello,
Before you continue, take note that this affect only seems to work in Mozilla Firefox and Google Chrome -
Website Link : http://boinx.com/
[Should work with most images on the website]
I am a web designer and when browsing the internet, I noticed this affect. When I visited a page on their website, I noticed that wenever an image first loads, It is shown as a matrix of squares that shrink/un - blur to the normal resolution of the image.
[Above Image] Look to the bottom of the image and you will see something like a pixelated image . . .
As The image continue to load, it looked like the rest of the above image . . .
Here you see the fully loaded image [Above Image]
Can you tell me how to achieve and control this affect?Hi There:
I don't think it is any effect.
The images used on the home page as the main graphics are all JPG images and they must be saved for progressive download when created. For example you can save an image in Photoshop and choose progressive as one of the option while saving.
Progressive download basically implies that images are downloaded pixel by pixel so that user feel something is happening (instead of downloading the whole image in one go which can take time).
To know more on this please refer to links below:
http://en.wikipedia.org/wiki/JPEG
http://www.faqs.org/faqs/jpeg-faq/part1/section-11.html
Regards,
Vinay -
How to load and display the external flv video files in dynamicly and the how to control the flv fil
How to load and display the external flv video files in dynamicly using AS 3.0
and How to control the flv file add the play paus button and add seekbar.
I have using to load the flv file following code
var flvPlaceHolder1:MovieClip = new MovieClip();
var vid1:Video = new Video(734, 408);
flvPlaceHolder1.addChild(vid1);
addChild(flvPlaceHolder1);
flvPlaceHolder1.x = 1059;
flvPlaceHolder1.y = 152;
var nc1:NetConnection = new NetConnection();
nc1.connect(null);
var ns1:NetStream = new NetStream(nc1);
vid1.attachNetStream(ns1);
var listener1:Object = new Object();
listener1.onMetaData = function(evt:Object):void {};
ns1.client = listener1;
ns1.play("GV-1600 TURNING.flv");
ns1.addEventListener(NetStatusEvent.NET_STATUS, statusChanged1);
function statusChanged1(ns1:NetStatusEvent):void
trace(ns1.info.code);
if (ns1.info.code == 'NetStream.Buffer.Empty')
trace('the video has ended');
removeChild(flvPlaceHolder1);
//trace('removeChild');
gotoAndPlay(1786);
then how to add the play,paus ,full screen button and seekbar,volumebar.I have to Create the flash presentation for our company product
In this presentation the left side the text animation are displayed then right side the our product video is displayed.
In this presentation i need the following option :
1, The first product video and animation is finished then the next product is played
2, then the video displayed (size width and height 400x300) , I click this video to increase the size(ex:1000x700)
3, then the playing video i control it play, stop, paus button and volume bar, seek bar.
4, then this presentation is displayed on 42 inches LCD TV so this full presentation is run full screen.
I have finished first two steps 1 and 2
the following are the screen short and code:-
code :-
var count=0;
var flvPlaceHolder2:MovieClip = new MovieClip();
var vid2:Video = new Video(734, 408);
flvPlaceHolder2.addChild(vid2);
addChild(flvPlaceHolder2);
flvPlaceHolder2.x = 1059;
flvPlaceHolder2.y = 152;
var nc2:NetConnection = new NetConnection();
nc2.connect(null);
var ns2:NetStream = new NetStream(nc2);
vid2.attachNetStream(ns2);
var listener2:Object = new Object();
listener2.onMetaData = function(evt:Object):void {};
ns2.client = listener2;
ns2.play("GS-4000.flv");
this.addEventListener(Event.ENTER_FRAME, BtnFadeIn2);
function BtnFadeIn2(event:Event):void
if (this.currentFrame == 387)
/*flvPlaceHolder2.x = 30;
flvPlaceHolder2.y = 140;
vid2.width=1800;
vid2.height=800;
trace('Screen size is changed');*/
if(count==0)
flvPlaceHolder2.x = 30;
flvPlaceHolder2.y = 140;
vid2.width=1800;
vid2.height=800;
count++;
ns2.addEventListener(NetStatusEvent.NET_STATUS, statusChanged2);
function statusChanged2(ns2:NetStatusEvent):void
trace(ns2.info.code);
if (ns2.info.code == 'NetStream.Buffer.Empty')
trace('the video has ended');
removeChild(flvPlaceHolder2);
//trace('removeChild');
gotoAndPlay(433);
flvPlaceHolder2.buttonMode=true;
flvPlaceHolder2.addEventListener(MouseEvent.CLICK,home2);
function home2(e:MouseEvent):void
if(vid2.width==734 && vid2.height==408)
flvPlaceHolder2.x = 30;
flvPlaceHolder2.y = 140;
vid2.width=1800;
vid2.height=800;
else
flvPlaceHolder2.x = 1059;
flvPlaceHolder2.y = 152;
vid2.width=734;
vid2.height=408; -
How to set a loop on an .flv so that an exported .swf loops?
hi there. i am using Flash CS4 and I would like to know how to set a loop in an flv file so that when it is exported to swf, the movie will loop. Basically i have taken an existing interactive flash movie and have decompiled it into its individual flv counterparts. what i intend to do is take out all the nonsense from each flv file and then reconstruct the flash movie, export each file to swf and then convert each swf to avi or some other video format. to do this i will be using sothink swf to avi converter which allows you to convert swf files to avi files. this program allows you to convert swf files that loop by looping the swf file for as long as you want until you stop it, in which a video file is created from "the recording"
after i decompiled the original file, many of the existing flv files were already set to loop. i know this because when exported to swf the swf file would loop. now when i went ahead and went into each flv file to edit a couple things, when i went to export them to swf, the swf files wouldn't loop. mind you, some of them did loop, and some of them did not loop. the ones i have edited are all supposed to loop and i cannot figure out what it is thats preventing some of the flv or exported swf files to loop. all i did was take out a few unnecessary frames from the beginning of each flv and nothing more. i am pretty new to Flash and do not know anything about coding and know very little about flash settings.
i figured that selecting the "loop playback" option in the control drop down menu might help seeing as the flv file does loop when played in the editor, but again when exported to swf the swf file does not loop. what confuses me the most is that some of the exported swf files do loop. ALL of the exported swf files need to loop and my guess is that in order to make that happen, something in the flv file needs to be set correctly.
can someone please assist me with this issue? if there is a way to simply loop an existing swf file that does not loop, can someone tell me how to do that? any help with this problem is greatly appreciated and i appologize if something like this has been asked before.... i just couldnt stand looking through 22 pages of search results to find the exact solution to my problem
thank you!!!Hi,
You can use shortDesc property. Something like
<af:commandToolbarButton text="Some Button"
id="ctb1" shortDesc="This button does something.."/>-Arun -
How to achieve print functionality in OA Framework page
Hi All,
I have created one page in OA Framework.
There is one print button on page for printing the page
How to achieve print functionality thruoug Print button in OA page.
Please help me in this if some one has use thif functionality before or if someone knows about it.
Thanks
NishaHi Nisha,
Have u checked out "printable page" in OA Developer guide??
Step 1: Add a page-level button as described in the Buttons (Action/Navigation) document.
Step 2: Assuming your button label is the standard "Printable Page," apply the OA Framework attribute set /oracle/apps/fnd/attributesets/Buttons/PrintablePage.
Step 3: Set the button's Destination URI property to point to the current page and set the UIX facet parameter (OARF) to printable as shown in the following example (if you don't know what a "facet" is, please see Controlling UIX Rendering Output for additional information). Remember to retain your application module.
OA.jsp?page=<CURRENT_PAGE>&retainAM=Y&OARF=printable
Step 4: Set the button's Target Frame property to _blank. This ensures that the printable page opens in a new window.
Regards,
Devang -
How to adjust a "control array" size
I have a program that creates a digital PWM signal with variable duty cycle. The duty cycle changes every 50 ms, but the overall wave frequency stays at a frequency determined by the user. I have the VI attatched.
My problem is this...I need to be able to control the overall cycle time. This means the size of my array of duty cycles needs to adjust based on the cycle time (i.e. a cycle time of 1 second would require 20 of the 50 ms slots, while a 1.3 second cycle would need 26).
I currently have only 4 slots in my array, meaning the total cycle time is .2 s. I understand how to manually add and remove elements to the array, but I can't figure out how to add a control to it so that the array size changes automatically, allowing much quicker entry of data. As of now I can make it work, it just takes super long to add or delete array elements. The ideal situaton would have a constant control for cycle time divided by 50 that would change the array size.
I can't find any info on this, and I think I even saw a post asking that this kind of feature be added. I'm relatively new to this program.
Thanks
Solved!
Go to Solution.
Attachments:
var_duty_cycle.vi 25 KBCurrently, your VI is a one-shot deal. What you need is a state machine that updates the pct duty cycle array control as a function of the frequency while the current I/O code is idle.
I would use an array of clusters, where each cluster contains e.g. a sequence number, a duty cycle, and a string as element label. Show the scrollbar and set the size whenever the relevant inputs change. Do you want to reset the current setting when the number changes or do you want to retain the current settings as much as possible? You could just use the existing values, reshape to the larger or smaller size, and write it back to the control via a local variable. Set all elements except the percent to disabled so they act as indicators and cannot be changed by the user.
(You also need to program around it if the operator tries to manually add more elements. A better solution would be this idea, so vote for it .)
Some more general comments bout your code:
Why do you use extended precision floating point. All your waits are internally just integers. EXT makes no sense
There is a primitive for 1/x. However, you could just do a 1000/x and eliminate the multiplication afterwards. SInce you are dealing with integers, you can even do the division using quotient&remainder. Depending on the allowed frequency range there are possibly no orange data needed at all.
Make the diagram constant representation match the rest of the code.
The pulses/50ms indicator belongs before the loop. No need to recalculate and refresh it over and over from the same input values.
LabVIEW Champion . Do more with less code and in less time . -
Help how do you save a still frame of video as a photo?
Help how do you save a still frame of video as a photo? Thanks
A still frame from an Event:
Put cursor at the frame you want, then right click (or command click) and select "Add Still Frame to Project".
The still frame will be added at the end of the Project.
A still frame from a Project:
Put cursor at the frame you want then right-click (or control-click) and select "Add Freeze Frame". The Freeze frame will be added after the clip.
In both cases:
Select the still frame (so the yellow band is around it).
Right-click (or control-click) and select "Reveal in Finder".
You will see a JPG file highlighted in the finder.
Drag this file and drop it on your iPhoto icon in the Dock. -
Precisely control timing of multiple acquisitions?
What is the best way to acquire repetitive sets of data at precisely spaced time intervals? I'm running LabVIEW 6i on Windows NT.
For example, I want to acquire say 500 scans at my top scan rate, process them, and then repeat this process every 10 msec. (I have to make configuration changes to my system during the dead time.) I need these data points taken at well controlled time intervals so I can make a meaningful waveform out of the data later.
Here's what I've tried:
1. Using a pulse train to trigger the AI Start function. When a triggered AI Start is included inside a While loop it uses all of the system resources watching for the trigger. No good. If I put in any kind of delay inside
the loop, then NT can take away priority and not give it back until the trigger event has passed.
2. Using a pulse train to gate the DAQ scan clock. Here I set the data acquisition for continuous acquire, but then turn the scan clock off during the dead time. So the system should only be taking data when the gate signal is high. My problem here is I don't know how to configure the AI Read function properly. Specifically, I don't know how to set the number of scans to read. If I calculate how many data points should be available and use that number, I'll often leave a data point or two in the buffer due to timing/rounding errors. If I set the number of points to read higher than the number I should have acquired, I get unpredictable behavior. Sometimes I read exactly the number of points I expect, sometimes 10 more, sometimes thousands more as it waits through multiple cycles to acquire more points.
I'm sure there is a better way. Any suggestions?
Thanks!
CraigHow about...
If you have precise control of the DAQ scan clock, then reading n points would be the way to go. You can request 0 points to read and look at the scan backlog to detect when the next n points are available without getting locked into an AIRead call.
Or...
read data all the time and just throw out the rest of the data. Set your acquisition buffer for several seconds worth of data collection and keep track of read vs skip data.
Stu -
How to access the control menu
How to access the control menu(Restore,move,minimize,maximize,close) of JFrame and JInternalFrame can be accessed using Keyboard like in windows(Using space bar for any window we can access the control menu of that window in Windows OS).
How to achieve this feature in Java for JFrame and JInternalFrame
Any sample code will be helpfultry search the forum with topic: control menu on-off
-
Hi abapers how to handle table control in bdc
hi experts please guide me
how to handle table control in bdc? could u please explain me briefly
thanks and regardssayeed,
Go thru this code it may help you. check bold code for the table control..
report zsunil_bdc
no standard page heading line-size 255.
INTERNAL TABLES *
DATA: BEGIN OF IT_KNA1 OCCURS 0,
CUSTOMER LIKE RF02D-KUNNR,
COMPANY_CODE LIKE RF02D-BUKRS,
ACCOUNT_GROUP LIKE RF02D-KTOKD,
TITLE LIKE KNA1-ANRED,
NAME LIKE KNA1-NAME1,
SEARCH_TERM LIKE KNA1-SORTL,
STREET LIKE KNA1-STRAS,
CITY LIKE KNA1-ORT01,
POSTAL_CODE LIKE KNA1-PSTLZ,
COUNTRY LIKE KNA1-LAND1,
LANGUAGE_KEY LIKE KNA1-SPRAS,
CNTRY LIKE KNBK-BANKS,
BANK_KEY LIKE KNBK-BANKL,
BANK_ACCOUNT LIKE KNBK-BANKN,
REC_ACCOUNT LIKE KNB1-AKONT,
END OF IT_KNA1.
DATA: IT_BDCDATA TYPE BDCDATA OCCURS 0 WITH HEADER LINE.
DATA: IT_MESSAGES TYPE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
SELECTION SCREEN *
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETER P_FILE TYPE RLGRAP-FILENAME DEFAULT 'C:\CUSTOMER.TXT'
OBLIGATORY.
SELECTION-SCREEN END OF BLOCK B1.
AT SELECTION SCREEN *
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
PERFORM HELP_FILE USING P_FILE.
START OF SELECTION *
START-OF-SELECTION.
*UPLOADING THE FILE FROM WORKSTATION
PERFORM UPLOAD_FILE USING P_FILE.
*POPULATING DATA.
PERFORM POPULATE_FILE.
*& Form HELP_FILE
text
-->P_P_FILE text
form HELP_FILE using p_p_file.
DATA: L_FILE TYPE IBIPPARMS-PATH.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = ' '
IMPORTING
FILE_NAME = L_FILE.
P_P_FILE = L_FILE.
endform. " HELP_FILE
*& Form UPLOAD_FILE
text
-->P_P_FILE text
form UPLOAD_FILE using p_p_file.
CALL FUNCTION 'UPLOAD'
EXPORTING
CODEPAGE = ' '
FILENAME = 'P_P_FILE'
FILETYPE = 'DAT'
ITEM = ' '
FILEMASK_MASK = ' '
FILEMASK_TEXT = ' '
FILETYPE_NO_CHANGE = ' '
FILEMASK_ALL = ' '
FILETYPE_NO_SHOW = ' '
LINE_EXIT = ' '
USER_FORM = ' '
USER_PROG = ' '
SILENT = 'S'
IMPORTING
FILESIZE =
CANCEL =
ACT_FILENAME =
ACT_FILETYPE =
TABLES
data_tab = IT_KNA1
EXCEPTIONS
CONVERSION_ERROR = 1
INVALID_TABLE_WIDTH = 2
INVALID_TYPE = 3
NO_BATCH = 4
UNKNOWN_ERROR = 5
GUI_REFUSE_FILETRANSFER = 6
OTHERS = 7.
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. " UPLOAD_FILE
*& Form POPULATE_FILE
text
--> p1 text
<-- p2 text
form POPULATE_FILE .
DATA: L_STRING TYPE STRING,
L_COUNTER(2) TYPE N,
V_INDEX TYPE SY-TABIX.
LOOP AT IT_KNA1.
V_INDEX = SY-TABIX.
AT NEW CUSTOMER.
READ TABLE IT_KNA1 INDEX V_INDEX.
IF SY-SUBRC = 0.
perform bdc_dynpro using 'SAPMF02D' '0105'.
perform bdc_field using 'BDC_CURSOR'
'RF02D-KTOKD'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RF02D-KUNNR'
IT_KNA1-CUSTOMER.
perform bdc_field using 'RF02D-BUKRS'
IT_KNA1-COMPANY_CODE.
perform bdc_field using 'RF02D-KTOKD'
IT_KNA1-ACCOUNT_GROUP.
*PERFORM BDC_FIELD USING 'RF02D-D0130'
'X'.
perform bdc_dynpro using 'SAPMF02D' '0110'.
perform bdc_field using 'BDC_CURSOR'
'KNA1-SPRAS'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'KNA1-ANRED'
IT_KNA1-TITLE.
perform bdc_field using 'KNA1-NAME1'
IT_KNA1-NAME.
perform bdc_field using 'KNA1-SORTL'
IT_KNA1-SEARCH_TERM.
perform bdc_field using 'KNA1-STRAS'
IT_KNA1-STREET.
perform bdc_field using 'KNA1-ORT01'
IT_KNA1-CITY.
perform bdc_field using 'KNA1-PSTLZ'
IT_KNA1-POSTAL_CODE.
perform bdc_field using 'KNA1-LAND1'
IT_KNA1-COUNTRY.
perform bdc_field using 'KNA1-SPRAS'
IT_KNA1-LANGUAGE_KEY.
perform bdc_dynpro using 'SAPMF02D' '0120'.
perform bdc_field using 'BDC_CURSOR'
'KNA1-LIFNR'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPMF02D' '0130'.
PERFORM BDC_FIELD USING 'RF02D-D0130'
'X'.
perform bdc_field using 'BDC_CURSOR'
'KNBK-BANKN(01)'.
perform bdc_field using 'BDC_OKCODE'
'=ENTR'.
perform bdc_dynpro using 'SAPMF02D' '0210'.
perform bdc_field using 'BDC_CURSOR'
'KNB1-AKONT'.
perform bdc_field using 'BDC_OKCODE'
'=UPDA'.
perform bdc_field using 'KNB1-AKONT'
IT_KNA1-REC_ACCOUNT.
perform bdc_dynpro using 'SAPLRSFH' '0100'.
perform bdc_field using 'BDC_OKCODE'
'/EBACK'.
perform bdc_field using 'BDC_CURSOR'
'RSIODYNP4-LOW(01)'.
ENDIF.
ENDAT.
L_COUNTER = L_COUNTER + 1.
CLEAR L_STRING.
CONCATENATE 'KNBK-BANKS(' L_COUNTER ')' INTO L_STRING.
PERFORM BDC_FIELD USING L_STRING
IT_KNA1-CNTRY.
CLEAR L_STRING.
CONCATENATE 'KNBK-BANKL(' L_COUNTER ')' INTO L_STRING.
PERFORM BDC_FIELD USING L_STRING
IT_KNA1-BANK_KEY.
CLEAR L_STRING.
CONCATENATE 'KNBK-BANKN(' L_COUNTER ')' INTO L_STRING.
PERFORM BDC_FIELD USING L_STRING
IT_KNA1-BANK_ACCOUNT.
AT END OF CUSTOMER.
READ TABLE IT_KNA1 INDEX V_INDEX.
IF SY-SUBRC = 0.
CALL TRANSACTION 'FD01' USING IT_BDCDATA MODE 'A' UPDATE 'S' MESSAGES
INTO IT_MESSAGES.
IF SY-SUBRC <> 0.
PERFORM EMPLOYEEID_ERROR.
*ELSE.
ENDIF.
WRITE: SY-SUBRC.
perform message_format_write.
*ENDIF.
*WRITE: SY-SUBRC.
CLEAR IT_BDCDATA.
REFRESH IT_BDCDATA.
ENDIF.
ENDAT.
ENDLOOP.
endform. " POPULATE_FILE
*& Form bdc_dynpro
text
-->P_0224 text
-->P_0225 text
form bdc_dynpro using value(p_0224)
value(p_0225).
IT_BDCDATA-PROGRAM = P_0224.
IT_BDCDATA-DYNPRO = P_0225.
IT_BDCDATA-DYNBEGIN = 'X'.
APPEND IT_BDCDATA.
CLEAR IT_BDCDATA.
endform. " bdc_dynpro
*& Form bdc_field
text
-->P_0229 text
-->P_0230 text
form bdc_field using value(p_0229)
value(p_0230).
IT_BDCDATA-FNAM = P_0229.
IT_BDCDATA-FVAL = P_0230.
APPEND IT_BDCDATA.
CLEAR IT_BDCDATA.
endform. " bdc_field
*& Form EMPLOYEEID_ERROR
text
--> p1 text
<-- p2 text
form EMPLOYEEID_ERROR .
CALL FUNCTION 'BDC_OPEN_GROUP'
EXPORTING
CLIENT = SY-MANDT
DEST = FILLER8
GROUP = 'Z50583_REC1'
HOLDDATE = FILLER8
KEEP = 'X'
USER = SY-UNAME
RECORD = FILLER1
PROG = SY-CPROG
IMPORTING
QID =
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.
CALL FUNCTION 'BDC_INSERT'
EXPORTING
TCODE = 'FD01'
POST_LOCAL = NOVBLOCAL
PRINTING = NOPRINT
SIMUBATCH = ' '
CTUPARAMS = ' '
TABLES
dynprotab = IT_BDCDATA
EXCEPTIONS
INTERNAL_ERROR = 1
NOT_OPEN = 2
QUEUE_ERROR = 3
TCODE_INVALID = 4
PRINTING_INVALID = 5
POSTING_INVALID = 6
OTHERS = 7.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'BDC_CLOSE_GROUP'
EXCEPTIONS
NOT_OPEN = 1
QUEUE_ERROR = 2
OTHERS = 3.
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. " EMPLOYEEID_ERROR
*& Form message_format_write
text
--> p1 text
<-- p2 text
form message_format_write .
DATA: L_MSG(200).
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
ID = SY-MSGID
LANG = SY-LANGU
NO = SY-MSGNO
V1 = SY-MSGV1
V2 = SY-MSGV2
V3 = SY-MSGV3
V4 = SY-MSGV4
IMPORTING
MSG = L_MSG
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2.
WRITE: / L_MSG.
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. " message_format_write
~~Guduri -
Frame drivers - control of frame?
I have a frame driver which calls a form. The form is based on a procedure.
From within the procedure I call the frame driver again.
In Webdb22 I was able to control the frame names, and targets, and thus could get the 2nd call of the frame driver to display in the same place the when called the 2nd time as the first.
In Portal30 I don't see a way to set frame names for frame drivers.
1) is there a way that I can name the frames?
2) if not, how can I call the frame driver from PL/SQL with one of the standard targets (_blank, _parent, etc.).
Thanks,
BobStephanie,
Frame Driver can be used without rendering it as portlet. I am giving you a simple example:
Say you have four charts:
1) Chart_1, 2) Chart_2, 3) Chart_3, 4) Chart_4
You can create a frame driver "Chart_Frame" as:
Select 'Chart 1' Chart, 'Schema1.chart_1.show' url from dual
union
Select 'Chart 2' Chart, 'Schema1.chart_1.show' url from dual
union
Select 'Chart 3' Chart, 'Schema1.chart_1.show' url from dual
union
Select 'Chart 4' Chart, 'Schema1.chart_1.show' url from dual
Now create a site "Site1".
Add an item of type "URL" with url as: http://machine name:port/pls/portal dad/schema1.Chart_Frame.show
You can set "Link That Displays Item In New Browser Window"
I hope you can use it like this.
Thanx,
Chetan -
how to stop voice control?
Hi Joannewpark,
Press your Home Button to get to the Home Screen.
Press Settings, then press again 2x fast - you will go to the Settings screen
Press on General, then press again 2x fast - you will go to the General screen
Use 2 fingers to indicate scroll up - Voice Over will begin to read the items on the screen, and will eventually get to the Accessibility option. When it says "Accessibility" press on it, then press on it 2x fast
It will go to the Accessibility screen, tap on the Voice Over option one, and then again 2x fast, now tap on the Voice Over option again, and then double tap to turn it off.
Cheers,
GB -
How to achieve New Window requirement from One Web Template?
Hi Experts,
I've a WebTemplate contains 2 Graphs. Each graph have one Zoom Button. My requirement is, When I click the Zoom button that corresponding Grpah should display in a New Window. I've finished all the above requirements.
Since, I have One Mandatory field, I'm always getting the Variable Screen in a New Window while I clik the Zoom Button.
I need to avoid this "Rerun" feature in New Window.
Kindly suggest me how to achieve this..
Full points will be given.
Thanks
Jay JayHi Thanks.
Even I'm also trying for the same scenario only.
Actually I have 2 Web Templates.
In First Template I have 2 Charts and 2 Zoom buttons for each.
While I running the 1 Template, i give an Value in the Variable screen of First Web Template.
If I click a Zoom button of 1st Chart, It should open a New window with the Second Web Template. And Second Web Template should automatically take a First Template's Variable screen Values.
(Since, U have an Mandatory field in Second Template u were not faced this requirment.)
Even I tried with "TRANSFER_STATE". It is not taking the First Variable Screen's input values.
Kindly help me in this issue.
Thanks in advance.
Maybe you are looking for
-
Error in Stock Posting (mb1c)
Hi! Guru's, While posting the stock in T-code MB1C i have this error- "Document number Z100(this is my CCode) 1 2007 was already assigned. I checked in FBN1 (T-code). Plz solve this error. Thanks with Regards, nrk.
-
After purchasing a song in the iTunes store, the song was downloaded, but when I went to play it, it was not completely recorded. How can I get a refund or download it again without being charged again on my account?
-
Problem with PCK 7.1 SP07 JCA Sample Adapter
Hello! I have a Problem with the JCA Sample Adapter in the PCK 7.1 SP07. I will test the Configuration ( http://help.sap.com/saphelp_nwpi71/helpdata/en/f7/0c2441509fa831e10000000a1550b0/content.htm ) . But the receiver channel has a Massage processin
-
Change page order of combined file
I want to know how to change the order of a combined pdf file
-
Silly question, that i'm sure has been answered....
i'm using handcent for sms, but the stock mesaging app is still showing notifications and sms count. how do i fix? can you disable it entirely?