Sup Blackberry - input parameter error

Hi ,
I am developing a blackberry application which fetches data from sap and displays it .
It works fine when i give default value for my order number .
when i create a editbox and map it to my parameter and then on click of a button i want to match the value entered in the editbox and display the result according to that value it throws a error saying input parameter is required , when i have entered value for that .
i am using synchronization parameter concept for fetching the data at run time .
how can it be done .
Regards .

Hi,
This can be done and I did that a lot of times now. I know its not documented anywhere and even I tried to figure out for almost 3 days before I could achieve it.
Actually the process includes creating a synchronization parameter for an MBO and mapping it to input/import parameters on MBO and then mapping these synchronization parameters to screen elements.
Steps, considering a scenario where you want to display order details based on order number entered by user in a Edit box and on click on DISPLAYDETAILS button :
1. Create MBO using some RFC/BAPI
2. Go to properties and add synchronization parameters. May be you can prefix them with SV_ORDER just to understand that it is a synchronization parameter.
3. Then you need to map the synchronization parameter to the input parameters on the MBO. With that your MBO is ready and you can deploy it.
4. Now coming to device applicaiton, create a screen with a edit box and a button. Now go to button properties and there you can add various actions. One of the action is Sycnrhonize, select that and then it launches the wizard. In that wizard you need to map the edit box to the synchronization parameter SV_ORDER which you created in 2nd step.
5. Deploy the application and you are all set to go.
Regards,
Siva.

