How to scrape the screen data of an external page.
I am trying to scrape the data off of an external webpage using Web Dynpro for ABAP. Basically, I want the html code of that page in a string so I can parse it later.
Does anyone know how to do this?
Hi,
You want to display external window or only data? If you want to display external window, you can use link to url.
You can check this.. it might helps,
Sending data from external web application to my Web Dynpro application
Cheers,
Kris
Similar Messages
-
How to take the screen shot of my computer page by using Labview.... is there any funtions available in Labview?
Another thread about this theme.
Waldemar
Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions -
How to remain the screen data after poping up the message.?
Hi Experts,
Case:
Whe User is creating a sales order, suppose in the screen he had given the sales organization, divison, channel etc.
Now i have to modify the exit to validate some condition by taking all the data. For ex. loading date, divison etc.
If that valdiation failed i have to popup a message to user and
when user clcik the ok, he should be at that screen and be able to modify the things to validate again.
Now problem i am facing is, when i am displaying a popup
message and after clicking ok from user, control of the is not going back to the last screen with all the data input by the user.
Please help.Hi,
Suppose you are using a screen 1000 for intaking all these inputs.
In its PAI put the fields you require within CHAIN....ENDCHAIN.
Example:
CHAIN.
field salesorder module check_salesorder ON INPUT.
ENDCHAIN.
Within the module check_salesorder call a subroutine check_salesorder.
Within subroutine check_salesorder, call the standard SAP function Module POPUP_TO_CONFIRM_STEP.
This way you can have a popup and stay in the same screen.
Reward if Helpful. -
How to get the current date using HTMLB JSP page
Hi All, I developed an iview with several fields using PDK, I would like to know how can I include for a date field a dynamic value witch in this case is the current date.
<hbj:inputField
id="Date"
type="date"
maxlength="10"
showHelp="TRUE"
required="TRUE"
value="???"
/>
Thanks in advance
AlexisHi Alexis ,
u can use the setDate("3.12.2003") function to set date for this input field.
u just change the id = Date , because in jave we have Date class. rename it to another name..
suppose id = systemDate
<%
Format formater = new SimpleDateFormat("dd.MM.yyyy");
Date syDatum = new Date();
%>
then
put
systemDate.setDate(formater.format(syDatum));
this will set the date .....
Regards
Kishor Gopinathan -
How can I capture the screen data sheet from netwrork analyzer?
Hi All!
Could you help help me this! I want to capture the screen data from network analyzer, and save it to my PC. How can I do that with LabVIEW 8.0?Hello,
Do you know if the 8722A is similar to the 8722B or C model? We have a LabVIEW driver for those, but the A model is not listed. Click here to go to the driver download site. Even though your instrument may not be on the list, the driver may still work with your instrument, so I recommend downloading and installing it to see if you get anything.
When you want to capture the whole screen, what exactly do you mean? Do you want to capture an actual screenshot of the display of the analyzer or do you just want to capture all the data in digital format and send it into LabVIEW? Do you need an excel type file? Are you seeing the display on the instrument itself or a user interface panel program on your computer? If on your computer, is it LabVIEW or a different software program? I am sorry, but I am not familiar with your instrument or how it works, but hopefully we can get this figured out for you!
Chris R.
Chris R.
Applications Engineer
National Instruments -
How to reload the screen when changing languages in JavaFX 2?
I'm beginner with javaFX and i need to change language of the screen. but i have no idea how to reload the screen when the language was changed. The application have a button where have the language available. I want just refresh screen when the user change language.
Here is the start method to show the stage.
@Override
public void start(Stage stage) throws Exception
this.stage = stage;
Locale locale = Locale.getDefault();
ResourceBundle rb = ResourceBundle.getBundle("resources/Label",locale);
loader = new FXMLLoader(getClass().getResource("FXMLDocument.fxml"),rb);
root = (Parent)loader.load();
FXMLDocumentController controller = (FXMLDocumentController) loader.getController();
controller.setMain(this);
scene = new Scene(root);
stage.setScene(scene);
stage.show();
here is the function to change the language(in the same class with start function),the rb is the new ResourceBundle:
public void refresh(ResourceBundle rb)
//change the language here
1. I don't want to use the resourceBundle to get value in resource file and set label in scene one by one.like following:
this.btnLabel.setText(rb.getString(key.test));
2. I don't want to reload the scene,like following:
public void refresh(ResourceBundle rb)
try
loader = new FXMLLoader(getClass().getResource("FXMLDocument.fxml"),rb);
root = (Parent)loader.load();
scene.setRoot(root);
FXMLDocumentController controller = (FXMLDocumentController) loader.getController();
controller.setMain(this);
catch(Exception err)
err.printStackTrace();
So do we have a solution to just set the resourceBundle and reload the scene easier?
Thanks and best regards!Your option 2 (reload the FXML for the scene using the new resource bundle as a parameter), is the way this would normally be done and what I would recommend.
Failing that, you could use option 1 of individually resetting the label text of labeled items (I don't really recommend this).
Why don't you want to use option 2?
Perhaps it is because there is some internal state of the UI which differs from the initial state when the the UI is first loaded (e.g. user has typed text in a text field and you want to preserve that). If that's the case you will need to either go with your option 1 of individually resetting the label text of labeled items, or implement something which preserves the UI state and user data by saving it in memory or to disk, reloading the UI via the FXMLLoader (essentially your option 2), then restoring the UI state and user data to what it was before the language change. Preserving and restoring the modified state seems complicated to me if you have a lot of state, so I wouldn't really advise this approach unless you really needed it. -
How to get the "current date" in the BEx?
Hi all,
I need to get the "current date" in my Bex report in order to make a comparison. I know there is a "How to" which shows how to get the current date via a User Exit, but I didn't find it. Could you please help me?
Thanks1. Create a New Formula in Key Figures structure
2. Give tech name and description and Select "New variable" option
3. Next screen will launch Variable Wizard -> create a new variable with replacement path as processing type
4. in next screene select the date characteristic that represents the first date to use in the calculation (From Date)
5. In the next screen select Key in the Replace Variable with field. Leave all the other options as they are
6. In the next Currencies and Units screen select Date as the Dimension ID.
6. Save variable
repeate the Above steps to create another variable (To Date)
and now you can use these two new replacement path variables in your new formula.
Dev -
How to call the screen in methods could u please explain
hi,
how to call the screen in methods could u please explain clearly with exampleHI ,
CALL SCREEN - Call a screen
Basic form
CALL SCREEN scr.
Addition:
... STARTING AT x1 y1 ... ENDING AT x2 y2
Effect
Calls the screen scr; scr is the number of a screen of the main program. You use SET SCREEN 0. or LEAVE SCREEN. to define the return from the CALL screen.
Note
Please consult Data Area and Modularization Unit Organization documentation as well.
Addition
... STARTING AT x1 y1 ENDING AT x2 y2
Effect
The coordinates x1, y1 (start column and start line in the window) and x2, y2 (end column and end line in the window) define the size and position of the CALL screen ("top left - bottom right"). Besides these coordinates, you can also see the contents of the primary window, but cannot perform any action there.
Note
If "ENDING AT ..." is not specified, suitable values are substituted for x2 and y2, taking into account the size of the called screen.
Exceptions
Non-Catchable Exceptions
Cause: No further screen level (call screen); the maximum number of nested screen levels is restricted to 50 at present.
Runtime Error: DYNP_TOO_MANY_CALL_SCREENS
THX -
How to access the Custom Data type variable given in Expression edit control To and From LabVIEW
Hello, I would like to know how to access the custom data type variable given in the Espression Edit Control from LabVIEW and vice-versa
Say, the FileGlobals.Reference_Handle (Custom Data Type Variable) contains the
VISA I/O session (Which in turn contains VISA_DeviceName: String, Session: Number),
Channel1: Number and
Channel2: Number
I am expecting the user to give FileGlobals.Reference_Handle as the input at the ExpressionEdit Control in the edit screen of the VI Call.
I would like to know how to get the values of this custom data type to LabVIEW?
Say, if I have the Cluster in LabVIEW like VISA I/O session (Deive Name and Session Number), Channel1 and Channel2
how do i need to set this cluster to the Custom Data type variable in TestStand?
Thanks and Regards
PrakashHi,
TestStand to LabVIEW: i didnt understand what you r trying to achieve. But if you are using references, Use Property nodes and Invoke nodes to achieve what you want in LabVIEW.
LabVIEW to TestStand: check the image below: You need to click the button next to 'container'. I have used a cluster output in the VI.
Hope this helps
.......^___________________^
....../ '---_BOT ____________ ]
...../_==O;;;;;;;;_______.:/
Attachments:
1.JPG 187 KB -
How to avoid the screen of selection output device
Hi all,
Who can tell me how to avoid the screen selection output device when running a smartform.
Best regard.Hi,
data: wa_SSFCTRLOP type SSFCTRLOP.
wa_SSFCTRLOP-DEVICE = 'PRINTER'.
wa_SSFCTRLOP-NO_DIALOG = 'X'.
wa_SSFCTRLOP-PREVIEW = 'X'.
in the function module
call function '....
exporting
CONTROL_PARAMETERS = wa_ssfctrlop
regards,
Santosh Thorat -
How to export the Screens of dialog programming into notepad
Hi Guys,
Here I am having a requirement to copy the screens of dialog program into another SAP system.
So I have to export the screen along with coding into NOTEPAD.
I am able to copy the coding part, <b>but how to copy the screen into notepad</b>
Give me the appropriate answers.
I will award the points to the answersHi Chakra.
please take carte that a screen consists of layout, fields and flow logic. Get all components using this form routine (taken from excellent useful SAP report RPR_ABAP_SOURCE_SCAN):
Form GET_DYNPRO_FLOW_LOGIC
Get flow logic of the dynpro
form get_dynpro_flow_logic.
data: dhead like d020s,
dfield like d021s occurs 0,
dflow like d022s occurs 0,
dmatch like d023s occurs 0,
begin of dynp_id,
prog like d020s-prog,
dnum like d020s-dnum,
end of dynp_id.
dynp_id-prog = dyn-prog.
dynp_id-dnum = dyn-dnum.
import dynpro dhead dfield dflow dmatch id dynp_id.
rtab[] = dflow[].
endform. " GET_DYNPRO_FLOW_LOGIC
Regards,
Clemens -
Hi,
I have loaded the data into an ODS from an External Flat file and executed the job. Can anyone guide me how to view the loaded data in the ODS ?
ThanksHi Madhu,
You can simply Goto Transaction LISTCUBE and give the ODS name -> Execute.
Regards
Hemant -
How to change the default date in Person assignment tab?
Hi experts,
Does anyone know how to change the default date in person assignment tab in cj20n? Currently, the system always take the scheduled finish date to the date of the person assignment tab. Can I change it to the start date?
Thanks and rgs,
MichelleHi Michelle,
Goto SPRO->Project system->Dates->Scheduling->Specify Parameters for Network Scheduling, Here you can control the workforce planning dates.
Hope this is useful...
Regards
Aatish -
How to get the actual data in ALV report
I am doing some upgradation work in that i am using Submit & And return and also i am using some function modules like LIST FROM MEMORY , LIST TO TXT wnd WRITE LIST , it gives output in normal list format , But i need to print in ALV report .
With the use of set table for 1st display i got the ALV report but not with actual data, (some junk value is showing) , So can any 1 suggest me how to get the actual data in ALV report, With the use of Any Function Module or with Coding,
with regards,Hi Saravana
I am sure you must be getting the values in tables of table parameters from every FM.
consolidate the values from tables of all FMs in one table and built ALV for that table only.
I hope this way you can show the actual data in ALV.
thanks
Lalit -
How to display the header data on different position in alv report
hi all,
how to display the header data on different position in alv report.
for example ,
customer name
xxxx xxxx
vendor name street
xxxx xxxx xxxxx
pls help me .hi
as per my understanding you need to trnasfer header internal table data to pdf..
please check the following links for internal table to pdf..
Convertion of Internal table data to PDF
This link is related to ur issue
Re: how to insert the calling of the FM: OTF to PDF
Thanks
Maybe you are looking for
-
Windows Vista Ultimate installed via Boot Camp?
Can install Windows Vista Ultimate 64bit using the latest version of Boot Camp on OS X Lion 10.7.4, or is it not supported? This article is not clear: http://support.apple.com/kb/HT1461
-
I recently formatted my phone and memory card and lost the nokia maps data from the card. while updating with nokia suit it says "can't find maps on phone". what can i do for getting back the data ? @fthab Attachments: maps.jpg 131 KB
-
Hi, We have a production database with size 120GB (DB Version 11.1.0.6), And our UNDO Tablespace size is 30GB. For the past 4 days the UNDO tablespace utilization is more than 85%. We have disabled the AUTOEXTEND for the UNDO Tablespace. So the UNDO
-
How do I change my sons apple id
-
Recommendations for travel setup please
Thinking of a European trip with lots of indoor usage in museums, churches and such where allowed as well as normal walk-around usage and landscapes. Would love to keep the equipment list to a minimum of course. Concerns are mostly indoor shots where