Problem in importinf RFC from SAP in JCAPS

HI,
I am getting an error when i am Deploying my project in JCAPS. The error is
Cannot access property: rFC_IDOC_INBOUND_ASYNCHRONOUS.IDOC_INBOUND_ASYNCHRONOUSReceiveResponse.bytesToMarshal; java.lang.reflect.InvocationTargetException
Also when I import an RFC (IDOC_INBOUND_ASYNCHRONOUS) then I get different different sub items everytime i download it.
Are the two problems related to each other?
If any one has any suggestions plese advise.
Regds
Abhishek

I see two problem with the code:
- You don't set a Connection nor ConnectionString to your new proxy "objProxy". This is likely the reason for the exception.
- It seems that you want to have two rows in your "YfS_EMP_CLAIMTable1". Note that you need to create two instances of the struct you want to add. Reusing the variable "Claim_struct" will have pointers in YfS_EMP_CLAIMTable1 pointing to exactly the same structure instance. This is not likely what you want.
After the first
YfS_EMP_CLAIMTable1.Add(Claim_struct)
add a line
Claim_struct = New SAPProxy1.YFS_EMP_CLAIM()

Similar Messages

  • Import RFC from SAP System to XI

    Hi
    It is taking more time ( 5 to 10 mins) to list the RFC from SAPsystem ,When i try to Import RFC from SAP System to XI.
    Please let me know your ideas on the same
    Regards
    Madhan D

    Hi,
    Could you pls check the following sap notes..
    SAP Notes  718320,767091 and 212011 for a better idea on difference in performance while extracting data from R/3 backend.
    Regards,
    Madhu

  • Problem with sending mail from SAP (ECC6.0)

    Hi guys!!
    I am facing problem in sending email from SAP to outlook.
    I've checked SICF and SCOT configuration and they are same as my other server thorugh which i am able to send the mail.
    I use SBWP to send the mail. after i send i do not get any error message, and when i check it in outbox, there is a yellow triangle in the status which means "send process still running" . so the sending mail is taking hours. i've set the frequesncy of my B/G job RSCONN01 to 10 minutes. i checked and this job is running successfully every 10 minutes.
    Please suggest what could be the possible reason and what can i do to solve this issue.
    Thanks,
    Sheetal Sharma

    Hi,
    First of all ask your IT (Exhchange) guy to check port number 25 is open or not for communincation, if not open ask him to open.
    you can check this yourself by doing TELNET
    steps to do telnet :
    logon to your application server,
    go to command prompt
    and type  TELNET <IP address of email server> 25
    If it prompts some message like this
    "exhange.domain.com Microsoft ESMTP MAIL Service, Version: 6.0.3790.18 30 ready at  Mon, 16 Jun 2008 16:25:41 +0300. "
    then it means your port 25 is open for communication.
    Regards,
    Abuzar.

  • Importing parameters RFC from SAP

    Hi,
    I read that is possible call a RFC from SAP using 'call fm destination xx in background'. But, how can i get importing parameters if the fm is asynchronous?
    I'll apreciated any helps! thanks,
    Alexandre!
    Message was edited by: Reiner Hille-Doering (marked as question)

    Hi Alexandre,
    I guess you should use the refernce fields when you indicate them ref. you can access the parameters, These will extra memory so it is better if you include whenever they are necessary
    Regards
    ram

  • Problem in  Outbound IDOC from SAP R/3

    Hi,
    I am working on to send an IDOC from SAP R/3 to XI.
    I configured all necessary things as follows:
    1. Created for XI in sender system -- RFC dest, PORT and a partner profile with an outbound parameters and reciever port as XI port.
    2. created for sender system in XI -- RFC dest, PORT(as SAP<SID>) in IDX1 and assigned an idoc type(coming from sender system) to the port.
    Now I am trying to push the IDOC from sender system using Test IDOC transaction and gets success message as data is passed to port.
    My problem is I am not able to see any message in SM58 of XI server.
    Could anyone help me out?
    Thanks In Advance.
    Yaseen.

    Yasseen,
    you hardly see the idocs in Xi in sm58. Try sxmb_moni.
    If you see anything there try sm58 on the sending R/3. There you see if you have connection problems (eg authorization in XI or missing receiver determinitions).
    Hope it hellps,
    helge

  • Problem in Importing RFC from ECQ to XIQ

    Hi.....
    I have a problem in importing the RFC from ECC Quality Server to PI Quality Server.......
    When I fill the fields like
    Application Server......
    System Number.....
    UserName
    Password.....
    I am getting a screen Problem.....in which error information is given....
    One of the error is UserName(XXXX) cannot have access to aii.sap......
    Please help me.....
    Thanks,
    Sudheer

    Hi Sudheer,
    Kindly check the user having all authorizations which you are try to importing the RFC's from ECQ to XIQ, check with your basis team and try to provide the required authorizations for that particular user.
    Then you can able to import RFC's and do the design by activating the objects.
    Regards
    Venkat Rao .G

  • Problem in sending mails from SAP-line breaks in lotus

    Hi Gurus,
    I have a very peculiar issue with external mail send from SAP to Lotus Notes.
    Issue: When a PO is created in SAP a automatic mail will be sent to vendor to his
    Lotus Notes from SAP. Here we are a using a subroutine where the FM
    'SO_NEW_DOCUMENT_SEND_API1' and the content of  the mail is stored in text symbols
    and  then populated to a internal table which will be passed to the above said FM.
    So this is very simple case.
    My problem is now, even though it looks fine in the SOST, when mail is seen in lotus,
    lines of  the mail contents are breaking around 79th or 80th character, eventhough it is more  than
    that while appending to the internal table. I don't understand this at all, why it  is happening?
    Ex: in SOST if we see a line looks like this.
    aaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbnnnnnnnnnn
    but in lotus it breaks and looks like  below:
    aaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbb
    bbbbbbbbbbbnnnnnnnnnn
    Any light can be thrown on this!!!
    Reward is guaranteed for helpful answers!!!!
    -B S B

    How do you connect SAP to the lotus notes email database?  In some installations I have seen this done using Unix Sendmail functionality and this may be causing this result?
    Andrew

  • RFC  from Sap R/3 to IBM Mainframe...

    I should create an RFC from R/3 based on Unix sistem/Oracle to a Mainframe system.....
    Any advise on that ?
    I never created rfc like that....
    thanks and regards

    Hi Mauro,
    Below is the steps to connect to an external MS-SQL server from ABAP... similarly, you can explore connecting to a mainframe...
    Regards,
    Raj
    Connecting to an External database from SAP
    <b>Step 1</b>: Create an entry for the External database in DBCON table using Trxn: DBCA.
    Table: DBCON (Description of Database Connections)
    Field Name     Description           Value (For: E.g.:)
    CON_NAME     Logical name for a      RAJ
    database connection     
    DBMS     Database system     MSS
    USER_NAME     Database user     <username>
    PASSWORD     Password for setting up the connection to the database     <pwd>/<pwd>
    CON_ENV     Database-specific information for a database connection     MSSQL_SERVER=depotserver MSSQL_DBNAME=HOF_INDORE
    DB_RECO     Availability type for an open database connect     
    <b>Step 2</b>: Now you can write code to connect to the external database…
    <b>Your Sample code can be something like this……</b>
    FUNCTION-POOL z_houston.                    "MESSAGE-ID ..
    DATA: BEGIN OF wa,
    c_locid(3),
    c_locname(50),
    c_locstate(5),
    END OF wa.
    FUNCTION z_houston_connect.
    ""Local interface:
      EXEC SQL.
        CONNECT TO 'RAJ' AS 'V'
      ENDEXEC.
      EXEC SQL.
        SET CONNECTION 'V'
      ENDEXEC.
    *- Get the data from MS-SQL Server
      EXEC SQL.
        open C1 for
          select
              loc_id,
              loc_name,
              loc_state
          from ho_loc_mast
      ENDEXEC.
      DO.
        EXEC SQL.
          FETCH NEXT C1 into :wa-c_locid, :wa-c_locname, :wa-c_locstate
        ENDEXEC.
        IF sy-subrc = 0.
          PERFORM loop_output.
        ELSE.
          EXIT.
        ENDIF.
      ENDDO.
      EXEC SQL.
        CLOSE C1
      ENDEXEC.
    ENDFUNCTION.
    *&      Form  LOOP_OUTPUT
          Output
    FORM loop_output .
      WRITE: /5 wa-c_locid, 10 wa-c_locname, 65 wa-c_locstate.
      CLEAR wa.
    ENDFORM.                    " LOOP_OUTPUT

  • Problem when pushing IDOC from SAP to XI

    Hi,
        I am trying to push an IDOC from SAP R/3 system to XI. When I processed the IDOC using test tool(WE19), it's showing message that IDOC sent succesfully to R/3 or External system. But in SM58 Transaction it gave error message that in Trabsaction IDX1: some RFC connection error. Then I opened the Transaction IDX1 on XI server, in that IDOC Adapter configuration I gave RFC destination, Logical system name of R/3 and saved it. Now When I tried again to push IDOC from R/3 to it's not giving any error message(in SM58), but I am not able to see any thing in SXMB_MONI. Can anybody guess what's happening? And also I am using fresh newly installed XI server. DO I need to configure something else? All RFC connections are well defined and working fine.

    Hi,
    It is not required to create Sender Agreement for the Idoc to XI scenario. Because it is implicitly exists.
    Can u check Receiver Determination  created in the XI once again. And also check for RFC destinations created in the R/3.
    Hope it helps ..
    -Moorthy

  • Problem with Variable imported from SAP in universe

    I am using BO XI R3 with SAP based OLAP Universe.
    I am using a BEx query with a variable to create the universe.
    While using the variable in WebI report, the prompt comes but it has no effect in the report. I have noticed that if I select any measure object in the WebI query, then the prompt is working fine. But If I select dimension objects only, then the filter doesn't work.
    I need to see some dimensions only in the report based on the filter prompt. Is there any specific way to achieve that without selecting a measure object in the WebI query panel ?
    I can delete the filter object in the universe and create my own. But why the filter imported from SAP is malfunctioning ?

    Let me elaborate the problem.
    I am using BEx query (version 7) to build the universe.
    In the BEx query, I have one characteristic "Cons Area" in Rows and one key figure "No of Records" in Columns. In the Characteristic Restrictions, I have one variable B_AREA on Cons Area.
    In my universe, by default, I have :
    1. One dimension object L01 Cons Area for the characteristic Cons Area.
    2. One measure object No of Records for the key figure.
    3. Two LOVs LovB_AREA and LovB_AREABase as hidden dimension objects.
    4. One hidden filter object under class Cons Area for the variable. "Use filter as mandatory in query" checkbox is checked and "Apply on universe" is selected.
    The formula of the objects are as below:
    L01 Cons Area : [0BCS_AREA].[LEVEL01]
    No of Records:     [Measures].[D6UXU0FKYVITGHUL4JRNT6XRH]
    LovB_AREA :     [!V000001].[NAME]
    LovB_AREABase :     [!V000001].[CAPTION]
    Filter :     
    <OPTIONAL>
         <FILTER KEY="[!V000001]">
              <CONDITION OPERATORCONDITION="Between">
                   <CONSTANT TECH_NAME="@Prompt('B_AREA From','A','Cons Area\LovB_AREABase',mono,primary_key)"/>
                   <CONSTANT TECH_NAME="@Prompt('B_AREA To','A','Cons Area\LovB_AREABase',mono,primary_key)"/>
              </CONDITION>
         </FILTER>
    </OPTIONAL>
    Note : LovB_AREABase has a primary key defined on it as [!V000001].[TECH_NAME]
    Now when I am building a WebI report using this universe, If I select Cons Area Object only, then the prompt is coming but has no effect on the result. The data is not being restricted by the prompt.
    But If I select the measure object along with the dimension object in my WebI report, then the prompt is working fine.
    If I delete the filter from universe and build my own filter in WebI query panel, then it is working absolutely fine.
    I can create a filter object in universe also as below which will work.
    <OPTIONAL>
         <FILTER KEY="[0BCS_AREA].[LEVEL01]">
              <CONDITION OPERATORCONDITION="Between">
                   <CONSTANT CAPTION="@Prompt('B_AREA From','A',,mono,free)"/>
                   <CONSTANT CAPTION="@Prompt('B_AREA To','A',,mono,free)"/>
              </CONDITION>
         </FILTER>
    </OPTIONAL>
    But I want to know why the default filter is not working as expected.

  • Problem while sending mail from SAP

    Hi ABAP gurus,
        I tried to send mail from SAP. For this we configured SMTP Services using the transaction SCOT and all are Completed.
      When I send a mail using SAPOffice it is Executing successfully and main is delivered to me.
       When I tried in  the program using the function module 'SO_NEW_DOCUMENT_SEND_API1' mail is not delivered to me but it is placed in SAPoffice outbox.The status of the mail says  "SEND PROCESS STILL RUNNING". Even when i execute SAPconnect manually mail is not transmitted.
       This is the transaction history of the mail.
      Trans. history  
    18.02.2006  13:44:31  Document sent 
                 13:44:31  Wait for communications service 
    After This stage Delivery attempt is not taking place.
    This is the Code
    ****Document DATA
    EMAIL_DATA-OBJ_NAME = 'MESSAGE'.
    EMAIL_DATA-OBJ_DESCR = SUBJECT.
    EMAIL_DATA-OBJ_LANGU = 'E'.
    EMAIL_DATA-SENSITIVTY = 'P'.
    EMAIL_DATA-OBJ_PRIO =  '1'.
    EMAIL_DATA-NO_CHANGE = 'X'.
    EMAIL_DATA-PRIORITY = '1'.
    ***Receiver
        EMAIL_SEND-RECEIVER = '[email protected]'.
        EMAIL_SEND-REC_TYPE = 'U'.
        EMAIL_SEND-EXPRESS = 'X'.
        APPEND EMAIL_SEND.
    CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
         EXPORTING
              DOCUMENT_DATA              = EMAIL_DATA
              DOCUMENT_TYPE              = 'RAW'
              PUT_IN_OUTBOX              = 'X'
        IMPORTING
             SENT_TO_ALL                = SENT
             NEW_OBJECT_ID              = EMAIL_ID
         TABLES
              OBJECT_CONTENT             = EMAIL_TEXT
              RECEIVERS                  = EMAIL_SEND
         EXCEPTIONS
              TOO_MANY_RECEIVERS         = 1
              DOCUMENT_NOT_SENT          = 2
              DOCUMENT_TYPE_NOT_EXIST    = 3
              OPERATION_NO_AUTHORIZATION = 4
              PARAMETER_ERROR            = 5
              X_ERROR                    = 6
              ENQUEUE_ERROR              = 7
              OTHERS                     = 8.
    Please Help me to solve this Problem.
    Regards,
    Viswanath Babu.P.D

    Hi viswanath,
    1. in scot, in smtp node,
    2. press the internet button
    3. In ADDRESS AREA,
       type
       *yahoo.com
       *rediffmail.com
      etc,etc.
    4. Only when such domains are  entered,
       will sap send mail.
    5. It will not send any mail to other domains.
    6. Or simply enter *
    regards,
    amit m.

  • Problems with sender RFC from R/3 4.6D

    Hi all,
    I have configured a sender RFC channel on XI cluster. Immediately after channel activation everything looks fine on backend system (R/3 4.6D):
    But after some time (e.g. one hour) the connection somehow stops working.
    The u201CTest connectionu201D says u201CProgram ID not registered u2026 u201D and also XI hosts is not listed  in u201Clogged on clientsu201D any more.
    By restarting the Sender RFC from Communication channel monitor the communication is reestablished. But after an hour it breaks down again.
    The strange thing is that this problem occurs only when RFC sender channel is configured on XI cluster with two nodes (our production XI on MSCA). If the same is configured on a stand alone XI (which is our development system) the connection is working fine all the time.
    Also the problem happens only when connecting XI cluster with R/3 4.6 D system. When the same connection is established with ERP 5.0 or ECC 6.0 it is working fine.
    Setting the property initalRfcClientConnextCheck to false didnu2019t help.
    Thanks for helping.
    Janos

    transaction SMGW(gateway monitor) and choose menu option 'Goto --> Logged on clients'.
    make sure that the there is an entry in the program id is same as program id in the RFC sender channel...if not try making a change in the RCF channel and activating again
    Edited by: Tarang Shah on Feb 8, 2010 6:48 PM

  • Problem sending externail mail from SAP

    I am facing problem in sending external mail from SAP. for ex: yahoo, hotmail like that. But, i can able to send the mails to my domain ids. I have configured both the SMTP and SAP internet gateway to send mails.
    But, i dont know what could be the problem in sending external mails.
    Is there any body to help me in this regard
    Regards,
    B.Sudharsan

    Hi Sudarsan,
    How are you trying to send an e-mail using ABAP or using actions or ?
    Enclosed link gives you a complete overview of the settings and the way to send an e-mail using ABAP ( if necessary).
    /people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface
    Reward points if it helps.
    Regards,
    Vamsi Krishna P.

  • Problem in sending mails from SAP

    Hi Gurus,
    Let me explain the problem what I am facing.
    We have configured for sending automatic mails from SAP to lotus when a PO is created. Also mail details for both sender and recipient are maintained.
    But when I create/change a PO, I am getting the error message 'route is not found'
    (Error code XS826).
    Please throw some light on this.
    -B S B

    When you did the SCOT maintenance..Add the address areas.
    To do this..double click on the node for the smtp...in the supported address types group select the internet check box and click the set button...In the popup screen there is a table control for address areas..make the required entries there....
    Pls check that you have also set your default domain....It is in the menu option
    Settings --> Default Domain...
    And also Check the mail status in SAP in transaction SOST . If its not green then it is waiting to be send .
    You can start send process by running program RSCONN01 with MODE = 'INT' or trigger it from transaction SCOT .
    On production environment the program RSCONN01 is schedued as job to send mails in que at ceratin intervals.
    Rgds,
    Naren

  • Problem opening Crystal Report from SAP GUI through VPN

    Hi Everyone,
      I am facing an issue with opening the crystal report from SAP BW Role menu(SAP GUI). The issue is only with the BW Users who are connecting to the Client systems through VPN. All the settings are done perfectly in the Transaction /CRYSTAL/RPTADMIN and SICF for the CE_URL.
    For those who are in the client network it works fine. Please see the URLs generated in both the cases,below.
    From Client N/W
    [http://sapbobj:8080/SAP/jsp/Action_Dispatch/dispatch.jsp?sap_client=100&cmsname=sapbobj:6400&language=EN&sap_sysid=D40&bw_id=4HUFYJ3XBZ7QLP5HIDYPR7PR6&sap-client=100&actionName=SAP_CrystalReport_View&appKind=InfoView&service=%2FInfoViewApp%2Fcommon%2FappService.do&loc=&initialFolderId=null]
    Through VPN
    [http://sapbwd.abc.com:8100/sap/bw/ce_url?(ce_protcl):(DS)(ce_server)/(ce_path_pr)/viewreport.csp(Q)bw_id=4HUPI3I78CG4S4EDH7XSDP736&sap_sysid=(sysid)&sap_client=100&language=EN&sap-client=100]
    where "sapbobj" is the BOBJ system and "sapbwd" is the SAP BW Dev box.
    For me it seems to be something related to the N/W. Please provide me your valuable inputs to solve this issue.
    Thanks in Advance,
    Koka M
    Edited by: Madan Koka on May 19, 2010 5:18 PM

    Hi,
    I'm also facing the same issue. when try to open my report the URL doesn;t taking "bw_id".
    It is blank for all transported reports.
    Any advice..
    Thanks,
    Jothi

Maybe you are looking for

  • Java JTable Screen Blink Problem.

    Dear All, I am facing Screen blink issue while using the JTable. JTable is updated in real Time, It uses custom table model. To update the JTable, I update the Table Model and then call the UpdateUI() and repaint(). These update process is running in

  • Itunes Installs Correctly, but will not Open

    Hello I have downloaded the latest version of iTunes for Windows XP and I installed it correctly yet when I attempt to open it the hourglass appears for a second and then disappears and no iTunes. I tried to open it with the process list in front of

  • Dynamic Infopackage selection

    Hi Experts, Can anyone please post Infopackage routine that populates with below spec. Spec1 Routine to populate date field Lower Range should be 1st day of teh Fiscal Year period and Upper Range should be the cuurent date minus 1. If current date is

  • Static Text Not Displaying in Vista on modem connection

    I'm very new to Flash. I set up a swf movie on the index page of http://www.chicagowoodturners.com which has apparently been working fine. I've seen it on a number of different computers and OSs. Yesterday I saw it on a freshly installed Vista machin

  • BEx  Connection Failure...need help !!

    This is the error message. Error Group RFC_ERROR_COMMUNICATION Message Connect to SAP gateway failed Connect_PM  GWHOST=192.168.7.190, GWSERV=sapgw01, ASHOST=192.168.7.190, SYSNR=01 LOCATION    CPIC (TCP/IP) on local host ERROR       partner not reac