Passing inputs not possible using JRA

I am running SP14.
I am unable pass input values to my remotely-callable function module using JRA.  However, I can invoke a different RFM successfully and its retrieve exports--IF it doesn't require inputs.  So it seems that only passing inputs is not possible.
I have tried passing a simple field, as well as passing a structure.  Neither way works for me.
<u>1. Here is how I tried to pass a simple field:</u>
MappedRecord input =
recordFactory.createMappedRecord
("Z_GET_EMPLOYEE");
input.put("USERID", userid);
MappedRecord output = (MappedRecord) ix.execute(null, request);
The error I recieve on this is
<b>The RFM is invoked, but only a blank parameter is passed.</b>
<u>2.  Here is how I tried to pass a field in a structure:</u>
MappedRecord request =
recordFactory.createMappedRecord
("Z_GET_EMPLOYEE");
MappedRecord importstruct =
(MappedRecord) request.get("RFCINPUT");
importstruct.put("USERID", userid);
MappedRecord output = (MappedRecord) ix.execute(null, request);
The error I recieve on this is
<b>Field RFCINPUT not a member of Z_GET_EMPLOYEE</b>
Any thoughts would be very much appreciated.
Kevin

Here is another piece of the puzzle.
I found some coding examples and tried a few more things.
Using the same JRA technique that I have been using,<b> I can run an existing sap-delivered rfm (STFC_STRUCTURE) successfully and pass in input parameters successfully</b> using its structure (IMPORTSTRUCT)!
However, I added IMPORTSTRUCT to my new RFM, and I get the same error as before.
Why can't I pass in parameters to my RFM?
Kevin

