Syntax for sum in Smart Form based on Selection criteria in Program.
Hi,
We have created smart form for printing confirmation entries in desired format. We have given some selection criteria in the program. Now, we want to do the sum of certain fields in the smart form based on selection criteria given in program and selection screen.
But we are getting wrong sum in the smart form than expected.
When we debug the program during run time, we are getting correct records as per our expectations. But result of sum in the out put is not as per given selection criteria.
Do we need to establish link between "select option" and "Smart form"? How can we use internal table created for select option in the smart form?
Thanks & regards
Vijay
Hi,
There will be no option to sum the values in smartforms, You just have to sum and append the data to internal table and display the internal table data in the form.
Regards,
Satish
Similar Messages
-
Looking for VoIP/ phone system solution based on select criteria
1. H.323 & SIP support
2. distributed call platform integrated gateway/ controller
3. STU/ FNBDT relay over IP
4. support for both legacy TDM & VoIP
Is anyone familiar with Network Equipment Technologies, Inc. SHOUTip platform??Cisco Call Manager will suit for u r needs. Check for Product literature and Overview
http://www.cisco.com/pcgi-bin/Support/browse/psp_view.pl?p=Software:Cisco_Call_Manager&viewall=true -
Equivalent program for RIPRCS00 in smart forms.
Hi All.
Can any body please tell me what is the equivalent program for RIPRCS00 in smart forms.
Background:
This is an upgradation from 46b to ECC 6.0.Print settings to call the SAP script with print program will be done by using the transaction code OIDF. Now we want this to be developed in SmartForms the same existing program cannot be used for this.
Thank you inadvance.
USHi ,
In the alternative node conditions use like this
IF ( WA_EKKO-BSTYP EQ 'F'
AND WA_EKKO-BSART EQ 'ZSTO'
OR WA_EKKO-BSART EQ 'ZIMP'
OR WA_EKKO-BSART EQ 'ZSER'
OR WA_EKKO-BSART EQ ' ' ).
For this in the alternative node conditions
WA_EKKO-BSTYP = 'F'
WA_EKKO-BSART = 'ZSTO'
OR (By clicking the insert OR in the icons in the top )
WA_EKKO-BSART EQ 'ZIMP'
OR
WA_EKKO-BSART EQ 'ZSER'
OR
WA_EKKO-BSART EQ ' '
Let me know if any concerns.......
Regards,
Lokesh . -
Logical Expression for alternative in smart forms
Hi gurus ,
i want to add logical expression in alternative of smart forms
my condtion is like as below
if ( ekko-bstyp = 'F' and ( ekko-bsart = 'zc9d' or ekko-bsart = 'zc91' or ekko-bsart = 'zc9u' ) )
if i use the or button it is taking as ekko-bstyp = f or any of the other conditons actually it should be
bstyp = f and any one of the condtions
when i tried to write condition it is not showing syntax chekc but it is giving dump
how to write the expression
regards
afzalHi ,
In the alternative node conditions use like this
IF ( WA_EKKO-BSTYP EQ 'F'
AND WA_EKKO-BSART EQ 'ZSTO'
OR WA_EKKO-BSART EQ 'ZIMP'
OR WA_EKKO-BSART EQ 'ZSER'
OR WA_EKKO-BSART EQ ' ' ).
For this in the alternative node conditions
WA_EKKO-BSTYP = 'F'
WA_EKKO-BSART = 'ZSTO'
OR (By clicking the insert OR in the icons in the top )
WA_EKKO-BSART EQ 'ZIMP'
OR
WA_EKKO-BSART EQ 'ZSER'
OR
WA_EKKO-BSART EQ ' '
Let me know if any concerns.......
Regards,
Lokesh . -
How to trigger and change password for AD user after form based login
Hello,
We are authenticating against Active Directory with Weblogic 10.3 using FORM based security. Everything is working. I need to now change a password for an authenticated user. For example, I have set a user to have their password expire on next logon from the AD side. The user logs in but somehow I need to trap some info from Active Directory (or an LDAP conversation) to figure out if I need to force the user to change password.
Do I need to start looking at custom code with LDAP Java SDK's or can I use a canned MBean from Weblogic Server.
I am looking at http://www.mozilla.org/directory/ for LDAP.
Can I set/reset an AD user's password with an MBean like the following link?
http://download.oracle.com/docs/cd/E13222_01/wls/docs92/javadocs/index.html?weblogic/management/security/authentication/UserPasswordEditorMBean.html
If anyone has any experience with this or can point me in the right direction let me know.
If anyone else is interested please add to the tread and I'll be sure to keep the found solution(s) updated here.
Thanks...........
JJ EverettHello JJ
Please see document ID 403484.1 in http://metalink.oracle.com. This may help to understand what you are aiming to do. Cheers
-- Nathan -
Syntax for invoking servlet from form in a servlet context
Hi all,
I have a web application called A, put all related files in a directory B. I deployed
some JSPs into a directory C under B. Within a jsp called c.jsp in C, a servlet
is called in a form. What syntax should I use to call the servlet properly. For
the given web application A, the url syntax for it is http://server/A/C/c.jsp.
I used 'action=servlet', 'action=/servlet', but failed. For 'action=servlet',
the user is directed to http://server/A/C/servlet. The other is http://server/servlet.
Both are not correct. Any ideas?
Thanks,
Lijun
What is the servlet-mapping in the web.xml file? If this is your servlet mapping:
<servlet>
<servlet-name>CookieCounter</servlet-name>
<servlet-class>examples.servlets.CookieCounter</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>CookieCounter</servlet-name>
<url-pattern>monster</url-pattern>
</servlet-mapping>
Then the appropriate action is action=monster (or possibly action=../monster).
Hope this helps,
Robert
Lijun wrote:
> Hi all,
>
> I have a web application called A, put all related files in a directory B. I deployed
> some JSPs into a directory C under B. Within a jsp called c.jsp in C, a servlet
> is called in a form. What syntax should I use to call the servlet properly. For
> the given web application A, the url syntax for it is http://server/A/C/c.jsp.
> I used 'action=servlet', 'action=/servlet', but failed. For 'action=servlet',
> the user is directed to http://server/A/C/servlet. The other is http://server/servlet.
> Both are not correct. Any ideas?
>
> Thanks,
> Lijun
-
Connecter for provisioning to Oracle Form based Applications
Hi,
I would like to provision users from OIM to Oracle Form based applications.May I know which connecter I have to use?. DB Application table connecter or DB User Management Connecter?.
Also may I know in which table I need to refer to (If i am using Application Table connecter)?.Thanks.The database application table connector should work fine. Figure out which table contains the user information for the users and you should be fine.
If Oracle Forms actually uses database users just use the database user connector.
Best regards
/Martin -
Smart form dynamic tray selection on printing
Hi Experts,
I have a requirement in smart form that need to output the a particular invoice to a particular tray a printer. For e.g. tray 2.
I have added TRY02 to the resource name of the pages in the smartform, but still the invoice is being printed to the default tray of the printer.
I have done a test to that printer by printing the SAPCRIPT-TRAYTEST from SO10, and the output is being printed correctly i.e. to the different trays. So I guess the printer has been configured correctly.
Is there any additional configurations that need to be done for smart forms for the tray selection works correctly? And, is it correct the way I implemented the functionality in the smart form?
Can someone help please?
Thanks in advance
Regards,
ZaheedHi Experts,
I have a requirement in smart form that need to output the a particular invoice to a particular tray a printer. For e.g. tray 2.
I have added TRY02 to the resource name of the pages in the smartform, but still the invoice is being printed to the default tray of the printer.
I have done a test to that printer by printing the SAPCRIPT-TRAYTEST from SO10, and the output is being printed correctly i.e. to the different trays. So I guess the printer has been configured correctly.
Is there any additional configurations that need to be done for smart forms for the tray selection works correctly? And, is it correct the way I implemented the functionality in the smart form?
Can someone help please?
Thanks in advance
Regards,
Zaheed -
Key Figure based on selection criteria
Hi SDNers,
I have Key figures which i would like to display based on multiple selection criteria... for this we donot have master data data restricted at the query level it should be at the key figure leve...
Eg:
Sales which i would like to display based on SORG,DIV,MATERIal Etc.. Kindly can anyone will help...
Thanks
SonuYou can create restricted key figures if you want to use the same selection criteria in multiple queries. In which you can get value for key figure for selcted filters on that perticular key figure.
If you need it for just one query you can create a structure and in that structure you can create a new selection which has your restrictions on that key figures.
Search on help you will get to know hot to create structures and restricted key figures. -
How to transfer Customers to APO based on selection criteria of Division
Hello,
We have to transfer Customer Master specific to one business unit to APO and we don't want to transnfer the Customers of another business units. The differentiation of customers is done at a Distribution Channel & Division level. But we don't have Dist Channel & Division as a Selection criteria in Integration Model(CFM1).
The other option od Sales Org. Account Grp are common to other Business units too.
Please provide your suggestions how we can do this.
Thanks,
AshishAshish
You can manipulate the CFM1 o/p list using the BadI CIF_INT_MODEL. So you actually select all customers in the integration model and add custom logic in this badI implementation to delete the customers that you dont want to transfer . The updated CFM1 output list will then contain the customers that you want .
Actually we used this BadI for manipulating the PIR's and BOM IM's and it is working without issues
Thanks
Aparna -
Is there any direct syntax for summing two values
Friends,
I just have a problem of summing up two or more similar product_id 's quantities.
for ex: assume an Internal Table IT_PRODUCT. consider it has two fields one is PRODUCT_ID ( Primary key in Database ) and the other field is QUANTITY.
IT_PRODUCT.
PRODUCT_ID QUANTITY
I1001SA101 10
I1001SA101 20
my desired output is to sum up the similar product_id' s of the internal table and to have only one summed record in the internal Table.
IT_PRODUCT
PRODUCT_ID QUANTITY
I1001SA101 30
Is there any direct syntax to do the same or suggest me some more methods.
Pradeep.Use COLLECT statement..
Check this code...
DATA : BEGIN OF itab OCCURS 0,
matnr LIKE ekpo-matnr,
menge LIKE ekpo-menge,
END OF itab.
DATA : itab2 LIKE itab OCCURS 50 WITH HEADER LINE.
SELECT matnr menge INTO CORRESPONDING FIELDS OF
TABLE itab FROM ekpo UP TO 20 ROWS.
LOOP AT itab.
COLLECT itab INTO itab2.
ENDLOOP.
Message was edited by:
Perez C -
Page breaks in smart form based on condition
Dear all,
I want to give a page break based on month in smartform.
How can i do it.
Thanks In advance.
Regards
satish.Hello,
sorry for the delayed response,
1. Please put MAIN window first in the hierarchy. Then if you have other type of windows in your SSF will come. This is done to avoid the extra page in the output.
2. In the end of the the main window, you can create an 'Alternative' node type for page break to check the month where you need a page break, if true, you create a 'Command' node type under 'True'. In the general attributes of this 'Command' node you check the 'Go to New Page' Option.
I assume that you are working on SAP 46C
Let me know how this goes about. Hope this helps you.
Best Regards, Murugesh AS
Message was edited by: Murugesh Arcot -
Syntax for dynamic dropdown in form
I have a simple database structure with a table for venues and events.
I am trying to add a select drop down in my form to add a new event which lists the venues, and inserts the VenueID into a field in the Events table.
I have this, which I think is pretty close, but its not pulling anything through:
<select name="VenueID">
<?php
$sql = "SELECT VenueID, Venue FROM Venues ORDER BY Venue ASC";
$result = mysql_query($sql);
while ($row = mysql_fetch_array($result)) {
echo '<option value="' . $row['VenueID'] . '">' . $row['Venue'] . '</option>';
?>
</select>
Thanks for any pointers.Just to say I have it working now by explicitly referencing the DB again, i.e. adding:
mysql_connect('localhost', 'username', 'password');
mysql_select_db('database');
A connection file was referenced in the header but must have needed that too. -
I want to example for creating a smart forms
hi friend,
i want to code and step-by-step creating a smartforms i want to ASAP .
THANK AND REGRADS...Your other threads have been deleted.
Please read "the rules" before posting any further. -
What is proper syntax for using PassBack in a Report page select statement
In my select statement I reference the passBack function using:
onClick="javascript:passBack()"
In my Page Header I (Typically) define the passBack function as:
<script language="JavaScript" type="text/javascript">
function passBack(passVal1,passVal2) {
opener.document.getElementById("P2000_CABLE_ID").value = passVal1;
opener.document.getElementById("P2000_CABLE_LABEL").value = passVal2;
window.opener.location.reload(true);
</script>
But I have never used the passBack function from the Select statement before and cannot happen onto the proper syntax.
The Page Items I want to pass are:
1. :P2004_CABLE_ID
2. :P2004_LABEL
I want to pass them to:
1. :P2000_CABLE_ID
2. :P2000_CABLE_LABEL
Can someone please help me out... Again?
Thanks- GaryLet's assume column XYZ has both numbers (1), and letters (any alphabet).
I have a case statement on SQL to turn any value that's not 1 into 0, then I am getting a sum of that column.
I am also grouping by Row A, B etc to get aggregated sum of column XYZ for those group.
Now on Crystal Reports function, I need to sum up values under column XYZ for all the groups.
If I try using sum function like below, I get an error stating:
"A number field or currency amount field is required here"
(sum({Command.XYZ}))
So I thought if I can use a case statement to change the non-numbers to 0 prior to sum that will probably resolve it. But I could not get the below case statement to work either (Error: A string is required).
SELECT {Command.XYZ}
Case 1:
1
Default:
0;
Maybe you are looking for
-
Hi All, I've failed at the first hurdle. The installation program doesn't run for more than 1 minute. I get no interactive dialog boxes, all I get is a window "Program Starter" window for a couple of seconds then it goes away again. The log on the Pr
-
Error message after changing 8460p motherboard
I replaced a new motherboard on hp Elitebook 8460p with serial number - czc1293lxq Product - yq321ec#abb and when powered on it gives this error massage before booting to windows The following product information programmed into the system board is m
-
PDF files crashes with Digital Signature
Hi, I'm using Acrobat 9.1 Pro. My files are crashing any time I click on "sign document" to add a digital signature. with the send error box"Adobe Acrobat 9.1 has encountered a problem and needs to close. We are sorry for the inconvenience." Tried
-
ESS SP11 upgrade error in travel request
Dear All, We have recenlty up graded to ESS-SP11 package, The intial travel request is coming. But When I click on "dditional destination" or "Review" button , The following dump is coming. The same is happening in travel expense as well. The error i
-
Problem with EasyIn.java
Well i've found EasyIn.java but when i try to compile my HelloWorld.java program the following error message occurs, can anyone explain this? HelloWorld.java :6: cannot resolve symbol symbol: variable EasyIn location: class HelloWorld EasyIn.pause ()