How to force Functional Module to use Batch-Process ?

Hello all,
I am calling a FM via synchronous RFC. No matter what I try the functional module is started
in a dialog process in the remote system. This is inconvinient because sometimes the process takes too long and a timeout occurs. I also tried transactional RFC and asynchronos RFC but no  difference here.
The FM will always be executed in a dialog process.
How can I tell the functional module to use a batch process ?
Thank you for your answers,
Axel

hi,
use
  CALL FUNCTION 'HR_START_BATCHJOB_IN_OTHER_SYS'
    EXPORTING
      repid                = 'sy-repid'              "           "Program name
      variant              = 'VAR'
    JOBNAME =
    CALL_BACK_DEST =
    CALL_BACK_ID =
  IMPORTING
    JOBCOUNT =
    INDX_ID =
    TABLES
      valutab              = it_sel.
you can set your program in batch mode using the above function module
Yogesh N

Similar Messages

  • How to reduce file size when using batch processing?

    I use File > Process Multiple Files to batch process photos to a smaller file size along with adding my watermark.  I've played with many different settings and no matter what I choose, I can't get my average file size to be less than about 200k.  However, when I've exported the same photos using iPhoto, I can get the file size to about half of that with no difference (to my naked eye at least) in quality.
    I definitely want to keep the height at 768 pixels so that needs to stay constant.
    My current settings in batch processing (average file size = 200 kb)
    Resize images with a height constraint of 768 pixels at 150dpi
    What I've tried:
    Resize at 72dpi (reduced file size by about 5kb)
    convert file to JPEG low quality (reduced file size by about 10kb)
    convert file to JPEG medium quality (not much difference in file size)
    I'm using PSE 10 on a Mac running Lion.
    Thank you in advance for your help!

    You should go with default settings of Optimizer.
    One difference between default settings of Optimizer and Reduce file size is that Optimizer does not guarantee a reduction in file size (if your Optimizer settings lead to an increase in file size, that's what you will get).
    With Acrobat 9, the default setting in Optimizer has an additional setting which would not do an image optimization that results in increase of file size. In that sense it would in most cases give a smaller file.

  • Which function module is used?

    Hi all,
    The function module C1CA_SD_INTERFACE_TO_EHS_NEW is used to generate messages to the workflow inbox.
    From this function module how or which function module is used to get the information to the inbox documents..
    Please reply to my above question...
    Thanks & regards,
    Sunil.

    Hello Sunil
    It is not so clear to me what your are looking for. If you take a look here (as an example)
    http://www.se80.co.uk/sapfms/c/c1ca/c1ca_sd_interface_to_ehs_new.htm
    you will find a "documentation"  of this function module.
    I have copied only thee most important part here of the docu on this link:
    "This is the central function module for linking the R/3 component Product Safety (EHS-SAF) to the R/3 component Sales and Distribution (SD). The function module is used to generate report shipping orders using data from SD. An example of a report is a material safety data sheet. "
    The "inbook" in some "sense" is EHS and there transaction CVD1 and only if you have performed a correct EHS set up.
    What "workflow inbox" are you looking for?? Those of the SAP SD messages ??
    Could you please explain a little bit there you are "struggeling"?
    With best regards
    C.B.
    Edited by: Christoph Bergemann on Apr 9, 2011 9:06 AM

  • How to identify Which function modules are used in the planning area?

    Hi all,
    there are couple of function module derviation is used to derive the calendar year, month, fiscal period etc.
    But how to identify which function module is used in which planning area?
    I cant find out from the where used list from function modules?
    Thanks
    pooja

    Hi Pooja,
    Go to characteristic relationship tab,click on detail icon on extreme left of the derivation,there you will get the name and the details of function module used for derivation.
    Regards,
    Indu

  • To find Function Module is used for How many times

    Hi Gurus.
    How to find a Function module is used for how many times since it is created.. we went through the Tcode STAT , ST03, STAD, STATTRACE but in ST03 we can find it for Program but we could not find it for Function module , So can any one please suggest us . we are using ECC 6.0 version.
    Thanks and Regards,
    Chaitanya.

    Hi Chaithu,
    Go to SE37,enter your function module, click on where used list button on the application bar.
    All the program used your function module used is displayed.
    Regards,
    Venkat.

  • How to find the existing function module is used in another function module

    Hi all,
    I created a function module and the same one is called from another function module.
    When I tried to find where the  first function module is used  using  Where-used List , I am getting the message "function module not found in selected areas" .
    Please  guide me what is other method to find whether the function module is used in another one.
    Thanks,
    Vengal Rao.

    hi,
    Go to UTILITIES-> Update Navigation index.
    or go to fucntion group and Generate the Funtion group once.
    it will detect all fucntion modules under that function group.
    regards,
    Rama

  • How to create function module for getting customer name

    Hi Experts,
                   How to create function module?  when in import parameter kunnr values to be passed it must give name1 details according to the customer number...
    how to write the logic in source code....
    Regards,
    Thiru. R

    1. First of all create function group.
    2. Create function module using this function group.
    3. If only one kunnr is needed at a time, create import parameter for it. But if many kunnr to be entered at a time,use table.
    4. Fetch name1 for each kunnr from KNA1 table.
    "->> if many kunnr
    if not t_kunnr[] is initial.
    select kunnr as kunnr name1 as name1
    into table t_kunnr_name1
    from kna1
    for all entried in table t_kunnr
    where kunnr = t_kunnr-kunnr.
    endif.       
    sort t_kunnr_name1 by kunnr name1.
    delete adjacent duplicates from t_kunnr_name1 comparing kunnr name1.
    table t_kunnr_name1 will contain kunnr and its name1.
    I hope logic is clear for you now.
    Regards,
    Aparna

  • How to create function module in abap for VirtualProvider in bi

    how to create function module in abap for VirtualProvider in bi ???????????????
    can any one help me with simple example ?????????????????
    Moderator message : Duplicate post locked. Read forum rules before posting.
    Edited by: Vinod Kumar on Jun 15, 2011 4:40 PM

    Hi ,
    Thanks for replies about my question??.
    If i am using the exit in my char relation ship how can i debugg that exit???
    if i am using BPS0 how to do it???If i am using BPS_WB how to do it??
    Case1.Variable (type Exit) I known how to do debugg this one in BPS0 but i'm not sure in BPS_WB??
    Case2:Char Relation Ship(Type Exit) how to do in BPS0 and BPS_WB??.
    Thanks.

  • Testing Function Module before using in DataSource?

    Hi Experts,
    After writing a Function module for Transaction DataSouce (by copying RSAX_BIW_GET_DATA_SIMPLE), is there any way to test the Function Module before using in Transaction DataSource? (to see how many records it retrieves).
    Also can somebody please throw some light in understanding the source code of RSAX_BIW_GET_DATA_SIMPLE function module, as it has many declarations like E_T_DATA,
    I_T_SELECT which will be used in the new function module?
    Looks like, the function module RSAX_BIW_GET_DATA_SIMPLE uses only one table SPFLI.
    If it is just one table why do we need to write function module to extract data?
    Forgive me for my lack of ABAP knowledge.
    Thank you,
    Lakshmi

    The generic function moduel is used when there is no BW extractor and you cannot get to the data via a view or table
    The extractor is quite simple
    You create a extract strcuture of data to send to BW
    Then you create the function module - e_t_data takes on the extract structure
    The select options read data via the infopackage selection from BW (and thus when you create your datasource you shoudl click the fields to be select option)
    So in the ABAP
    You read the select option and put them into a range
    You select from which ever tables you need to in R3 and put into an itab
    You then loop aroudn the itab and manipulate the data or read other tables
    The data finally ends up in e_t_data
    The whole thing gets looped around based on the size of the data package - ie if it is 10000 records then the fetch next cursor after 10000 records will send the package of e_t_data out to the refc scheduler and down the line to BW - then the fetch next cursor will get the next 10000 records for the next
    I use this all the tiem (so sorry for the brain dump)
    I especially use it for virtual cubes - ie to get real time data from R3 from within BW - the data is not requested by ipak but by the query at runtime against a Virtual cube which connects to this generic extractor
    Note: this generic extractor can also live on the BW side - ie you can use it instead of APD to snapshot cube or DSO data to send as an ipak into another cube

  • Function module is used to change the bp role

    WHICH function module is used to change the bp role????

    I have another doubt also,when i add a role (example prospect) for a bp using the function module it works fine.but if i see the classification tab in bp transaction for that particular partner,the prospect check box is not checked.
    how to check that checkbox in classification tab automatically while we create a role????

  • Impact of Function Modules when used in upgraded versions

    Hello Experts,
              I wan to know the Impact of Function Modules when used in upgraded versions. How the function module works irrespective of changes done to it in the latest verisons
    Thanks in Advance

    Hi,
    If the function modules is released, it should not have any impact. However if not released, use them with caution as SAP does not support non-released function modules.
    Cheers.
    ...Reward if useful.

  • How to add or remove silence at the beging and at end of each audio file using batch process

    Hi all,
    I am new to this forum. I have been using Audition 3 for the last couple of years and these days I have to coop with an extra difficult situation, which is; I have more than 2000 files that start and finish with a random length of silence, it varies 0 to 7 sec. My question is, how can I set the silent duration at the beginning and end of each file to a constant amount of 2 sec by using batch process?
    Kind regards,
    Pavlos

    >it's relatively easy to select an absolute time at the beginning of a file (we discovered how to do this a while back), the same technique simply doesn't work at all at the end of it
    Indeed! I had a few trials last couple of days and noticed it.
    Definitely we need help on Audition's scripting language from the people in Adobe. Why don't they produce a scripting language documentation?!   

  • ABAP Function Module where-used in BI-Transformations

    Hi,
    we have developed some ABAP-Z-Function-Modules. These are used in several BI-Data-Transformations and work fine and performant.
    The problem we have now is to find out in which transformation a Function-Module is used.
    The where-used-list in SE37 doesn't report any BI-Transformations althought I check all categories.
    Got anyone a solution for our problem?
    Christian

    Hi,
    see this code for function module where used list only for transformation . i used the same code as bhaskar specified..but little modification..here u used "date_get_week" function module..
    TYPE-POOLS slis.
    DATA fcat1 TYPE slis_t_fieldcat_alv.
    DATA: BEGIN OF t_display OCCURS 0,
             targetname LIKE rstran-targetname,
             sourcename LIKE rstran-sourcename,
             tranid LIKE rstran-tranid,
             routine LIKE rstran-startroutine,
             line_no LIKE rsaabap-line_no,
             line LIKE rsaabap-line,
    END OF t_display.
    data : input(75) type c.
    DATA : input_pattern1(75) TYPE c.
    DATA : input_pattern2(75) TYPE c.
    DATA : same_source(30) TYPE c.
    **Internal table declerations**************************************
    TYPES:  BEGIN OF t_trans_lookup_finder,
             targetname TYPE rstran-targetname,
             sourcename TYPE rstran-sourcename,
             tranid TYPE rstran-tranid,
             routine TYPE rstran-startroutine,
             line_no TYPE rsaabap-line_no,
             line TYPE rsaabap-line,
    END OF t_trans_lookup_finder.
    DATA: i_lookup_finder TYPE STANDARD TABLE OF t_trans_lookup_finder,
      wa_lookup_finder TYPE t_trans_lookup_finder,
      i_trans_lookup_finder TYPE STANDARD TABLE OF t_trans_lookup_finder,
      wa_trans_lookup_finder TYPE t_trans_lookup_finder,
      i_trans_final TYPE STANDARD TABLE OF t_trans_lookup_finder,
      wa_trans_final TYPE t_trans_lookup_finder.
    DATA : i(7) TYPE n.
    DATA  old_cube(20) TYPE c VALUE ' '.
    DATA  old_source(20) TYPE c VALUE ' '.
    **Selections for update rules**************************************
    SELECT DISTINCT  targetname    sourcename  tranid        endroutine       line_no       line
           INTO TABLE i_trans_lookup_finder FROM
           rstran AS a  INNER JOIN rsaabap AS b ON aendroutine = bcodeid
                           WHERE
                           aobjvers = 'A' AND bobjvers = 'A'.
      APPEND LINES OF i_trans_lookup_finder TO i_lookup_finder.
    **Selections for Transformations(Expert routine)*******************
    SELECT DISTINCT        targetname       sourcename       tranid       expert       line_no       line
           INTO TABLE i_trans_lookup_finder FROM
           rstran AS a  INNER JOIN rsaabap AS b ON aexpert = bcodeid
                           WHERE
                           aobjvers = 'A' AND bobjvers = 'A'.
      APPEND LINES OF i_trans_lookup_finder TO i_lookup_finder.
    Edited by: Sakthi Jaganathan on May 20, 2009 6:25 PM

  • Which  Function Module is used for converting the DATE in BDC

    HI,
    Which  Function Module is used for converting the DATE Format in BDC for Uploading purpose please help me.

    data : date like sy-datum.
    data : odate(10) type c.
    date = sy-datum.        " in format YYYYMMDD
    CALL FUNCTION 'CONVERSION_EXIT_PDATE_OUTPUT'
      EXPORTING
       input         = date
    IMPORTING
       OUTPUT        = odate         .
    write:/ odate.  "in ur format '.
    1.
    In ur itab make a field for date as 10 characters and use this Fm to store the date .
    2. Pass the date as the charcter field to the screen and now check .

  • HOW TO CALL FUNCTION MODULE INSIDE SMARTFORM

    PLEASE ANYONE TELL ME, ABOUT  HOW TO CALL FUNCTION MODULE INSIDE SMARTFORM. IT IS VERY URGENT!!!!!!!!!1

    Hi,
      Under Global Definitions, we have 'Form Routines' tab. Under this tab, u can have a dynamic subroutine call. With in FORM and ENDFORM, you can call the Function Module.With in the Program Lines editor, u can define the subroutine........PERFORM. 
    If helpful, reward points.
    Rgds,
    CK

Maybe you are looking for