Execute a modelobject without input value

hi,
I'm creating a dropdown list fetched with datas from backend.
I created a RFC just with a table as output but without input field because I wanna get the complet
list of a table in sap r/3.
I execute the model in web dynpro without binding a input since there is no input needed.
But I got nothing after execution of the model. (The RFC runs well in sap).
Do I really need to bind a input to execute the model?
Thanks
yimin

I just realized that the bind input is still needed even if there is no input parameter.

Similar Messages

  • DP Execution-Execute a DP without supplying value for command line argument

    DP Execution - How to execute a DP without supplying value for a command line argument?
    My requirement is like Directive should have an optional command line argument.
    i.e., even if the value is not supplied for the command line arg, my DP should run.
    Your help is appreciable.

    What is DP?
    What is Directive?

  • Execute BAPI for different input values and dispaly data in a table

    Hi all,
    I have a specific problem about executing BAPI multiple times for different input values and didplay result in a table.
    I am using the code similar to the following logic.
    Bapi_Mydata_Input in = new Bapi_Mydata_Input();
    wdContext.nodeBapi_Mydata_Input().bind(in);
    String in = wdContext.currentperdataElement.getnumber();
    in.setDestination_From(10)
    wdThis.wdGetMydataComponentController().executeBapi_Mydata_Input();
    in.setDestination_From(20)
    wdThis.wdGetMydataComponentController().executeBapi_Mydata_Input();
    in.setDestination_From(30)
    wdThis.wdGetMydataComponentController().executeBapi_Mydata_Input();
    And I want to display the data in a single table. I want the result in a table for Bapi execution based on input parameters passed 10,20 30.
    But I am getting the table data only for the input parameter 30.I mean its actually display the data in table only for the last input parameter.
    So May I ask you all if you know the solution for this problem.PLease advise me with some tips .or sample code is very much appreciated.I promise to award points to the right answer/nice advises.
    Regards
    Maruti
    Thank you in advance.

    Maruti,
    It seems that WDCopyService replaces content of node, rather then adds to content.
    Try this:
    Bapi_Persdata_Getdetailedlist_Input frelan_in = new Bapi_Persdata_Getdetailedlist_Input();
    wdContext.nodeBapi_Persdata_Getdetailedlist_Input().bind(frelan_in);
    final Collection personalData = new ArrayList();
    String fr1 = wdContext.currentE_Lfa1Element().getZzpernr1();
    frelan_in.setEmployeenumber(fr1);
    wdThis.wdGetFreLanReEngCompController().executeBapi_Persdata_Getdetailedlist_Input();
    WDCopyService.copyElements(wdContext.nodePersonaldata(), wdContext.nodeNewPersonaldata());
    for (int i = 0, c = wdContext.nodePersonaldata().size(); i < c; i++)
      personalData.add( wdContext.nodePersonaldata().getElementAt(i).model() );
    String fr2=wdContext.currentE_Lfa1Element().getZzpernr2();
    frelan_in.setEmployeenumber(fr2);
    wdThis.wdGetFreLanReEngCompController().executeBapi_Persdata_Getdetailedlist_Input();
    WDCopyService.copyElements(wdContext.nodePersonaldata(), wdContext.nodeNewPersonaldata());
    for (int i = 0, c = wdContext.nodePersonaldata().size(); i < c; i++)
      personalData.add( wdContext.nodePersonaldata().getElementAt(i).model() );
    wdContext.nodeNewPersonalData().bind( personalData );
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • WITHOUT INPUT VALUES

    hi to every body,
       i have 2 fields city and empcode in one table,and i have one selection-option for empcode and i have on parameter for city in output.now issue is with out giving input values i want to retrive all the data,but i am validating on these fields when i retrive data from the table
    select empcode
             city from z_akemp into it_emp when empcode in s_empcode
                                                                        city = p_city.

    Hi,
    Small correction to Kunjals reply.
    Declare city also as select option with no intervals no-restriction.
    But in select query where clause instead of equal to u have to use IN operator
    SELECT-OPTIONS: s_city FOR kna1-city NO INTERVALS NO-RESTRICTION.
    select empcode
    city from z_akemp into it_emp when empcode in s_empcode
    city IN s_city.
    Here s_city looks like parameter but acts as select option.
    thanks,
    Vinod.

  • Slow response when using Xcelsius web service connection witn input values

    We've been very successful in using the Xcelsius Web Service Connection. We've recently moved forward toward using input values when calling a web service and having issues with response time. Without input values, it takes 3 - 6 seconds to retrieve and display the results in Xcelsius, but, when using the input values to the web service, it takes about 27 seconds for Xcelsius to retrieve and display the results.  Does anyone have experience with fixing slow response associated with using input values for a web service connection?

    Hi Sharone,
    What's the version of your Xcelsius and BOBJ server?
    I'm asking because using the last version of BOBJ server (BOXI 3.1 SP 3) you have new services on CMC just to help Xcelsius to work better with WebServices.
    Regards,
    Rodrigo.

  • Input values in the result area

    Hi Bw gurus,
    Could you plz tell me to eliminate the Input values displayed between the Navigation block and the Result area.
    I mean if we give some input range in the variable screen the range(Input)values are displayed in the Result area.Also if we give some 1000 multiple single values in the variable selection screen after executing it displyed
    1000 input values in the result.
    I need to elimeinate this.so how can i do this.
    the requirement is very urgent.
    Regards,
    Rambo.

    Hi Rambo,
    Open query in BEx Analyzer, it'll be embedded into a workbook.
    Use Layout/Dasplay text elements icon or menu path.
    There you'll see the option to show variables. Don't use it and variable's values shouldn't show up!
    And don't use show all.
    Best regards,
    Eugene
    Message was edited by: Eugene Khusainov

  • Running script with input values

    I have a script file FV.SQL with following contents:
    select * from emp where job in ( '&one' , '&two');
    in sqlplus it is ok to execute script by passing input values like
    SQL> @ FV CLERK ANALYST
    But how it can be executed in iSQLPLUS?
    Kindly suggest
    Message was edited by:
    Jameel

    Thanks,
    I am asking to do like this in iSQL*PLUS,
    SQL> ED V
    SQL> ED
    Wrote file afiedt.buf
      1  SELECT * FROM DEPT
      2* WHERE LOC IN ('&1' , '&2')
    SQL> @ V CHICAGO DALLAS
    old   2: WHERE LOC IN ('&1' , '&2')
    new   2: WHERE LOC IN ('CHICAGO' , 'DALLAS')
        DEPTNO DNAME          LOC
            20 RESEARCH       DALLAS
            30 SALES          CHICAGO
    --- "when i try the same in isqlplus, it shows error...?"Message was edited by:
    Jameel

  • Input Value long enough for date format ,Error in executing parallel query

    Hi,
    My Table: ANML( ID, STATUS,B_DATE,B_MONTH,B_YEAR, DEATH_DATE)
    status 1 for alive and 2 for dead.
    i wrote a view to get age.
    as
    create or relace view view1 as
    select top."ID",top."STATUS",top."DOB",top."DEATH_DATE",top."ANML_AGE",top."DAYSDIFF",
    CASE
    WHEN anml_age < 1
    THEN 'D'
    ELSE 'M'
    END age_unit,
    CASE
    WHEN anml_age < 1
    THEN TO_CHAR (daysdiff || ' Day(s)')
    WHEN anml_age < 12
    THEN TO_CHAR (anml_age || ' Month(s)')
    WHEN MOD (anml_age, 12) = 0
    THEN TO_CHAR (ROUND (anml_age / 12, 0) || ' Year(s) '
    ELSE TO_CHAR ( ROUND (anml_age / 12, 0)
    || ' Year(s) '
    || MOD (anml_age, 12)
    || ' Month(s)'
    END age_string
    from
    (SELECT a.*,
    CASE WHEN status IN ( 1)
    THEN FLOOR(MONTHS_BETWEEN(TRUNC(SYSDATE),dob))
    WHEN death_date IS NOT NULL AND status IN (2)
    THEN FLOOR(MONTHS_BETWEEN(death_date,dob))
    END anml_age,
    CASE WHEN status IN (1)
    THEN FLOOR(TRUNC(SYSDATE)-TRUNC(dob))
    WHEN death_date IS NOT NULL AND status IN (2)
    THEN FLOOR(TRUNC(death_date) - TRUNC(dob))
    END daysdiff
    from (
    SELECTanml.id, status,
    TO_DATE ( DECODE (b_date,
    NULL, 1,
    b_date
    || '-'
    || DECODE (b_month,
    NULL, 1,
    b_month
    || '-'
    || b_year,
    'dd-mm-yyyy'
    ) DOB,
    death_date
    FROM anml
    WHERE b_year IS NOT NULL
    ) a) top
    when i tried to fetch all values from view its working fine.
    But when i tried to fetch values based on condition like as follows,
    select * from view1 where anml_age > 20 and anml_age<30
    I am getting error like:
    Input Value long enough for date format and Error in executing parallel query
    Please tell me wht is wrong.

    Here is your formatted code
    create or relace view view1 as
    select top."ID",top."STATUS",top."DOB",top."DEATH_DATE",top."ANML_AGE",top."DAYSDIFF",
    CASE
    WHEN anml_age < 1
    THEN 'D'
    ELSE 'M'
    END age_unit,
    CASE
    WHEN anml_age < 1
    THEN TO_CHAR (daysdiff || ' Day(s)')
    WHEN anml_age < 12
    THEN TO_CHAR (anml_age || ' Month(s)')
    WHEN MOD (anml_age, 12) = 0
    THEN TO_CHAR (ROUND (anml_age / 12, 0) || ' Year(s) '
    ELSE TO_CHAR ( ROUND (anml_age / 12, 0)
    || ' Year(s) '
    || MOD (anml_age, 12)
    || ' Month(s)'
    END age_string
    from
    (SELECT a.*,
    CASE WHEN status IN ( 1)
    THEN FLOOR(MONTHS_BETWEEN(TRUNC(SYSDATE),dob))
    WHEN death_date IS NOT NULL AND status IN (2)
    THEN FLOOR(MONTHS_BETWEEN(death_date,dob))
    END anml_age,
    CASE WHEN status IN (1)
    THEN FLOOR(TRUNC(SYSDATE)-TRUNC(dob))
    WHEN death_date IS NOT NULL AND status IN (2)
    THEN FLOOR(TRUNC(death_date) - TRUNC(dob))
    END daysdiff
    from (
    SELECTanml.id, status,
    TO_DATE ( DECODE (b_date,
    NULL, 1,
    b_date
    || '-'
    || DECODE (b_month,
    NULL, 1,
    b_month
    || '-'
    || b_year,
    'dd-mm-yyyy'
    ) DOB,
    death_date
    FROM anml
    WHERE b_year IS NOT NULL
    ) a) top

  • BI Reports taking + sign for Node/Hierarchy input values in BI Portal

    We have BI Portal 7.01 SP 7. We are facing issues while running BI reports as it is appending + sign for the input which are of type Node/Hierarchy. Due to this we are getting error as invalid input:
    Input "\+CG1000(0SEM_CGCOMP)" for Company has invalid format
    However the same report runs fine when we are executing through Bex Analyzer without any + sign in the input values.
    The + sign is not coming if the input value is a number or a text. Its gets appended only to Node/Hierarchy type inputs.
    Your help to resolve this will be highly appreciated.
    Best Regards,
    Mahesh Das

    << Do not post the same question across a number of forums >>

  • How can I stay on the same line  when inputting values in the CLI?

    The title is a bit vague i know :) but i have this issue which isn't really a problem but it would be better if I can solve it.
    Intro)
    I've made this simple addition (and more options but thats not relevant) application for kids in my spare time so that they can train their maths in school and compare their results with other students which is saved in the database using the hypersonic DB that comes with the JBoss application server.
    Now so far so good, but i'm having an issue with the Scanner (I think, but i doubt its because of the CLI) , when i enter a number or text it works and exceptions will be catched etc but when i press the enter key without anything entered the input value wil be displayed a line below and that's not what I want. I want it to stay in the same line.
    Sample CLI output:
    bla application
    ***By: deAppel***
    Ver: 31/10/2007
    Your name:     deAppel
    Your class:     MasterClass
    How many sums you want to make? 14
    Time: 22:03:27
    1: 32 + 40 =     72
    2: 38 + 19 =     57
    3: 5 + 57 =     62
    4: 30 + 20 =     1
    5: 57 + 54 =     2
    6: 33 + 17 =     3
    7: 38 + 54 =     4
    8: 23 + 23 =     5
    9: 48 + 47 =     95
    10: 29 + 55 =     6
    11: 48 + 11 =     7
    12: 1 + 40 =     41
    13: 46 + 35 =     91
    14: 23 + 52 =     75
    Answer 1:      72     You answered:      72     (good)
    Answer 2:      57     You answered:      57     (good)
    Answer 3:      62     You answered:      62     (good)
    Answer 4:      50     You answered:      1     (wrong)
    Answer 5:      111     You answered:      2     (wrong)
    Answer 6:      50     You answered:      3     (wrong)
    Answer 7:      92     You answered:      4     (wrong)
    Answer 8:      46     You answered:      5     (wrong)
    Answer 9:      95     You answered:      95     (good)
    Answer 10:      84     You answered:      6     (wrong)
    Answer 11:      59     You answered:      7     (wrong)
    Answer 12:      41     You answered:      41     (good)
    Answer 13:      81     You answered:      91     (wrong)
    Answer 14:      75     You answered:      75     (good)
    EndTime: 22:04:18
    Total good: 6
    Total wrong: 8
    Total sums answered: 14
    Final score: 42.857143%
    Upload score? (yes/no): no
    Compare score from other users? (yes/no): no
    Want to try again? (yes/no): no
    ********Made by: deAppel @ http://www.link removed cause it doesnt matter .com*********
    ************The application will close within 5 seconds*************
    To sum it up for those that don't like to read my post:
    1: 32 + 40 = 72
    2: 38 + 19 =
    whitespace <-- this happens because of the enter
    whitespace <-- this happens because of the enter
    57
    3: 5 + 57 = 62
    I want the input to stay in the same line unless you have typed something. I feel silly for not knowing how to handle this.
    Hm.. i'll tried to solve it myself but it seems that im unable to do that.
    /me takes a quick coffee break and will look at the code again after that *

    paulcw wrote:
    It sounds like you want either a CURSES implementation (I believe there's one for Java), or just move to a GUI.I was planning to create a GUI for it eventually, but i just wanted to solve this one first and make sure everything works the way i want it too. I'll take a look at the CURSES implementation thanks.

  • Text Entry Box--Advanced Actions--Conditional Statement--Double quotes in literal input value

    Hello forums,
    I'm new to the forums (and Captivate in general), but I'm having a real problem carrying out a tutorial design and I think you may be my only hope.  Let me explain what I want to do and the difficulty that I'm having:
    I'm an instruction librarian at a university, and I'm designing an interactive tutorial for English 100 students to complete in order to become familiar with how to search the library catalog.  What I've done is taken a screenshot of the catalog search page, made it the background of a slide in Captivate (vers. 6), and placed a text entry box over the search bar in the screenshot.  The idea is for the students to conduct a simulated search by choosing one of three suggested search string formulations, and depending on the search string they enter, the tutorial will jump to a slide featuring a screenshot of what the actual search results would look like.  The idea is to emphasize the use of keywords over full-sentence phrases, and the use of double quotation marks to enclose multi-word search terms.
    So I've set the action for the TEB to "Execute Advanced Actions" and then created some IF/THEN statements in the "Advanced Actions" pop-up window (with action type set to 'conditional'). The script is such that if the student enters the first search option (how does sleep affect college students) in the TEB, the tutorial jumps to 1 slide, if they enter the second option (college students AND sleep), featuring a Boolean operator (AND), the tutorial jumps to a 2nd slide, and if they enter the third option ("college students" AND sleep) with the double quotes around "college students" and the Boolean operator, the tutorial should jump to a 3rd slide.  This action script works fine for the first two input options, but I can't make it work for the third search option.
    I think that it has something to do with the fact that the third input option features double quote marks, and this seems to throw off the script (I tried a quote-less input value for the third IF/THEN just to make sure that it would work jumping to the 3rd slide and it did), and I'm wondering if anyone has any suggestions as to how I can get around this issue.  Again, I need it to work so that if the student enters "college students" AND sleep, with the quote marks and the Boolean operator, the tutorial will jump to a slide showing the search results if those search terms were used in a real search of the catalog.
    I'd be extremely grateful for any help that anyone here can give me, we've been trying to make our online tutorials more engaging and interactive (and therefore more interesting), and I think this would be a great way to teach students about using quotes in their catalog searches.
    Thank you for your time and consideration.
    Andrew Wilk
    College Library
    UW-Madison

    The tutorial is for a "how to use catalog searching" instruction in an undergraduate library session.  We use boolean operators (AND, OR, NOT) to combine search terms, ex. to search for books about the sleeping habits of college students, I would enter "college students AND sleep."  Because "college students" is a multi-word phrase to describe one concept, I need to put quotation marks around the phrase to prevent the catalog from searching for the individual words separately, so the most correct search becomes ["college students" AND sleep] with quotation marks around only "college students," a user-typed "AND," and the word "sleep" (no q-marks).
    A colleague of mine worked out a pretty cool (if complicated) solution that I'll share if anyone is interested.  Since the q-marks where the problem, we've set it up so that the TEB validates the response for the search string with q-marks around "college students." If they enter it correctly, the tutorial jumps to the corresponding slide. The attempt # is set to 1, and if the user fails to enter the validated phrase (they misspell or use one of the other response options) then the TEB is set to run an Advanced Actions Script in which the other two options are scripted in IF/THEN statements that cause, when the term is entered correctly, the tutorial to jump to their corresponding slides. We've created another tab of IF/THEN statements that say that if the response is NOT equal to one of these response options, then the slide restarts (technically the slide "jumps" back to itself and starts over) and the user gets another chance to start the cycle over again.
    I know this is confusing (I had a really hard time explaining it in words), so if anyone is interested I could make a Jing video when I have some time.
    Thank you for all your suggestions

  • How to close popup with af:commandButton without submitting values?

    Hi all,
    I'm using JDeveloper 11.1.2.1
    My popup has few af:inputText components with value attribute binded to view scope variables.
    I set those view scope variables in backing bean before showing popup.
    When I change values of input fields and click cancel (af:commandButton, partialSubmit=true, immediate=true), popup is closed.
    Then, when I show popup again, values that I changed are visible although I set new values to view scope variables in backing bean before showing popup again.
    I noticed that when I close popup using close icon in upper right corner of popup everything works fine.
    Also, I tried using dialog cancel button and it also works fine.
    Is there a way for closing popup using af:commandButton but without submitting values?
    In previous releases of JDeveloper (<= 11.1.1.5) I didn't noticed this problem.
    Thanks in advance,
    Aleksandar

    Alexandar wrote:
    Is there a way for closing popup using af:commandButton but without submitting values?If you really want to use your own button without submitting, then some three lines of Javascript will do the trick. See the documentation of af:popup for that. Canceling a popup is a pure client-side operation. No event is sent to the server. No submit. No need to reset anything. That's basically what the built-in cancel button does as well.
    Sascha

  • Is it possible to add more input values for a payroll element?

    Hi All
    I have created an element with 1 default input value 'pay value' and another input value '1xx1'. I have linked this to payroll and attached to many employees. Now due to business requirment, I need to add one more input value '2yy2' and also I need to change the formula. Eventhough its a minor change in formula, without a new input value it will not work. I tried to add a new one by datetracking to the element creation date without sucess.
    Is it possible to add input values after saving an element?
    Regards
    Rahman

    You can Change the Required Input Value to Not-required
    Alter the Sequence of the Input Value to be displayed in the Element Entry Screen
    You can Change the Input Value Validation Rule minimum, Maximum, Lookup and Formula
    Change your specification of which input values create Database Items. Note, however, you cannot remove Database Items if they are used in any formulas or QuickPaint reports.
    You cannot remove existing input values or add new one if you have created any entries for the element
    For more details you can refer http://ramesh-oraclehrms.blogspot.com/2007/08/maintaining-element.html

  • VPD: Column Level Masking - Error: ORA-28104: input value for sec_relevant_cols is not valid

    Hi Gurus,
    I am trying to mask the secured column from the table for one specified user, Here is the detail of DB and code which I am using to apply the security:
    DB Version: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0
    Security Function:
    create or replace function kr_sec_function_papf(p_object_schema IN VARCHAR2,
    p_object_name VARCHAR2)
    return varchar2
    as
    p_nid varchar2(200);
    whoami varchar2(100);
    begin
    if SYS_CONTEXT('USERENV', 'SESSION_USER') = 'VPDTEST'
    then
    p_nid := 'national_identifier = national_identifier';
    return (p_nid);
    else
    p_nid := '1=2';
    return (p_nid);
    end if;
    end kr_sec_function_papf;
    Code to Add Policy:
    BEGIN
    DBMS_RLS.ADD_POLICY(
    object_schema => 'APPS',
    object_name => 'PER_ALL_PEOPLE_F',
    policy_name => 'secure_emp',
    policy_function => 'kr_sec_function_papf',
    statement_types => 'SELECT',
    sec_relevant_cols=>'NATIONAL_IDENTIFIER',
    sec_relevant_cols_opt=>DBMS_RLS.ALL_ROWS);
    END;
    I am getting error while executing the above plsql block, Error is:
    ORA-28104: input value for sec_relevant_cols is not valid
    ORA-06512: at "SYS.DBMS_RLS", line 20
    ORA-06512: at line 2
    Any one please help me to resolve the issue.
    Thanks in Advance.
    ~Krishna Nand Singh

    Hi Every one,
    I got this issue resolved.
    The issue is with parameter object_schema => 'APPS' , the object schema name is 'HR' and APPS has synonym with the same name.
    The Correct code should be:
    BEGIN
    DBMS_RLS.ADD_POLICY(
    object_schema => 'HR',
    object_name => 'PER_ALL_PEOPLE_F',
    policy_name => 'secure_emp',
    policy_function => 'kr_sec_function_papf',
    statement_types => 'SELECT',
    sec_relevant_cols=>'NATIONAL_IDENTIFIER',
    sec_relevant_cols_opt=>DBMS_RLS.ALL_ROWS);
    END;
    Thanks,
    Krishna Nand Singh

  • How to retain screen input values in HR program on BACK ?

    Hi,
    I have a report program in HR, using LDB "PNP" and Report category : PSSPCDOC.
    After the program is executed and the report is displayed on screen, if the user clicks the BACK button (F3), the selection screen is displayed with initial values. The input values provided by the user previously get lost.
    I debugged and it seems that the memory gets cleared everytime the BACK button is clicked.
    But i want to retain the user inputs on the selection screen if the user clicks the BACK button because the user wants to change some selection inputs not all.
    I am new to HR module, please let me know how to solve this issue.

    Hi,
    You can make use of SAP memeory. in the AT-SELECTION-SCREEN event, you can upload selection data in the defined memory area. Then you can make a check in the AT-SELECTION-SCREEN OUTPUT for that memory area and if that area has some data, you can show that into the screen in that event.
    Thus, first time when User execute the program, that memory area would be initial. However, if user select Back after execution of selection screen, data will get loaded into the memory area and will display in the screen once again.

Maybe you are looking for

  • .dwg to .ai conversion or ,pdf files to .ai layers?

    Hello, I'm trying to convert a series of layered .dwg (2D CAD) files into layered illustrator files (with the layer names in tact) using the CS3 Master Collection. Right-clicking on the .dwg file allows me to immediately convert it to a .pdf with all

  • Undo typing box pops up

    up ever since upgrading to 8.0, I've had the "undo typing" box pop up on occasion. It doesn't happen all the time, but when it does, it pops up constantly when I'm trying to type! It's **** annoying!!!

  • Request for unlocking code

    please i just received a sprint blackberry Q10 from my sister in US and is not unlocked. can you help me with the unlock code?

  • WebDB not correctly installed?

    Hi there! We installed recently WebDB 2.2 and it's not exactly the way we want it to... ;-) I checked the Troubleshooting and found that the package(s) seem not to be installed correctly. Whenever I do (as WebDB user) 'set serveroutput on; exec webdb

  • How to trace and track the mobile , I lost it today , Please help ?

    Dear friends , I lost my iphone 4s today 5th Nov 2013 around 10.00 am indian time and now the cell phone reports switched off , can anyone help with techniques to track and trace the cell phone . I have my IMEA NO. with me.