RSCRM_BAPI
Hi Gurus,
We are Extracting Data From the Queries to Tables, using
RSCRM_BAPI.
Here what i am looking is
When i excute a Query; for Every Charectestic i am displaying KEy as well as TEXT fields
but, Once we extarcte same query to the Tables, i can't find text field for every charcterstic.
Can any one help me to solve it
Note:- At Query Definition i defined Properties under display as (Standard Text and Key)
Hi pabolu,
the first solution is to create a new InfoObject (B) that will contain the text of the father (A) and insert this like navigational attribute of A. In the query you will not show the text of A but A + B.
The second solution is to try to generate a DataSource on the table feeded by RSCRM_BAPI with TCode RSO2. On this DS, if the system let you create this one, create an InfoSource and an ODS where you upload data from table from RSCRM_BAPI. During the upload from this DS in Update Rules you can derive text.
I think the first solution, if text are not too long, is the better one.
Ciao.
Riccardo.
Similar Messages
-
Error while downloading data Using RSCRM_BAPI
Hi Folks,
I am getting the below mentioned error message while downloading the data from BW report to csv file using RSCRM_BAPI.
Can anyone help on this error ?
Internal error in method CHECK_TABLE_NAME (RSCRMBW_EX_NAMESPACE_GET)hi lakshmi:
I also tried to use this t-code. but this has lots of restrictions..and its not recommended to use this t-code for complex queries.There are OSS NOtes out there for restrictions for this t-code.
I got to know from other forums on SDN that there is other RSCRMBW_REPORT FM. which is better to use. but not able to use it... there is specific way for that FM. If you try that and if it works for you please let me also know.
Also, try to look at this forums:
Error Using RSCRM_BAPI T-Code
Problem with RSCRM_BAPI (extraction to Fixed Lenght txt file)
RSCRM_BAPI Schedule and monitor
RSCRM_BAPI
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3ba5e590-0201-0010-59b1-cab51fd245b7
Hope this helps.
KSmith -
RSCRM_BAPI scheduling of extract jobs after an event
Hi
We are using RSCRM_BAPI to extract data from 3 BW queries and export the data to a CSV file so that it can be picked up and loaded to another system.
The extracts run fine, but I am trying to find a way of including them within the BW process chains with a dependency on the final cube load. This way we can ensure that they are triggered when the data has correctly loaded.
Any suggestions please?Get the list of Start Variants from table RSPCTRIGGER by giving the list of event ID's or EVENTID <> Blank.
Then enter this list of start variants in RSPCCHAIN to get the list of process chains. -
Is there anyway to schedule RSCRM_BAPI ? i.e attach it to process chain or run weekly...
Thanks.Hi Deepu,
One option I can think of is to write an ABAP, use BDC in the ABAP to call RSCRM_BAPI transaction. And schedule this abap in a process chain.
Haven't tried it before, but gave it a thought. Pls let me know whether this solves the problem.
Regards,
Vikrant. -
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-cab51fd245b7Hi,
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 -
Error while using RSCRM_BAPI with remote cubes
Hi,
We are getting short dump while trying to use RSCRM_BAPI with hierarchies i.e.display hierarchies to extract data to a flat file.
We do get a warning that display hierachies are not longer supported in 2004s with RSCRM_BAPI and have been going on and on with SAP development. They are saying we need to find alternatives.
I wanted to know if anybody has tried using display hierarchies with RSCRM_BAPI in 2004s if not then I would like to know what are my options in getting a flat hierarchy report on to a flat file?
I dont think infospoke supports flat hierarchy extracts as infoproviders dont store hierarchy information.
ThanksHeres my thought -
to use Bex Broadcaster to download the information,am not sure if RSCRM_BAPI is replaced by new functionality ,might wait for SAP to confirm.
<b>Key capabilities:-</b>
1)The right information:Based on BExqueries, views, workbooks, Web applications & enterprise reports
2)In different formats:HTML, MHTML, PDF, ZIP, printer formats, online links, SAP alerts
3)To the right people:e.g., single users, groups, distribution lists, user-specific or role-specific (incl. non-SAP users)
4)In different channels:e-mail, Portal, BExPortfolio (unified access based on Knowledge Management folders), collaboration rooms, Universal Work List
At the right time:event driven, exception driven, ad-hoc, scheduled
Bex Broadcaster + Information Broadcasting
Note 760775 - Settings for Information Broadcasting
Functions of Bex broadcaster
http://help.sap.com/saphelp_nw04/helpdata/en/bf/220c40ac368f5ce10000000a155106/frameset.htm
Hope it Helps
Chetan
@CP.. -
Empty lines being transfered with RSCRM_BAPI
Hi guys,
I have to transfer the result f one query to a table. For this requirement Iu2019m using transaction RSCRM_BAPI transaction.
The problem is that my query is gigantic and it has a structure in rows with 150 selections visible and 250 that are not visible, but are used in calculations. Besides this big structure I have 7 InfoObjects in columns.
Iu2019m being able to feed my table, but I noticed that more than half of the lines have all values empty, i.e., zero.
I tried to place a condition in query, but it gets ignored.
Do you know a way to skip the lines that have all values zero?
Thanks in advance.
Points will be awarded of course.
João Arvanas,Hi Joao,
This is actually a common problem. Conditions and row suppression does not work for RSCRM_BAPI. The underlying function module is WREX_GETDATA.
I've tackled this two ways.
1) Write a program using WREX_GETDATA and modify the empty entries in memory before writing to table.
2) Use the Query in an APD to extract the data and remove the entries via a filter or ABAP process.
Tips on solution 2
Make sure you unhide all your keyfigures.
Turn on Parrallel Processing
Regards,
Dae Jin -
Populate Databse Table through RSCRM_BAPI in Process chain
Hi,
I am using RSCRM_BAPI to extract a query output in a custom database table in BW 3.5. On the database table I have created a Data Source which will populate the end cube. I have to automate this flow through a Process Chain.
Please let me know, how can I call RSCRM_BAPI through ABAP in a process variant to load the database table.
Regards,
DibyenduHi,
Please go thorugh the below link:
https://websmp205.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700004400232004E
Rgds,
Sonal -
Gurus-
My Query has 142 columns and I am trying to export the query output to a word document using RSCRM_BAPI.
When I check the output file which I got through RSCRM_BAPI, it is truncating lot of columns. Is there any limitations with the columns if we use RSCRM_BAPI transaction? if so how many?
Please revert me back with ur suggestions.
Thanks in advanceHi,
As per note Note 605208 - RSCRM - Restrictions: RSCRM uses the ODBO interface. This interface has a restriction of 20 dimensions. ( Characteristis and structure used in the query are considered as dimensions ).
Hope this helps... -
How can I insert the RSCRM_BAPI into Process chain?
Dear all:
Now I Use RSCRM_BAPI(RSCRM_REPORT) ,excute a query , Get the result in a table, I use this table as a datasource,and then next steps,upload data. all of this runs well.
But I want inset this process into a process chain. now I don't know how to do it.
who can help me?Hi,
Now I'm using RSCRM_BAPI in Process chains..
1. I set the report name RSCRM_BAPI and then in schedule I select EVENT there I given Event is
'ZE_GR' and parameter is 'ZEP_GR'. and then I created a program and there I given Event and Parameter. And then I inserted this program in Process chain. And I scheduled the Process chain.
You need to create the event in SM62
REPORT ZE_GR_RP.
DATA: EVENTID LIKE TBTCJOB-EVENTID.
DATA: EVENTPARM LIKE TBTCJOB-EVENTPARM.
EVENTID = 'ZE_GR'.
EVENTPARM = 'ZEP_GR'.
CALL FUNCTION 'RSSM_EVENT_RAISE'
EXPORTING
I_EVENTID = EVENTID
I_EVENTPARM = EVENTPARM
EXCEPTIONS
BAD_EVENTID = 1
EVENTID_DOES_NOT_EXIST = 2
EVENTID_MISSING = 3
RAISE_FAILED = 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.
Thanks
Reddy
Edited by: Surendra Reddy on Dec 2, 2008 5:09 AM -
Problem in executing query in RSCRM_BAPI & output in application server!
hi Experts,
We executed a query using RSCRM_BAPI transaction and write it to the application server.We found the following problem.
In the query we have restricted the keyfigures such that each have 2 decimal places but when we execute the query using RSCRM_BAPI and writing into the application server the more than 2 decimal places are coming in to the file.
For example:
In the query the value is 12.12 but in the application server its written as 12.1200000
So the width gets elongated and some of the keyfigures are truncated.
We have already have gone through the restrictions in the SAP Note Number 605208
Please help us to find a solution to get output of keyfigures same as whatever coming in the output of query.
Thanks in advance
Somenathsorry, i mistakenly sent it in different id....this is my id.......if it is useful assign points to this id...
Using RSCRM_BAPI, RSCRM_REPORT, suitable for simple query.
In your query you are using Restricted, calculated keyfigure.in that case RSCRM_BAPI, RSCRM_REPORT has some restriction.
Check OSS 605208 which describes RSCRM_BAPI restrictions .
Re: Master Data Datasources
You can Modify the Wrtiequery abap program for your requirement.
or
Create a ABAP program for extracting a bw query and upload it in Application server in csv format.
Thanks,
senthil kumar -
Can't see InfoObjects' desription in RSCRM_BAPI
I use two BW version 3.5 and 7.
In BW 7:
In TCODE RSCRM_BAPI I choose old query and can't see description of InfoObjects, structure.
But If I create new query with these Infoobjects it's no problem, I can see all descipton.
In BW 3.5 I don't have this problem.
What should I do to solve this problem?You had restriction in BAPI execution, text will nt be displayed.
Chekc OSS note: 605208 -
RSCRM_BAPI removing filters of View for File Extract execution.
Hi folks,
I m working on BI 7.0.
I have a view , which has poor performance, as query based on DSO , I want to execute the view in background with a variant.
I created an extract using a variant In RSCRM_BAPI.
But in output i can see only those values.. same as in output when i saved View .
On filter button in RSCRM_BAPI ,
there are sum active filters on view.. which filter out the data and not considering the Variant i provide..
If i make them inactive in RSCRM_BAPI. it doesnot allow to save the view
and hence the Extract is not working
Has anyone worked on similar scenario ?
Thanks..
Sonal....
Edited by: Sonal Patel on Dec 18, 2009 1:55 PMHi,
You can run it in background using RSCRM_BAPI, but you need to maintain Customer Exit/SAP Exit variable/Constaants for all Variables, Bcoz it will run in background so the selection screen need to fill automatically.
Re: Running Quaries automatically and saving them in as a Excel file in Server
Re: Data transfer to external systems
Re: Loading from a Custom R/3 Table
Re: How can I schedule my Bex report to execute in background
Re: How can I insert the RSCRM_BAPI into Process chain?
Thanks
Reddy -
Problem while extracting using RSCRM_BAPI in user defined 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-cab51fd245b7Sorry for the delay in reponse. I have changed the all variables either to populater by user exit or hard code it to a filter (constant). But I am having problem executing the function RSCRMBW_REPORT
I am using the following parameters and getting the subsequent error message.
I_MODE: OPEN/START
I_REPORTUID: YC_OO/ZYM_OO_Q0002_2
I_REPNAME: ZYM_OO_Q0002_2
I_PACKSIZE: 0000010000
I_EXECMODE: TABLE
I_EXTRACT: ZOCARRY
I_USER: R2067Z
I_LANGU: EN
I_SEPARATOR: ;
I_BATCH_TIME: 00:00:00
I_CLEAREXTRACT: X
I_CHECK_MEMBERS: X
Rest all fields blank.
Now I am getting short dump in the GET_CUBETYPE() method in the CL_RSCRMBW_BAPI class. For some reason the cube name is not being parsed from the report ID name "YC_OO/ZYM_OO_Q0002_2". Am I missing something?
Also is there any other way SAP provides to schedule RSCRM_BAPI queries to a table externally without using standard job scheduliing from within the RSCRM_BAPI transaction.
Thanks -
How to display Selection screen on Web for RSCRM_BAPI
HI,
For a customer we want to create the possibility to extract data from BI2004s to other systems, therefore we want to use RSCRM_BAPI.
Thing is that we want to provide the possibility for them to enter selectioncriteria, but we don't want them to log on using the Gui.
We want to use the VC to create an interface cockpit.
question is how we can allow users to use selectioncriteria but:
variants can not be used
TVARV can not be used
is there any way to capture the selection screen and to display it on the web/VC?
Anyone ever did this?
Tnx
rogierGili.
thank you for your quick reply,.
Reason why we are looking into the RSCRM_BAPI is due to the layout
requirements of the extract. the recieving systems requires specific layouts. If we do this with the infospoke we will have to use a BADI to perfom complex transformations which will need additional knowlegde (of BADI's) of the support organisation whereas with RSCRM_BAPI they can adjust the query.
and as far as i know you can not define the variable input via the web for open hub.
Grtz
rogier -
Query in extraction using RSCRM_BAPI
Hi ,
We have a RSCRM_BAPI query created on a multiprovider. The infoproviders have amount Key figures in it. So 0currency is associated along with the key figures.
0plant Fis period Key figure1 key figure 2 key figure 3
While we try to generate a CSV file using RSCRM_BAPI, the file generated has a blank column next to every key figure.
we are expecting the output file to be of the same format as specified above.
we need to load this file into another flow.
What we could fgure out was that every Key figure has a blank clumn for currency, which we dun want to provide.
Please provide me a solution to generate the file exactly as the sam format.
Thanks and regards,
Srivatsan.sHi,
Please use NODIM in the query for the key figures.
-Vikram
Maybe you are looking for
-
Radius and Internet sharing not compatible
I have 2 MBPs connected to a Leopard Server via an AEBS. I want to connect a third ethernet device using internet sharing on one of the MBPs Couldn't get it to work unless I switched of RADIUS authentication and downgrade to WPA/WPA2 personal key. Wh
-
How to get number of pages in word document
I am developing an OCR application where I need to get number of pages of word documents. I am currently assuming that each page consists of 46 lines but some how, I am not getting convinced with this logic. Is there any simplest way to get this info
-
ALEAUD in SAP - XI - SAP scenario
Hi! My scenario is SAP 4.6C -> (IDoc adapter) XI (IDoc adapter) -> SAP 4.6C and the receiving system should send back an ALEAUD. The IDoc control record of the incoming IDoc contains the following info: SNDPOR: port of sending system SNDPRT: LS SNDPR
-
Help required in refining a query
I have a sql query : select C1 AS No_Of_Completed_WOs, C2 as Wos_with_Soft_Fail, (C1-C2) as Completed_Wos,C3 as Failed_Wos,C4 as TimedOut_Wos from (select (CASE WHEN TBL_WRK_ORD.EXTSYS_ID IS NULL THEN '<NULL>' ELSE TBL_WRK_ORD.EXTSYS_ID END), count(c
-
Search results not pertinent to requested information
I used to use the search feature in the OTN website to get information about anything I needed to know about Oracle. Now, when I search for the same things I get a ton of results which have nothing to do with what I am looking for. I specified "8.1.7