Problem in data fetching
Hi frnds ,
When i am testing my workflow i am able to see the values properly . I am havign a activity which is caling a standard template via method which is having some parametres for fetchign the email . so the email is also going to the proper person
But when i am executing my workflow through the program using event fm then i am not able to see any data displayed . the workflow is triggering if i use a the email as workflow initiator . But there is some problem in data fetching when i go through the program .
Plz help
Thanks
Rohit
Change this to
declare
begin
go_block('fwqrecview');
first_record;
loop
if :fwqrecview.chk is null then
clear_record;
else
Next_Record;
Exit When :System.Last_Record = 'TRUE';
end if;
end loop;
end;
------------------- End Step 1---------------
-- fetching records from block 1 -----
---- Step 2
DECLARE
CURSOR Cur_rv IS
-- select voucherno.nextval GlVoucher,t.* from
select inv_no,to_char(r_date,'YYYY') Year, to_char(r_date,'MM') Period,'SRV' Vtype,
r_date Vdate, narration
from receipt
where inv_no = :fwqrecview.inv_no ;
--) t ;
BEGIN
OPEN Cur_rv;
GO_BLOCK('tempVmaster');
first_record;
LOOPi
FETCH Cur_Rv INTO :VM_NO,:VM_YEAR,:VM_PERIOD,:VM_VOUCHER_TYPE,:VM_DATE,:VM_NARRATION ;
message ('Inv...'||:vm_no);
EXIT WHEN Cur_Rv%NOTFOUND;
NEXT_RECORD;
END LOOP;
CLOSE Cur_Rv;
FIRST_RECORD;
END;
---- End Step 2 -------
Similar Messages
-
Hi,
I am facing the problem while fetching the data from COEP table.The scenario is as follows:
1) For the projects entered on selection screen,fetch BEDID from AFKO. (PRONR = Project def.)
2) Based on value of BEDID,fetch OBJNR from AFVC.
3) Based on value of OBJNR, fetch WOGBTR from COEP and sum it up.
I am facing problem with step 3 as WHERE clause in the select query is based on nonkey field of the table.Same is the case while fetching data from AFKO and AFVC.
Please suggest the better alternativeHi,
In WHERE clause you can use non key fields. The important is that on the left side it must be a column from LEFT table i.e.
select ... from AFVC as A inner join COEP as C on
a~column1 = c~column1 and
where a~non_key_column = .... "here on the left must be a left table column provided, but non key field is allowed
Regards
Marcin -
Transparent Table (Problem in data fetching)
There is a new bapi developed in our sap environment which is fetching data from pool tables and transparent tables.
When this bapi is called from non sap environment then only pool tables are returning data .Transparent tables are returning blank values.
Case
When we are passing hard coded values in "Where Clause" of transparent tables like A931 table ,then transparent tables are also returning data from bapi in non sap environment.
But when we pass values in "Where Clause " of transparent tables through Variables declared in bapi then transparent tables are not returning any value (instead returns Blank) in non sap environment.
HelpDon't blame it on the transparent tables, I'm quite sure that something is wrong with your selection statement, e.g. how you pass "variables" in the WHERE-condition. Give more information on a selection that doesn't work as expected.
Thomas -
Data fetch problem from EBAN table
Hi All,
I have a problem in data fetching. My SQL statement is
SELECT A~BANFN
A~FRGDT
A~MATNR
A~MENGE
A~MEINS
A~AFNAM
A~EKGRP
A~PRIO_URG
A~STATU
A~RLWRT
A~EBELN
A~LOEKZ
A~EBELP
A~FRGKZ
INTO CORRESPONDING FIELDS OF TABLE ITAB_DATA
FROM EBAN AS A
WHERE A~STATU IN S_STATU
AND A~EKGRP = S_EKGRP
AND A~BANPR = '05'
AND AFNAM IN P_AFNAM
AND BEDNR IN P_BEDNR .
In EBAN table data in AFNAM field is like 'Mech', 'mech' & 'Mech'
Now in selection screen if user give Mech then system picks only that data where 'Mech' is there but requirement is it should pick all data related to ('Mech', 'mech', 'Mech') in AFNAM field. How do I do?
Thanks and regards,
Rajesh VasudevaHello,
What you ask is not easy but it is feasible.
We had the same request to make a case-insensitive search on a text field.
As a reference for our development we took the following example:
[http://wiki.sdn.sap.com/wiki/display/Snippets/CaseInsensitiveSearchHelpExitforMaterialGroup|http://wiki.sdn.sap.com/wiki/display/Snippets/CaseInsensitiveSearchHelpExitforMaterialGroup]
In short : the purpose is that first of all you build up a list of all possible values in a separate internal table.
Then use this separate internal table in the FOR ALL ENTRIES clause when you perform the select on the actual data.
Success.
Wim -
Greetings. I have problem with data fetching in pivot table.
I can see only 25 rows in it. Any ideas with my problem.Hi,
Try increasing the rangeSize of the iterator to some value like 150?
-Arun -
Hi,
I have used smartforms for generating suppler payment statement for financial department. more time duration is taken by the program when it is generating.
I think this problem comes while data fetching from BSEG table. because, it has more records for one vendor ID.
I want reduce this time duration.
Please guide me.Have you tried this selection in se16? I'm quite sure that It will take
a long time.
The problem has been explained in this group before and I think you
should search for bseg in the answers given.
As a hint: It has to do with the selection universe. You are restricting
only bukrs from the primary key (all the other restrictions in your
where clause are filters that are applied on SAP's side (not on the
database side)). The problem is that bseg isn't stored as separated
fields in the RDBMS, but as a table with the primary key and a stream of
bits in a raw field.
You should review and change the logic you're using before reading bseg.
It's the only way you'll improve the performance of this select. (for
example, you could use one or more secondary index tables - bi or ba
to retrieve belnr and access bseg with a better where clause). -
Problem Displaying data from oracle in JTable
Please can any one help me? I have a problem displaying the data fetched from oracle database(ResultSet) in JTables. Can any one provide me with any possible way out(and any alternative).
User,
As suggested in the other post - Google/Books/find a mentor is the best option. -
Data fetch from table without Refresh and without using tab key.
hi Friends,
I have a problem i want to extract data from table without Refresh into text field without using Tab key. when i'll enter any value in a text field then corressponding value should come in to corressponding textfield without using Tab Key.
eg. when i enter emp_id 101 in a text field then the first_name and last_name ,adress should come in to corressponding text fields without refresh and without using Tab key.
How Can I do this.
Thanks
ManojHi Manoj,
I assume that this is similar to: Data fetch without Refresh rather than Re: Value of one textfield should come into another textfield Without Using TAB ?
If so, the only change you need to make on the first one is to use "onkeyup" instead of "onchange" in the item's "HTML Form Element Attributes" setting.
Note, however, that the user must move away from the item at some point (for example, to click a button), so the onchange will be triggered anyway.
Andy -
Hello, since I've updated to Firefox 27.0.1 on Windows 7, I'm encountering a problem with Reporting Services on a Sharepoint site. It is a Sharepoint 2010 site with SQL Server Reporting Services 2012 Sharepoint Integrated mode. I was previously on Firefox version 26 and didn't encounter this problem.
When a report is open and you use the Actions link on the Reporting Services toolbar, I receive the following error messages.
An error has occurred with the data fetch. Please refresh the page and retry.
I've tried updating to Firefox 28 beta but the same error occurs. I see another user is having the same problem here. http://sharepoint-community.net/forum/topics/reporting-service-and-firefox-27
Any help would be appreciated. Thanks!
RyanRachel, I did perform the Sharepoint file alteration discussed in the other article and it did stop Firefox from producing the error. I've done some testing on some other browsers and have yet to encounter any problems with the fix however I'm hesitant to perform that workaround in a production environment.
Thanks for looking.
Ryan -
Problem while data processing TRANSACTION data from DSO to CUBE
Hi Guru's,
we are facing problem while data processing TRANSACTION data from DSO to CUBE. data packets processing very slowly and updating .Please help me regarding this.
Thanks and regards,
SridharHi,
I will suggest you to check a few places where you can see the status
1) SM37 job log (give BIrequest name) and it should give you the details about the request. If its active make sure that the job log is getting updated at frequent intervals.
2) SM66 get the job details (server name PID etc from SM37) and see in SM66 if the job is running or not. See if its accessing/updating some tables or is not doing anything at all.
If its running and if you are able to see it active in SM66 you can wait for some time to let it finish.
3) RSMO see what is available in details tab. It may be in update rules.
4) ST22 check if any short dump has occured.
You can also try SM50 / SM51 to see what is happening in the system level like reading/inserting tables etc.
If you feel its active and running you can verify by checking if the number of records has increased in the cube.
Thanks,
JituK -
having a problem with dates when I send my numbers doc to excel. dates are all out and that they have to cut and paste individual entries onto their spreadsheet. Any idea how I can prevent this.
I'm using Lion on an MBP and Numbers is the latest versionMay you give more details about what is wrong with your dates ?
M…oSoft products aren't allowed on my machines but I use LibreOffice which is a clone of Office.
When I export from Numbers to Excel and open the result with LibreOffice, the dates are correctly treated.
To be precise, dates after 01/01/1904 are correctly treated. dates before 01/01/1904 are exported as strings but, as it's flagged during the export process, it's not surprising.
Yvan KOENIG (VALLAURIS, France) mardi 3 janvier 2012
iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
My iDisk is : http://public.me.com/koenigyvan
Please : Search for questions similar to your own before submitting them to the community
For iWork's applications dedicated to iOS, go to :
https://discussions.apple.com/community/app_store/iwork_for_ios -
Problem with date format when ask prompt web-intelligence
Bo XIR2 with 5 SP. Instaled on Windows 2003 with support Russian.
Inside BO every labels, buttons - use russian. But when invoke web-report and Prompt appear there is problem with date format.
Looks like korean format of date 'jj.nn.aaa H:mm:ss'. I see system settings of date in Win .. everything right
What i have to do?
Where i can change format date for bo?GK, try this...
decode(instr(packagename.functionname(param1 ,param2),'2400'), 0, to_date(to_char(to_date(rtrim(packagename.functionname(param1 ,param2),'(PT)'), 'Month dd, yyyy "at" hh24mi'),'mm/dd/yyyy hh24mi'),'mm/dd/yyyy hh24mi'),
to_date(to_char(to_date(rtrim(packagename.functionname(param1 ,param2),'(PT)'), 'Month dd, yyyy "at" "2400"')+1,'mm/dd/yyyy "0000"'),'mm/dd/yyyy "0000"'))-Marilyn -
Got one more problem Merilyn and Radhakrishnan...
Regarding the soln y provided me earler with the thread "Problem with date format"...
What is happening is....I am able to change the 2400 to 0000 but when it is changed from 2400 on jan 1st to 0000 the hour is changing but not the date....the date still remains as jan 1st instead of jan 2nd....
Eg: Jan 1st 2400 -- changed to -- jan1st 0000
instead of jan 2nd 0000
Could you please help me in this issue...
Thanks,
GKGK, try this...
decode(instr(packagename.functionname(param1 ,param2),'2400'), 0, to_date(to_char(to_date(rtrim(packagename.functionname(param1 ,param2),'(PT)'), 'Month dd, yyyy "at" hh24mi'),'mm/dd/yyyy hh24mi'),'mm/dd/yyyy hh24mi'),
to_date(to_char(to_date(rtrim(packagename.functionname(param1 ,param2),'(PT)'), 'Month dd, yyyy "at" "2400"')+1,'mm/dd/yyyy "0000"'),'mm/dd/yyyy "0000"'))-Marilyn -
I am a rookie in SAP i have a small problem with date.Do we have any function module to find out the first day in a month if we give out the system current date ?? Pls help me out.
Hi,
As Ganesan told,you can do.
Here is the sample code.
data v type sy-datum.
data d type DTRESR-WEEKDAY.
v+6(2) = '01'.
v4(2) = sy-datum4(2).
v0(4) = sy-datum0(4).
CALL FUNCTION 'DATE_TO_DAY'
EXPORTING
date = v
IMPORTING
WEEKDAY = d.
write d. -
Problem with date format from Oracle DB
Hi,
I am facing a problem with date fields from Oracle DB sources. The date format of the field in DB table is 'Date base type is DATE and DDIC type is DATS'.
I mapped the date fields to Date characters in BI. Now the data that comes to PSA is in weird format. It shows like -0.PR.09-A
I have changing the field settings in DataSource to internal and external and also i have tried mapping these date fields to text fields with out luck. All delivers the same format.
I have also tried using conversion routines like, CONVERSION_EXIT_IDATE_INPUT to change format. It also delivers me the same old result.
If anybody of you have any suggestions or if anybody have you experienced such probelms, Please share your experience with me.
Thanks in advance.
Regards
VaradaThanks for all your reply. I can only the solutions creating view in database. I want some solution to be done in BI. I appreciate if some of you have idea in it.
The issue again in detail
I am facing an issue with date fields from oracle data. The data that is sent from Oracle is in the format is -0.AR.04-M. I am able to convert this date in BI with conversion routine in BI into format 04-MAR-0.
The problem is, I am getting data of length 10 (Output format) in the format -0.AR.04-M where the month is not in numericals. Since it is in text it is taking one character spacing more.
I have tried in different ways to convert and increased the length in BI, the result is same. I am wondering if we can change the date format in database.
I am in puzzle with the this date format. I have checked other Oracle DB connections data for date fields in BI, they get data in the format 20.081.031 which will allow to convert this in BI. Only from the system i am trying creating a problem.
Regards
Varada
Maybe you are looking for
-
I CAN'T BELIEVE THIS!! Sound, but a flat line in Arrange???
OK! This makes absolutely no sense and I am not happy at all right now.. I deleted a kick drum part in a song by accident... well, not really on accident, because the arrange menu shows that there was no waveforms in this particular area... so I dele
-
White screen when pressing home button and getting text
Strange thing, hopefully software bug. I press the home button to check time and all that shows is a white screen. It's not the white screen of death because I can simply press the sleep button and then go straight back to what I was doing, pressing
-
How can I difference the diference the diferent generations of time capsule
Hi, I want to buy the Time Capsule, but first I want to know how can I know how to diference the diferent generations of time capsules before buying, to buy the latest one.
-
Solaris 10: Compiling Mod Security 2.5.9 on existing Apache 2.0.63
I cant seem to get it to compile. I get multiple errors (linker input file unused because linking not done) when i try a make. Eg. /var/apache2/build/libtool silent mode=compile /opt/SUNWspro/bin/cc -prefer-pic -xO3 -xarch=v8 -xspace -W0,-Lt -W2,-Rco
-
Error message 3014 when trying to restore ipod touch
error message 3014 when trying to restore ipod touch, i have tried everything, any suggestions?