Parameters syntax
Hi,
I am developing the report.
PARAMETERS: cmp_code LIKE zpayr-zbukr.
PARAMETERS: hse_bank LIKE zpayr-hbkid.
PARAMETERS: acc_id LIKE zpayr-hktid.
on the screen cmp_code appears. i need to change it to compnmay code
can u guide me the syntaxt to display title on the screen
Jeff
Hi,
Maintain Text Elements in SE38 for respecitve program by selecting the radio button Text elements and select Change.
Thanks,
Satya
Similar Messages
-
Bapi Function call from Crystal reports 2008. import parameters syntax.
Dear,
I have an issue with calling a function directly from Crystal reports (2008) in the R3 system.
(if this belongs in another thread , please add the link if moved !)
I try to get data through function "BAPI_CLASS_GET_CLASSIFICATIONS".
Till now all possible input parameters have no data-result.
I already read other threads stating that 'for example' the Language key needs to be provided in a single character. 'E' in stead of 'EN'.
I also already created a Z-wrap-function that fills out all input parameters 'hardcoded'. This works.
clearly there are som syntax changes in passing the values to R3 when called from Crystal Reports.
Can someone state which syntax has to be followed for numeric fields, for datefields etc. (so when i make these dynamical, I know which syntax should be the outcome of the formula)
in my function that doesn't work I use these selections:
(this function is called in a standard report only calling this function)
{BAPI_CLASS_GET_CLASSIFICATIONS_1.I_LANGU_ISO} = "E" and
{BAPI_CLASS_GET_CLASSIFICATIONS_1.I_LANGU_INT} = "E" and
{BAPI_CLASS_GET_CLASSIFICATIONS_1.T_CLASS_OBJECTS.OBJECT_TYPE} = "MARA" and
{BAPI_CLASS_GET_CLASSIFICATIONS_1.T_CLASS_OBJECTS.OBJECT_KEY} = "000000000000000085" and
{BAPI_CLASS_GET_CLASSIFICATIONS_1.I_CLASSNUM} = "DSWTEST" and
{BAPI_CLASS_GET_CLASSIFICATIONS_1.I_CLASSTYPE} = "001" and
{BAPI_CLASS_GET_CLASSIFICATIONS_1.I_KEY_DATE} = Date (2011, 08, 05)
I already tried other languages or the 'EN' as input.
(I would like to know how the date is passed exaclty to R3.)
The function is of course RFC enabled.
when I call the my Z-function with predefined inputparameters in R3 it does give the wanted result.
FUNCTION ZBAPI_CLASS_GET_CLASSIFICATION.
""Local Interface:
*" TABLES
*" OBJECT_CLASSIFICATION STRUCTURE BAPI_OBJECT_VALUES
*" CLASS_OBJECTS STRUCTURE BAPI_CLASS_OBJECTS
data ZOBJECT_CLASSIFICATION type TABLE OF BAPI_OBJECT_VALUES.
data ZCLASS_OBJECTS type TABLE OF BAPI_CLASS_OBJECTS WITH HEADER LINE.
ZCLASS_OBJECTS-OBJECT_KEY = '000000000000000085'.
ZCLASS_OBJECTS-OBJECT_TYPE = 'MARA'.
Append ZCLASS_OBJECTS.
CALL FUNCTION 'BAPI_CLASS_GET_CLASSIFICATIONS'
EXPORTING
CLASSTYPE = '001'
CLASSNUM = 'DSWTEST'
* KEY_DATE = SY-DATUM
* LANGU_ISO =
* LANGU_INT =
* CHARACTS_OF_CLASS_ONLY =
* IMPORTING
* RETURN =
TABLES
OBJECT_CLASSIFICATION = ZOBJECT_CLASSIFICATION
CLASS_OBJECTS = ZCLASS_OBJECTS
OBJECT_CLASSIFICATION[] = ZOBJECT_CLASSIFICATION[].
ENDFUNCTION.
please advise.
once again if this should be moved to another forum , add the link please!Dear,
I just debugged my Z-function, after adding all input parameters as in the standard BAPI function.
All parameters seems to be passed correctly except from the table parameters from
CLASS_OBJECTS
So all I_parameters are passed :
{ZBAPI_CLASS_GET_CLASSIFICATION.I_LANGU_INT} = "EN" and
{ZBAPI_CLASS_GET_CLASSIFICATION.I_LANGU_ISO} = "EN" and
{ZBAPI_CLASS_GET_CLASSIFICATION.I_KEY_DATE} = Date (2011, 08, 05) and
{ZBAPI_CLASS_GET_CLASSIFICATION.I_CLASSNUM} = "DSWTEST" and
{ZBAPI_CLASS_GET_CLASSIFICATION.I_CLASSTYPE} = "001" and
{ZBAPI_CLASS_GET_CLASSIFICATION.I_CHARACTS_OF_CLASS_ONLY.BAPIFLAG} = ""
but the table parameters aren't coming through:
{ZBAPI_CLASS_GET_CLASSIFICATION.T_CLASS_OBJECTS.OBJECT_TYPE} = "MARA" and
{ZBAPI_CLASS_GET_CLASSIFICATION.T_CLASS_OBJECTS.OBJECT_KEY} = "000000000000000085" and
these are 'blanco' in the function.
also after the function is executed and all data is retrieved, when passing the data back to Crystal reports, once again, the table result isn't passed to Crystal Reports.
please advise -
Hi,
Could somebody please help with the C# syntax for Oracle Lite. I can execute select statement without parameters, but parameterized query doesnt work. What is wrong in my code?
LiteConnection liteConn=new LiteConnection("10270_pwcoffline");
LiteCommand lcmd=new LiteCommand() ;
lcmd.Connection=liteConn;
lcmd.CommandText="Select * from ol_off_dept where office = :off";
lcmd.CommandType=CommandType.Text ;
int off = 10;
LiteParameter p1 = new LiteParameter("off", DbType.VarNumeric, "office");
p1.Value = off;
lcmd.Parameters.Add(p1);
LiteDataAdapter lad=new LiteDataAdapter(lcmd);
DataSet ds=new DataSet();
lad.Fill(ds,"TDM");
this.dataGrid1.DataSource = ds;
The error is:
System.Data.DataException: 37000[POL-5228] syntax error at Oracle.Lite.Data.LiteCommand.Prepare()
ThanksJenny,
Please let us know if you still need this post resolved.
Thank you. -
Passing parameters to FMX via windows CMD
Hi, all!
is it possible to run a form from windows command line and pass some specific parameters to that form?
for example,
start_form.bat[
c:\orawin95\bin\ifrun60.exe module=myForm *<pass parameters syntax>* userid=user1/user1_pass@oraInst
Next command showing info about using ifrun60 and I think that passing parameters to a form is not provided.
ifrun60 ?
ThanxI can not change the code of the form because it is a part of the banking system, purchased from the developer (mainly this form called from reports menu using CALL_FORM). Parameter, of course, there is, otherwise I would not ask the question.
Arun, you were right!
Yesterday's attempt to run the form failed, because perhaps I was mistaken in the name of the parameter form (case sensitive, I was taped in lower case).
So, result:
there are parameter named MST_MNEMO, and
ifrun60 module=MS_REPORTS mst_mnemo=TAX_REPORT
works as I expected, consequently, in the form you can pass any option that name is different from the parameters of IFUN60. ;)
Thanks to all.
Edited by: just me on 20.11.2009 9:58 -
How to pass arguments from command line to the .jsx
Hi, I have a .jsx file that does some scripting with photoshop. I would like to be able to call that script from the command line and pass some arguments. I have been going off of the forum at http://support.muse.adobe.com/thread/290023, mainly the last post. Here it is ...
command line example : runjavascript.vbs c:\mydirectory\test.jsx arg0 arg1 arg2 arg3
=====start runjavascript.vbs ===============
Set vbsArguments = WScript.Arguments
If vbsArguments.Length = 0 Then
WScript.Echo "Argument(0) is `your script to execute"
WScript.Echo "Arguments(0+n) are passed to your script as argument(0) to argument(n-1)"
Else
ReDim jsxArguments(vbsArguments.length-2)
for i = 1 to vbsArguments.length - 1
jsxArguments(i-1) = vbsArguments(i)
Next
Set photoshop = CreateObject( "Photoshop.Application" )
photoshop.BringToFront
'DoJavaScript has 3 parameters
' syntax DoJavaScript(arg[0], arg[1], arg[2]]
'arg[0] == javascript file to execute, full pathname
'arg[1] == an array of arguments to past to the javascript
'arg[2] == AiJavaScriptExecutionMode: aiNeverShowDebugger = 1,, aiDebuggerOnError = 2 aiBeforeRunning = 3
' only use 1
Call photoshop.DoJavaScriptFile( vbsArguments(0), jsxArguments, 1)
End IF
=====end runjavascript.vbs ===============
=======start test.jsx ====================
#target photoshop
for( n = 0 ; n < arguments.length; n++ ){
alert("argument("+ n+")= " + arguments[n]);
=======end test.jsx ====================
In summary, it calls a VBScript from the command line and passing args to the VBScript where it will run the .jsx and pass along the args to the .jsx. This is all seems to work, except that the args never make it from the command line into the .jsx and I'm having trouble narrowing down why.
I know the args are getting into the VBScript from the command line because I can successfully print them out using WScript.Echo. The VBScript then takes the args and makes a new array called jsxArguments which just holds the arguments that are to be passed on to the .jsx as the second argument in the DoJavaScriptFile().
I cannot tell if the jsxArguments is correct or not. I added an isobject(jsxArguments) check in the VBScript which fails, but if I do a WScript.Echo jsxArguments(0) it will correctly print out the contents of the array at that position.
I know that the args are not getting into the .jsx because I added a line alert(arguments.length) which prints out 0.
Any help would be greatly appreciated. Thanks.I don't use VBS so this is just a guess based on what I have read in this forum. I think when you are passing an 'array' to javascript it needs to be a variant data type. My guess your arguments are not making it to the javascript because it it the wrong data type.
-
i am not clear about the differences and where to use selection options,parameter options
SELECT-OPTIONS
Syntax
SELECT-OPTIONS selcrit
FOR {dobj|(name)}
[ screen_options]
[ value_options]
[ldb_options].
Effect
This declares a selection criterion selcrit for a data object dobj or a type specified in name. Selection criteria are components of a selection screen, to which are assigned a selection table in the ABAP program, as well as two input fields and a pushbutton for multiple selection.
The name of the selection criterion selcrit is limited to a maximum of 8 characters. This statement is allowed in the global declaration part of executable programs, function groups and module-pools. In function groups and module-pools it is only allowed within the definition of an independent selection screen. In executable programs it is otherwise automatically assigned to the standard selection screen.
The statement SELECT-OPTIONS has the following effect:
The statement declares a selection table in the program with the name selcrit. A selection table is an internal standard table with header line and standard key. In selection tables, you can save multiple logical conditions . The content of selection screens can be analyzed in a logical expression and in the expression of a WHERE-condition in Open SQL. Selection tables have the following four columns:
sign of type c and length 1. The content of sign determines for every row whether the result of the condition formulated in the column is included or excluded in the entire resulting set for all rows. Evaluable values are "I" for include and "E" for exclude.
option of type c and length 2. option contains the selection option for the condition of the row in form of logical operators. Analyzable operators are "EQ", "NE", "GE", "GT", "LE", "LT", "CP" and "NP" if column high is initial, and "BT", "NB" if column high is not initial. With the options "CP" and "NP", the data type of the columns low and high must be of the data type c, and low must contain at least one wildcard character "" or "*", in which "" masks a single character and "*" a user-defined, even empty, character chain.
low of the data type defined after FOR. This column is designated for the comparison value or the lower interval limitation.
high of the data type defined after FOR. This column is designated for the upper interval limitation.
Two input fields with the name selscrit-low and selscrit-high are created on the current selection screen using a matching external data type in a new line at positions 35 and 60. The length of the input fields bases upon the length of the data type which is defined after FOR. The maximum length of the input fields is 45. The maximum visible length of the input fields is, depending on the nesting depth, in blocks with frames between 10 and 18. If the length is larger than the maximum visible length, then the content is scrollable.
Before the first input field, an automatically generated output field
is displayed as identifier in the first possible position, whose length is, depending on the nesting depth, in blocks with frames between 20 and 30. The output field either contains the name of the selection criterion selcrit, or the selection text which is assigned to the selection criterion in the text elements of the program. If the user requests a field- or input-help on the output field using the function key F1 resp. F4, the same output is displayed as if one of the input fields is chosen.
A pushbutton multiple selection is created after the second input field. If you select this pushbutton, a dialog screen with four tabstrip control pages appears, in which the input fields are again displayed in tabular form in Table Controls. The tabstrip pages are separated based on individual value comparison, interval limitation, and settings for the column sign.
As a user, you can select an input field with a double-click on the selection screen or use the dialog screen for multiple selection. On the selection screen, you can also choose the value for column sign. On the dialog screen for multiple selection, you can do this by selecting the respective tabstrip page. If the selection option is not equal to "EQ" or "BT", then it is displayed as an icon in front of the first input field. The color of the icon is green if the content of column sign is "I", and red if it is "E".
The selection options "CP" and "NP" can be selected only if the first input field contains one of the wildcard characters "*" or "+". If one of these characters is specified, the selection option is automatically set to "CP" when there is a user action.
The attributes of the elements on the selection screen can be influenced with the statement screen_options or the statement SELECTION-SCREEN.
The first row of the selection table selcrit is linked with the input fields on the selection screen. All rows are displayed in the dialog box for multiple selection. Before sending the selection screen, the content of the selection table is transported to the selection screen and displayed in the corresponding location. If the length of columns low and high in the first row of the selection table is larger than 45, then the excessive content is cut off to the right. In remaining rows excessive content is only cut off if the dialog box for multiple selection is displayed. After an user action on the selection screen or in the dialog box for multiple selections, the content of the input fields and the selected settings are transported into the internal table, whereby several events are raised. In doing so, the content of character type fields is converted into upper case by default. All setting regarding the content of the input field can be done in value_options.
If selection criteria are defined in the selection-include of a logical database, further additions ldb_options are necessary resp. possible.
If in an executable program, a selection criterion is defined for a component of a node of the linked logical database, declared by TABLES or NODES, and the node in question is intended for free selection on the logical database, then the selection table is transferred to the logical database after selection screen processing and is treated there as a free selection. Furthermore, in this case, the input fields for the corresponding free selection are displayed directly on the selection screen, without the necessity for the user having to select them via the function free selection.
Note
If a selection criterion for data types is supplied with a length greater than 45 when calling an executable program with SUBMIT, the value of columns low and high in the first row of the selection table are then truncated to the right of position 45. The remaining rows are not truncated. The first row is also not truncated if the selection criterion is declared with the NO-DISPLAY addition.
PARAMETERS
Syntax
PARAMETERS {para[(len)]}|{para [LENGTH len]}
[ type_options]
[ screen_options]
[ value_options]
[ldb_options].
Effect
Declaration of a para parameter of length len. Parameters are components of a selection screen that are assigned a global elementary data object in the ABAP program and an input field on the selection screen.
The name of the para parameter may contain a maximum of eight characters. This statement is permitted in the global declaration part of executable programs, function groups and module pools. In function groups and module pools it is only permitted within the definition of a independent selection screen. In executable programs, it is otherwise automatically assigned to the standard selection screen.
The length len can only be specified if the data type specified in type_options is generic in terms of the length ( c, n, p and x). The length len must be specified as a numeric literal or as numeric constants. If len is not specified, the length is set to 1 for a generic data type, or else it is set to the length of the data type. From Release 6.10, it is possible to specify the length using the LENGTH addition.
In detail, the PARAMETERS statement has the following effect:
The statement declares a global variable para of the specified length in the program. The type of the data object is specified in type_options.
On the current selection screen, an input field with the same name and a suitable external data type is created in a new line at position 35. The length of the input field is aligned with the length of the parameter. The maximum length of the input field is 132. The maximum visible length of the input field is between 39 and 45, depending on the nesting depth in blocks with frames. If the len length is greater than the maximum visible length, the content is displayed as movable.
In front of the input field, in the first possible position, an automatically generated output field is displayed as a description, whose length is between 23 and 30 depending on the nesting depth in blocks with frames. The output field contains either the name of the para parameter or the selection text to which the parameter is assigned in the text elements of the program. If the user requests field or input help on the output field using the F1 or F4 function keys, the same output is displayed as when the input field itself is selected.
The attributes of the elements on the selection screen can be influenced in screen_options and with the SELECTION-SCREEN statement.
Before the selection screen is sent, the content of the para data object is transported to the input field on the selection screen. If the length of the parameter is greater than 132, the content is truncated from the right. After a user action on the selection screen, the content of the input field is transported to the data object, where various events are triggered. The content of character-type fields is converted into uppercase by default. Settings with regarding the content of the input field can be made in value_options.
If parameters are defined in the selection include in the logical database, additional ldb_options additions are necessary or possible.
Note
If a parameter with a length greater than 132 is populated by SUBMIT when an executable program is called, the value is similarly truncated from the right at position 132. It is not truncated only if the parameter is declared with the NO-DISPLAY addition.
plz reward points if dis helps... -
Hey all,
I think most people have had a chance to notice the initrd-enabled kernel looming over us in Testing. I know that it's worked flawlessly for some, and not worked at all for others.
So to all who have had problems or have questions, please share them here, even if you've already posted them elsewhere on the forum. Excuse my laziness in this regard, but it's more efficient to collect them all here.
The goal is to get these problems out of the way so we can trust the initrd kernel enough to move it into Current.
Thanks.if you don't want a module in initrd just put it to remove_modules="moduleA modulesB" and it gets removed.
That's the problem. I have REMOVE_MODULE="ide_floppy" and the module is still loaded. The mkinitrd version I'm using does not have --show option but I solved the problem meanwhile. It's about naming the module in REMOVE_MODULE. When I put ide-floppy ("-" in the place of "_") it worked. No ide_floppy module loaded. This means you have to use the real filename not the module name from lsmod output.
lanrat could you tell me which version of hwdetect does work on the notebook, then i can look what changed and breaks it now.
I was afraid you're going to ask this question (so many initscripts upgrades) :-)
I checked the pacman log and it says I had 3 upgrades of initscripts since the installation from 0.7.1-pre1:
0.7.1-2 -> 0.7.1-4,
0.7.1-4 -> 0.7.1-5,
0.7.1-5 - > 0.7.1-15
To make it easier for you I downloaded and tried all hwdetect versions from cvs. Staring from revision 1.17 backwards to revision 1.8 hwdetect --show-modules hangs up (yes, I remember there was a change of parameters syntax). Revisions 1.7 - 1.1 all work fine and show the modules.
The problem must be in this code.
I think the line:
cat `find /proc/ide -name "media"`
is the problem. I have only one file in /proc/ide called "drivers" (the notebook has one sata hard drive). The "find" command probably returns false to "cat". And cat is waiting for an input (I think). If I use "ctrl d" hwdetect continues and returns output (latest hwdetect works in this way too). IMO one additional test for find command true/false output would solve this issue. You should also check the rest of the code if it handles nonexisting devices.
PS Sorry for polluting initrd thread with hwdetect problems. Feel free to split the post and move it to apropriate thread. -
Error while sending E-Mail -- 501 Syntax error in parameters or arguments
Dear Friends,
I was trying to send E-Mail using the NTLM Authentication mechanism using the below program:
import java.util.Properties;
import javax.mail.Message;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMessage;
import javax.mail.PasswordAuthentication;
import java.util.Date;
import com.sun.mail.smtp.*;
public class MailerWithAuthentication
private String smtpServer;
private String fromEmailId;
private String toEmailId;
private String ccEmailId;
private String bccEmailId;
private String subject;
private String message;
private String host;
public MailerWithAuthentication(String toemail, String msg,String sub,String fromId,String host)
this.toEmailId = toemail;;
this.subject = sub;
this.message = msg;
this.fromEmailId=fromId;
this.host=host;
public void sendMail()
String mailContent = "";
try
Authenticator authenticator = new Authenticator();
Properties props = new Properties();
props.put("mail.smtp.host",this.host );
props.put("mail.smtp.port", "25");
props.put("mail.smtp.auth", "true");
props.put("mail.smtp.auth.mechanisms", "NTLM");
props.put("mail.smtp.auth.ntlm.flags", "0x00000200");
props.put("mail.smtp.auth.ntlm.domain","sal.ad");
props.put("mail.debug", "true");
Session session = Session.getDefaultInstance(props,authenticator);
Message msg = new MimeMessage(session);
MimeMessage message = new MimeMessage(session);
message.setContent("This is a test", "text/plain");
message.setFrom(new InternetAddress(this.fromEmailId));
message.addRecipient(Message.RecipientType.TO,new InternetAddress(this.toEmailId));
Transport.send(message);
catch (Exception e)
e.printStackTrace();
System.out.println("Exception in MailerThread : run: " + e.getMessage());
private class Authenticator extends javax.mail.Authenticator {
private PasswordAuthentication authentication;
public Authenticator() {
String username= "sal.ad\mailuser";
String password = "mail@123";
authentication = new PasswordAuthentication(username, password);
protected PasswordAuthentication getPasswordAuthentication() {
return authentication;
public static void main(String args[])
try
System.out.println(" Usage : java MailerWithAuthentication <To-Email> <Message> <Subject> <From-Email> <Mail-Server-IP>");
MailerWithAuthentication mailer = new MailerWithAuthentication (args[0],args[1],args[2],args[3],args[4]);
mailer.sendMail();
catch(Exception e)
e.printStackTrace();
Following is the output while running the program:
DEBUG: JavaMail version 1.4ea
DEBUG: java.io.FileNotFoundException: /usr/java/jdk1.5.0_14/jre/lib/javamail.providers (No such file or directory)
DEBUG: !anyLoaded
DEBUG: not loading resource: /META-INF/javamail.providers
DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
DEBUG: Tables of loaded providers
DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]}
DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]}
DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
DEBUG: !anyLoaded
DEBUG: not loading resource: /META-INF/javamail.address.map
DEBUG: java.io.FileNotFoundException: /usr/java/jdk1.5.0_14/jre/lib/javamail.address.map (No such file or directory)
Mechanishm = NTLM
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: trying to connect to host "192.168.14.6", port 25, isSSL false
220 ****************************************************************************
DEBUG SMTP: connected to host "192.168.14.6", port: 25
EHLO
501 Syntax error in parameters or arguments -
HELO
501 Syntax error in parameters or arguments -
javax.mail.MessagingException: 501 Syntax error in parameters or arguments -
=================================
The error is :
EHLO
501 Syntax error in parameters or arguments -
HELO
501 Syntax error in parameters or arguments -
=================================
Please tell me what went wrong here. Is it due to any mistake in the program ?
Thanks in advance.hello Anirudh Pucha,
thanks for your message,
i'm downloading all the files you advised and one more doubt regarding SOA installation,
i'm using BPEL Process manager 10.1.3.1.0 installed on my machine and not installed SOA Suite (problem in installing AS Middle tier), i send voice,sms through BPEL PM which works fine, and faced problem in e-mail notification only, according to me with out installing SOA suite we can use BPEL PM or please let me know the procedure to install the downloading files.
if possible please send me a details in word documents to my mail "[email protected]".
Thanks again -
I am porting a report done in CR X to CR 2008, so I can distribute it to a third party. When I preview it and enter my date parameters, I get and address not found html page. When I close this page, I get an error stating that an object was expected, line 1, char 1, code 0, URL res://ieframe.dll/syntax.htm.
The report worked great in CR X.start removing all parts to see what needs to be fixed up
-
Syntax error in profile relation while retreiving configuration parameters
Trying to get our Directory Services properly functioning after an IP change. Running
# kadmin.local -q listprincs
yesterday revealed that all service principals weren't set up properly. Dig dig dig... found that I might (since this server was originally 10.3--now it's 10.4.4) try
# slapconfig -kerberize diradmin
That pointed me in the direction of using Workgroup Manager to fix a couple things with the KerberosClient record for the server. Did that. Reran the command. It complained about an improperly formatted configuration file because it wiped the contents of edu.mit.Kerberos (took out the DNS bits). Then ran
# kerberosautoconfig -u
which resulted in
MergeLoggingInfo: creating default logging info
At this point, edu.mit.Kerberos looked good. Then I tried
# /usr/sbin/kdcsetup -f /LDAPv3/127.0.0.1 -w -a diradmin -p ** -v 1 REALM
which resulted in
Contacting the Directory Server
Authenticating to the Directory Server
Creating Kerberos directory
Creating KDC Config File
Creating Admin ACL File
Creating Kerberos Master Key
Creating Kerberos Database
Syntax error in profile relation while retreiving configuration parameters
SendInteractiveCommand: failed to get pattern
Creating Kerberos Admin user
kadmin.local: Syntax error in profile relation while initializing kadmin.local interface
Adding kerberos auth authority to admin user
Creating keytab for the admin tools
kadmin.local: Syntax error in profile relation while initializing kadmin.local interface
Adding KDC & kadmind to launchd
Adding the new KDC into the KerberosClient config record
edu.mit.kadmind: Already loaded
com.apple.kdcmond: Already loaded
Finished
Now when I try
# kadmin.local -q listprincs
I get
Authenticating as principal root/admin@REALM with password.
kadmin.local: Syntax error in profile relation while initializing kadmin.local interface
And now I'm getting this in kdc.log
Feb 07 09:41:26 od.master.fqdn krb5kdc[21234](info): AS_REQ (7 etypes {18 17 16 23 1 3 2}) xx.xx.xx.xx: LOOKINGUPCLIENT: diradmin@REALM for krbtgt/REALM@REALM, Database is locked or in use--try again later
Feb 07 09:41:26 od.master.fqdn krb5kdc[21234](info): DISPATCH: repeated (retransmitted?) request from xx.xx.xx.xx, resending previous response
Help!
Thanks,
Rich
ps. The typo in the error message is MIT's, not mine. I guess their engineering departments are better than their English department.
Xserve G5 Mac OS X (10.4.4)Look at the two config files:
/Library/Preferences/edu.mit.Kerberos
/var/db/krb5kdc/kdc.log
the Database is locked or in use message is due to a missing lock file.
Look in /var/db/krb5kdc/ for principal.kadm5.lock
Hope this gets you started
- Leland -
Syntax for defining a variable with size in changing parameters
hi,
syntax for defining a variable with size in changing parameters in the form statement.Hi prasad,
1. one option is to type it as an data element.
eg.
form abc changing myvar type char10.
endform.
where char10 is a data element with length 10 characters.
regards,
amit m. -
Syntax error in form parameters
HI,
In ECC 6.0, LIKE is obsolete , so I want to change it to TYPE. I replaced all LIKE to TYPE. In my code I call a form subroutine and in the changing parameter i have two internal tables passed. Earlier the statement was
PERFORM zz_routine USING I_VBAK
CHANGING T_VBUK[]
T_VBAP[].
where I_VBAK TYPE VBAK and
T_VBUK TYPE STANDARD TABLE OF VBUKVB.
T_VBAP TYPE STANDARD TABLE OF VBAPVB.
Now in the recieving paramters how do I mention these using TYPE
I did as follows
Form zz_routine USING value(ss_vbak) TYPE VBAK
CHANGING xt_vbuk TYPE STAnDARD TABLE OF VBUKVB
xt_vbap TYPE STAnDARD TABLE OF VBAPVB
Now, I get the syntax error
"OF" has already been declared.
What does that mean ? what is the correct way to say that I need to receive a table type data in the form ?
thnksDeclare a Table Type which you can use to reference in your Form Parameters.
Like:
types: ty_t_vbap type standard table of VBAPVB.
data: t_vbap type ty_t_vbap.
PERFORM zz_routine using ia_vbak
changing t_vbap.
Form zz_routine USING value(ss_vbak) TYPE VBAK
CHANGING xt_vbap type ty_t_vbap.
ENDFORM.
Regards,
Naimesh Patel -
Hi ,
I am getting below error frequently in alert log of database.
ORA-12012: error on auto execute of job 754461
ORA-29279: SMTP permanent error: ORA-29279: SMTP permanent error: 501 Syntax error, parameters in command "RCPT TO:" unrecognized or missing
ORA-06512: at "SYS.UTL_SMTP", line 20
ORA-06512: at "SYS.UTL_SMTP", line 98
ORA-06512: at "SYS.UTL_SMTP", line 240
ORA-06512: at "APPS.EIS_UTIL_PKG", line 94
ORA-06512: at "APPS.HKD_PO_ADDON_PKG", line 110
ORA-06512: at line 1You have a job running in the database. Its job ID is 754461
It looks as if that job runs APPS.HKD_PO_ADDON_PKG
That job is attempting to send mail using UTL_SMTP and apparently passing some strange value to SMTP server for the RCPT TO: parameter. -
SYNTAX-CHECK undocumented parsing parameters
Hello,
as I'm working for a project where we need an ABAP-Parser I was searching for something that could help us with that.
I found the statement SYNTAX-CHECK with a lot of undocumented parameters, like 'id 'STMTS'', that seem to produce something like a parsing result for a program/class.
Does anyone have any documentation about these parameters, that are not documented in the normal sap-help?
mfg
- clemens heppnerHi Roberto,
The new thing brought by BW 3.5 in start routines is:
<i>$$ end of global - insert your declaration only before this line -
The follow definition is new in the BW3.x
TYPES:
BEGIN OF DATA_PACKAGE_STRUCTURE.
INCLUDE STRUCTURE /BIC/CS<b><DS name></b>.
TYPES:
RECNO LIKE sy-tabix,
END OF DATA_PACKAGE_STRUCTURE.
DATA:
DATA_PACKAGE TYPE STANDARD TABLE OF DATA_PACKAGE_STRUCTURE
WITH HEADER LINE
WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.
FORM startup
TABLES MONITOR STRUCTURE RSMONITOR "user defined monitoring
MONITOR_RECNO STRUCTURE RSMONITORS " monitoring with record n
DATA_PACKAGE STRUCTURE DATA_PACKAGE
USING RECORD_ALL LIKE SY-TABIX
SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
CHANGING ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
$$ begin of routine - insert your code only below this line -
</i>
I could find a fix to the resulting syntax errors (due to RECNO field - cf. note 547669).
BUT, my question is: <u>how to check the syntax of a whole bunch of update rules without editing them manually one after the other?</u>
Thxs Roberto.
LauQ -
EHLO 501 Syntax error in parameters or arguments -
Hello
I have 2 hp-ux 11i boxes one production one demo.... When trying to send e-mail from the production box I am getting the following (see below) If I run the script as root on the production box it is working. Any ideas on where I populate those ehlo response fields? The messages are just going from Internal Unix boxes to an internal SMTP gateway. I have no issues with the scipt on the demo box regardless of which user is running it.
DEBUG: setDebug: JavaMail version 1.4ea
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth false
DEBUG SMTP: trying to connect to host "172.31.7.20", port 25, isSSL false
220 mydomain.com [ESMTP Server] service ready;ESMTP Server; 02/08/08 14:03:26
DEBUG SMTP: connected to host "172.31.7.20", port: 25
EHLO
501 Syntax error in parameters or arguments -
HELO
501 Syntax error in parameters or arguments -
javax.mail.MessagingException: 501 Syntax error in parameters or arguments -
0
On the demo box
DEBUG: setDebug: JavaMail version 1.4ea
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth false
DEBUG SMTP: trying to connect to host "172.31.7.20", port 25, isSSL false
220 mydomain.com [ESMTP Server] service ready;ESMTP Server; 02/08/08 14:05:16
DEBUG SMTP: connected to host "172.31.7.20", port: 25
EHLO demoglo
250-mydomain.com
250-SIZE 26214400
250-8BITMIME
250 STARTTLS
DEBUG SMTP: Found extension "SIZE", arg "26214400"
DEBUG SMTP: Found extension "8BITMIME", arg ""
DEBUG SMTP: Found extension "STARTTLS", arg ""
DEBUG SMTP: use8bit falseFor some reason (probably misconfiguration of your
machine or name service), the java.net.InetAddress
class isn't able to find out the name of your machine.
You can specify that manually by setting an
appropriate property. See the javadocs for the
com.sun.mail.smtp package.
Maybe you are looking for
-
Problem related to a column in a table?
Hi All, I have a table and two webservices.On the basis of certain search criteria,the table will get populatedwith data. In the search screen i am passing values to both the webservices. Then in return my table is getting populated with data from bo
-
Is there a Snow Leopard version of Pages available?
Is there a place to download a version of Pages that will work with Snow Leopard? If so, where and how and will it read Pages documents created in Lion?
-
Hi everyone! Instead of Japanese Characters, a series of question marks[?] were displayed on my Oracle Developer. I had setup up the NLS_LANG of the ORACLE and ORACLE1 in ORACLE_HOMES in registry to JAPANESE_JAPAN.JA16SJIS but it still display questi
-
I have posted our slides from our JavaOne Session BOF-9225 "Generic Do's and Don'ts" on my blog: http://blogs.sun.com/roller/page/ahe?entry=impressions_from_javaone I got a lot of inspiration from this forum, so thank you all! I hope to elaborate mor
-
Standard Function modules to update customer partner
Hi, Can anyone please suggest standard function modules to update customer partner functions? Was looking at Customer_insert, customer_update, CUSTOMER_UPDATE_SALES_AREA. I will have only the partner data in the customser sales view to get updated. I