Similar Messages

  • Unable To Pass Input Page Parameter Using PageDef File.

    Dear All,
    I am currently exploring task flows as I dont have that much knowledge in it.
    Here's my use case
    1. I setup a taskflow which has a Method Call and a View Activity in it.
    2. The method call is a default activity which just calls a web service.
    3. After execution, I just wanted to display the result of the method.
    I used input page parameters to pass data between the method call and the view activity.
         (I passed the data by accessing the pagedef file directly. I know I can do it using pageflowscope..but this is
         my self exercise so that I could understand ADF fully );)
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-definition id="ManageEmployeeTaskflow">
        <view id="viewEmployee">
          <page>/viewEmployee.jsff</page>
          <input-page-parameter>
            <from-value>#{data.com_test_ManageEmpFlow_methodPageDef.empInfoIterator.currentRow.dataProvider.name}</from-value>
            <to-value>#{data.com_test_viewEmployeePageDef.name.inputValue}</to-value>
          </input-page-parameter>
        </view>
        <method-call id="EmployeeSetup">
          <method>#{bindings.EmployeeSetup.execute}</method>
          <outcome id="__12">
            <fixed-outcome>viewEmployee</fixed-outcome>
          </outcome>
        </method-call>
        <use-page-fragments/>
      </task-flow-definition>
    </adfc-config>Problem is, when I display the data. Nothing is being displayed.
    <af:inputText value="#{bindings.name.inputValue}"
                      label="#{'Name'}"/>          I debug the taskflow and the <from-value> really has a value, but I am not sure why it cant be passed to next pagedef.
    Any idea please?
    Edited by: Marky on May 15, 2011 11:25 PM

    Hi,
    I've been thinking... Is this way of passing parameters not possible?
          <input-page-parameter>
            <from-value>#{data.com_test_ManageEmpFlow_methodPageDef.empInfoIterator.currentRow.dataProvider.name}</from-value>
            <to-value>#{data.com_test_viewEmployeePageDef.name.inputValue}</to-value>
          </input-page-parameter>Thanks.

  • Error : Access not possible using "null" objects reference

    Hello.
    i am working with a zbapi.
    i called a external email program in this bapi,everything is working fine over here.
    In webdynpro java they mapped my bapi and starting working from there.
    every functionality is working fine but regarding this email stuff it is showing an error as access not possible using null objects reference.
    where could be the possible error.
    is it in webdynpro or in abap side.

    Raghu,
    You are right. When it comes from the WD Java, may be you are not passing any value at all. You can trace it by these ways.
    1. Check it using SE37, make sure everyhting is fine.
    2. Print all the values that you are passing to the RFC in the execute RFC method().
    3. using ST05 transaction in R/3, enable RFC and SQL trace, check what is passing in between web dynpro and R/3.
    Moreover paste your error message here.
    Thanks,
    Raj.

  • Make my field as input not possible.....

    Hi all...
    in module pool screen.....
        How can i make one input field as "input not possible" for one perticuler condition met??
    ex:   iam having one input field in my screen.... so i can enter the values for it.... similer ly iam also having another one... here if i enter value in the second one and push the pushbotton to do some caluclation part.
    then my first input field has to appear but in no input possible mode...
    Thank you,
    Naveen

    Hi,
    You said you have two fields on your screen and a pushbutton...
    So You can do like this....
    if sy-datar = 'X'.
    loop at screen.
    if screen-name eq 'FIELD1'.
    screen-input = 0.
    endif.
    Modify screen.
    Endloop.
    Endif.
    Or you can also do like this....
    If sy-ucomm = 'PUSHBUTTON'.
    loop at screen.
    if screen-name eq 'FIELD1'.
    screen-input = 0.
    endif.
    Modify screen.
    Endloop.
    Endif.
    here PUSHBUTTON is the Fcode for the Pushbutton and FIELD1 is the screen name of the field which has to get diabled.
    Reward if helpful.
    Regards,
    Syed

  • One of the field is disabled(input not possible) after upgrade in FPE1

    Hi ABAP Gurus,
      I am working on FPE1 Transaction Code and i just find out that after upgrade one of the field  on screen is not input possible but before upgrade we have that field as input/output  possible .
    so now we want same functionality what we have before . so which path do i need to follow because its standard screen .
    any suggestion is appreciated .
    Thanks,
    Jack
    Edited by: jack troy on Jun 24, 2009 7:36 PM

    Hi Ajay,
    Thanks for your reply . My question is can we enable field for input using transaction variant .because if i go to screen layout for FPE1 ,  i can see that this field is only output possible .
    Thanks,
    Jack

  • Recon account ready for Input-Not possible to change during MIRO

    Hello
    We are on ECC 6.0
    System does not allow users to change Vendor Recon A/c during invoice verification through MIRO. Recon A/c field is greyed out under Details tab in MIRO.
    Recon Account has been declared as Ready for Input and Alternative Recon A/c has been mapped wrt GL A/c by assigning it an ID.
    However, i am able to change recon A/c during invoice booking through FB60 or F-43 t codes.
    What am i missing?
    Does sytem allow change of Recon A/c in MIRO? If yes, how?
    Thanks.
    Vimal

    Hi, check vendor rec. account for this Company code, then check Accounts Receivable and Accounts Payable-Business Transactions-Postings with Alternative Reconciliation Account-Define Alternative Reconciliation Accounts
    If there exists such Defining, so check may be Alternative account just for Aut.posting, or forbided for posting in this Currency

  • Qosmio x870 - Drag & drop with alt-tab not possible using touchpad

    Hello everyone,
    I have a problem with my Qosmio x870 and Synaptics touchpad drivers on Win7 64bit.
    They will not allow me to drag and drop between applications.
    As soon as I press Alt-Tab while dragging a file to switch to another application, dragging instantly stops.
    I'm using official & latest (15.3.41.7) Toshiba touchpad drivers from here http://goo.gl/pKHAI
    I tried installing generic Synaptics drivers and they don't have such a problem.
    With them, everything works fine with drag and drop,
    however, their implementation of two finger scrolling is really buggy and more than half the time it doesn't work so I can't use those.
    Does anyone know if this bug will be fixed and when?
    Any help? Thanks!

    Hi,
    I don't have "Advanced" tab in Mouse settings in control panel. Is there something i need to install in adition to Toshiba Synaptics drivers?
    I also tried changing every available setting in Synaptics drivers settings, but no change :(
    About Synaptics generic driver: Yes, I chose that one, but as I said, it's really buggy with two finger scroll, so I reverted back to Toshiba ones.

  • In posts of this forum is not possible use embedded images. Why?

    Subj...

    Hi,
    according to my information it is a security percaution to avoid hacks into OTN
    Frank
    Edited by: Frank Nimphius on Nov 26, 2009 8:34 AM

  • Use of Input Variables in SQL-Queries Sometimes Not Possible

    Only in simple SELECT-statements the use of input variables ([%0], [%1], etc.) work without problems.
    In more complex queries the use of these variables is not possible (e.g. SELECT-statements with sub-queries, sometimes when UNION is used - but I couldn't find any general rule when the problems will arise; sometimes two different queries with the same query-structure behave in different ways when these variables are used).
    In these cases the query is not executed - not even the input-window to enter values into the input variables is displayed. The query stops with some strange error-messages in the status line. These error-messages doesn't have any relation to the actual query - sometimes it refers to field-names never used in the query or refers to syntax error which do not exist.
    If the input variables are replaced by constant values there are no problems so there can't be any syntax errors - the only difference is the presence or absence of input variables.
    Example:
      provided that the queries have a certain complexity
      SELECT ...
      FROM   ... OINV Tx ...
      WHERE  ... Tx.DocDate >= [%0] ...
      does not work,
      SELECT ...
      FROM   ... OINV Tx ...
      WHERE  ... Tx.DocDate >= '1.1.2007' ...
      works!
    Does anybody have run into the same problem and now if it is a bug of SAP-BO or an error on behalf of the user? Does anybody know a way to correct the problem?
    Thanks in advance!
    Frank
    By the way: Are there any rules where exactly input variables can be used in a query?
    Only in SELECT-statements? Where there exactly?
    In statements outside of SELECT?

    Only SAP Partners Can access service.sap.com/notes, but I think it is possible to search in them from the customer portal as well.
    Here are summary of the two notes mentioned before this:
    730960:
    <i>
    The following query is an example for how to define variables in long
    queries rather than using "Fixed Declares".
    You need to use exactly the same template as follows, do not delete
    "comments" from this query.
    The only changes you need to do :
    1. In the first and in the fifth rows you need to select the table to which you would like to relate the variable e.g. in this example, the variable is related to the table VPM1 - 'Payments to Vendors - Rows'.
    2. In the fourth and in the eighth rows you need to select the field to which you would like to define the variables e.g. in this example, the variable is the field 'DueDate'.
    /SELECT FROM [dbo].[VPM1] T0/
    declare  @fromdate as datetime
    /* WHERE */
    set @fromdate = /* T0.DueDate */ '[%0]'
    /SELECT FROM [dbo].[VPM1] T1/
    declare  @tilldate as datetime
    /* WHERE */
    set @tilldate = /* T0.DueDate */ '[%1]'
    select  OVPM.docnum, VPM1.dueDate,VPM1.CheckNum, VPM1.Branch,
    VPM1.BankCode, VPM1.CheckSum, OVPM.CardName,
    case
    when OPCH.docnum is null then VPM2.docEntry
    else OPCH.docnum
    end as 'docnum'
    from OVPM INNER join VPM1 on OVPM.docnum = VPM1.docnum
    left join  VPM2 LEFT JOIN OPCH ON VPM2.DocEntry = OPCH.DocEntry
    on OVPM.docnum = VPM2.docnum
    where OVPM.Canceled = 'N' AND VPM1.DueDate >=@fromdate AND
    VPM1.DueDate <=@tilldate
    </i>
    955295:
    <i>
    Using SAP Business One Survey Variables (parameters) in a 'Set' SQL Statement can give an error in the Query Generator.
    For Example:
    Declare @Num as numeric(2)
    Set @Num = [%0]
    Select T0.DocNum
    From ORDR T0
    Where DocNum = @Num
    Other terms
    query, SQL, parameter, survey, variable, query generator, set, declare, [%0], table, error, SAP Business One
    Reason and Prerequisites
    FAQ
    Solution
    In such cases you need to put in an SQL remark statement a reference field in the DB for the Survey Variable (any field).
    For Example: (to make the above query work)
    Declare @Num as numeric(2)
    Set @Num = /* T0.DocNum */ [%0]
    Select T0.DocNum
    From ORDR T0
    Where docnum = @Num
    </i>

  • IOS Cangjie input method can not be used. Original with Space Bar word selection function is invalid, as soon as possible to solve, it will affect the most users in Taiwan and Hong Kong.

    iOS Cangjie input method can not be used. Original with Space Bar word selection function is invalid, as soon as possible to solve, it will affect the most users in Taiwan and Hong Kong.

    No PR1.2 Firmware update, No update for Nokia Messaging, No updates for Ovi Maps .... Why is the N900 the forgotten stepchild ?
    "PR1.2 is still being tested - http://twitter.com/luovanto/statuses/13087245356"
    Hong Kong Launch http://www.youtube.com/watch?v=pY8zCBzvQLo

  • "The 'charCode' property of a keyup event should not be used. The value is meaningless." Is this possibly caused by a virus?

    I don't know what's wrong with my Mac Mozilla Firefox, version 3.6.8, but today, it started alerting me about an error message on the "Error Console". In every website I visit, it tells me: "The 'charCode' property of a keyup event should not be used. The value is meaningless." Is this possibly caused by a virus?
    I saw a pop-up which did not allow me to click it when I scatter the windows on my Mac. I was using Private Browsing, with pop-ups disabled, but one pop-up managed to get passed my settings, and open in another window. It would not allow me to select it, so all I did was to close Firefox, and start a new session. So far, everything has been normal, I also deleted the cookies it installed.
    But, I still keep seeing that "Error Console" notice under my "Tools" on the Menu Bar, and when I clicked on it, it listed errors (such as what I listed above).
    Would someone explain this to me?
    Thanks for your help!

    The messages you see in the Error Console are mostly to assist the web site's author in resolving compatibility problems. Some of them can assist you in determining why a web site doesn't work as intended. The one you mentioned doesn't sound that suspicious, except that it occurs on many sites. Perhaps one of your add-ons is trying to monitor what you type?
    To diagnose whether this is caused by an add-on or one of your settings, you could try the following:
    First, make a backup of your computer for safekeeping. To back up Firefox, see [https://support.mozilla.com/en-US/kb/Backing+up+your+information Backing up your information].
    Next, try starting Firefox in Firefox
    [http://support.mozilla.com/kb/Safe+Mode Safe Mode]. Be careful not to "reset" anything permanently if you didn't back up.
    Does that resolve the errors? If so, then an add-on usually is the culprit. If not, try creating a new (blank) profile: [http://support.mozilla.com/kb/Managing+profiles Managing profiles].
    If the new profile works correctly, you can choose between further research on your old profile or moving key settings like bookmarks from your old profile to the new one. [https://support.mozilla.com/en-US/kb/Recovering+important+data+from+an+old+profile Recovering important data from an old profile].
    Hope this helps.

  • Parking not possible during batch input

    Hello,
    Iu2019m facing a problem for creating a parked vendor invoice in background (Tcode FB60 / FV60) thru BDC or BAPI.
    I looked for a BAPI and I just found "BAPI_ACC_INVOICE_RECEIPT_POST", for posting FI invoice : it doesnu2019t correspond to our requirements (we need to park).
    Then I used "PRELIMINARY_POSTING_DOC_WRITE" for parking an invoice but when we see the parked invoice in FBV2, the displayed Tcode is like FBV1. The users want the vendor invoice header, I mean the same screen as FB60.
    Finally, I tried to use Batch Input to park but I got the following message :
    "Parking not possible during batch input"
    Message no. FP140
    Procedure
    In Customizing, you can control whether an error message is issued."
    I found nothing in IMG about control message
    And in sdn forums, some said that bdc doesnu2019t work for an enjoy transaction (MIRO, MIR7, FB60 ..) but we already created a BDC for MIR7 and it works.
    Thanks,

    You can use [CALL TRANSACTION|http://help.sap.com/abapdocu_70/en/ABAPCALL_TRANSACTION.htm] like BDC.
    via CALL TRANSACTION you may use [bdc options with NOBINPT |http://help.sap.com/abapdocu_70/en/ABAPCALL_TRANSACTION_BDC_OPTIONS.htm] so the systeme field sy-binpt will be initial.
    You will need to manage the error messages in your program.(no SM35) one solution is to build the BDC for records with errors.
    There are many threads on [difference Between Batch Input and Call Transaction in BDC|https://forums.sdn.sap.com/search.jspa?threadID=&q=differenceBatchInputCallTransaction&objID=c42&dateRange=all&numResults=15&rankBy=10001]
    Regards,
    Raymond

  • Advanced table pass two VO possible or not

    Hi
                                               Is it possible to  pass more than one VO in view Instance property in advance table?

    It's not possible to add one more view instance to advanced table. At any point in time only one vo instance can be used.
    Regards,
    Peddi.

  • FV50 - Parking not possible during batch input

    Dear SDN,
    our client has a custom program for GL Document batch input through TCode FV50.
    Though the answer should not be, the question here is very straightforward: why, in this program, the mentioned error occurs for some users, but not for others, giving ALL the input parameters are the same???
    1 - Batch input runs
    2 - FV50 is displayed
    3 - (Menu) Document -> Park
    4 - Error: FP140 - Msg: "Parking not possible during batch input"
    Note: User who gets the error has ALL the authorizations that users who don't get the error have.
    Any suggestion is highly appreciated.
    Regards,
    Fabio

    This message is triggered in SAPMF05A program - MF05AFB0_BELEG_PARKEN include.
    keep a breakpoint at this line and check in debug mode.
    Also since you are using a custom program to call FV50 transaction,
    check if CTU_PARAMS structure is used and try using NOBINPT = 'X' option.
      if sy-binpt ne space.
        call function 'CUSTOMIZED_MESSAGE'
          exporting
            i_arbgb = 'FP'
            i_dtype = 'E'
            i_msgnr = '140'.
        if 1 = 2.
          message e140(fp).
        endif.
      endif.

  • PARK is not possible during batch input.

    i am using FB60 ( and only can use FB60 )
    when bdc recording i push at the pushbutton PARK
    it give me the error
    PARK is not possible during batch input.
    anyone has any solution to help me solve this problem.
    btw i only can use FB60.
    thanks you

    Hi,
    have a look at: BAPI_INCOMINGINVOICE_PARK
    Best regards.

Maybe you are looking for

  • Custom field in SAP Inbox

    Hi Experts, I have a requirement of adding a custom field in SAP Inbox. Ex: If an Invoice Wrok flow is triggered..the Invoice number number will be generated and it will be shown in the Title column.       Now I have a requiremnt of adding a two Cust

  • How i can change system ECC to ERP in Solman

    Dear SAP Colleague, I have configured the service desk in Solman. We have ECC 6 system in the landscape. but i have add these system as SAP ECC system in Solman, and now when i am trying to upgrade these system for EHP4 its showing me the erro that s

  • Iphoto 11 compatability with gmail. Server not recognising user or password when I attempt to share photo,s

    When attempting to  email photo,s  using iphoto this message appears; server not recognising user or password. i have checked preferences and may gmail a/c is listed as default sender. Any help out there for me? PS It was fully functional before I in

  • Time Code Overlay no longer working

    I'm having one of those bizarre computing experiences where a function I've been using for years no longer seems to work. Timecode overlay is no longer showing the source material timecode - it shows the in and out timecode in the top of the canvas b

  • No characteristics found for configuration valuation for material YYTESMAT-

    Hi    in tcode PDN I am createing a filter and asing material yytesmat to it when i try to assing characteristic to it i am getting error 'No characteristics found for configuration valuation for material YYTESMAT' pls help how to solve this error FY