Problem creating array... help!!!
Hi everyone, Im currently trying to do a project and I am a little suck. Could anyone please help?
I have two classes. The first class is Ticket, which is an int array of 6, the other class is called TicketArray, which is an array of objetcs tickets. The ints stored on the tickets are read from an ASCII file on TicketArray class, and send samehow to the ticket object, which is later store on the TicketArray. I've got this far:
public class Ticket
private int token;
public void main(String args[], int theToken)
int num[];
num = new int[5];
token = theToken;
}and the next class is
import java.io.*;
import java.util.*;
public class TicketArray;
static BufferedReader fileInput;
public static void main(String args[]) throws IOException //exception there in case the file cannot be found.
String first;
StringTokenizer tokenizer;
int num1, index=0; int theToken;
String [] t = new String[30];
fileInput = new BufferedReader(new FileReader("Lotto.dat"));
first = fileInput.readLine();
tokenizer = new StringTokenizer(first);
int numberOfTokens = tokenizer.countTokens();
while (first!= null)
int t[] = new t[5]
int a = new Ticket(int t[], num); //// PROBLEM HERE
while (tokenizer.hasMoreTokens())
for (index = 0; index< s.length; index++)
theToken = Integer.parseInt(tokenizer.nextToken());
s[index] = theToken;
System.out.println(t[i] + " " + numberOfTokens);
t[index] = new String(first);
index++;
first = fileInput.readLine();
fileInput.close();
System.out.println("File read and closed");
and then i saw you do this
t[index] = new String(first);
t is an int array, so you are trying to assign a string to an int, which also wont work.
Edited by: mkoryak on Nov 16, 2007 2:33 PM
also you say this:
int num[];
num = new int[5];
this initializes an int array of 5 and then throws it away as soon as the constructor main method returns. i dont think you want that. you should the declairation up top where the int token is.
ok, so you dont have a constructor for the ticket class that matches the one you are trying to use.
i think you may need to go back to the examples, you have more problems in this code then there is lines of code.
Edited by: mkoryak on Nov 16, 2007 2:34 PM
Similar Messages
-
Hi,
I am trying to create a search help for a Z table. I have just given the search help parameters and flagged the input and output parameters for these fields. However when i try to activate the searchhel it throws me an error sayin "Elementary search help without hit list is meaningless". Is this because this is a Z table with Z fields?You can attach to data-element and to field in table/view definition (tab fields, select field and click on "search help" to change default attachment) - only useful if you want to get another search help that the default one attached to data-element. (look at [Help from the ABAP Dictionary|http://help.sap.com/saphelp_470/helpdata/en/9f/dbaa5435c111d1829f0000e829fbfe/frameset.htm])
If you want that other fields be provided to the search help, define those as input/output parameters of the search help and don't forget to check ddic ref box in the definition of the dynpros.
Regards,
Raymond -
gmail on iphone was working fine until yesterday when it prompted me with the message "cannot get mail user name or password for gmail is incorrect", i have tried deleting the account and re-created a new account, same problem, can anyone help?
paulcb, you're a genius, it worked, thank you so much, you don't know how much stress you have taken off my shoulders, I am constantly on my email in my iphone everyday. Thanks a million, take care. Robert.
-
Movie 11 will not play any of the projects I have created over the past several months. It will play iMovie events. Anyone else having this problem? Please help - Thanks
Thanks for the suggestion...
I just got back from the Apple Store for the second visit with the Mac Genius to try to resolve the problem.
First visit we trashed the iMovie 11 application and reinstalled iMovie and ran a software update. Upon relaunching we were pleased that all projects and events ran perfectly from both the HD and the Drobo.
After lugging my 27" iMac back home and restarting it the same problem appeared. I returned to the Apple store for a second visit. This time I left the iMac at the store overnight. The apple service guys were able to duplicate the problem and wiped my hard drive. There appears to be a bug with iMovie 11 (not confirmed) and an elevated report was submitted to Apple engineers.
I am leaving my "old" projects and events on the external drive unless I need to import them. I am not going to restore from back up and will use a "clean" version of iMovie11. No guarantees the problem won't come back. This issue consumed a TON of my time.... hopefully Apple can fix iMove11. -
Using iDVD I've no problem creating a slideshow, but am having problems trying to add three seperate sound files in this case three speeches that I hold in iTunes. I want to be able to access them individually and seperately from the photo slideshow. Can anyone advise if this can be done and if it can, how I go about creating the seperate menu and buttons.
If you'd like to integrate the speeches with the slideshow, I'd do that in iMovie where you'll have more control over the timing. Use chapter markers at the beginning of each speech so the viewer can jump to a particular speech (note that chapter markers advance the viewer to a particular spot -- the viewer keeps watching the rest of the video until the end of everything or until they use the remote's menu button).
If you're just wanting the speeches to be on the DVD so people can listen to the speeches after seeing your slideshow, you could:
- use iDVD or iMovie to make a "slideshow" with just 1 image matching the length of a speech.
- create three submenus and use the speeches as menu music. Here's a (random) video on creating submenus:
http://www.youtube.com/watch?v=DlhQSb_D5kc
John -
Hello,
I am quite new to Diadem and have some issues creating arrays. I am about setting up a pressure controle. Using starting pressure I determine a voltage between 0..10V to get this pressure. For instants: 50 bar correspond to a voltage of ca. 1.429 V. Due to the pressure I get a deformation of a piece, which needs to be linear, so I have to controle the pressure using the voltage. If the deformation runs to fast I obviously need to decrease the pressure, though the voltage. I used a formule Ds1+R1 wher Ds1 is the starting voltage and R1 the voltage which results from the difference of the real deformation and the wished deformation. For instance, the first step is the starting pressure plus lets say 0,5 V which gives 1,929V. This value I need to save to get the next pressure after. The way I chose always uses the starting pressure plus the voltage difference, which is wrong, so I thought to create arrays but I do not know how. Does anyone have clue? Hope to have explained the problem properly, otherwise just ask. I am using Diadem 8.0
Thx
dHi dirkounet,
Just to clarify, are you in fact asking for help in doing the above with a DIAdem-DAC block diagram? Or are you perhaps asking about processing the data resulting from such an experiment? The answers to these two questions are quite different, and I can unfortunately only help you with the latter, though others can help you with the former.
Brad Turpin
DIAdem Product Support Engineer
National Instruments -
Portal crashes and intermittant problems..urgent help needed.
Portal Runtime Error
An exception occurred while processing a request for :
iView : pcd:portal_content/administrator/super_admin/super_admin_role/com.sap.portal.system_administration/com.sap.portal.system_admin_ws/com.sap.portal.themes/com.sap.portal.theme_editor/com.sap.portal.styleeditor
Component Name : null
Page could not create the iView.
I briefly describe the system setup.
sptltrex = central instance
sptl1 = app1
sptl2 = app2
sptldb = database instance.
sptltrex built with virtual name ourworld-0
sptldb built with virtual name ourworld-db
System setup with Oracle dataguard feature, so ourworld-0 and ourworld-db can fail over to disaster recovery systems sptldr and sptldevdb at another site. Although we installed using the SAPINST_USE_HOSTNAME for SCS/central instance the visual administrator and message server still pick
up sptltrex. We though setting the SAPLOCALHOSTFULL to ourworld-0.sap.serco.com had fixed this issue, but this generated many iview errors that
could not be found. When the SAPLOCALHOSTFULL was backed out everything
began to display again. Although there is still intermittant errors of screens not acting as required.
message server output
http://sptltrex:8100/msgserver/text/logon
version 1.0
J2EE1666800
J2EE sptl2.sap.serco.com 50000 LB=2
J2EES sptl2.sap.serco.com 50001 LB=2
P4 sptl2.sap.serco.com 50004 LB=2
P4S sptl2.sap.serco.com 50006 LB=2
J2EE13975600
J2EE sptltrex.sap.serco.com 50100 LB=2
J2EES sptltrex.sap.serco.com 50101 LB=2
P4 sptltrex.sap.serco.com 50104 LB=2
P4S sptltrex.sap.serco.com 50106 LB=2
P4HTTP sptltrex.sap.serco.com 50105 LB=2
JC_ourworld-0_PP1_01
SDM ourworld-0 50118
We have had numerous OSS messages for various continuing problems on the system. Today we have an complete up-to-date as possible patched system. SPS 9 with all the latest sub patches also. We have installed AIX TL 05 with service pack 2 so oslevel -s shows 5300-05-02 + a related db APAR, the IBM java JDK is SRS06. Full earlywatch go-live check parameters and options have been completed.
But still we have problems.
can anybody help......it's urgent....
thanks
saurabhhi!!
We have a 3-server portal installation with one j2ee dispatcher and two
j2ee servers on each server.
We are experiencing major issues with the consistency or
synchronisation between the servers and availability of portal applications.
For example the themes editor is only available on sptl1 server0, so if
you are lucky and log onto that server you can use this application.
THIS IS ONE OF MANY examples of this type of issue. How can we ensure
that the landscape is consistent? Screen shots from sptl1 showing the
themes application being available and not available.
A simple look at the filesystem reveals the following, and only the
themes editor directory and contents are on sptl1.
JSPM deployment finished successfully.
sptl1:root:/ > find / -name "com.sap.portal.themes.editor" -print
/usr/sap/PP1/J00/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/portal/portalapps/com.sap.portal.themes.editor
/usr/sap/PP1/J00/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/portalapps/com.sap.portal.themes.editor
sptl1:root:/ > ssh sptl2 find / -name "com.sap.portal.themes.editor" -
print
sptl1:root:/ > ssh sptltrex find / -
name "com.sap.portal.themes.editor" -pri>
thanks
saurabh -
Problem creating Allocation Table with Reference to a PO
Dear Folks,
I am having problems creating an allocation table with reference to a PO in T-code WA01.
I read the SAP help that some prerequisites need to exist:
==> You can only reference order items flagged as being relevant to a stock split (the Allocation table relevant indicator in the additional item data).
Can anyone advice me where to find this stock split indicator?
Also, can anyone advice me how to reuse an allocation table? For example, I had previously created an allocation table with many articles and various allocation rules. I already generated follow on documents for this table.
Say after 2 weeks, I have the similar requirements that I can make use of the same table, only with minor adjustments to the quantity. How do I create a new allocation table using the existing allocation table data?
Thanks and Regards
JunwenAny idea please?
thanks -
Problem creating Network ACL for a ROLE in Oracle 11gR2
According to Oracle Documentation when you create a new Network ACL you can add privileges to a user or role. I need to create a new ACL for the UTL_SMTP package for a specific role, but when I granted it the users who have that role are still getting the "ORA-24247: network access denied by access control list (ACL)" error when they try to send an email. If I grant the ACL privilege to the same users directly it works fine. Is there any step I'm missing? This is the test I have made on my Solaris 10 - Oracle 11gR2 (11.2.0.3) Standard Edition server:
SQL*Plus: Release 11.2.0.1.0 Production on Wed Aug 21 09:31:52 2013
Copyright (c) 1982, 2010, Oracle. All rights reserved.
SQL> CONNECT system/******@testdb
Connected.
SQL> SET LINES 1000
SQL> SELECT * FROM v$version;
BANNER
Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE 11.2.0.3.0 Production
TNS for Solaris: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
SQL> COLUMN host FORMAT A20
SQL> COLUMN lower_port FORMAT 99999
SQL> COLUMN upper_port FORMAT 99999
SQL> COLUMN acl FORMAT A40
SQL> COLUMN acl FORMAT A40
SQL> COLUMN principal FORMAT A15
SQL> COLUMN privilege FORMAT A10
SQL> COLUMN is_grant FORMAT A8
SQL> COLUMN status FORMAT A10
SQL> SELECT host, lower_port, upper_port, acl FROM dba_network_acls;
no rows selected
SQL> SELECT acl,principal,privilege,is_grant FROM dba_network_acl_privileges;
no rows selected
SQL> CREATE USER testacl IDENTIFIED BY testacl;
User created.
SQL> GRANT CONNECT TO testacl;
Grant succeeded.
SQL>
SQL> BEGIN
2 dbms_network_acl_admin.create_acl('test_smtp.xml','TEST SMTP ACL','TESTACL',true,'connect');
3 dbms_network_acl_admin.assign_acl('test_smtp.xml','localhost',25);
4 commit;
5 END;
6 /
PL/SQL procedure successfully completed.
SQL> SELECT host, lower_port, upper_port, acl FROM dba_network_acls;
HOST LOWER_PORT UPPER_PORT ACL
localhost 25 25 /sys/acls/test_smtp.xml
SQL> SELECT acl,principal,privilege,is_grant FROM dba_network_acl_privileges;
ACL PRINCIPAL PRIVILEGE IS_GRANT
/sys/acls/test_smtp.xml TESTACL connect true
After creating this ACL I test it like this:
SQL> CONNECT testacl/testacl@testdb
Connected.
SQL> SELECT host, lower_port, upper_port, privilege, status FROM user_network_acl_privileges;
HOST LOWER_PORT UPPER_PORT PRIVILEGE STATUS
localhost 25 25 connect GRANTED
SQL> DECLARE
2 c utl_smtp.connection;
3 BEGIN
4 c := utl_smtp.open_connection('localhost', 25); -- SMTP on port 25
5 utl_smtp.helo(c, 'localhost');
6 utl_smtp.mail(c, 'Oracle11.2');
7 utl_smtp.rcpt(c, '[email protected]');
8 utl_smtp.data(c,'From: Oracle'||utl_tcp.crlf||'To: [email protected]'||utl_tcp.crlf||'Subject: UTL_SMTP TEST'||utl_tcp.crlf||'');
9 utl_smtp.quit(c);
10 END;
11 /
PL/SQL procedure successfully completed.
SQL>
This works fine and I receive the email correctly. Now if I try to do the same thing for a role:
SQL> CONNECT system/******@testdb
Connected.
SQL> BEGIN
2 dbms_network_acl_admin.drop_acl('test_smtp.xml');
3 commit;
4 END;
5 /
PL/SQL procedure successfully completed.
SQL> SELECT host, lower_port, upper_port, acl FROM dba_network_acls;
no rows selected
SQL> CREATE ROLE testacl_role;
Role created.
SQL> GRANT testacl_role TO testacl;
Grant succeeded.
SQL> ALTER USER testacl DEFAULT ROLE ALL;
User altered.
SQL>
SQL> BEGIN
2 dbms_network_acl_admin.create_acl('test_smtp.xml','TEST SMTP ACL','TESTACL_ROLE',true,'connect');
3 dbms_network_acl_admin.assign_acl('test_smtp.xml','localhost',25);
4 commit;
5 END;
6 /
PL/SQL procedure successfully completed.
SQL> SELECT host, lower_port, upper_port, acl FROM dba_network_acls;
HOST LOWER_PORT UPPER_PORT ACL
localhost 25 25 /sys/acls/test_smtp.xml
SQL> SELECT acl,principal,privilege,is_grant FROM dba_network_acl_privileges;
ACL PRINCIPAL PRIVILEGE IS_GRANT
/sys/acls/test_smtp.xml TESTACL_ROLE connect true
SQL>
And now I test it again with the same user:
SQL> CONNECT testacl/testacl@testdb
Connected.
SQL>
SQL> SELECT host, lower_port, upper_port, privilege, status FROM user_network_acl_privileges;
no rows selected
SQL> DECLARE
2 c utl_smtp.connection;
3 BEGIN
4 c := utl_smtp.open_connection('localhost', 25); -- SMTP on port 25
5 utl_smtp.helo(c, 'localhost');
6 utl_smtp.mail(c, 'Oracle11.2');
7 utl_smtp.rcpt(c, '[email protected]');
8 utl_smtp.data(c,'From: Oracle'||utl_tcp.crlf||'To: [email protected]'||utl_tcp.crlf||'Subject: UTL_SMTP TEST'||utl_tcp.crlf||'');
9 utl_smtp.quit(c);
10 END;
11 /
DECLARE
ERROR at line 1:
ORA-24247: network access denied by access control list (ACL)
ORA-06512: at "SYS.UTL_TCP", line 17
ORA-06512: at "SYS.UTL_TCP", line 267
ORA-06512: at "SYS.UTL_SMTP", line 161
ORA-06512: at "SYS.UTL_SMTP", line 197
ORA-06512: at line 4
SQL>
I'm aware that role privileges doesn't apply inside procedures, functions or packages by default, but this is an anonymous block so it should use the active roles for the user. I also tried adding a "dbms_session.set_role('TESTACL_ROLE');" at the beggining of the anonymous PL/SQL block but I got the same access error.
Thanks in advance for any help you can give to me on this question, it would be very hard to grant the ACL to all the individual users as they are more than 1000, and we create more regularly.Thanks for your quick reply... I don't have a problem creating the basic ACL with the privileges granted for a user. The problem appears when I try to create an ACL with privileges for a ROLE. You can see here http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/d_networkacl_adm.htm#BABIGEGG than the official Oracle documentation states that you can assign the ACL principal to be a user or role:
Parameter
Description
acl
Name of the ACL. Relative path will be relative to "/sys/acls".
description
Description attribute in the ACL
principal
Principal (database user or role) to whom the privilege is granted or denied. Case sensitive.
My issue is that when I try to create the ACL for a role it doesn't work.
Have you ever created an ACL for a role? if so please send me an example or let me know which step I might be missing. Cheers. -
On photoshop element 12 when I open a .MTS file I have the sound with a black screen if I open a .mov it work fine I have uninstall and reinstall I still have the same problem can you help?
I have find the codec installed on my PC do you see an undesirable one I have highlighted the one that seems strange should I uninstall how can I do this safely
Daniel
Codecs audio
Type
Nom
Format
Binaire
Version
ACM
Codec Microsoft IMA ADPCM
0011
ACM
CODEC A-Law et u-Law Microsoft CCITT G.711
0007
ACM
Codec audio Microsoft GSM 6.10
0031
ACM
Codec Microsoft ADPCM
0002
ACM
Fraunhofer IIS MPEG Layer-3 Codec (decode only)
0055
ACM
Convertisseur PCM Microsoft
0001
DMO
WMAudio Decoder DMO
0160, 0161, 0162, 0163
WMADMOD.DLL
6.1.7601.17514
DMO
WMAPro over S/PDIF DMO
0162
WMADMOD.DLL
6.1.7601.17514
DMO
WMSpeech Decoder DMO
000A, 000B
WMSPDMOD.DLL
6.1.7601.17514
DMO
MP3 Decoder DMO
0055
mp3dmod.dll
6.1.7600.16385
Codecs vidéo
Type
Nom
Format
Binaire
Version
ICM
Microsoft RLE
MRLE
msrle32.dll
6.1.7601.17514
ICM
Microsoft Vidéo 1
MSVC
msvidc32.dll
6.1.7601.17514
ICM
Microsoft YUV
UYVY
msyuv.dll
6.1.7601.17514
ICM
Codec Intel IYUV
IYUV
iyuv_32.dll
6.1.7601.17514
ICM
Toshiba YUV Codec
Y411
tsbyuv.dll
6.1.7601.17514
ICM
Codec Cinepak de Radius
cvid
iccvid.dll
1.10.0.13
DMO
Mpeg4s Decoder DMO
mp4s, MP4S, m4s2, M4S2, MP4V, mp4v, XVID, xvid, DIVX, DX50
mp4sdecd.dll
6.1.7600.16385
DMO
WMV Screen decoder DMO
MSS1, MSS2
wmvsdecd.dll
6.1.7601.17514
DMO
WMVideo Decoder DMO
WMV1, WMV2, WMV3, WMVA, WVC1, WMVP, WVP2
wmvdecod.dll
6.1.7601.18221
DMO
Mpeg43 Decoder DMO
mp43, MP43
mp43decd.dll
6.1.7600.16385
DMO
Mpeg4 Decoder DMO
MPG4, mpg4, mp42, MP42
mpg4decd.dll
6.1.7600.16385
De : sarika02
Envoyé : 17 juin 2014 19:26
À : Daniel Cloutier
Objet : On photoshop element 12 when I open a .MTS file I have the sound with a black screen if I open a .mov it work fine I have uninstall and reinstall I still have the same problem can you help?
On photoshop element 12 when I open a .MTS file I have the sound with a black screen if I open a .mov it work fine I have uninstall and reinstall I still have the same problem can you help?
created by sarika02 <https://forums.adobe.com/people/sarika02> in Photoshop Elements - View the full discussion <https://forums.adobe.com/message/6466796#6466796> -
Problem in Application Help Configuration in Solution Manager
Hi Experts,
Here I facing one problem during Application Help configuration..
When I am going through application help for Solman Configuration it's taking me to standard erp help..
Where as in SR13, under PlainHtmlHttp,
In path tab I had given <b>saphelp_sm40/helpdata</b> for solution manager document.
But for other standard t-code it's giving actual application help.
where for SMSY,SOLAR01 etc i am not getting the application help.
Looking for advices.
Thanks & Regards,
Sumanta ChatterjeeDear Sumanta,
This depends on how you want to (or how you can) use this http://help.
sap.com site.
At first you must be aware of the different areas on this site, these
areas have different URL structures, for example:
- http://help.sap.com/saphelp_erp2004 <<< for mySAP ERP
- http://help.sap.com/saphelp_47x200 <<< for R3 Enterprise
- http://help.sap.com/saphelp_nw04 <<< for SAP NetWeaver 04
- http://help.sap.com/saphelp_sm32 <<< for SAP Solution Manager 3.2
The main problem is that in the area "http://help.sap.com/saphelp_sm32"
there is only online documentation for the Solution Manager
functionality.
Can you please check the table SBAON_CCHK with transaction SE16.
The following record must exist:
MANDT COMPONENT NAME_EN
xxx ST Solar Help
If this record does not exist, please create this record manually.
This should help resolve the issue.
Regards
Amit -
Adobe Content Viewer problem. Please Help me...
Hi after updating online. Folio, I tried to update the trial version of the publication on my iPad but I get this message: "the issue isavailable for dowload, but new signing for an application version. Update the application from the App Store. "I went to the AppStore and was not any update of the Content Viewer ... I deleted the version on my iPad I downloaded again ... but without success gives me the same problem ... Please help me ... how can I do??
thanksHello Bob and thank you for responding so quickly ... Would you be kind enough to send me the link where I can download older versions of Folio Builder and Folio Producers Panel tools for InDesign 5.5. I'm looking for them but I can not find them.
Thank you for your patience.
Il giorno 21/gen/2012, alle ore 16:18, Bob Levine ha scritto:
Re: Adobe Content Viewer problem. Please Help me...
created by Bob Levine in Digital Publishing Suite - View the full discussion
As discussed in numerous threads already, the new viewer has not been approved by Apple yet.
If you’re a pro or enterprise customer you can create your own viewer app. If not, you’ll have to wait or roll back to the older tools.
Bob
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4155907#4155907
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4155907#4155907. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Digital Publishing Suite by email or at Adobe Forums
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746. -
Problem Creating VirtualProviders Based on the DTP
Problem Creating VirtualProviders Based on the Data Transfer Process .
(1) I have created an Data Source(extract structure and extractor) on SYS1. Tested the extractor. It returns data as desired.
(2) Then I replicated this Data Source to SYS2.
(3) In SYS1 I created InfoCube(VirtualProvider based on data transfer process for direct access) .
Till this point I have no issues .
(4) But after that I am not able to "Create Data Transfer Process" for this Virtual Infoprovider . When I try to create DTP the DTP type available for selection is "Scheduled" where as per the documentation I need to create DTP of DTP type "DTP for Direct Access".This DTP type I donot see.
Is it a problem with the BW configuration or some user error.Any suggestions which may help would be realy appreciated.
Thanks & Regards,
priyadarshiCorrected some typo in my earlier update...
Problem Creating VirtualProviders Based on the Data Transfer Process .
(1) I have created an Data Source(extract structure and extractor) on SYS1. Tested the extractor. It returns data as desired.
(2) Then I replicated this Data Source to SYS2.
(3) In SYS2 I created InfoCube(VirtualProvider based on data transfer process for direct access) .
Till this point I have no issues .
(4) But after that I am not able to "Create Data Transfer Process" for this Virtual Infoprovider . When I try to create DTP the DTP type available for selection is "Standard(Scheduled)" where as per the documentation I need to create DTP of DTP type "DTP for Direct Access".This DTP type I donot see.
Is it a problem with the BW configuration or some user error.Any suggestions which may help would be realy appreciated.
Thanks & Regards,
priyadarshi -
Graphical Mapping Problem : Create Segments by conditions
Hi,
i have a problem while mapping an incoming invoice to IDoc Invoic02. I had to create some Segments (E1EDP02) on basis of identifiers in the incoming message. I hope the following example i created will help to understand my exact problem:
EXAMPLE MESSAGE:
<invoice>
<document>
<position>
<line>
<posnum> 1 </posnum>
<IMD>
<ident> Name </ident>
<val> Maxx </val>
</IMD>
<IMD>
<ident> Age </ident>
<val> 19 </val>
</IMD>
<IMD>
<ident> Gender </ident>
<val> Male </val>
</IMD>
</line>
</position>
<position>
<line>
<posnum> 2 </posnum>
<IMD>
<ident> Name </ident>
<val> Tina </val>
</IMD>
<IMD>
<ident> Age </ident>
<val> 28 </val>
</IMD>
<IMD>
<ident> Gender </ident>
<val> Female </val>
</IMD>
</line>
</position>
</document>
</invoice>
THE RESULT I WANT:
<invoic02>
<E1EDP01>
<SEGMENT> </SEGMENT>
<POSEX> 1 </POSEX>
<E1EDP02>
<SEGMENT> </SEGMENT>
<QUALF> 021 </QUALF>
<BELNR> 19 </BELNR> // THIS should be the Age
</E1EDP02>
<E1EDP19>
</E1EDP19>
</E1EDP01>
<E1EDP01>
<SEGMENT> </SEGMENT>
<POSEX> 2 </POSEX>
<E1EDP02>
<SEGMENT> </SEGMENT>
<QUALF> 021 </QUALF>
<BELNR> 28 </BELNR> // THIS should be the Age
</E1EDP02>
<E1EDP19>
</E1EDP19>
</E1EDP01>
</invoic02>
I tried to different ways to get the above result but i failed
My first try:
ident -------|--- equalsS ------ createIf ---- E1EDP02
Constant[000] --------- SEGMENT
Constant[Age]--|
ident -------|--- equalsS ------ ifWithoutElse ---- QUALF
Constant[Age]--| |
|
Constant[021]
ident -------|--- equalsS ------ ifWithoutElse ---- BELNR
Constant[Age]--| |
|
val
Result:
The E1EDP02 Element will not created reliable. Sometimes it is there sometimes not dunno why ? Any Idea ?
My second try:
IMD -------------- E1EDP02
Constant[000] --------- SEGMENT
ident -------|--- equalsS ------ ifWithoutElse ---- QUALF
Constant[Age]--| |
|
Constant[021]
ident -------|--- equalsS ------ ifWithoutElse ---- BELNR
Constant[Age]--| |
|
val
Result:
Now every E1EDP01 Element has two E1EDP02 Elements. One correct one and an empty one with only a segment element. Is there a way to delete this empty elements ?
Any ideas to create a working mapping ?
Thanks@Liang Ji
When i do this i have only the first E1EDP01 Element
@Tarang Shah
Which function i had to use for this ?
Thank you -
Problem creating transactional iview for BW system
Hi gurus
We are facing one problem creating a transactional iview for a BW 3.5 system . We wanto to call transaction SU01 in our BW system using an iview. When we use SAP for html, we have all the menu on the iview , I mean the same result as if we use smen, not SU01.
And if we use SAP GUI , we are always having the same GUI Error
Sapgui 640 [Build 8986] Wed Apr 01 12:25:05 2009
: 'service '' unknown
Time Wed Apr 01 12:25:03 2009
Component NI (network interface)
Release 640
Version 37
Module ninti.c
Line 505
Method NiPGetServByName2: service '' not found
Return Code -3
System Call getservbyname_r
Counter 1
Please, can you help us?
Thanks in advance and best regards.Thanks Bala for your quick reply. I´ve tried with function module RSBB_URL_PREFIX_GET and all the settings were OK. Still the same result.
Adding more information. We have another WAS 6.40 server with different Module(we have RM and XRPM , not BW) and we are having the same problems. I am wondering if its related with some special config or activation
Maybe I´ve forgot some service activation in SICF? I´m able to reach the SMEN, but not the SU01
or I´m missing some config elsewhere?
Thanks in advance.
Best regards.
Edited by: Jose Ignacio Arlandis on Apr 2, 2009 8:41 AM
Maybe you are looking for
-
Help needed in creating an autorun CDR
I want to create a CD that will play in both a PC and a MAC, that is basically an offline copy of a website I have built and will automatically open the index.html page of this website when loaded into either a PC or a MAC. I have created an autorun
-
Session overlapping in caf services
Hi, I am using stateful session bean in caf application services to store user related data. And i am using this caf application service in web dynpro. But when i have tested from two different machines, data is overlapping. can any one tell me how t
-
same as headline
-
IPhone 5 and Verizon customer Service Nightmare Please help!
I need help with Verizon customer service. I would like to know if I am being unreasonable. Here is my story. I ordered an iPhone 5 from apple to add to my Verizon account. This will be my fourth line of service with Verizon. I spend over 200 dollars
-
How do I get the Up to date OSX?
Hi, so I've tried to get the free download of the OSX Lion, as I bought my MacBook in June, but it never goes through. I've tried to redo it but now it says that I cant because I already registered my MacBook to get the update. Help, please?