Scheduling RSCRM_BAPI extract as a SAP job

Hi all,
   Of late I have trying to executing Bex query extract thru RSCRM_BAPI and needed a way to be able to schedule an user defined job so for that so that I have control in terms of when I execute the job. 
I went thru SDN and found this Function module RSCRMBW_REPORT which is supposed to do the part however I am getting a error since my BEx query has a variable screen and I dont know how I can take care of that.  I am currently getting the error from the function module:
"The entry type of variable ZPM_MEDT requires you to enter values"
Where ZPM_MEDT is a date variable on my Bex report.
So the question is how do I get my variables to my Bex report while using Fn module RSCRMBW_REPORT.  I tried Bex personalization it didnt work.
For more information on RSCRMBW_REPORT module please refer.
Providing job names in trx RSCRM_BAPI
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3ba5e590-0201-0010-59b1-cab51fd245b7

Hi,
I seen this transaction running on back ground, unfurtunately I didnt run it but this is my experience.
We used it to run availability check every 4 hours and the system performance gets lows, of course it depends on technical architecture and volume of material. It reads every line on sales ordes that, in ours scenarios was so high (about 5000 lines in one day or more).
It works perfectly, but buffers get alarme on pics of the operations.
If you program it on low transaction volume, if can be very good, you may also talk before with your basis and explain him this performance issue, maybe he can help.
I hope you find this hopeful.
Regards,
RP

