RFC output issue

Hi All,
I am facing an issue while executing a RFC that is imported thruogh a model in my webdynpro application.
I am initialising my model node, then binding it and then after setting the mandatory input parameter i am executing it.
The problem is the size of the node remians 0 after the execute command and no records are coming inside the node.
When i check the proxy java class for the model i find that the model instance is undefined for the Model and i am getting an error in the doExecute method of the Input Java class.
Also while importing the RFC i had got a pop up message saying "It is recommended to restart the J2EE server.
Please help and suggest what can be the problem.
Regards.

Hi sarabjeet,
I have tried with that also...but my problem is not solved with this.
Now my code looks something like this:
try
     wdContext.nodeZ_Esrce_Create_Inspn_Lot_Pdf_Input().bind(new Z_Esrce_Create_Inspn_Lot_Pdf_Input());
     AbstractList Abslist = new pwc.ca.model.requirement.Zrfc_Esource.Zrfc_Esource_List();
     Zrfc_Esource eSrc = new Zrfc_Esource();
    eSrc.setMatnr(wdContext.currentVn_CreateInputValuesElement().getVa_PartNo());
    Abslist.add(eSrc);
    wdContext.currentZ_Esrce_Create_Inspn_Lot_Pdf_InputElement().modelObject().setI_Search(Abslist);
    try
          wdContext.currentZ_Esrce_Create_Inspn_Lot_Pdf_InputElement().modelObject().execute();
          wdContext.nodeOutput_InspnLot().invalidate();
   catch (WDDynamicRFCExecuteException e1)
         wdComponentAPI.getMessageManager().reportException("Exc1:" + e1.getMessage(),false);
     catch (Exception e)
          wdComponentAPI.getMessageManager().reportWarning("Exception in Action Search::::"+e.getMessage());
But this gives me an exception saying mandatory parameter P_Matnr not set.
Please suggest....
Regards.

