Reg: How to submit out of two parameter either one should mandatory.
Hallo All,
I have a requirement in concurrent program parameter submit following conditions.
scenario:
1. I have two parameters in which atleast either one should always pass. for this case concurrent parameter should allow to submit the pgm.
2. If I missed out two marameters, Program should not allow to submit, there should pop-up message, "Please select item name or creation date parameter"
Thanks in advance.
Please guide me how to achive this scnario?
Thanks,
Velu.
Edited by: user10348287 on Mar 12, 2012 2:53 AM
Hi Anthony,
Try to connect the table with the "save FM". This FM should only execute, if it contains a text (via formula). After saving it should call the FM for displaying the selected record of the table. For initializing you can call the FM for displaying directly (use a guard condition).
Best Regards,
Marcel
Similar Messages
-
How do I set up two libraries on one pc so that we have two separate libraries for each iPhone?
Launch it with the Shift key held down, or create a second Windows user account.
(60390) -
How the process starts in XI and which one should start first ?
How the process starts in XI and which one should start first ?
XI flow :
1.File picked by the adapter,at the A.E it converts to XML format.
2.Generate a msg ID for the file and creates XI header to that file using CPA cache. CPA cache will be having the information about all the Control(address) data.
3.Module processor
4.The file goes to send queue by the adapter engine, that file will be picked by the internal XI adapter and the file will be forwarded to the Integration engine.
5.Pipeline steps follow the Integration Engine.
Receiver determination, Interface determination, Msg split, Msg mapping, Logical routing, Receiver aggrement, call adapter
6.The file will go to receive queue, which was taken and forwarded to the adapter engine. -
How to find out the SET PARAMETER ID for FB02 transaction
hi masters,
i m working on a alv report and in that i have to make a BELNR field as a interactive field. i m using the 'user command' for this.
FORM user_command USING ucomm TYPE sy-ucomm
selfield TYPE slis_selfield.
IF selfield-value IS NOT INITIAL.
CASE selfield-fieldname.
WHEN 'BELNR'.
SET PARAMETER ID 'FBAS' FIELD selfield-value.
CALL TRANSACTION 'FB03' AND SKIP FIRST SCREEN.
WHEN OTHERS.
MESSAGE text-000 TYPE 'W'.
ENDCASE.
ENDIF.
ENDFORM. "user_command
i used this code using this. using this code my program goes to FB03 tc but it don't shows the data of BELNR what i was clicked. it always shows first BELNR no. in the table. plz anyone help me for this..
the SET PARAMETER ID 'FBAS' i m using is right? if not plz suggest me how to find out correct one?Hi Vicky,
To know the Parameter Id of any field in a transaction ,
you just press F1 onthe particular field then in technical settings under Field data
you can see the PARMATER ID.
So if you check like this you can see 'BLN' as parameter id for Document number in FB03
transaction
Regards,
Manoj Kumar P -
JCA: how to find out that import parameter is structure?
Hello,
I'm using JCA to obtain import parameter of some function (com.sapportals.connector.metadata.functions.IParameter). Now, I'd like to switch program flow depend on kind of this import parameter (scalar, structure, table). Especially, I'm interested in finding out that import parameter is structure. In API I was only locate getStructure() method in IParameter. I tried to compare with null value, but it didn't solve my problem.
Best Regards,
Josef MotlI have come along this post so many times that now that I have solved it myself I will have to reply to it, even after 5 years.
MappedRecord output = (MappedRecord) ix.execute(ixspec, input);
//Now we want to read the output.
//If we deal with a structure, we get an IRecord Object
IRecord addressStructure = (IRecord) output.get("ADDRESS");
//Otherwise we would get an IRecordSet Object (Field)
I hope it will help all those searching as well.
BR
Sigi -
How to find out if two JComponents overlap?
I wanted to create very simple game, another version of arcanoid (or krakout) where player tries to hit bouncing ball with paddle so the ball will break the wall made of small bricks. so far came up with an idea that paddle will be JComponent controlled by mouse, ball will be also JComponent controlled by mouse and after a while got it ready and coded. before i'll go to bricks (which i'm also planning to do as JComponents :) i wanted to know
- how to find out when the paddle and the bouncing ball hit each other and if theres any method that returns boolean (or sth..) when any part of those components overlap so i can change the direction of the ball and take particular bricks off the screen (or will have to do it manually somehow..)?
- also wanted to know if my thinking is correct and douing it with separate classes, having the ball as a thread (changing its .location(..) on the way to move the ball) ,and controlling paddle (another class) just by MouseMotionListener is correct way to do it or there is some other standard aproach to that kind of a program
- how to control if mouse is leaving particular JPanel so i can have user stopped before and keep him inside of that Jpanel, unless he will press particular button or do something
thanks in advance for any help and sorry for probably quite confuzing explanationWell, yes, because this solution uses the bounds of the JComponent. If you want more complicated shapes, you could define a polygon for instance (java.awt.Polygon) and use it's intersects method, but then the other shape would still need to be a rectangle.
Other options include GeneralPath class and Area class, this would not limit you to rectangles. With the first class you can also draw arbitrary shapes. With the second you can do intersections, unions etc.
Have a look at http://java.sun.com/docs/books/tutorial/2d/TOC.html#display (Java2d )
Mind you, this is more complicated!
Rene' -
How to back up/sync two phones on one PC?
Aloha, This is my first post on this forum, so if I'm on the wrong board or if this has been discussed, I apologize.
About two months ago, I purchased two iPhone 3GS's (for my wife's and my use). I have been able to sync the phones individually on two different pc's, but am unable to figure out how to sync both on my desk machine (for back up/speed purposes). I can find lots of articles and instructions on how to sync one phone on multiple machines, but am unable to find info on how to do two phones on one computer.
Basically, I am unable to get the iTunes software to back up/sync the music collection on her phone--it says that all will be deleted in favor of the library (that is associated with my phone). I have tried logging in the iTunes software with her iTunes acct info, but I still get the same response.
Any information that you can provide will be greatly appreciated. For the record, our phones are both current (iPhone OS v. 3.1 [not 3.0.1]) and iTunes is v. 9.0.0.70--which according to the upgrade blurb said it has better multiple phone capabilities. (It looks and acts the same to me--so obviously, I'm not doing something right!) TIA.You cannot take itunes content from the iphone and put it on the computer. The iphone sync is one way. It is designed to sync with a computer, not as a stand alone device.]
The exception to this rule is itunes purchased content as described in an earlier post.
" If I want to mirror her iPhone on MY pc however, you're saying it can't be done?"
Yes, that is what I'm saying. The iphone is designed to reflect the content of the computer/library that it syncs with, not the other way around.
You need to copy everything to the new computer, then sync. When you sync to a different computer, it will erase itunes content from the iphone first, then sync to the new itunes library/computer.
"What's the purpose of authorizing multiple computers to connect the phone to if you can't do that?"
You don't "authorize" computers for iphone. You authorize computers to play protected itunes content on the computer.
Again, iphone will sync itunes content and pics with ONE computer at a time. This is the way it has been and continues to be.
Ipods are different, but the iphone will sync with ONE computer at a time.
As far as itunes content and pics go - the iphone mirrors the computer, not the other way around. -
How to configurate system for two database under one server
Hi Friends,
I installed abd created A database by oracle 10GR4 in window 32 bit 2003.
it works.
Then i created other B database by DBCA under this server.
When I shutdown immediate database.
it works well. But I can not startup mount ot startup A database again,
I got below message as
SQL> startup mount;
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
SQL> startup;
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
SQL> startup;
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
From EM, I saw as
A listen Status Up
LISTENER
Oracle Home
C:\oracle\product\10.2.0\db_1\BIN
Location
C:\oracle\product\10.2.0\db_1\BIN\network\admin
BUT agent connect Status
Failed
Details ORA-12505: TNS:listener does not currently know of SID given in connect descriptor (DBD ERROR: OCIServerAttach)
A database instance down
Host salerpt.net
Port 1521
SID SALERPT
Oracle Home C:\oracle\product\10.2.0\db_1\BIN
Also I try to connect as
SQL> connect sys/salel@salerpt as sysdba;
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
Form EM, I saw listen start up.
Then I stop it. then restart it
I can saw B db listen and can not see A db listen.
also
I saw that other B database works.
My listen info as***************
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\product\10.2.0\db_1\BIN)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = SALERPT.NET)(PORT = 1521))
I check physical, two database use one common bin directory .
I do not have any experience to handle two database under one oracle server.
How to check and configurate DB server system?
Thanks for help.
Edited by: user589812 on Jan 4, 2009 8:17 AMJim,
Before starting the database A, did you set ORACLE_SID=A from command line? You can run as many instances you want from single server provided you enough memory, processing power. Also try starting your instances usign window services and check and post some lines from alert.log for database A.
tnsnames.ora entry
DATABASE_A =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = salesrpt.net)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = DATABASE_A)
DATABASE_B =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = salesrpt.net)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = DATABASE_B)
)Regards
Edited by: OrionNet on Jan 5, 2009 10:55 AM -
How to handle sessions with two severs on one machine?
All,
I am having a problem with session cookies being overwritten when I host two apps on one machine running WebLogic 8.1 The apps are http://myserver:7300/app1 and http://myserver:7400/app2, and each runs in its own server.
Users will often access both apps at once, in two browser windows. If the windows are different threads in the same process, the sessions collide. For Internet Explorer, this isn't usually a problem since clicking on the shortcut multiple times launches different processes by default. Some browsers (Firefox, etc.) won't let you have two windows under different processes. Attempts to launch a second window 'detect' the existing process and appear to spawn a new thread. When this happens there appears to be no way for the users to use both apps at once.
I know this is happening because of the way session cookies are stored in the browser process' memory. The session cookies appear to me to be 'keyed' by the host name or ip address of the server. Does anyone know of a setting in WebLogic so that this 'key' includes the port or context root? Is this even something which can be controlled on the server side?
Thanks for any help,
BrianNot quite sure what your intent is, but if you want to avoid a clash how
about giving each application a different default session cookie name. -
How do I set up two iPads on one apple tv?
How do I set up two iPads on the same apple tv?
Launch it with the Shift key held down, or create a second Windows user account.
(60390) -
How to caluclate tat between two dates of one timestamp field
Hi,
could some one help how to caluclate days between two dates of single timestamp filed and with this
query
Select * from m_activity_transaction where actn_opp_id in (
Select actn_opp_id from m_activity_transaction where ACTN_ACTV_ID = 218
Group by actn_opp_id
having count(*) > 1 ) and ACTN_ACTV_ID = 218
order by actn_performed_on
iam getting output is
ACTN_ID ACTN_OPP_ID ACTN_PERFORMED_ON
319415 95831 27-JAN-12 11.06.20.000000 AM
315249 95831 08-FEB-12 05.32.54.000000 PM
301927 103509 20-DEC-11 04.01.43.000000 PM
301458 103509 19-DEC-11 04.51.03.000000 PM
294841 115840 10-JAN-12 03.20.12.000000 PM
312062 115840 11-JAN-12 05.17.06.000000 PM
and i nedd to caluclate no.of days between two dates like 27-JAN-12 11.06.20.000000 AM and 08-FEB-12 05.32.54.000000 PM where actn_id is unique AND ACTN_OPP_ID IS NOT UNIQUE.
Thanks in Advance,
vvr.This way?
with data as
select 315249 a, 95831 b, to_timestamp('27-JAN-12 11.06.20.000000 AM', 'DD-MON-RR HH.MI.SS.FF6 AM') dt from dual union all
select 319415, 95831, to_timestamp('08-FEB-12 05.32.54.000000 PM', 'DD-MON-RR HH.MI.SS.FF6 AM') from dual union all
select 301927, 103509 , to_timestamp('20-DEC-11 04.51.03.000000 PM', 'DD-MON-RR HH.MI.SS.FF6 AM') from dual union all
select 301458 , 103509 , to_timestamp('19-DEC-11 04.01.43.000000 PM', 'DD-MON-RR HH.MI.SS.FF6 AM') from dual union all
select 363810 , 144656 , to_timestamp('27-JUN-12 12.43.28.000000 PM', 'DD-MON-RR HH.MI.SS.FF6 AM') from dual union all
select 363500 , 144656 , to_timestamp('26-JUN-12 11.41.50.000000 AM', 'DD-MON-RR HH.MI.SS.FF6 AM') from dual union all
select 363354 , 144656 , to_timestamp('25-JUN-12 12.41.13.000000 PM', 'DD-MON-RR HH.MI.SS.FF6 AM') from dual
select a, b, diff
from (
select a, b, extract( day from (dt - lag(dt) over (partition by b order by dt, a)) ) diff
from data
) tab
where tab.diff is not null;
A B DIFF
319415 95831 12
301927 103509 1
363500 144656 0
363810 144656 1 -
I Down loaded two movies to watch on a flight. When I tried to watch either one of them it said " not authorized to watch this content" and it would load to watch. I donot believe I have child controls on.
I have read about some cases where movies rented or purchased on one device will not play on another device. Seems to happen mostly with Apple TV and iPads. One way some have worked around it is to cable from the downloaded device to a TV or Apple TV.
Were these movies purchased or rented from iTunes? Not sure, but that almost sounds like a iTunes Password problem. Maybe try checking that you're signed in as the same account that purchased the movies. -
How to get value with two parameter fro sharepoint list in SSRS reporting
Hi
I am using Sharepoint list and fetching data in SSRS.
Using three parameter as Department,Section and subsection.
with filter everything working fine,but if i use category All and Sub category all for particular department,unable to get record.
please let me know how to implement.
Help will be appreciated.
Hasan Jamal Siddiqui(MCTS,MCPD,ITIL@V3),Sharepoint and EPM Consultant,TCS
|
| TwitterHi Hasan,
Per my understanding you want to add mutilple value parameters to filter the data in the sharpoint list datasource report, right?
I have a test based on the step by step details information in below link and all works fine which will make the multiple value parameter works fine:
https://audministrator.wordpress.com/2014/02/17/sharepoint-list-add-distinct-parameter-value/
Add the custom code from above link
Parem1 is the parameter which get values from a query and with all the values(duplicate value),please setting as below:
Param2 is the parameter which will display in the report have done the deduplication, check the "Allow Multiple values" and then Specify the available value and default value using below expression:
=Split(Code.RemoveDups(JOIN(Parameters!Param1.Value, ",")), ",")
Add the filter and preview.
Similar thread below for your reference:
SSRS reporting with sharepoint list using Distinct and Multivalue
parameters
If i have some misunderstanding, please try yto provide more details information about your requirements.
Regards,
Vicky Liu
Vicky Liu
TechNet Community Support -
How to share library between two people on one computer
How to i share my itunes library with my son who is on my PC? Two users one pc two seperate Itunes account and it stinks.
The only way to do this would be to move the catalog and photos to a removable drive. PSE is just not designed for multi-user situations.
-
How to make project across two DVDs with one DVD menu
Hi!
I’m working on a large project (3 hours of video with about 10 chapters, over 50 pictures in a playlist, and special feature chapter) and wondering is it possible to make an project across 2 or more DVDs, but to have menu only on first one? I’d like to make an project that comes with menu only on first DVD and when you click on e.g. “special features” button, then you get the message “please insert DVD 2″
Is it possible and how to make something like that?
Thank you!I would have EACH DVD begin with a menu. Somebody will insert DVD 2 first no matter how you label things.
Yes, you are right! People just don't want to read, but I'm making an animated menu in AE and it'll take about 300MB (rendered in .mpg). That is what I want to avoid on other DVDs to save some space. You just gave me an idea so I'll make some small menu for other one or two DVDs with just a few informations about what DVD is inserted and what DVD you need to insert if you want to watch something else from that project. Thank you!
I just have to learn better Encore and its capabilities and limitations (if I have time )
Maybe you are looking for
-
I worked for a company from my home. They had an IT company that would maintain ecverything thru the network and wirelessly. I no longer work for the company but was able to keep the computer. Since I've left the company I have noticed they have acce
-
Error in Oracle BI EE Analytics when running a direct database request
This is in the Oracle Answers portion of the Analytics tool. When a query is entered into the Direct Database Query text box and the "Validate SQL and Retrieve Columns" button is clicked, the columns are indeed returned (which would seem to indicate
-
Hello Friends, has anybode came across the Belgium eVAT declaration configuration? if anybody come across please help me to find the solution for my issue? I have done the belgiam VAT declartion configuration as per the guide provided by SAP. but aft
-
Is it possible to use portal service written in Java?
Hello, I've written a certain portal service in Java and deployed it to the portal and it is working OK. My question is if it is possible for .NET developers to use it and it's method in their projects as I am using in my Java and DynPro projects. Ro
-
CS4 on Windows7 stopped working, won't start
I have regularly been using CS4 on Windows7 64 bit but today, it won't open. Windows comes up and says "stopped working" and can't find a solution. Any suggestions?