When the page will be load how to make the page blank in run time
Dear
when i will run the page the fields shoud come with blank Field.
i want to make it in runtime.
example- i have one page having employees data. but when i will run that page the data will not come only blank fields should come, after thar i will create.
duplicate how to make the page blank field in runtime
Similar Messages
-
When the PC System timing runs as per normal, reaches 0000hrs - a new date. How to Auto re-execute the VI from its first sequence order?
Duplicate Post
-
Getting the variant name when the report program is run in background
Hi All,
How to get the variant name for the report program when run in background? My requirement is to create an email attachement with the name 'variant.XLS', where variant = selection screen variant, when the report program is run in background. The system field SY-SLSET holds the variant name only when run online.
Any pointers to this will be highly appreciated.
Thanks and regards,
Nilesh.Hello Nilesh,
Please find the algo:
1. Call the FM: GET_JOB_RUNTIME_INFO to get the background job details.
2. Select data from TBTCP using these details:
DATA:
FP_EVENTID TYPE BTCEVENTID
FP_EVTPARM TYPE BTCEVTPARM
FP_ACTIVE TYPE BTCXPGFLAG
FP_JOBCNT TYPE BTCJOBCNT
FP_JOBNM TYPE BTCJOB
FP_STEPCNT TYPE BTCSTEPCNT.
CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
IMPORTING
EVENTID = FP_EVENTID
EVENTPARM = FP_EVTPARM
EXTERNAL_PROGRAM_ACTIVE = FP_ACTIVE
JOBCOUNT = FP_JOBCNT
JOBNAME = FP_JOBNM
STEPCOUNT = FP_STEPCNT
EXCEPTIONS
NO_RUNTIME_INFO = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
* Error calling FM: GET_JOB_RUNTIME_INFO
ENDIF.
DATA: FP_VARIANT TYPE BTCVARIANT.
SELECT JOBNAME JOBCOUNT STEPCOUNT VARIANT
FROM TBTCP
INTO TABLE L_IT_TBTCP
WHERE JOBNAME = FP_JOBNM
AND JOBCOUNT = FP_JOBCNT
AND STEPCOUNT = FP_STEPCNT.
IF SY-SUBRC = 0.
SORT L_IT_TBTCP BY JOBNM JOBCNT STEPCNT.
READ TABLE L_IT_TBTCP INTO L_WA_TBTCP INDEX 1.
IF SY-SUBRC = 0.
FP_VARIANT = L_WA_TBTCP-VARIANT.
ENDIF.
ENDIF.
Hope this helps.
BR,
Suhas -
How to Hide the Parameter field at run time....
Hi,
I have a parameter field which behaves differently depending on the User logged in.
It has the LOV coming from following SQL.
SELECT customer_name FROM Cust_mast;
If the user = 'INTERNAL' then the Where clause will be
WHERE cust_id in('DELL', 'SBC', 'BANK')
Else there will be no WHERE clause or the parameter field
should be hidden in the parameter form.
So my questions are:
1) How to hide the Parameter field during Run time?
OR OR OR
2) How to change the LOV select statement during Run time?
Thanks.
Ram.Hi Ram,
Is there any way to play with the sql query SELECT using DECODE ?I'm not sure of this part, maybe someone else can suggest a way.
However, what you want can be done in 2 other ways:
1. Build 2 reports. Both reports will just be duplicates of each other, only difference being that the 'LoV where clause' will be different. Now you can fire the appropriate report in many ways. For example, if the customer is alreay logged inside your custom application, and therefore you already know whether the user is internal of external, you can design your button or link which launches the report to contain logic such that one of the 2 reports is fired depending on who the user is.
1. Use a JSP parameter form, not a paper parameter form In this case, just build an HTML parameter form in the web source of your report. Use Java logic to populate the LoV drop-down list. When you have to launch the final report, just launch the paper-layout of the report. For example (you will have to modify this):
<form action="http://machine:port/reports/rwservlet?report=ParamForm.jsp+..." name="First" method="post">
<select name="selected_customer" onChange="First.submit()" >
<option value="">Choose a Customer Name
<rw:foreach id="G_cust_id" src="G_cust_id">
<rw:getValue id="myCustId" src="CUSTOMER_ID"/>
<rw:getValue id="myCustName" src="CUSTOMER_NAME"/>
<option value="<%=myCustId%>"><%=myCustName%>
</rw:foreach>
</select>
</form>
In the code above, you will have to make sure that your report's data model defines 2 CUSTOMER_ID's (like CUSTOMER_ID_INT and CUSTOMER_ID_EXT). These 2 will be internal and external Cust ID's. Use Java logic to show one of them.
Navneet. -
How to check data type of the field symbol at run time
Hi,
My code is as following:
LOOP AT <fs> ASSIGNING <wa_covp_ext>.
ASSIGN COMPONENT 86 OF STRUCTURE <wa_covp_ext> TO <f_zzname>.
IF sy-subrc = 0.
ASSIGN COMPONENT 158 OF STRUCTURE <wa_covp_ext> TO <f_pernr>.
IF sy-subrc = 0.
SELECT SINGLE sname INTO <f_zzname> FROM pa0001
WHERE pernr = <f_pernr>
AND endda GE sy-datum
AND begda LE sy-datum.
ENDIF.
ENDIF.
ENDLOOP.
This query is giving dump when <f_zzname> is type P length 8 and decimals 2, because it tries to put PA0001-sname into it which is type C length 30. So I want to check the type of <f_zzname> before the select statement. If it is character 30, then I will write the select statement else not.
How to check data type of the field symbol at run time? If it's not possible, then can somebody suggest a workaround? Thanks.check this ...
write describe statement ...
field-symbols : <f_zzname> .
data : sname like pa0001-sname,
typ(10).
assign sname to <f_zzname>.
describe field <f_zzname> type typ.
write : typ. <-- typ contains character type in this case ..
U can check if typ is of character(C) if so .. write the select statement ... -
My message always comes from my iCloud @me handle and not my other IM accounts when I send an IM? How to make it come from my @gmail account?
Hi,
As you have found in the View Menu of iChat is the option to Display the Recipients Bar
This bar when clicked will display the Screen Names that you know for your Buddy and your own Screen Names.
The Buddy's names are in the "To:-" section whilst your own are in the "From:-"
Example pic from my iChat 6
The Chat window has to Be Open.
The Buddy's current name becomes a Drop Down that show the To and From names.
It appears to allow you to Connect Google or Jabber IDs to AIM Buddies but the tick will move to any valid Account if you change either the To choice or the From choice.
AS you say about the add Buddy drop down that appears - when your Buddy list are displayed as one an extra drop down appears fro you to Select the account/list it is joining as a Buddy
8:17 PM Wednesday; January 4, 2012
Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
G4/1GhzDual MDD (Leopard 10.5.8)
MacBookPro 2Gb (Snow Leopard 10.6.8)
Mac OS X (10.6.8),
"Limit the Logs to the Bits above Binary Images." No, Seriously -
When you do not have Digital How To MAKE unlock iphone 5s?
when you do not have Digital How To MAKE unlock iphone 5s?
In the Finder, press the key combination shift-command-C, or select
Go ▹ Computer
from the menu bar. A window will open showing all mounted volumes. Select the one in question and open the Info window. What is shown as the Format in the General section? -
How to change the view criteria at run time for af:query
Hi,
I've a usecase where I need to change the view criteria of the af:query at run time.
Use case:
=======
1) Consider a check box (Show Emps Under Dept 10) in the query panel when user selects and clicks 'Search' button should show the employees under dept 10. If user searches without selecting the check box, the results should show all the employees in all the departments.
2) I need to have a check box always in the query panel. Its mandatory.
The way I implemented:
==============
1) Created a transient variable 'Show Emps Under Dept 10' in the EmployeeVO and also created a bind variable bind_DeptNo.
2) Create a view criteria 'AllEmployees' which has only the transient attribute as the view criteria item and whose value set to 'false' by default.
3) Created another view criteria 'EmpUnderDept' which has 'DepartmentId' as the view criteria item and whose value set to the bind variable 'bind_DeptNo'.
4) Dropped the view criteria 'EmpUnderDept' as the 'af:query' panel in the jspx page.
5) Overridden the queryListener as '#{EmpBean.empSearch}'
6) Has the below code in the empSearch method as below. When user selects the check box, applying the other criteria 'EmpUnderDept' and setting the bind variable to '10'.
public void empSearch(QueryEvent queryEvent) {
// Add event code here...
QueryDescriptor queryDesc = (QueryDescriptor) queryEvent.getDescriptor();
ConjunctionCriterion conCrit = queryDesc.getConjunctionCriterion();
List<Criterion> criterionList = conCrit.getCriterionList();
List criterionValues = new ArrayList();
Object criteriaValue = null;
int criteriaNo = 0;
DCBindingContainer bc = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
FacesContext facesContext = FacesContext.getCurrentInstance();
for (Criterion criterion : criterionList) {
AttributeDescriptor attrDescriptor = ((AttributeCriterion)criterion).getAttribute();
System.out.println("============== attrDescriptor.getName() =================== " + attrDescriptor.getName());
criteriaValue = ((AttributeCriterion)criterion).getValues().get(0);
if(criteriaNo==0) {
Boolean val = (Boolean) ((AttributeCriterion)criterion).getValues().get(0);
if (val.equals(true)) {
OperationBinding method = (OperationBinding) ADFUtil.findOperation("ExecuteWithParams");
if(method!=null) {
Map params = method.getParamsMap();
//params.put(key, value)
method.getParamsMap().put("bind_DeptId", 10L);
method.execute();
ADFUtil.invokeMethodExpression( "#{bindings.EmpUnderDeptCriteiaQuery.processQuery}", queryEvent);
} else {
//ADFUtil.invokeEL("#{bindings.ExecuteWithParams.execute}");
ADFUtil.invokeMethodExpression( "#{bindings.AllEmployeesCriteriaQuery.processQuery}", queryEvent);
But this approach is not working and its always showing all the employees in all the departments.
Please let me know if there is a way to change the view criteria at run time depending on the values set at run time for one of the view criteria items.
JDev version am using is '11.1.1.5'
Thanks,
LakshmanHi Shay,
It worked for me without overriding the executeQuery() method in the ViewImpl.java.
Instead of creating 2 view criteria, I created only one which has both transient variable and the DepartmentId = <bind_DeptId>. With the above code, it worked properly. Now I am using only one view criteria.
Thank you. -
Hi,
Not able to open PDF or do any changes even if the PDF opens. Run Time Error is shown every time when trying to open PDF. Please helpHi Shilpa ,
Please refer to the following link and see if that helps you out.
https://helpx.adobe.com/acrobat/kb/runtime-error-roaming-profile-workflows.html
Are you trying to access the PDF with Acrobat or Adobe Reader?
Regards
Sukrit Dhingra -
How to call the Application configuration in run time.
hi guru,
i have created two Application configuraton and it working fine.
my question how to call the application configuration in run time.
Example :
Based on the user i want to change the Application Configuration.like Super user and Normal user.
Advance thank's
Regard's
Vivekanathan.SHi,
Please try out this way-
Have a look at this table -
WDY_CONF_APPLU - (Customizing Data for Web Dynpro Applications).
after you are done with the configuration--
Ge the config id for the given application from this table. And depending on the user get an entry from this table and display accordingly.
Please refer to these links -
different default layouts for different CONFIG_IDs
Get WDCONFIGURATIONID
Regards
Lekha -
How to hide the Parameter field during Run time?
Hi,
How to hide the Parameter field during Run time?
I have a parameter field which behaves differently depending on the User logged in.
I am using reports 10G
For ex: I have 3 field created in JSP
CUSTOMER
PROVIDER
FROM DATE
END DATE
If the user = 'SUPER show all the parameter
CUSTOMER
PROVIDER
FROM DATE
END DATE
If the user is 'GATEKEEPER" Just show
PROVIDER
FROM DATE
END DATE
Can I do that?
Please help
Thanks.
KKhi, i'm not familiar much with JSP. but i think workaround is to create two window one which have 4 fields and the other which have 3. if user is SUPER then call the first screen otherwise if user is GATEKEEPER then call the second screen.
-
Question
upgraded to 7.o.1(x86en-us) will not load asks for reboot i have rebooted over 10 times still will not load same message tried to reinstall still asking for reboot still does not load
what can i do cannot uninstall either
thank youQuestion
upgraded to 7.o.1(x86en-us) will not load asks for reboot i have rebooted over 10 times still will not load same message tried to reinstall still asking for reboot still does not load
what can i do cannot uninstall either
thank you -
How can i set print mode at run time in smartforms???
Hi expert,
In smartforms how can I set print mode at run time.
I have one screen.In this screen one check box is there.If user select that check box then print should be come double side otherwise it is coming single side.
If it is possible then plz give me answer asap.Hi,
Set These settings
While calling smartform, paas control_parameters and output_options as mentioned below and set
user_settings = ' '.
It will send the smartform output to spool.
DATA: wa_output_options TYPE ssfcompop,
wa_ctrl TYPE ssfctrlop.
wa_output_options-tdimmed = 'X'.
wa_output_options-tddelete = 'X'.
wa_output_options-tdimmed = ' '.
wa_output_options-tddest = 'LOCL'.
wa_ctrl-no_dialog = 'X'.
CALL FUNCTION lv_fm_name
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
control_parameters = wa_ctrl
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
output_options = wa_output_options
user_settings = ' '
x_adrp = x_adrp
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 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.
Regards,
Kumar(Reward if helpful). -
Can we change [maximum number of records per page] property at run time
can we change [maximum number of records per page] property at run time in report 6i
Ravi,
I hope you are already done with this. In the invoice there is a nice example you can use on the xml blogs.
You limit the number of lines per page when you use the xsl commands like this in your template:
<xsl:variable name="lpp" select="number(13)"/>
<?for-each@section:LIST_G_INVOICE?>
<xsl:variable xdofo:ctx="incontext" name="invLines" select=".//G_LINES[LINE_TYPE='LINE']"/>
<?for-each:$invLines?> <?if:(position()-1) mod $lpp=0?> <xsl:variable name="start" xdofo:ctx="incontext" select="position()"/>
and then you have the table where you have the data
<?for-each:$invLines?><?if:position()>=$start and position()<$start+$lpp?>
and all your lines
and then
<?end if?><?end for-each?> -
Hi everybody,
I have a quick and general question for the following case:
I want to produce some transitions and effects for a kinetic typography project in After Effects and then import these parts into Flash Professional via XFL and Bridge.
So my actual problem is this one: my Flash application should be able to load these made transitions and effects dynamically at run-time and not from a pre-configured timeline made upfront. Because there should be dynamic text fields in these XFL data from After Effects I also need to be loaded at run-time for the kinetic typography thing.
So is there any possible way to do / load / change the dynamic text fields in these XFL data or the order of all transitions and effects in Flash Professional at run-time or anything else?
I know this is a special question, but I hope there would be an answer...
Thanks for your help in advance
Regards,
KevinSomething along this model is what I had in mind:
public class MainPanel extends JPanel
private DrawPanel drawPanel = new DrawPanel();
private JComboBox comboLeft = new JComboBox();
private JComboBox comboRight = new JComboBox();
public MainPanel()
// add drawpanel and comboboxes to main panel
// add item listener to comboboxes
private class ComboListener implements ItemListener
@Override
public void itemStateChanged(ItemEvent arg0)
if (...) // both comboboxes changed
// get values from comboboxes
drawPanel.setValues(left, right); // call drawpanel's method
public class DrawPanel extends JPanel
private int left = 0;
private int right = 0;
public DrawPanel()
//setPreferredSize(....); // set panel size
@Override
protected void paintComponent(Graphics g)
super.paintComponent(g);
//... draw the line depending on the left and right value
public void setValues(int left, int right)
this.left = left;
this.right = right;
repaint();
}
Maybe you are looking for
-
No pictures show up in iPhoto Library on my hard drive.
When I try and find my pictures on my hard drive, there is only a iPhoto Library icon but no pictures show up. I upgraded my iLife to '08 and now I can't find the folder in which my pictures are stored. I can't drag and drop the pictures from iPhoto
-
In MS Word I was able to set it up so any time I typed the name of the organization I run, Camp Aldersgate, it would automatically change the font to our branded font from our logo. The font appears in the font list, and I can select it and use it.
-
Crystal Report Viewer Control on SAP Form?
We are using Crystal Report XI to create custom SAP reports. We have integrated this into our Add-On by adding the Report Viewer Control to a Windows form and setting it's report source at runtime. This works ok but is a bit cludgy looking and caus
-
Whenclicking on a video it comes up missing plug in
When clicking on to a video on my i-mac it comes up missing plug-in
-
How do I delete/trash an Application (package)?
I am the administrator of a stand alone Mac and I need to remove a couple of apps from my hard drive completely. If I send one to the trash it re-appears in the Applications folder immediately, never showing up in the Trash folder. How do I get rid o