BIA RFC  ID in background

Hi friends,
Reagarding BIA indexing, is it possible to Indexing using "RFC ID in background".
If possible kindly let me know how sould we do that.
Thanks Balaji.

Hi,
i got a work saying that "remove the BIA index for a cube and rebuild it again to check whether we have required authorizations". What i have done is , selected the cube--right click---and select maintain BIA Index for the cube. i think this is online process. Then how to do with using RFC ID in background.
but my customer asked like ""Just to clarify, was that using the RFC  ID in background or on-line using your own ID? Iu2019ve only had the background BIA RFC user ID modified.  "".
so , i just to find the difference between those two
Thanks Balu.

Similar Messages

  • RFC call in background error

    We are having a unique problem in upgrade BW system. We have several RFC function calls in start routine and abap programs to R/3 and APO systems. After the upgrade these calls are not working in background. When we run the program online/dialog the RFC calls are fine and we get the data back. But when run in background we get CALL_FUNCTION_REMOTE_ERROR with  "Name or password is incorrect. Please re-enter" message in the dump.
    We have checked the RFC destination password for ALEREMOTE and they are okay. We have even tried all upper case or all lower case password options but still does not work. It seems like RFC call in background from BI 70 to non-70 (APO 3.0), the system is not passing the password in right format or something related to encryption problem.
    We came across following links but not sure if it applies. Any input on this topic is appreciated.
    Note: 792850
    http://help.sap.com/saphelp_nw04s/helpdata/en/52/6717ed439b11d1896f0000e8322d00/frameset.htm
    Regards
    -Bala

    Michael,
    It is not the problem with the user. All or any user - works fine when run online and fails in the background.
    Regards
    -Bala

  • Short Dump in rfc call in background

    Hi All,
    I am getting an RFC error short dump in a background program the short dump message says "RFC_ERROR_SYSTEM_FAILURE: no system found in another group for import queue", the same RFC works fine in foreground and in another background program. I looked into the target system, there is no dump generated.
    I tested it in one system it works fine but in another it generates a short dump.  I am trying to understand why this is happening any inputs are welcome.
    Thanks in advance,
    Barjinder

    It has been resolved the called FM was raising an exception and it was not captured in the calling FM.
    Thanks to all.

  • Table parameter of RFC FM in background task

    hi
    I have a RFC FM in system A which has two table parameters, first table parameter table1 will have the data and the second table parameter table2 will be filled with in the FM with the error and success messages. Now i am calling this RFC FM in a program in system B in background task. I am passing the values to the first table paramter table1. after the call i am using commit work. now my question is can i read the values in the second table parameter table2?
    report
    call function 'ABC' destination dest in background task
    tables
    table1 = itab1
    table2  = itab2
    commit work
    will the values be populated in itab2.?
    thanks

    Hi,
    yes u can surely read the values of the second table ,
    what ever parameters you pass to the FM whether it is an RFC enabled or simple FM they can be accessed by the report in which you r calling it.
    Call Function <FM>.
    Tables
       table1 = itab1
       table2 = itab2
    loop at itab1 into wa.
    write: wa-field1.               " Read the values of table1
    endloop.
    loop at itab2 into wa1.
    write: wa1_field1.            " Read the values of table2
    endloop.
    thanks
    ravi

  • RFC to cancel background job

    I need to cancel a background job from running by using a Remote Function Call.  Can anyone provide an example of an RFC for this?  Ideally, it would cancel all jobs owned by a certain user.

    BAPI_XBP_JOB_ABORT wants the JOBCOUNT as well as the JOBNAME.  How can I get the JOBCOUNT?  I don't believe there is a way to capture the ID from the external application kicking off the SAP job.

  • BIA RFC ERROR

    Hi,
    I've the error on bia accelerator monitor:
    SP test: Error in BI accelerator (module TREX_EXT_GET_TREX_VERSION_INFO)
    Error in the RFC communication: Error when opening an RFC connection (TREX_BIA)
    sm59
    trex_bia rfc test - OK
    trace file rfc:
    ======> CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679
    Programa de transação não registrado
    ABAP Programm: SAPLRSDDTREX (Transaction: )
    User: SISTEMA (Client: XXX)
    Destination: TREX_BIA (handle: 2, , )
    SERVER> RFC Server Session (handle: 1, 88016765, {4BAC0DB7-08AB-20D6-E100-00000A78030D})
    SERVER> Caller host:
    SERVER> Caller transaction code:  (Caller Program: CL_RSDDTREX_RSRV_CHECKS=======CP)
    SERVER> Called function module: RSDDTREX_BIARFCPING_ON_APPL
    Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1501
    CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679
    Programa de transação não registrado
    DEST =TREX_BIA
    HOST =%%RFCSERVER%%
    PROG =Trex_B02_20090121184057
    Can anyone help me?
    Regards,
    Miguel

    Hi Miguel,
    You can use the steps in the SAP note 1270808 to check the RFC or ICM connection to the BWA box.
    It seems from the trace you mention that you get the error that a program is not registered:
    From SAP note 63347 you can see that the 679 error happens if an RFC call is looking for a server program that is
    supposed to be registered on the gateway.                                                                               
    There are two notes that contain details on how to register a server program on the gateway. I have mentioned them for your review:                                                                               
    63930  Gateway registration of RFC server program  &                                                                               
    353597    Registration of a server program
    I hope this helps,
    Best Regards,
    Des

  • Output of RFC FM in background job

    Hello,
    I have a report which call an RFC FM. The FM calls a class which write some output using write statement. How can this output
    be captured in the spool request of job for my report? Is it possible?
    Regards,
    Ahmed

    Hi,
    Take output data in one internal table and try below code
    DATA: w_dest        TYPE tsp01-rqdest,
            w_handle      TYPE sy-tabix,
            w_spool_id    TYPE tsp01-rqident,
            w_name        TYPE tsp01-rq0name,
            w_titleline   TYPE tsp01-rqtitle,
            w_receiver    TYPE tsp01-rqreceiver,
            w_rc          TYPE c,
            w_errmsg(100) TYPE c,
            w_text(70)    TYPE c,
            w_spool_nr    TYPE tsp01-rqident.
      CLEAR : w_name,
              w_receiver,
              w_titleline,
              w_handle,
              w_spool_nr,
              w_rc,
              w_errmsg.
    * Set the name,title,receiver of the spool
      w_name = 'ZTEST'.
      w_titleline = 'ZTEST File Extraction'.
      w_receiver = sy-uname.
    * Open the spool request
      CALL FUNCTION 'RSPO_OPEN_SPOOLREQUEST'
        EXPORTING
          dest            = 'LOCL'
          name            = w_name
          copies          = 1
          immediate_print = ' '
          titleline       = w_titleline
          receiver        = w_receiver
          doctype         = 'LIST'
        IMPORTING
          handle          = w_handle
          spoolid         = w_spool_nr
          rc              = w_rc
          errmessage      = w_errmsg.
    * Write the spool data
      LOOP AT t_spool_data INTO e_spool_data.
        CALL FUNCTION 'RSPO_WRITE_SPOOLREQUEST'
          EXPORTING
            handle           = w_handle
            text             = e_spool_data-text
          IMPORTING
            rc               = w_rc
            errmessage       = w_errmsg
          EXCEPTIONS
            handle_not_valid = 1
            OTHERS           = 2.
      ENDLOOP.
    * Close the spool request
      CALL FUNCTION 'RSPO_CLOSE_SPOOLREQUEST'
        EXPORTING
          handle           = w_handle
        IMPORTING
          rc               = w_rc
          errmessage       = w_errmsg
        EXCEPTIONS
          handle_not_valid = 1
          OTHERS           = 2.
      MESSAGE ID '8I' TYPE 'S' NUMBER '000' WITH
      'File Extraction results sent to spool' w_spool_nr.
    Above code will generate output.
    Edited by: Thomas Zloch on Oct 12, 2010 1:44 PM - please use code tags

  • Error"SYSTEM Failure" while testing the RFC in SE37  : RFC to JDBC Scenario

    Hi All,
    I am doing RFC to JDBC scenario. When I am testing the RFC in SE37 using the RFC destination created in SM59, I get an error "SYSTEM FAILURE".
    Please suggest.
    Thanks,
    Shyam
    Edited by: Shyam Sreepada on Dec 18, 2007 5:46 PM

    Hi,
    You must run RFC with RFC destination in background mode, I suggest to read following post in order to understand it better.
    Syntax would be:
    CALL FUNCTION func IN BACKGROUND TASK
                       [DESTINATION <your RFC destination>]
                       parameter list
    http://help.sap.com/saphelp_nw04/helpdata/en/8f/53b67ad30be445b0ccc968d69bc6ff/frameset.htm
    If you read it you will find that you can't test it directly from SE37, for this either you need to create dummy ABAP program or another RFC where you will call this RFC with background syntax.
    Regards,
    Gourav
    Reward points if it helps you
    Edited by: Gourav Khare on Dec 18, 2007 6:07 PM

  • Creation of spool for job created by calling FM in background task

    Hi Gurus,
    1.Wanted to confirm if it is possible to attach spool to the job that has been created by calling a function module in background task.
    Currently I have created one RFC enabled FM and called it in background task. It runs fine, and the job is created which can be seen in SM37. But it does not contain the spool even if the RFC FM contains the code for list ALV.
    2. Also is it possible to control the name of the job created by calling the RFC FM in background task?
    Code for calling the FM is given below(ZK_XX is th RFC FM):
    CALL FUNCTION 'ZK_XX' IN BACKGROUND TASK
    CALL FUNCTION 'START_OF_BACKGROUNDTASK'
    EXPORTING
       startdate       = sy-datum
       starttime       = sy-uzeit
      NOSEND          = ' '
    COMMIT WORK.
    Thanks a lot for your help!!
    Warm Regards,
    Raveesh

    Thanks for replying.
    I need to do the processing in background. Hence using 'IN BACKGROUND TASK' addition.
    Please let me knowif you have some idea.
    Thanks & Warm Regards,
    Raveesh

  • How to determine:how many connections will be needed in RFC adapter setting

    Hi XI guru,
    We are working on following secnario:
    1. JDBC sender selects data from Oracle database, and send this data to SAP XI, XI use async RFC receiver adapter to call a self made RFC, in this RFC, we will call some BAPI and process some ABAP code, then if the reture code is ok, nothing will happen( means data successfully import into SAP ). if the reture code is not ok, another RFC will be called from ABAP code, send an asyn message to XI, XI use RFC receiver to update the message back to Oracle with specific flag.
    2. Why we use this secnario is, we want to avoid using BPM, this scenario are mass happening in our project, BPM will slow down the performance.
    3. We also don't want to use sync RFC, because BAPI and ABAP code will take sometime to run, we don;t want XI want for the RFC reture message.
    The question is:
    We successfully run this secnario in unit testing, but when we work on stress testing,found some times we will miss the RFC call. For example:JDBC sender sends message to XI for 10 times in a very short time( we use fault data to make  every message has a send back RFC message in stress testing), let's say poll interval 5 sec one time. but send back RFC only be called 7 or 8 times, 2-3 message were missing.
    we get back to SXMB_MONI, see all JDBC sender 10 message are successful, and 7- 8 send back RFC messages also successful. No log in SM58 RFC monitor. Then we go to modify maximum connection, and set it to 5, means 5 RFC coconnection possible(as far as I know, this setting means like this, but of course I maybe wrong)
    Question is: how can I know how many coconnections I need to setup, and if some RFC calls are missing, is there any place whatever in XI or R/3 can help me to monitor the log, then I can know they are not successful for some reasons,but not just simply miss as they never happened?
    That will be helpful, if some one can tell the story of what happen RFC works at background.
    Thank you very much for your time and effort on this

    HI,
    Maximum possible number of initial connections required between sender system and adapter. This value is limited internally to a maximum of 50
    See the below links
    http://help.sap.com/saphelp_nw2004s/helpdata/en/67/6d0540ba5ee569e10000000a155106/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/33/c6e63b60c25767e10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/a4/db833d4c47ea4ea1a9b7af3c535ff2/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/6e/3f560a3e0f6f4a90fb1e7db1388d4d/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/25/90d038f58f863de10000000a11402f/frameset.htm
    /people/swaroopa.vishwanath/blog/2005/03/11/rfc-migration-to-bapi-in-r3--step-by-step
    Regards
    Chilla

  • Error with Asynchronous RFC call to JDBC

    Hi all,
    We are working on a scenarion where in we have to make an asynchronous RFC call to JDBC.
    We have configured RFC sender adapter following this weblog
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    We have created data types only for the database as RFC does not require any data types.
    And also we have created message types,message interfaces accordingly.
    In Message Mappping,we mapped the export parameters of RFC to the access fields of database message type.
    Also we have created sender agreement,interface determinations etc.... accordingly
    And for sending RFC request asynchronously we followed this weblog
    /people/swaroopa.vishwanath/blog/2006/12/28/send-rfc-to-sap-xi-150-asynchronous
    Once done with all the above steps we could able to trigger the RFC call and caught with the following errors in SXMB_MONI and no errors are seen in communication monitoring
    SOAP Error:
    +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>+
    +- <!--  Request Message Mapping+
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>Application</SAP:Category>
       <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
      <SAP:P1>com/sap/xi/tf/_curr_exg_mm2_</SAP:P1>
    <SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
      <SAP:P3>RuntimeException in Message-Mapping transformatio~</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" /> <SAP:Stack>com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_curr_exg_mm2_: RuntimeException in Message-Mapping transformatio~</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Also trace shows the following error thogh the interface determinations are properly configured
    <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
    - <!--  ************************************
      -->
      <Trace level="1" type="T">--start sender interface action determination</Trace>
      <Trace level="1" type="T">select interface BAPI_EXCHRATE_GETCURRENTRATES*</Trace>
      <Trace level="1" type="T">select interface namespace urn:sap-com:document:sap:rfc:functions</Trace>
      <Trace level="1" type="T">no interface found</Trace>
      <Trace level="1" type="T">--start receiver interface action determination</Trace>
      <Trace level="1" type="T">Loop 0000000001</Trace>
      <Trace level="1" type="T">select interface *</Trace>
      <Trace level="1" type="T">select interface namespace</Trace>
      <Trace level="1" type="T">no interface found</Trace>
      <Trace level="1" type="T">--no sender or receiver interface definition found</Trace>
      <Trace level="1" type="T">Hence set action to DEL</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-PERSIST_READ_MESSAGE" />
      <Trace level="1" type="T">Note: the following trace entry is written delayed (after read from persist)</Trace>
      <Trace level="1" type="B" name="SXMS_ASYNC_EXEC" />
    - <!--  ************************************
      -->
      <Trace level="1" type="T">----</Trace>
      <Trace level="1" type="T">Starting async processing with pipeline CENTRAL</Trace>
    the above errors are shown as part of request mapping..
    Can any one please let me know what other configurations do we need to do?
    I did not map the RFC import parameters,do we need to do that
    Any help in this regard is really appreciated
    Rgds,
    Santhosh

    Hi,
    I am really happy to hear that the problem with mapping is resolved.
    Now as per your requirment It needs to be aynschornous RFC--> XI ---> JDBC call. In XI you should map the RFC Export parameters to the traget structure of JDBC.
    then the question is to how to trigger the RFC Function Module in R/3 to XI.
    Plesae follow below steps to trigger it from SAP R/3
    1. Create a RFC in the R/3 system
    2. Configure the SM59 and Sender Communication channle as given in the Michal's blog. Also test if it is succesful.
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    3. Import the RFC in XI
    4. Do the mapping to the target strucutre
    5. Configure the JDBC receiver adapter
    /people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn
    6. You can trigger the RFC from R/3 sytem by using
    Async Call - in ABAP program use below syntax to call RFC. Here the export parameters will be passed on to XI which further have mapped to JDBC.
    CALL Function "RFC Name" IN BACKGROUND TASK destination <sm59 destination>
    COMMIT WORK.
    Sync Call
    CALL Function "RFC Name" destination <sm59 destination>
    Thanks
    Swarup
    Edited by: Swarup Sawant on Jan 27, 2008 9:14 AM

  • BPM: RFC (SYNC) - BPM- HTTP client

    All XI Experts
    My scenario is RFC synchonous to XI (BPM) to HTTP Client.
    I correctly configured all my messages interfaces and mapping programs.
    I have defined the following:-
    Sync Abstract message interface for the RFC structure
    Async Abstract MI for RFC sent data
    Async Abstrcat MI for the RFC response data.
    At this stage I have NOT set up the full scenario. My BPM consists of the following steps:
    Receive- Opens an Sync/Async brige
    Send - Closes the S/A brigde
    I have also set up all the sender agreements and RFC destinations, so there is no issues with that side of things.
    When I execute the RFC (se37) and stipulate the RFC Destination, the message is logged in XI but has the following error:
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code Area="BPE_ADAPTER">SYNCHONOUS_MESSAGE</SAP:Code>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>This process does not support the specified synchronous interface or does not support any synchronous messages The exception occurred (program: SAPMHTTP, include , line: 0)</SAP:Stack>
    Has anyone come across this issue?
    Interestingly, when I execute the RFC in the background, then XI processes it fine?
    Is this how XI works? Is RFC Sync communication with BMP not supported?
    Any help would be greatly appreciated.
    Yackeen

    Hi Yackeen,
    Have you resolved this problem? I have working on the similar design. Need your input on this one.
    My scenario is RFC>bpm>HTTP (asynch)
    I have one Receive and one send step with one block, deadline branch and a control step in dead line branch.
    Thanks
    Kalyan

  • Not getting Response from RFC

    Hi,
        I am doing RFC to File. I could generate the FILE successfully. But I am not getting Response from RFC. I am getting empty payload. I am doing with out BPM. I did succesfully File-RFC-File. but here RFC is the sender. I have some doubts  in defining Interface mapping and Message Mapping. Is this a Syscronous scenario by default ?
    If I want to get the resonse of RFC to a file. How many Receivers and Senders do i need to create?
    Regards,
    Varun
    Edited by: Varun on Sep 9, 2008 1:00 PM

    hi,
    Map Rfc.response to the File; hence rfc sender adapter and file receiver adapter..one sender n 1 receiver.Remember:
      1. In the report that makes the call to XI , make sure that you use call RFC in a background task.
      2. Make sure you use Commit Work at the end of the report.
    Follow:
    Send RFC to SAP XI – Asynchronous
    Also pls visit
    Re: RFC to FILE
    for the same scenario.
    Thanks,
    Durga
    Edited by: NagaDurga Nannapaneni on Sep 9, 2008 10:55 AM

  • Call FM remotely in Background task

    Hello,
    I need some help regarding calling function modules through RFC call in background task in 4.6C.
    We are calling some standard FMs in our Z program to perform some actions in a remotely called system and based on the return value from the RFC call we are deciding further processing steps in our program. The Z program takes lot of execution time (due to huge data) and hence is executed in background and when the RFC call is made to the standard FM, the FM also is taking long execution time. Because of the long execution time in the remote system (which also is 4.6C SAP system), a TIME_OUT dump is occuring and due to this  the original job (Zprogram) also gets cancelled.
    As a solution we are trying to implement the RFC call as a background task, so that both the zprogram and the RFC call happen in background and get executed successfully.
    But, while calling the RFC FM in background it is not allowing us to fetch any return values (which is in accordance with the standard SAP behaviour). For us to proceed further in our program we need the return value and hence want an idea to approach this issue.
    Please suggest any means to solve this problem.
    Many thanks,
    Chaithanya.

    Hi Ganesh,
    Thanks for the reply.
    We already have an alternate solution to adjust the design of the Z program but we want to try out any possible solutions from SAP standard (any flag to be set or any settings to be done) instead of changing the design of our Z program.
    We would be really glad to have such a solution as the design change would take a lot of effort and is similar to developing a new program.
    Regards,
    Chaithanya.

  • RFC to JDBC Synchronous Scenario

    Hi,
    I have to configure a scenario in which by an RFC call we have to select records on a DB table and return them to the RFC as resultset. I'm not using any BPM.
    So I've developed all the design objects like:
    - MT : MT_Request; MT_Response
    - MI : MI_Synch_Inbound with MT_Request, MT_Response end FM ; MI_Asynch_Outbound with MT_Response
    - MM : MM_RFC_to_Request (from RFC to MT_Request ); MM_Response_To_RFC (from DB table response to RFC)
    - IM : IM_RFC_to_JDBC (from RFC to MI_Synch_Inbound with the 2 MM in request/response tabs)
    Also I have a JDBC CC Receiver Synch to perform the Select stm.
    My doubt now is: which configuration objects I have to configure ?
    The RFC Adapter needs 2 communication channels (Sender Asynch and Receiver Asynch) or only one Synch?
    Thanks to all,
    GB

    Dear all,
    I've created all the required configuration objects in ID:
    RFC CC sender, JDBC CC receiver, sender agreement , reciever determination, interface determination, reciever agreement.
    But when I run RFC called in background task by a report, I obtain only one message into SXMB_MONI, the one that contains the RFC output. In addition it's not visible into moni the Message Mapping execution.
    Instead if I remove the background task mode I obtain no message in moni.
    Any ideas?
    Thanks,
    Gianluca