Similar Messages

  • PO output issue

    Hello all Gurus,
    I have a problem with the PO output form. We have created new output types and tested them in quality environment and found that the PO is generating the correct output. Then we moved these output types to production environment and tested with our production user ids. There also, the system generated the correct PO output forms.
    But when my client tested the outputs he is not getting data in Bill to address and Registration boxes. These two boxes contains the company code address. The system is displaying only the hardcoded data for the client. Not the company code data which is picked up from the tables through the form program. Can somebody suggest me why my client is getting this issue when we are not getting with our user ids in production?
    Also, I don't think this is a problem of authorization roles, since this issue is coming only for the company code 3278.
    For the rest of the company codes, the user is getting the correct PO forms. Only for Company code 3278, he is getting the incorrect output issue.
    We tried to modify the program by updating the font size and character format. But this didn't work.
    This issue has been there in my queue since the last one month and it has exceeded the permitted time limit. We are really bothered about this issue but not getting any correct solution for this.
    Please, somebody provide me some valuable suggestions on this issue.
    Thanks and Regards,
    Umakanth.

    Murugan,
    1. For the client's user id, the PO output is not showing the company code data in the PO output form. But when we are trying to see the same thing in production in ME23N (we don't have access to make changes in production), we are getting the correct PO form that shows the company code address also.
    2. The company code 3278 and output types were created at the same time and moved to production.

  • How to check which RFCs causing issues in the system and RFC response times

    Hi,
    We have an issue with the RFC response times in CRM and need investigstion. We need to know which Which RFCs causing issues and how we can solve the problems.
    Regards

    Hi,
    chek the below code
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_EXIST
    EXPORTING
    FILE = W_FILENAME
    RECEIVING
    RESULT = W_RESULT
    EXCEPTIONS
    CNTL_ERROR = 1
    ERROR_NO_GUI = 2
    WRONG_PARAMETER = 3
    NOT_SUPPORTED_BY_GUI = 4
    others = 5.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-* MSGNO WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    IF W_RESULT IS INITIAL.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_EXIST
    EXPORTING
    DIRECTORY = W_FILENAME
    RECEIVING
    RESULT = W_RESULT
    EXCEPTIONS
    CNTL_ERROR = 1
    ERROR_NO_GUI = 2
    WRONG_PARAMETER = 3
    NOT_SUPPORTED_BY_GUI = 4
    OTHERS = 5.
    IF SY-SUBRC <> 0.
    ENDIF.
    ENDIF.
    IF W_RESULT = 'X'.
    RC = '1'.
    ELSE.
    RC = '0'.
    ENDIF.
    reward if helpful.
    Regards,
    nagaraj

  • RFC Output to an Output Port

    Hi,
      My application has two nested windows inside a main window. I choose certain selection criterion in one nested window and press submit and certain information is shown in the other nested window.
      Second window content is shown only if user presses submit. This is done by passing a flag to the output port which in turn goes to the second window's input.
      My requirement is, after user presses submit, I want to call a certain RFC. At the end of the RFC I want to move the control to Output Port.
      Submit  -> RFC -> Output Port
      I can get two lines for the submit. One to call RFC and the other to the output port. But RFC execution needs to be completed first. I am able to connect RFC output to Output port(with some dummy output fields). But its giving an error while deployment.
    Thanks.
    Srinivas

    Hello Srinivas,
    The two lines doesn't work. I had a similiar problem, which you described.
    Can you post your model? - So that I can have a closer look at the problem? Maybe I have a solution.
    Best Regards,
    Marcel

  • HT6030 Sound output issue with Mavericks

    There is a sound output issue with Mavericks and Firewire800 Audio devices. I am using a MIO 2882 but now people are having issues with other devices as well. Is this something that will be addressed in an update? If not I will need to downgrade my OS.

    maybe the adapter went bad.....fast. try getting one thats made by sony. or apple. i have had bad luck with some cheap products i bought.
    or maybe thats the brand you have ad luck with. i remember when i use to get some quantom fireball drives, and they just died on me the next week. im down to two and keeping a good eye on them. especially fujitsu. the only ones i have GREAT LUCK with are Seagate and Western digitals drives.

  • Which RFCs causing issues in system

    Hi All,
    We have an issue with the RFC response times in CRM and need investigstion. We need to know Which RFCs causing issues in CRM and how we can solve the problems.
    Kindly let me know as earliest as possible.
    Regards

    have a look here:
    ST03
    Go to EXPERT MODE
    if the problem is happening now then you could use last minute load ( for a specific user for example)
    if you have no cllue , or it happens always:
    workload, Total , day, "today"
    in the analysys views: RFC Profiles
    now it depends on if you are using it as server or client, there you see all FM's called via RFC ; number of calls, total execution time, etc.
    Hope this is usefull;

  • ** How to deliver multiple files using BPM (From RFC output)

    Hi Friends,
    I am doing File-RFC-File scenario using BPM. I am using BAPI_SFLIGHT_GETLIST as my RFC (Standard RFC). If we execute this RFC, it will return the results in tables form. Assume that, the inputs to RFC is like below.
    FromCountryKey : US
    FromCity: NEW YORK
    ToCountryKey: DE
    ToCity: FRANKFURT.
    The outputs from the RFC is like below.
    26 Entries
    CAR
    CONN
    FLDATE
    AIR
    AIR
    DEPTIME
    SEATSMAX
    SEATSOCC
    |
    DL
    0106
    19.05.2008
    JFK
    FRA
    19:35:00
    280
    266
    UA
    3516
    20.05.2008
    JFK
    FRA
    16:20:00
    380
    364
    LH
    0401
    23.05.2008
    JFK
    FRA
    18:30:00
    220
    209
    LH
    0401
    28.05.2008
    JFK
    FRA
    18:30:00
    220
    208
    UA
    3516
    28.05.2008
    JFK
    FRA
    16:20:00
    380
    367
    DL
    0106
    16.06.2008
    JFK
    FRA
    19:35:00
    280
    261
    UA
    3516
    17.06.2008
    JFK
    FRA
    16:20:00
    380
    357
    LH
    0401
    20.06.2008
    JFK
    FRA
    18:30:00
    220
    213
    DL
    0106
    14.07.2008
    JFK
    FRA
    19:35:00
    280
    1
    UA
    3516
    15.07.2008
    JFK
    FRA
    16:20:00
    380
    86
    LH
    0401
    18.07.2008
    JFK
    FRA
    18:30:00
    220
    123
    DL
    0106
    11.08.2008
    JFK
    FRA
    19:35:00
    280
    56
    UA
    3516
    12.08.2008
    JFK
    FRA
    16:20:00
    380
    67
    LH
    0401
    15.08.2008
    JFK
    FRA
    18:30:00
    220
    114
    DL
    0106
    08.09.2008
    JFK
    FRA
    19:35:00
    280
    0
    UA
    3516
    09.09.2008
    JFK
    FRA
    16:20:00
    380
    164
    LH
    0401
    12.09.2008
    JFK
    FRA
    18:30:00
    220
    64
    DL
    0106
    06.10.2008
    JFK
    FRA
    19:35:00
    280
    80
    UA
    3516
    07.10.2008
    JFK
    FRA
    16:20:00
    380
    8
    LH
    0401
    10.10.2008
    JFK
    FRA
    18:30:00
    220
    16
    DL
    0106
    03.11.2008
    JFK
    FRA
    19:35:00
    280
    11
    UA
    3516
    04.11.2008
    JFK
    FRA
    16:20:00
    380
    33
    LH
    0401
    07.11.2008
    JFK
    FRA
    18:30:00
    220
    53
    DL
    0106
    01.12.2008
    JFK
    FRA
    19:35:00
    280
    0
    UA
    3516
    02.12.2008
    JFK
    FRA
    16:20:00
    380
    45
    LH
    0401
    05.12.2008
    JFK
    FRA
    18:30:00
    220
    25
    |
    We need to create output file for each record. In this case, the system should generate 26 output files.
    I imported the RFC and created the required interfaces and designed BPM also.
    Start --> Receive step --> Synchronous Send --> Asynchronous Send
    But, I stuck in how to deliver each record to the output file from BPM.
    Any idea, friends. (like using BPM Multi-line option. or 'Receiver From' property in the Send Step)
    Kindly help me friends to solve this issue.
    Thanking you.
    Kind Regards,
    Jeg P.

    Hi
    You can do it by creating one another message interface having structure same as your table.
    What you have to do is create a mapping in such a way that for each record in table one message(newly created) must be created.
    Use that mapping in an interface mapping, remember occurence of target message should be 0..Unbounded both in message mapping and interface mapping.
    Now create one single line message and one multiline message in BPM for newly created message.Use transformation step with new interface mapping, mention source(RFC response) and target message(use multiline element of new message) for the transformation step.
    Use send step inside a block,set block mode to "forEach", and attach new message to that send step.
    Use multiline and single element of new message in the property window of block.
    Now your BPM will look like
    Start ---> Receiver ---> Synchronous send ---> Transformation ---> Block ---> Async Send(within block)
    I think in this way you can implement what you want.
    Regards
    Sami
    Reward points if helpful.

  • RFC output - SE37 vs Webdynpro

    Is it possible that, for the same set of input parms  to an RFC, SE37 output could be different than data comming via the Adaptive RFC interface. The issue we are experiencing is as follows:
    We are using BAPI_SALESORDER_SIMULATE to calculate item pricing. What we noticed is that, webdynpro output is usually X times (100 or 1000) the value in  SUBTOTAL2 field of ITEMS_OUT table. We query SUBTOTAL2 for item unit prices.
    Is SE37 applying some kind of formatting for quantities, prices etc. before displaying the data, that webdynpro does not ? Has this got anything to do with R3 configuration ? Is there any webdynpro side configuration that has to be done for the outputs to match ? Please advise.

    SE37 does quite a few things differently than Web Dynpro.
    a) SE37 by default is case-insensitive . You need to check the box , if you want to make it case sensitive.
    b) I am not sure about conversion-exits .  To be on safe side, just make sure you are doing necessary conversion.
    c) I think it also takes into account user settings that you define in SAP R/3
    If nothing makes sense, try debugging.
    Regarding X times(100 or 1000), I think this is because of the comma that it puts. This is usually a user setting in R/3. Your JCo ModelData connection - is it Ticket Based Authentication or User/Password authentication ?
    In case of Ticket, user settings should not be an issue.
    Regards,
    Subramanian V.
    Message was edited by:
            Subramanian Venkateswaran

  • XML to R3 RFC Mapping Issue

    I have been doing trial and error with the node functions all afternoon, and decided to see if one of you experts can help me.
    This diagram shows the structures.
    http://webpages.charter.net/kpwendel2/map.jpg
    I need to map various TransactionDetails values into a T_CHARGES / ITEM rfc record when the Charge Category Code is a certain value.
    A mapping of "If ChargeCategoryCode = ADC (context - TransactionDetails) then map Shipment (context - TransactionDetails) to Item node" is working for the first occurance.  If I have multiple invoices in the xml source, the subsequent records are not getting created.
    I have tried various context changes and node functions, but to no avail.  For example, when I change the contexts to the InvoiceDetails level in an attempt to get all Invoices, I end up with no output ITEM records.  Any suggestions would be appreciated.  Thanks!

    > A mapping of "If ChargeCategoryCode = ADC (context - TransactionDetails) then map Shipment (context - TransactionDetails) to Item node" is working for the first occurance.
    Hi Keith,
    You just use removeContexts node function between if condition output and item node in target.
    i have small doubt i.e is Shipment node or element in source message type?
      if its field or node why you are mapping it to item node.i guess it doestnt make any sense.
    anyway its up to you.
    if you have any issues in my solution please let me know.
    Cheers,
    Jag

  • Receiver RFC adapter issue! Please help!

    Hi Experts,
       I have 4 XI interfaces. All of these are Webservice to RFC scenarios. Moreover all of them are synchronous.
      Request message: Webservice (SOAP Adapter) ---> XI -
    > RFc Adapter ---> ECC Function modules
      Response message: Webservice (SOAP Adapter) <- XI < RFc Adapter <- ECC Function modules
    As you can see above, external system calls XI web service via SOAP Adapter. The input data is then sent from SOAP Adapter to RFC adapter to call RFC function module in the receiving side.  The receiving system is SAP ECC system.
    The receiver ECC system has two instances. For example SP0 ad SP1. 
    In the receiver determination step we have maintained a rule such that if the Plant value in the input message is XYZ then send data to SP0. But if the plant value in ABC then send data to SP1.
    This Conditional rule is working fine.
    However we are getting couple of issues with only one instance of ECC (SP0).
    1. com.sap.engine.interfaces.messaging.api.exception.MessageExpiredException: Message badfa070-b163-11de-a4c1-001cc495e48a(INBOUND) expired
    2. NO_MAPPINGPROGRAM_FOUND. Mapping program is not available in runtime cache: Object ID C2B41FFDFD4635BAB1E41AE53C0D10CE Software Component 5394F420463611DAC1CFFBBC0A01BC16
    3. com.sap.engine.interfaces.messaging.api.exception.MessagingException: No response available
    The above listed errors are generated occasionally. Sometimes no errors are generated even when the same input data is sent again and message is successfully processed.
    I have verified the input data and everything is OK with that.
    Mapping object is available in XI and cache was also refreshed. I additionally reactivated the objects in XI as well.
    So what could be the real root cause of this? Please help!
    Thanks
    Gopal

    1. com.sap.engine.interfaces.messaging.api.exception.MessageExpiredException: Message badfa070-b163-11de-a4c1-
    001cc495e48a(INBOUND) expired
    Check the Timeout parameter of your adapter.....for requests which expire with this error confirm from the SAP end that the message processing is done well within the Timeout period of the adapter.
    Refer this note for more info on the above occuring error and the possible way to avoid it: https://service.sap.com/sap/support/notes/791379
    Update:
    Even problem 3 seems to be occuring due to insufficient Timeout specified for the adapter.....if possible try increasing the Timeout in VA
    Regards,
    Abhishek.
    Edited by: abhishek salvi on Oct 6, 2009 1:42 PM

  • Output Issue in Delivery

    Hello Experts,
    I have assigned the Output type RD00  to Replishnment Delivery,Since i require the output for STO for cross company i have assigned the output type RD00 in the procedure but i am facing the below error.
    Output could not be issued
    Message no. VL086
    Diagnosis
    An error occurred in the message processing program.
    Procedure
    Contact your system administrator.
    What could be the issue
    Thanks
    Shri..

    The issue could be possibly because of incorrect Output determination procedure. Pls check again the output determination customization.
    Also put a breakpoint in the Entry form routine of the driver program and see if it actually calls the programs. If it calls the program debug more to see if there is any issue within the driver program which could be hindering the output.
    Thanks
    Arjun

  • At selection- screen output issue

    Hi,
    I have a issue regarding at selection-screen output event with radio buttons, 
    Fields are like,
    Block B1
      RB1
    Block B2
    RB2
       field 1 (Check box)
       field 2 (Check box)
    User can select one radio button at a time. If the user clicks on radio button RB1 then fields under Block B2 will be disabled. If user click on RB2 field 1 and fields 2 will be input enabled. Could you please give the solution asap
    Note: Radio buttons are in different selection screen blocks.

    Check this code -
    *SELECTION-SCREEN BEGIN OF BLOCK B WITH FRAME.
    *PARAMETERS:
    *Pi1 TYPE C  RADIOBUTTON GROUP G1 DEFAULT 'X',
    *Pi2 TYPE CHAR25,
    *Pi3 TYPE C  RADIOBUTTON GROUP G1,
    *Pi4 TYPE CHAR25.
    *SELECTION-SCREEN END OF BLOCK B.
    *PARAMETERS check AS CHECKBOX.
    *PARAMETERS show_all AS CHECKBOX USER-COMMAND flag.
    *SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
    *PARAMETERS: ip1(10) TYPE c,
               ip2(10) TYPE c,
               ip3(10) TYPE c.
    *SELECTION-SCREEN END OF BLOCK b1.
    *SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME.
    *PARAMETERS: ip4(10) TYPE c MODIF ID bl2,
               ip5(10) TYPE c MODIF ID bl2,
               ip6(10) TYPE c MODIF ID bl2.
    *SELECTION-SCREEN END OF BLOCK b2.
    *AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
       IF show_all <> 'X' AND
          screen-group1 = 'BL2'.
          screen-active = '0'.
       ENDIF.
       MODIFY SCREEN.
    ENDLOOP.
    Regards,
    Amit Khare
    reward all helpful replies.

  • Sender RFC Adapter Issue

    Hi ,
    I am using the following scenarion  (SAP ECC)Sender RFC>PI 7.1->Receiver JDBC(ThirdParty).
    The issue is whenever the the ECC system is down and is up again , the RFC sender messages are getting struck in SM58(tRFC queue).What I manually do is , go the RFC Sender communication channel in PI and reactivate it again, by making a small change in the description of the communication channel.
    So, my question is , whether there is a automatical ways to handel this issue.
    Any other suggestions would be highly appreciated.
    Thanks,
    Venu

    There is no standard way to perform this automatically. I think restart of ECC is not a frequent practice in any business, therefore ideally you should add this as one of the post processing procedures after ECC restart.
    Technically, there is possibility of creating a scenario which can run through a job on ECC running once after each restart. This can call webservice in PI to fetch communication channel information and reactivate it. Not a solution I would recommend.
    Regards,
    Prateek

  • PI 7.1 EHP1 RFC Lookup- Issue

    Friends,
    I'm seeing one strange issue in RFC Lookup behavior in my PI 7.1 EHP1 . Please give me some ideas for the same
    Please see the below image for what I have done and what I'm seeing in the display queue.
    http://www.flickr.com/photos/8764045@N06/4642237515/sizes/o/
    To make it more simple - When I click on the Display queue on RFC lookup, I can see some 20 values with context changed. I removed my context and passed it to the UDF. When I check the input length in the UDF it's always giving 1, even though the display queue gives me 20 values.
    Any ideas?
    -Raj.

    Stefan/Sarvesh,
    Thanks for your replies . Please see the below snapshots for complete picture.
    UDF code & Properties -http://www.flickr.com/photos/8764045@N06/4643880555/sizes/o/
    RFC Lookup Properties -http://www.flickr.com/photos/8764045@N06/4643880541/sizes/o/
    Display Queues on UDF and RFC Lookup -http://www.flickr.com/photos/8764045@N06/4643883271/sizes/o/
    I truly appreciate all your help on this.
    -Raj.

  • OS X 10.8.5 mac mini hdmi audio output issue

    I am running a 2012 Mac Mini with OS X 10.8.5 and my Mac is set for audio and video output via HDMI to my AV receiver / TV. I have recently noticed that HDMI audio output ceases to function once the computer goes to sleep. A full computer restart is required to resolve the issue which is an inconvenience to say the least.
    Or is anyone aware of a simple fix?
    All my software is up to date, the HDMI lead and connection works fine for video and audio works fine after a restart so it must surely be a software error. Worked fine until the latest OS X update...
    Grateful for any help!

    See > TS4113 Mac mini looses audio output...: Apple Support Communities and others like it, just to the right in More Like This

Maybe you are looking for

  • Unable to create "filename.cdr". (Input/output error)

    I am trying to create an ISO from a CD. I've tried using Disk Utility, with all different settings, and Terminal. Additionally, I attempted to make the ISO using an array of third party CD-rippers on a PC. Every platform and method has yielded this e

  • 6230i help asap

    i have a 6230i i use windows xp and i connect to the computer via usb cable. my problem is that i plug in the cable and pc suite reads it fine execpt i click on file manager and nothings in the folders (none of my things music photos etc)same with au

  • Having troubles with aspect and size when exporting to CD

    I would like to export my pics to a CD so i can send them out to be printed in a lab. I'm confused with the aspect ratio when I crop them i know I have to lock the aspect but should I keep it on Original? Also i'm wondering when it comes to export th

  • What cameras are compatiable with elements 11

    hello, i am thinking of buying a new camera but am concerned with some cameras not being compatable with the photoshop elements 11. please help! Im looking at a Nikon D70. thanks

  • JTable Creation and Viewing

    I want to create a table and display it along with the column names on it? i.e if I have two columns Names, Properties When I run I want to see Names Properties row1 row1properties row2 row2properties ...etc I tried giving this DataModelClass newData