Similar Messages

  • Input parameter error: "string too long"

    Hi,
    SAP4Rails and SAPNWRFC run really well now, and I have not experienced a problem for a long, long time.
    However, in an RFC I want to use, there is an import parameter (a plain value), which is of the type SYSUUID. The definition of this type says
    <Format - Data Type "RAW" - No. characters "16"> and <Output Characteristics - Output Length "32">. Locally it works with 32 characters of input, but if I try to call the RFC through SAP4Rails, the error "RfcSetByte string too long" occurrs. Any idea, why this could be?
    Thanks a lot in advance,
    Bernd

    This maybe a bug - if you can compile your own sapnwrfc can you try finding the following code:
        if (RSTRING(value)->len > max)
            rb_raise(rb_eRuntimeError, "RfcSetByte string too long: %sn", StringValueCStr(value));
    and changing it to:
    code]
        if (RSTRING(value)->len > max*2)
            rb_raise(rb_eRuntimeError, "RfcSetByte string too long: %s\n", StringValueCStr(value));
    [/code]
    and let me know what effect that has.
    Cheers.

  • Log Error : Invalid Input Parameter %s for every SAP B1 Client

    Hi Everybody,
    in my company we have performed SAP B1 upgrade from 2007A to 8.81 PL07, in two steps upgrading first to PL04.
    Everything is working fine for all our clients, we are able to post and work normally with the system.
    The only annoying problem is an error message coming up every minute for every client in the log:
    SQLMessage       Error              I     Technical     Invalid input parameter: %s # #     MID=-1     BOID=-1     BO=     UserID=manager     C:\Program Files (x86)\SAP\SAP Business One\SAP Business One.exe     Version=8.81.315     Area=     PID=1316     TID=4340     D:\depot\BUSMB_B1\8.8_SP1_REL\SBO\8.8_SP1_REL\Application\__Engines\DBM\__DBMC_DataBase.cpp     9547
    I couldn't find anything regarding this topic in the forum, only one similar post but unanswered.
    We are using two server: one for the licence server and one for the database (the database server is clustered)
    Does anyone have any idea about this? Has it ever happened to anybody?
    Thanks for your help

    Hi Julie,
    it must be a triggered action from the system. The only problem is that log files grow very big, few mb every day, and it is a situation that's not very ideal. And also i don't want to turn them off because it is always a good resource for other errors.
    It is very strange that SAP hasn't noticed this behaviour and there isn't any note available for the purpose.
    Thanks for your help

  • Error while trying to choose query parameter Inconsistent input paramete

    I got error on PRD while trying to choose parameter before executing BEX query:
    101 Inconsistent input parameter (parameter: <unknown>, value <unknown>)
    100 Program error in class SAPMSYY1 method: UNCAUGHT_EXCEPTION
    Notes:
    the same functionality works fine in DEV environment.
    the other parameters on query in PRD work fine
    the parameter  with error based on custom hierarchy
    P.S. I heart BEx :]

    Hello,
    This problem has been solved before with notes 1236774, 1151320 & 1264213.
    Please check.
    Thanks,
    Michael

  • Build error: an input parameter is invalid

    I am looking for help with a build error. I am getting the following error message when I try to build a project in 8.5.1:
    Error 1 occurred at Open VI Reference in AB_Source_VI.lvclasspen_Reference.vi->AB_Build.lvclass:Copy_Files.vi->​AB_Application.lvclass:Copy_Files.vi->AB_Build.lvc​lass:Build.vi->AB_EXE.lvclass:Build.vi->AB_Engine_​Build.vi->AB_Build_Invoke.vi->AB_Build_Invoke.vi.P​roxyCaller
    Possible reason(s):
    LabVIEW:  An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @.
    =========================
    NI-488:  Command requires GPIB Controller to be Controller-In-Charge.
    VI Path:
    Tom Rhoads
    Goodrich FUS
    Vergennes, Vermont

    Arducopter:
    Did you check to see if the KB Hunter posted resolves the issue?
    If you're opening a project in a newer version of LabVIEW, then there's a chance the mass compile tool might work. It will open and save all of the VIs within a specified folder. The tool is fairly self-explanatory, and you can access it from within LabVIEW by going to "Tools --> Advanced --> Mass Compile..."
    Good luck!
    Caleb Harris
    National Instruments | Mechanical Engineer | http://www.ni.com/support

  • Error Inconsistent input parameter (parameter: i_sid,value 0)

    Hi ,
    i got this error "Error Inconsistent input parameter (parameter: i_sid,value 0)" after i execute the query that i have created. How can i solve this problem?
    regards,
    soonwee

    Hello,
    (I know, the answer is a year late, but at least it will be documented for the future: i've recently had the same error in my system)
    I have debugged the problem and found that the exception happens somewhere after Include LRSDRC_INFOCUBEF06, form BASIC_QUERY_DATA_GET_ROLAP and  PERFORM check_for_request0.
    You can also get this error if you execute the transaction LISTCUBE for the Infocube, or if you click on "display data" in the context menu of an InfoCube in RSA1.
    The reason for the problem seems to be the missing "initial" record in the InfoObject "REQUID".
    This InfoObject tracks all the requests/data packages in your BW system, and usually has the similar contents:
    select * from /BI0/SREQUID
    REQUID                                            SID         CHCKFL DATAFL INCFL
                                                                    0          X     X     X
    REQU_4D9N9016ZEBZXYL3FKRS5Z5BK    8             
    ODSR_4D9N908VICXPGL4JLEU4G141C     9
    However, if the initial record with SID = 0 is missing, you may get the described error.
    The problem can be fixed by adding this record to two tables:
    (example for adding this record from the DB2 SQL interpreter; syntax may be slightly different with other DB platform)
    insert into "/BI0/SREQUID" values ('',0,'X','X','X')
    insert into "/BI0/RREQUID" values (0,'')
    (NOTE: the '' are two single quotes without any value between them, and not the double quote mark   )
    Hope this helps.
    Kind regards,
    Sergiy Malikov.
    SAP BI on DB2 for Linux, Unix and Windows
    Edited by: Sergiy Malikov on Mar 27, 2009 1:53 PM

  • Error 1 an input parameter is invalid on cluster wire

    I have a system with numerous subvi's, however all seems to compile ok and when I run the top level vi it seems to be working fine. However when I press a button to launch a routine that calls numerous sub vis, I get an error:
    Labview: An input parameter is invalid. For example, if the input is a path, the path may contain a character not allowed by the OS such as ? or @.
    The top level VI "mastercontrol2.vi" was stopped at Wire on the block diagram of "FPGASigGen_GetDataPont.vi".
    [OK]
    I am then taken to the block diagram of the said VI, and the section of pink cluster wire from the cluster constant is highlighted, in the  section just after it enters the while loop. The top level VI then stops executing.
    I have tried rebuilding this part of the code in different ways, but always with the same result. The suggested cause in the error message is clearly a red herring, because I don't do any file access anywhere.
    Any help would be greatly appreciated!
    Using Labview 2011 11.0
    Attachments:
    FPGASigGen_GetDataPoint.vi ‏42 KB

    Just because you see a reference number in the probe does not mean that the reference is valid.  If a parallel process closes the reference, you will still have that reference number, but the reference will become invalid.  This is the usual case for an error code 1 when dealing with references.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Error Msg : Input parameter WRITE MODE not found

    Hi,
    When i run the package for loading the master data from BI to BPC the following error message is displayed:
    "Input parameter WRITE MODE not found"
    iam unable to see any update modes when i try to execute the package for master data loads...like Over write Update
    what is missing? any thoughts on this??
    Regards

    Hi,
    how did you solve this issue, since we have a similiar problem when loading maser data using /CPMB/IMPORT_MASTER ..
    D
    okay, found the solution in OSS note 1359787 ...
    D
    Edited by: Dries Paesmans on Nov 10, 2009 11:24 PM

  • Error while setting input parameter for dynamic process - GP

    Hi All,
    I am using CAF 7.1 GP.
    Here I have to start a process dynamically and it is working fine.
    But, when I tried to set value for input parameter of this process by
    IGPStructure params = GPStructureFactory.getStructure(process.getInputParameters());
    params.setAttributeValue("Val","MyValue");
    ( <b>Val</b> is the name of grouped input parameter ), it is giving
    com.sap.caf.eu.gp.exception.api.GPInvocationException: Structure with name input and namespace http://wwww.sap.com/nw/eup/gp does not have an attribute with name Val and namespace null.
    But no where I have mentioned http://wwww.sap.com/nw/eup/gp.
    I dont have any structures in my input and output.
    Here is my full code
           try
                IGPProcess process = null;
                IUser tl_user =UMFactory.getUserFactory().getUserByLogonID("fahad");
                     IGPUserContext userContext = GPContextFactory.getContextManager().createUserContext(tl_user);//, user.getLocale());
                     process =GPProcessFactory.getDesigntimeManager().getActiveTemplate("F5D76840A56F11DC983B001966243CAD",userContext);
                     wdComponentAPI.getMessageManager().reportSuccess("Title of process is "+process.getTitle());
                     IGPRuntimeManager rtm = GPProcessFactory.getRuntimeManager();
                     IGPProcessRoleInstanceList roles = rtm.createProcessRoleInstanceList();
                     int rolenum = process.getRoleInfoCount();
                     wdComponentAPI.getMessageManager().reportSuccess("Number is "+rolenum);
                     IGPProcessRoleInstance roleInstance=null;
                     IUser ho_User=null;
                     for (int i = 0; i < rolenum; i++)
                             wdComponentAPI.getMessageManager().reportWarning("Role Text is "process.getRoleInfo(i).getText()"  Role Name is "+process.getRoleInfo(i).getRoleName());
                             if(i==1)
                                  ho_User = UMFactory.getUserFactory().getUserByLogonID("poornendu");
                                  roleInstance = roles. createProcessRoleInstance(process.getRoleInfo(i).getRoleName());
                                  roleInstance.addRuntimeDefinedUser(ho_User);
                                  roles.addProcessRoleInstance(roleInstance);
                             if(i==2)
                                  ho_User = UMFactory.getUserFactory().getUserByLogonID("fahad");
                                  roleInstance = roles. createProcessRoleInstance(process.getRoleInfo(i).getRoleName());
                                  roleInstance.addUser(ho_User);
                                  roles.addProcessRoleInstance(roleInstance);
                     wdComponentAPI.getMessageManager().reportSuccess(""+process.getStructure().getItemCount());
                     IGPStructure params = GPStructureFactory.getStructure(process.getInputParameters());
                     wdComponentAPI.getMessageManager().reportSuccess("Title of process is "+process.getTitle());
                     <b>params.setAttributeValue("Val","MyValue");</b>                     
                     String pName=wdContext.currentContextElement().getProcessName();
                     IGPProcessInstance prInstance = rtm.startProcess(process,pName,"This process has been started using the GP public API",tl_user,roles,params,tl_user);
           catch(Exception e)
                wdComponentAPI.getMessageManager().reportException(""+e);
    Can anyone help me on this.
    Thanks,
    Fahad Hamsa

    Hi Experts,
    I solved it myself.
    The problem was, I have to make the input parameter as exposed. Thats all
    Anyway, thanks for the support.
    Regards,
    Fahad Hamsa

  • Multible MBO's with input parameter's how to pass them?

    Hello gurus i'm currently working on native app that based on BAPI MBO's and each MBO takes input parameter and return some values
    at the first MBO i made the input parameter is personalization key but after adding a second MBO and make the same to the second MBO when i generated the code and passing the PK values only for the first MBO i got an error
    any help on how to pass input parameters for native app that based on BAPI for multiple MBO and i will not pass all the parameters at the same time depend on the screen that i'm in i will call MBO
    thanks in advance

    Steps to do a sync from MBO is given below (android native app):
    Create MBO and PK.
    Map MBO load parameter with PK.
    Create Second MBO and another PK (or use existing PK if the input parameter of first MBO is same as second MBO).
    Map Second MBO load parameter with second PK.
    Sample native code (android):
    //Assing Values to PK
    PersonalizationParameters param = CustomersDB.getPersonalizationParameters();
              param.setPK_CustomerInput("1001");
              param.save();
              CustomersDB.subscribe();
    //Make a blocking synchronize call to Unwired Server to pull in all MBO data
              CustomersDB.synchronize();
    //Finall is the query generated by SUP to get the data from the table Customers.
    //Customers is the MBO name in SUP and table name in Device DB
    Customers.findAll()
    Give the steps you performed with relevant screen shots to help you further.
    More info, Developing SAP Android Mobile app from scratch - Part 4
    Midhun VP

  • Crystal Report with text(csv) data file, can we set it as input parameter?

    Hi,
    I am a new user of Crystal Reports 2008.
    I have created a report with charts in it. The input data comes from a csv text file.
    Can I set the name of this text file as an input parameter?
    as I need to generate 44 similar reports with different text filenames(and data)?
    Thank you.
    Regards

    Brian,
    Thanks much.
    I did exactly what you said.
    Just to see any change, I first gave a bad report file name just to see if I am accidentally pointing to a different file,
    but I got an error saying report not found.
    Then I renamed my original datafile name and generated a report and it still generated one without giving an error.
    Then I also gave a junk name to the logoninfo and printed that name, the new name was assigned to logoninfo, but the code did not error out.
    It ended up generating the report.
    Now here is what I think is happening,
    1) The save data in report option seems to be still on even though I have turned it off in 2 locations
    a) file -> Report Options
    b) file -> Options -> Reporting tab.
    2) For some reason the logoninfo is getting ignored as well.
    Since I did not see any answers yesterday I posted a link to this thread on the .Net forum
    Crystal Report with text(csv) data file, can we set it as input param? C#
    and Ludek Uher says that I am connecting to the text file via a DAO database engine and so need to use the same code for changing the text file as for changing an Access database.
    But the link he gave me tells me to try the same thing that we have been trying..
    Here is my plan,
    1) I will first try and find out why my save data with report option is still on ( but it shows off in Crystal ).
    2) why is LogonInfo getting ignored.
    Meanwhile any suggestions from anyone are welcome.

  • Passing multiple values to a single input parameter

    Hi folks,
    I have a Microstrategy query successfully passing input parameter to a calculation view.  For example I can pass a movement type to a material movements calculation view input parameter.  However if I try to pick more than one movement type the query then fails; 
    Generated SQL that works looks like this;
    select
    sum(a11.TOTALQUANTITY)  WJXBFS1
    from
    "_SYS_BIC"."MyPackage/CA_TEST_PASS_PARAMETER"
    ('PLACEHOLDER' = ('$$MoveType$$', '101')
    a11
    When choosing more than one value in Microstrategy the SQL now fails and looks like this;
    select
    sum(a11.TOTALQUANTITY)  WJXBFS1
    from
    "_SYS_BIC"."MyPackage/CA_TEST_PASS_PARAMETER"
    ('PLACEHOLDER' = ('$$MoveType$$', '101'),
    'PLACEHOLDER' = ('$$MoveType$$', '103'))
    a11
    If I cut and paste the SQL and run directly in HANA studio the error is;
    Could not execute 'select sum(a11.TOTALQUANTITY) WJXBFS1 from "_SYS_BIC"."MyPackage/CA_TEST_PASS_PARAMETER" ...' in 66 ms 361 µs .
    SAP DBTech JDBC: [2048]: column store error: search parameter error:  [2018] A received argument has an invalid value;TABLE/VIEW parameter: ( 'PLACEHOLDER'='$$MoveType$$, 103') not supported
    Is it possible to pass multiple values in a single parameter?  I'm using SP67 for this test.
    Thanks,
    -Patrick

    Ravi, also to answer one of your questions about how this will work in Microstrategy; I just heard back from my Microstrategy developer and he is trying MSTR Freeform SQL query with syntax like this;
    select (sumPAR_TEST.TOTALQUANTITY TOTALQUANTITY
    from "_SYS_BIC"."MyPackage/CA_TEST_PASS_PARAMETER"
    ('PLACEHOLDER' =('$$MoveType$$', '[Movement Type]')) PAR_TEST
    In this example [Movement Type] is the microstrategy prompt.  Unfortunately though it translates like this which is missing extra single quotes around each value;
    select     sum(PAR_TEST.TOTALQUANTITY)  TOTALQUANTITY
    from     "_SYS_BIC"."development.pr1959/CA_TEST_PASS_PARAMETER"
    ('PLACEHOLDER' = ('$$MoveType$$', ''101', '102''))   PAR_TEST
    instead of what we need which is;
    ('PLACEHOLDER' = ('$$MoveType$$', '''101'', ''102'''))   PAR_TEST
    So at this point we are not sure if this will be possible or not.
    -Patrick

  • A required input parameter could not be read

    Hi
    I'm experiencing a random problem with my e-mail account. Before moving everybody into using this mail server, I believe I should understand how to fix this problem. Here I go. Last Friday, everything was working properly with my e-mails. However, this morning, I cannot connect to the mail server anymore (using SSL and Kerberos). I looked at the logs and this is what I see:
    Jan 18 08:47:43 xs1 dovecot[68]: auth(default): gssapi(?,192.168.0.170): While processing incoming data: A required input parameter could not be read
    Jan 18 08:47:43 xs1 dovecot[68]: auth(default): gssapi(?,192.168.0.170): While processing incoming data: Unknown error
    Jan 18 08:47:43 xs1 dovecot[68]: auth(default): gssapi(?,192.168.0.170): While processing incoming data: A required input parameter could not be read
    Jan 18 08:47:43 xs1 dovecot[68]: auth(default): gssapi(?,192.168.0.170): While processing incoming data: Unknown error
    Jan 18 08:47:43 xs1 dovecot[68]: auth(default): gssapi(?,192.168.0.170): While processing incoming data: A required input parameter could not be read
    Jan 18 08:47:43 xs1 dovecot[68]: auth(default): gssapi(?,192.168.0.170): While processing incoming data: Unknown error
    Anyone ever had this "unknown error”? Is there a known way to fix it?
    Thanks

    Apparently the problem changed:
    Jan 18 09:35:50 xs1 dovecot[68]: auth(default): gssapi(?,192.168.0.170): While acquiring service credentials: An invalid name was supplied
    Jan 18 09:35:50 xs1 dovecot[68]: auth(default): gssapi(?,192.168.0.170): While acquiring service credentials: Hostname cannot be canonicalized
    Jan 18 09:35:54 xs1 dovecot[68]: auth(default): gssapi(?,192.168.0.170): While acquiring service credentials: An invalid name was supplied
    Jan 18 09:35:54 xs1 dovecot[68]: auth(default): gssapi(?,192.168.0.170): While acquiring service credentials: Hostname cannot be canonicalized
    Any idea about that issue too ?

  • Problem in mapping BIGBINARY input parameter

    Hi All,
    I am trying to create an operation of 'OTHER' type in SUP 2.2. The input parameter structure is having an 'BIGBINARY' attribute. This attribute is used to send photos. But the input structure is not coming under client parameters and unable to map it. While generating code for iOS the particular input structure is abandoned.
    So, kindly help me how to handle this...
    Thanks,
    Saju KS

    Hi Neha,
    Please create the custom context node/attribute same structure as RFC model node. then populate the data using below following code :
    - get the size of the RFC model node which you want to populate in the costom node like
    int xxx =  wdContext.node<XXX node>().size;
    - Create onject for custom node like
      I<Custyom Name>Element element = null;
    -  then use for loop for fetching data from Model node and populate in custom node
    for(int i =0; i<xxx; i++)
             element = wdContext.create<Custyom Name>();
             element.set<Attribute Name>(wdContext.node<XXX>().get<XXX>ElementAt(i).get<>Attribute name for model())
             wdContext.<Custyom Name>().addElement(element);
    It will populate in your custom node from model node.
    Hope it will helps you.
    Regards
    Arun

  • Passing the same input parameter twise in execute sql task

    Hi All, I want to insert some values to 3 different tables in sql server. Execute sql task is used to populate three tables. Here is the sql statement.
    DECLARE @Dt AS DATE
    SET @Dt = ?
    INSERT INTO TABLE1 SELECT ?, COL2, COL3 FROM TABLE_A
    INSERT INTO TABLE2 SELECT ?, COL2, COL3 FROM TABLE_B
    Input parameter is mapped as follows :
    Variable name : User::EffectiveDate
    Direction : Input Data Type :
    Date Parameter name :0
    Parameter size :-1
    User::EffectiveDate is datetime variable.
    When the package is executed, it throws an error.
    [Execute SQL Task] Error: Executing the query " " failed with the following error: "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.". Possible failure reasons: Problems
    with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly. I am not sure what I am doing wrong here. If anyone could point me to the right direction, I really appreciate.
    Thanks
    shamen

    To expand on the other answers.
    Your SQL command
    DECLARE @Dt AS DATE
    SET @Dt = ?
    INSERT INTO TABLE1 SELECT ?, COL2, COL3 FROM TABLE_A
    INSERT INTO TABLE2 SELECT ?, COL2, COL3 FROM TABLE_B
    It using 3 input variables.  I assume you didn't pass 3 variables and you want @DT to be column 1 in each.  In that case you would use:
    DECLARE @Dt AS DATE
    SET @Dt = ?
    INSERT INTO TABLE1 SELECT @Dt, COL2, COL3 FROM TABLE_A
    INSERT INTO TABLE2 SELECT @Dt, COL2, COL3 FROM TABLE_B

Maybe you are looking for

  • What is the keyboard Shortcut to go to the last frame or end of a clip?

    I used to have this shortcut set up, but I reformatted my mac and now I can't find it anywhere. I've searched the forums and can't find it, and yes, I looked at the help and looked at the manual. I've also went to Tools->Keyboard Layout and went thro

  • How to use two iPhones with one iCloud account

    I am really confused at how to set our iPhones up. My wife and I each have an iPhone 5.  We have one iCloud account because we share our calendar and contacts. I did get her her own iCloud account to add some calendar events I don't need to sync. Tha

  • Can I Delete an Unused Child ID From Family Sharing

    I need to get rid of a child ID from Family Sharing, but there's no Remove option for child IDs. Anyone know how I can get rid of it?

  • Itune for a Mac OS X 10.4.11

    I'm trying to get itunes back on my computer. It wouldn't open one day so I deleted it and backed up all my music, thinking my start up disk was full, because I have SO MUCH music. Now the new version of itunes I tried to download won't work on my Ma

  • Does Adobe Air have an Error logging console?

    I have an issue with a specific AIR program that was working but now it's not. I went ahead and reinstalled my version of Air and when I launched the program it is just freezing, works for about 2 seconds. This AIR application uses login info to pass