Maybe you are looking for

  • 50-inch monitor for Mac Mini

    Greetings, I am thinking about setting up a mac mini as a iphoto library kiosk in a showroom. The space commands a large monitor and I'm think about a 50" set. Does anyone have advice on a monitor that will work well at this size with the limited vid

  • How do I make Mail stop showing notes in my inbox?

    The obvious answer is to turn off the "show notes in Inbox" option in the Mailbox Behaviours tab of Account Info, but that option is not sticking. Mail in Lion keeps re-enabling the "show notes in Inbox" option across Mail restarts. The checkbox is n

  • Can't register my quicktime pro

    I have quicktime 7 installed and when I use my registration # to register Pro nothing happens

  • CANT DELETE STARTUP ITEMS FORM PANE!!!

    Hi, I've posted, asked a lot and tried lot of things, but the "Startup Items" window under the accounts pane in Sys Prefs. is now 75 and counting!!! and I'm feeling there's nothing I can do about it!!! I can't delete the startup items wich all of the

  • HT201257 How can I run the hardware test when my USB ports and bluetooth doesn't work?

    The USB ports and the Bluetooth suddenly will not work on my Mac Mini (2008). There is very little I can do except using Remote Desktop. To run the Hardware Test, the D key has to be pressed during startup. I got no key to press. Is there any other w