Similar Messages

  • How to schedule Query Extracts using RSCRM_BAPI

    Hi,
    Can you give me the link to the document How to schedule Query Extracts using RSCRM_BAPI  . I do not have userid password to view the same.
    Thanks for the help.

    Hi,
    this is the link for the document..
    https://websmp205.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700004400232004E
    thnks.

  • Schedule Abap Server proxy in background job in SAP r/3

    Hi all,
    My scenario is File XI Proxy Interface inbound to SAP...
    My requirement is to schedule the proxy in the background job every night.
    How can I acheive this?
    <removed_by_moderator>
    Read the "Rules of Engagement"
    Thank you,
    Mili.
    Edited by: Juan Reyes on Oct 21, 2008 3:04 PM

    Hi ,
    U don't need to schedule a server proxy ...as the proxy will kick in automatically as soon as the message is processed by file adapter .
    Since yours is File to proxy scenario...
    and you want to execute it overnight ..
    You will have to control when the file is processed by XI file adapter.
    Here what you can do ..
    Let's just say your file gets placed in a Folder 'A' ...and your file communication channel is configured to pick files from folder B.
    Write an abap code on xi box ..(or you can use a V.B. script)
    which will move the file from folder A to Folder B.This code can easily be scheduled..so that it you can get files in folder B from where XI processig will kick in .
    (job scheduling can be done sm36 ..use the wizard)

  • Difference between extraction as a batch job and BADI

    Hello
    Please can somoene explain me what does this mean:
    The extractor is based on the running of a BADI when tickets are saved rather than extraction as a batch job
    thanks

    Hi Tom,
    Batch Job and BAdi's are two different things but their purpose is somewhat similar i.e. background processing.
    BAdi's are SAP enhancmenents where in you can attach your own code to SAP code which is getting executed so that along with std code to ger our job is done.
    Background jobs are scheduled to run in system periodically. Here we can code like it will check for certain things and then if required it will execute some code.
    Thanks and Regards,
    Vaibhav Pendse

  • Extracting Data from SAP ERP using BODI/Data Services 4.0

    HI,
    I am trying to extract data from SAP ERP via SAP extractors using BODI/Data Services 4.0.
    I do not have my own ERP system so I am renting remote access from one of the many available on the internet.
    I am able to connect BODI to the ERP system and import the extractors metadata.
    The problem I am experiencing is that when I run job to extract the data I get the following error:
    Vendor-supplied function module <Z_AW_RFC_READ_EXTRACTOR> not found. Ensure that you can execute the function module in SAP via transaction /nSE37.
    How do I create the function? Or is the function a SAP standard function?
    SAP ERP system being used is: ECC6 EHP4
    User has SAP FULL and DEVELOPER authorizations.
    Any assistance would be appreciated.

    You might have better luck in the (somewhat misnamed) [Data Integration and Data Quality Management|Data Services and Data Quality; forum:
    This forum is dedicated to topics related to SAP BusinessObjects Data Services (Data Integrator, Data Quality Management, Text Data Processing), SAP BusinessObjects Information Steward (Metadata Management, Data Insight), SAP BusinessObjects Rapid Marts and SAP BusinessObjects Data Federator.
    (emphasis added)
    Regards,
    Sean

  • How to Extract Data from SAP and Load it into Essbase

    Hi All,
    Can you recommend some ways to extract data from SAP and load it into Essbase?. I have no knowledge about SAP, not sure how I can perform this task. Can I use ODI for this job?
    Thanks

    hi,
    Not sure if this helps but give a try
    you can create connection from EAS to SAP .. using a plug-in .. if you have access to oracle Support go for [ID 968961.1]
    or
    below are steps
    1. In EASPATH\console, open components.xml in a text editor.
    2. Under <PluginList>, enter <Plugin archiveName="SAP" packageName="com.essbase.eas.sap.ui"/> before the closing </PlugIn> tag.
    3. Save and close the file.
    4. In EASPATH\console\bin, open admincon.lax in a text editor.
    5. Search for lax.class.path= and append ;..\lib\sap_client.jar;..\lib \sap_common.jar to the entry. Save and close the file.
    6. In EASPATH\server\bin, open adminsvr.lax in a text editor.
    7. Search for lax.nl.java.option.additional, and append -DRFC_INI=EASPATH\server\saprfc.ini. Save and close the file.
    8. Create a new environment variable, RFC_INI, with a value of EASPATH\server\saprfc.ini
    9. Copy librfc.dll andsapjcorfc.dll to EASPATH\server\bin. You may need to obtain these files from SAP.
    let me know if it works :)

  • Data extract/convert from SAP system and load to Unix system - Urgent

    Hi,
    I have a requirement that I need to extract data from SAP and each data field will have some conditions and need to map/Load it to the Legacy Unix system.
    there are four kinds of data objects of HR system, need to extract them individually and map those into Unix system.
    Can anyone please suggest me step-by-step how to go about it....like
    do we need to write a report for that?
    do we need to use Function modules? etc.,
    How to set mappings of that Data to a file?
    How to map that file to Unix system?
    Need to run those on daily basis and after first run, only changed data file need to be loaded. how to do this?
    thanks
    Alankaar
    rewarded with the points.

    Hi
    I can't say this becouse I don't the problem, anyway u have to do it by yourself.
    U should create:
    - a document where u define the file format: data type, size and name of the field of the unix system;
    - a document for the mapping: link between SAP fields and Unix system fields
    Based on these document you'll create a structure on the report:
    DATA: BEGIN OF STR_UNIX_SYSTEM,
                 FIELD1 ...,
                 FIELD2 ...,
                 FIELDN....,
               END  OF STR_UNIX_SYSTEM.
    and the code to transfer the data from SAP to legacy:
    MOVE: <SAP TABLE>-FIELD TO STR_UNIX_SYSTEM-FIELD1,
    So all steps have to be defined in the report before downloading the file.
    So I don't know which legacy system you're speaking about, after creating the file the legacy should read it in order to upload the data.
    U can create a daily job for that report, if you need to transfer the changed data only you should read the change document table (CDHDR and CDPOS) but I don't know HR so I'm not sure these tables are available for HR.
    Max

  • RSCRM_BAPI extract

    Hi ,
    I have a doubt in RSCRM_BAPI extract. We have to extract the data from a multiprovider using RSCRm_BAPI. And the extract should be enabled using an event generated by a process chain.
    So, wat happens here is I save the extract with the sheduling option as event in RSCRM_BAPI. But the file is extracted only once i.e for the first execution of the process chain. Whn the chain is triggered for the second time the file is not getting extracted. The process chain will be triggered everyday which means the data will be replaced every day.
    Please help me out.
    Regards,
    Srivatsan.S

    Hi srivastan,
    When you schedule a RSCRM_BAPI extract through an event, it should work. When ever you trigger the event RSCRM_BAPI extract should take place.
    Check one thing. Go to SM64 and from there manually trigger the event and check whether extract is run or not, also check the time of the extract generated.
    - Jaimin

  • Batch File to trigger SAP job

    Hi all,
    Please can anyone advice on how to write a batch file to trigger the sap job. For example: If file exists in an external folder (e.g. C:\Temp), a command will trigger to run the SAP job.
    Many thanks,
    Shashi

    You could do this.
    Check if file exists.
    Do something when it does.
    Move file to another directory and rename file with data/time stamp
    Renamed file give history of activity
    Schedule this program to run every X amount of time
    data: w_result type c.
    data: w_file type string value 'C:\temp\test_down.spf'.
    data: w_file_size type i.
    call method cl_gui_frontend_services=>file_exist
      exporting
        file                 = w_file
      receiving
        result               = w_result
      exceptions
        cntl_error           = 1
        error_no_gui         = 2
        wrong_parameter      = 3
        not_supported_by_gui = 4.
    if w_result ne 'X' .
    else.
      write: / w_file.
      write: / 'File exists'.
    Do something when it does.
    Move file to another directory and rename file with data/time stamp
    Renamed file give history of activity
    endif.
    flush needed for some methods of class cl_gui_frontend_services
    call method cl_gui_cfw=>flush
      exceptions
        cntl_system_error = 1
        cntl_error        = 2
        others            = 3.
    Bruce

  • Sap job to delete OS level files

    Hello SAP Admins,
    I have a question: is there a sap job that can delete files from OS level, to prevent the file system to become full.
    Thank you
    Chris

    Hi Chris,
    As such there is no standard job to remove OS level files.
    You may write some abap program which contains execution of OS level commands.
    You may schedule this ABAP program based on your requirement to cleanup the files at OS level.
    We had done it for cleaning up interface files at one of our customers.
    Hope this helps.
    Regards,
    Deepak Kori

  • Scheduling of process chain with background job

    Hello All,
                  I have scheduled the process chains through background jobs. I have copied the meta chain and created seven background jobs that is from Monday till sunday. The problem is most frequently the job gets cancelled with the message
    Process CHAIN, variant PAA1_GS001 is not scheduled waiting for event RSPROCESS 44NRPDWZ7CQUJ92ATDTY6368H.
    This is the variant for the next process after the start process. I tried by giving merge active versions, but one day the background job runs fine , but the next day it gets cancelled.
    If anyone has faced this issue before kindly let me know.
    Regards,
    Karthik.

    Hi,
    It seems to be there may be in probelm in Varients, so create a separate Varient for each PC and then activate the PC and execute.
    Thanks
    Reddy

  • Where to find entry level sap jobs with a Terp10 Certification

    Hello I am a soon to be college graduate graduating this December.
    My question is with a Terp10 certification and no work experience what can I expect from the job market. Are there companies that hire college graduates with no SAP work experience? Are there any resources that help graduates find entry level SAP jobs.

    Hi ,
    Welcome to the World of SAP !
    As a fresher there are lot of options to start the career in SAP domain . As a fresher doing a certification *** training with out any prior experience , the opportunities for getting a job will be very less. SAP is a Enterprise business software which has the Technical ( ABAP,BASIS .......) Functional (SD,PP,MM,FI,...) Techno Functional modules . Choose a very option to get started . Getting a right career is not a tough job for you , search in web , read about sap , lot of online information ,forums available . choosing a career is a brainstorming work , my suggestion drop the idea of doing certification , as you are a fresher and very difficult to get a job without any experience . Please check the links to get start . good luck
    SAPEDU Twitter account http://twitter.com/sapedu
    SAP Education Facebook page http://www.facebook.com/SAPEducation
    Education@SAP LinkedIn group http://www.linkedin.com/groups?gid=1856570
    Want to switch to SAP consultancy The specified item was not found.
    Career Switch in the SAP World The specified item was not found.
    What would I do if I were a SAP newbie? Must read career advice for all beginners - check out this blog
    HELP@ SAP : http://help.sap.com/
    Online Knowledge Products : https://websmp202.sap-ag.de/okp
    Knowledge burst - Business Rule Frame work BRF  : http://www.sdn.sap.com/irj/bpx/education?rid=/media/uuid/50879cee-f9b5-2e10-039e-b2d6c4b10e6b
    Regards,
    S.Rajeshkumar

  • How to extract data from SAP in FDM 11121

    I came across some documents from version 11113, says there is a SAP adapter, however ,when I check 11121 there's no such adapter, does anyone know how to extract data from SAP in FDM 11121?

    I download a package from Bristlecone, but I dont see any xml files in it, just a bunch of dll and I didn't find any instructions on how to set up/configure in FDM, it just explained how to register in SAP app server and client.
    Hyperion 11113 has readme on sap adapter(Hyperion Readme Template), but I cannot find the same readme file in 11121, all I can find is ERP Integration Adapter document. any idears where I can find at least a readme document?

  • SSIS Package Fails when Scheduled as a SQL Server Agent Job

    I have an SSIS package that runs without any problems when executed through BIDS.
    However, when I schedule the SSIS as an Agent job, it fails completely or part way through. When it partially runs, the part that it is failing on is a Script Task that moves the source data file to an archive folder (on the same server).
    I have tried using my domain account as the owner of the job, then the job fails straight off and I get an error:
    Unable to determine if the owner (Domain\MyID) of job JobName has server access (reason: Could not obtain information about Windows NT group/user 'Domain\MyID'
    If I change the owner to the 'sa' account , then the job partially runs, but then fails because 'sa' is a SQL account and does not have access to the filesystem.
    I have managed to get it to work by using the SQL2008_Local account and granting modify permissions to the affected folders.
    My question is - what is the advised way of doing this?
    Thanks
    Gary

    Hi Garyv.King,
    When you see a SSIS package fails running in a SQL Agent job, you need to first consider the following conditions:
    1. The user account that is used to run the package under SQL Server Agent differs from the original package author.
    2. The user account does not have the required permissions to make connections or to access resources outside the SSIS package.
    For more detailed information about the issue, please following this KB article:
    An SSIS package does not run when you call the SSIS package from a SQL Server Agent job step
    http://support.microsoft.com/kb/918760 
    You can check SQL Server Agent’s activity logs, Windows Event logs and SSIS logs to get more clues. Also the tool Process Monitor is helpful to track the cause of registry or file access related issues.
    The following 4 issues are common encountered in the SSIS forum.
    1. The package's Protection Level is set to EncryptSensitiveWithUserKey but your SQL Server Agent service account is different from the SSIS package creator.
    2. Data source connection issue.
    3. File or registry access permission issue.
    4. No 64-bit driver issue.
    For more information about it, please see:
    How do I troubleshoot SSIS packages failed execution in a SQL Agent job:
    http://social.technet.microsoft.com/Forums/en-US/sqlintegrationservices/thread/e13c137c-1535-4475-8c2f-c7e6e7d125fc 
    Thanks,
    Eileen

  • Extracting data FROM SAP BW/BI TO SAP R/3 Tables

    Dear Experts,
            I would like to know How to get the data from SAP BI/BW which we extracted earlier to SAP R/3 Tables.
    in specific I want to get the data from BW/BI to R/3 Tables again.
    for Ex: I have loaded data to ZFC_C25 Cube from SAP R/3 System. But now I want to load the data from ZFC_C25 Cube to my selected R/3 Tables.
    Please give a clue if it is possible or not if YES How.
    Thanks & Regards,
    Sai.

    Hi
    Check this Retraction document
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1910ab90-0201-0010-eea3-c4ac84080806
    You can find more details regarding R/3 retractors :
    https://websmp101.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700003587872003E
    regards
    Chandra SekharT

Maybe you are looking for