Functional Module Extractor not pulling all the record on BW side
Hi,
i have written a FM extractor to pull data from CDHDR and CDPOS table. the Records count shows on RSA3 is more than 3,00,000 but while pulling it on BW side it brings only 41,000 Around records.
I steps i have taken is -
tried setting and resetting the package side in Info package.
Tried putting the default package size to 50K in FM setting
but nothing is working.
It seems like the pacet size is not incrementing in the code. i have tired to find ou the fault but coult not and RSA3 is working fine.
can anyone please suggest a correct piece of code or find out where exactly the fault is?
Vikrant,
The structure of your generic extractor function module should be something like:
If initialisation
Store parameters, clear packet count
Else
If first packet
Create cursor
Endif
Read block of records from cursor
If cursor returns no more records
Raise NO_MORE_DATA exception
Endif
Process records from cursor and output
Add one to packet count
Endif
This function module code can get called repeatedly. Possibly you are only extracting data for the first packet?
Mark
Similar Messages
-
Table Name or Function Module to find out all the Screens & Subscreens for
Hello Experts,
Table Name or Function Module to find out all the Screens & Subscreens for all T-Codes
Helpful Answer will b rewarded
Arif ShaikHi Balaji,
But TSTC only Gives the Program Name , T-Code and Screen but not all the Subscreen details
Any other which U know -
Vertical scrollbar not showing all the records when I scroll down.
Vertical scrollbar not showing all the records when I scroll down.
Using Oracle forms 10g , operating system windows
I have two fields with number of items dispayed = 15.
I have a vertical scroll bar with them. There are 34 records in the table but the scrollbar only shows 15 records.
Here are the properties for block / scrollbar.
WORK_CATEGORY
- Subclass Information
- Comments
* Navigation Style Same Record
- Previous Navigation Data Block
- Next Navigation Data Block
- Current Record Visual Attribute Group
- Query Array Size 0
- Number of Records Buffered 0
* Number of Records Displayed 60
* Query All Records No
- Record Orientation Vertical
* Single Record No
- Database Data Block Yes
- Enforce Primary Key No
- Query Allowed Yes
- Query Data Source Type Table
* Query Data Source Name WORK_CATEGORY
* Query Data Source Columns
* Column Name JOB_TYPE
* Column Type VARCHAR2
- Column Type Name
- Parent Column
* Length 30
* Precision 0
* Scale 0
* Mandatory Yes
* Column Name WORK_CATEGORY
* Column Type VARCHAR2
- Column Type Name
- Parent Column
* Length 30
* Precision 0
* Scale 0
* Mandatory Yes
- Query Data Source Arguments
- Alias
- Include REF Item No
* WHERE Clause
* ORDER BY Clause job_type
- Optimizer Hint
- Insert Allowed Yes
- Update Allowed Yes
- Locking Mode Automatic
- Delete Allowed Yes
- Key Mode Automatic
- Update Changed Columns Only No
- Enforce Column Security No
- Maximum Query Time 0
* Maximum Records Fetched 0
- DML Data Target Type Table
- DML Data Target Name
- Insert Procedure Name
- Insert Procedure Result Set Columns
- Insert Procedure Arguments
- Update Procedure Name
- Update Procedure Result Set Columns
- Update Procedure Arguments
Don't know where am I going wrong. I'll really appreciate if you can help me in this.
Thanks.
Edited by: 831050 on Sep 14, 2011 8:05 AMOne of the items is a list item.. here are it's properties:
* Name JOB_TYPE
* Item Type List Item
- Subclass Information
- Comments
- Help Book Topic
- Enabled Yes
* Elements in List
* Label
* List Item Value LIST20
* List Style Combo Box
- Mapping of Other Values
- Implementation Class
- Case Restriction Mixed
- Popup Menu
- Keyboard Navigable Yes
- Mouse Navigate Yes
- Previous Navigation Item
- Next Navigation Item
- Data Type Char
- Data Length Semantics Null
- Maximum Length 30
- Initial Value
* Required Yes
* Copy Value from Item
- Synchronize with Item
- Calculation Mode None
- Formula
- Summary Function None
- Summarized Block
- Summarized Item
- Current Record Visual Attribute Group
- Distance Between Records 0
* Number of Items Displayed 15
- Database Item Yes
* Column Name JOB_TYPE
- Primary Key No
- Query Only No
- Query Allowed Yes
- Insert Allowed Yes
- Update Allowed Yes
- Update Only if NULL No
- Visible Yes
* Canvas CANVAS2
- Tab Page
* X Position 47
* Y Position 137
* Width 187
* Height 18
- Visual Attribute Group DEFAULT
- Prompt Visual Attribute Group DEFAULT
- Foreground Color
* Background Color white
- Fill Pattern
- Font
* Font Name Tahoma
* Font Size 10
* Font Weight Demilight
* Font Style Plain
* Font Spacing Normal
* Prompt Job Type
- Prompt Display Style First Record
* Prompt Justification Start
* Prompt Attachment Edge Top
- Prompt Alignment Start
* Prompt Attachment Offset 10
* Prompt Alignment Offset 0
- Prompt Reading Order Default
- Prompt Foreground Color
- Prompt Font
* Prompt Font Name Tahoma
* Prompt Font Size 10
* Prompt Font Weight Bold
* Prompt Font Style Plain
* Prompt Font Spacing Normal
- Hint
- Display Hint Automatically No
- Tooltip
- Tooltip Visual Attribute Group
- Direction Default
- Initial Keyboard State Default
- Keyboard State Any
-
I am not geting all the records in TCRT for a perticular sequnce number ?
Hi All,
I not geting all the recotrds in TCRT table what ever the records i can see in transaction : PC_PARESULT for a perticular employee of perticular sequence neumber.
My code is like this : for the cumyr = '2008' i am geting values but cumyr = '2007' i am not geting values . But actually records exist for that condition as i see through PA_PCRESULT.
cd-key-pernr = pernr-pernr.
rp-imp-c2-cu.
SORT rgdir BY paydt DESCENDING.
LOOP AT rgdir.
CHECK: rgdir-paydt BETWEEN p_detryr_low AND
p_detryr_high,
rx-key-pernr = cd-key-pernr.
UNPACK rgdir-seqnr TO rx-key-seqno.
rp-imp-c2-ru.
EXIT.
ENDLOOP.
IF sy-subrc = 0.
LOOP AT tcrt WHERE lgart = '/303' AND
ctype = 'Y' AND
taxau = 'FED' AND
cumyr = '2008'.
v_betrg 1= v_betrg + tcrt-betrg.
ENDLOOP.
LOOP AT tcrt WHERE lgart = '/303' AND
ctype = 'Y' AND
taxau = 'FED' AND
cumyr = '2007'.
v_betrg 2 = v_betrg + tcrt-betrg.
ENDLOOP.
Thanks ,
Suresh.You may not expressly be using all the RAM in your machine but OS X will, whether you know it or not.
Each time you read a file from disk, whatever was read is cached by the system; when the file or program is no longer in use, the memory is marked free for the system to recover for other purposes but as long as it remains in memory the next time you need to access that disk information it's simply read from memory.
The more RAM, the more disk data is kept around and the faster your machine will operate until that memory needs to be recovered or you reboot (or otherwise flush the disk cache.) -
Database adapter not returning all the records
I've taken over a BPEL from a developer who left the organization and have been having an issue during our User Acceptance Testing. We are querying a table that will return the insurance enrollment information for employee's and their dependants. When an employee change plans, or adds people, the old plan is terminated and a new once is created. When this happens there will be two records on the database to show the old plan and the new plan.
When we run the SQL thru JDEV or SQLDeveloper, the data comes out fine. When we run it through a BPEL Database Adapter we are only getting one of the rows returned.
I have created a small tester BPEL that is easily modified and deployed to run the same query to try multiple configurations changes within the DBAdapter. What I have found is all the records are returned when the "Return single result set" box on the DBAdapter Wizard is unchecked. When it's checked then it only returns one record for the employees with an old and a new plan.
Can someone explain what the "Return single result set" option does, and what the impact will be if it's unchecked?Hello,
In same way i am using two parent-child(header-line) tables. they have one to many relationship.
I want to generate XML which contains multiple line items under a child elements for header elements.
I have tried it but i am getting only one line under that child item. i am using jdev10.0.3.3.0
can u help me please.
-regards
satyendra -
Function module u0091GET_PRINT_PARAMETERSu0092 Not showing all columns
Hello all,
I am using function module GET_PRINT_PARAMETERS
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
DESTINATION = LOC_DEST
COPIES = WF_COPIES
LIST_NAME = WF_LISTNAME
LIST_TEXT = WF_LISTTEXT
IMMEDIATELY = ' '
RELEASE = ' '
NEW_LIST_ID = 'X'
EXPIRATION = WF_DAYS
LINE_SIZE = 132
LINE_COUNT = 65
LAYOUT = 'X_65_132'
SAP_COVER_PAGE = 'X'
RECEIVER = 'SAP*'
DEPARTMENT = ''
NO_DIALOG = 'X'
IMPORTING
OUT_PARAMETERS = WF_PARAMS
VALID = WF_VALID.
NEW-PAGE PRINT ON PARAMETERS WF_PARAMS NO DIALOG.
PERFORM WRITE_PDF_SUMMARY USING P_VALID P_COND P_ZMGC P_ZOGC P_PDF.
NEW-PAGE PRINT OFF.
But in my report there are 10 columns and in download file its showing only 6 columns .If I increase that size to X_65_200 Then it shows all columns But its not readable. Please tell me how can I use that fix size X_65_132 & it will show all columns .
Message was edited by:
megha waykarYou r right,But that program is already developed in following sequence
*==> 1. Create Virtual Spool
using FUNCTION 'GET_PRINT_PARAMETERS'
*==> 2. Write Report to Virtual Spool. Use NEW-PAGE PRINT ON option.
NEW-PAGE PRINT ON PARAMETERS WF_PARAMS NO DIALOG.
PERFORM WRITE_PDF_SUMMARY USING P_VALID
NEW-PAGE PRINT OFF.
*===> 3. Prepare Path and set spool number.
*===> 4. Convert List to PDF format.
Use function 'CONVERT_ABAPSPOOLJOB_2_PDF'
*==> 5. download PDF file
CALL FUNCTION 'GUI_DOWNLOAD'.
and it's not showing readable download file.
I don't have to change whole coding. I just want to increase that font. -
Function module needed to read all the BOM statuses
Dear Friends,
In a report we are using CS_BOM_EXPL_MAT_V2 function module to get the dispaly the BOMs. But it is displaying only the BOMs which are in Active stauts e.g 1 & 3.
My requirement is needs to read both active and inactive BOMs. Inactive BOM status is 2.
suggest me if there is any another FM or any another way to get all the BOM status materials.
Thanks for your help.
Srinivas.You need to supply another application for alternative determination (field CAPID). It should be possible to customize one for your needs using "Define Order of Priority for BOM Usages" and "Define Applications" under "Production->Basic Data->Bill of Material->Alternative Determination"
Edited by: Carsten Grafflage on Aug 5, 2010 1:44 PM: Corrected one string from customizing - sorry. -
Sender file is not read all the records
Hi Experts,
we got file to file scenario in production, sender file adapter did not read whole file, it did pick up some of the records only insted of whole file.
Can anyone please suggest me why sender file adapter pick some of the records only.
Kind Regards,
Praveen.Praveen
Try increasing the value for parameter Msecs to Wait Before Modification Check .Ideally this parameter starts polling once your standard poll is over and checks if file size has changed. Incase its changed it further polls and keeps doing so until file size remains constant(meaning file modification is over).
Did you try out the other alternative? Using a script to place the processed files to a separate folder and pointing your fileadapter to the same.
Or
As fariha suggested you can check the application responsible for putting the file in the server location. Giving it a seperate name as long as its processed like *.tmp or something and you can use exclusion mask in sender file adapter to avoid processing of the *.tmp file.
Regards
Soumen... -
Function module "GM_DOCUMENT_REVERSE" not found. after Patch Update
Hi Abapers/Basis
After patch update i am not able to do FBCJ reversal entry getting below error message.
Runtime Errors CALL_FUNCTION_NOT_FOUND
Exception CX_SY_DYN_CALL_ILLEGAL_FUNC
Date and Time 25.05.2011 14:43:26
Short text
Function module "GM_DOCUMENT_REVERSE" not found.
What happened?
The function module "GM_DOCUMENT_REVERSE" is called,
but cannot be found in the library.
Error in the ABAP Application Program
The current ABAP program "SAPLRWCL" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_FUNC', was
not caught in
procedure "CALL_DISPATCHER_STORNO_R" "(FORM)", nor was it propagated by a
RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
The program "SAPLRWCL" contains the CALL FUNCTION statement.
The name of the function module to be called is "GM_DOCUMENT_REVERSE".
No function module exists with the name "GM_DOCUMENT_REVERSE".
All function modules are listed in the Function Library (SE37).
Possible reasons:
a) Wrong name specified. Pay particular attention to
upper/lower case and underscores ("_").
or
b) Transport error
c) In the case of an enqueue/dequeue module,
the lock object may not have been activated
(ABAP/4 Dictionary).
How to correct the error
Check the last transports to the SAP System.
Is the program "SAPLRWCL" currently being changed?
If an enqueue/dequeue module is involved, is the activation
of the lock object missing in the ABAP/4 Dictionary?
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"CALL_FUNCTION_NOT_FOUND" "CX_SY_DYN_CALL_ILLEGAL_FUNC"
"SAPLRWCL" or "LRWCLF10"
"CALL_DISPATCHER_STORNO_R"
Function modules with names similar to "GM_DOCUMENT_REVERSE":
GM_DOCUMENT_CLOSE
GM_DOCUMENT_RECORD
GM_DOCUMENT_DELETE
GM_DOCUMENT_POST
GM_DOCUMENT_CHECK
G_DOCUMENT_RECORD
GJ_DOCUMENT_RECORD
GM_DOCUMENT_PROJECT
GET_DOCUMENTS
GM_DOCUMENT_DISPLAY
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
Moderator message: please don't just dump your dumps, search for SAP notes or open a call with SAP instead.
Edited by: Thomas Zloch on May 25, 2011 2:16 PMHi Karthik,
Thank you for ur reply.
I did not implement any user exit/ badi. Dump is saying that my smarform function module does not exist in the se37 library.
I have excuted my form through se38, that time is working fine. When i tried through output type it is going to dump.
Regards,
Kusuma. -
Hi All,
I was trying to extract the data using 0HR_PY_1 Data Source (HR-Payroll related). When I use Full update in BW, it extracts all the records from R/3 but when I use Init load to extract the data, it is not extracting all the records(some records are missing).
So I dont know what exactly is happening. I also checked RSA7 and deleted the entry for this data source (this entry was created because we tried to do some test delta in the past).
When I goto RSA3(Extractor Checker) and use update mode "F" (along with some selection criteria employee#284), it shows 550 records which is the correct number.But when I use the update mode "C"(Initialization of the delta transfer), I just get 490 records only.
So I am thinking is there anything I need to do to reset the initialization tables somewhere on r/3 side or do some kind of settings on r/3 by which I can extract all the records by using INIT load.I noticed a weird thing in RSA3,
I tested this without any selection criteria.
Using "F" update mode, the total number of records were 173,654
Using "C" update mode, the total number of records were 176,205
So, even though I was getting less number of records by using "Full" update mode, I was able to see the latest data I wanted. But When I use "C" update mode, even though the number of records is more, still I could not see the latest data (6/2007)???
So dont know what exactly is happening!! -
BI publisher report is not showing all the data
Hi All,
I have created a report using BI Publisher in R12. The report is not showing all the records.
I have checked the result XML it is also not having all the data. My query returns 846 rows but my report only has 662 rows.
what might be the issue.please give me some idea to resolve this issue.
Thanks in advance.
Regards,
P.KalidossHi Arun,
In the following code: public SelectItem[] getAllPrinters() {
if (allPrinters == null) { // allPrinters is not defined. what type of object it is
PrintService[] printers = PrintServiceLookup.lookupPrintServices(null, null);
allPrinters = new SelectItem[printers.length];
for (int i = 0; i < printers.length; i++) {
SelectItem printer =
new SelectItem(printers.getName(), printers[i].getName());
allPrinters[i] = printer;
return allPrinters;;;
Variable allPrinters is not defined. what type of object it is?
And also the same variable is referenced here <af:selectOneChoice label="Available Printers" partialTriggers="cb1"
value="#{pageFlowScope.applicationPrinterBean.selectedPrinter}"
id="soc1"
autoSubmit="true">
<f:selectItems value="#{pageFlowScope.applicationPrinterBean.allPrinters}" id="si1"/>
</af:selectOneChoice>.
Thanks. -
XI datasources function modules does not exist after BW upgrade to 7.3
We have recently upgraded our dev BI system to 7.3
During our testing phase we found that we are unable to load data coming from XI system.
When we checked the functional modules of the XI(web services)
datasources we found that the function modules does not exist in the system.
Eg : For our GECARS datasource we have 2 funcitonal modules
1. /BIO/QI6AZXH_ZIFIGECARS
2. /BIO/QI6AZXH_ZIFIGECARS_RFC (delta function module)
we have activated resp datasource and found that code for
/BIO/QI6AZXH_ZIFIGECARS exist now but we are facing issues with RFC
funciton modules (/BIO/QI6AZXH_ZIFIGECARS_RFC )
To put it in simple terms we are facing issues with Dev BI since upgradeto 7.3 with respect to RFC and non-availability of function modules.
Kindly help us in resolving this.
Thanks,
KiranHello Kiran,
Have you found the reason for the non existence of the FM in the system after the upgrade?
Have you found any alternative? I hope you would have created an OSS message, if so whats the response have you got?
Kindly let me know as I am experiencing similar issue where one of the FM (RSDRC_MULTIPROV_GET_MAPPING) does not exist in BI system after the upgrade.
Regards,
Vinoth V -
How can i get all the records from three tables(not common records)
Hi
I have four base tables at R/3-Side. And i need to extract them from R/3-Side.
And i dont have any standard extractor for these tables .
If i create a 'View' on top of these tables. Then it will give only commom records among the three tables.
But i want all the records from three base tables (not only common).
So how can i get the all records from three tables. please let me know
kumarYou can create separate 3 datasources for three tables and extract data to BW. There you can implement business login to build relation between this data.
-
Not able to see all the records thru RSA3.
Hello All,
I am checking 0VALUATION_TEXT extractor on R/3 using RSA3 Tcode.
It is showing only 3 records.
When I am loading this Text Master data through InfoPackage, the records were loaded from R/3 to PSA itself is 6.
Why I am not able to see all the records in RSA3.
Kindly Help me out in this.
Thanks,
GeethaHi Geetha,
Check the data, It seems loded data was 3 records for 2 languages.
In RSA3 it is showing 3 records for EN language.
Assign points if it helps...
Regards,
ARK -
Free trial, does it not have all the options/functions
Hi All,
Does the free 1 month test not have all the functionality of the subscription?
I'm trying to add a blog to see how easy it is to add, but can't work out how to add the module, and get it working.
I'm liking the concept, but not sure if I'm seeing the whole package. Any help would be great
Cheers
DaveDave, Kenneth,
Yes, you can start a site at a higher level than basic ... just not in Muse or Dreamweaver.
You need to go to your partner portal:http://www.businesscatalyst.com/Admin/Index.aspx?to=PartnerPortal
Log in with your adobe ID and click on the red Create Site button.
Brad
Maybe you are looking for
-
I bought my apple tv in USA and use in Indonesia, but I can't set date and time.
How to set date and time so I can Home sharing with apple tv .
-
Are the USB/Firewire ports powered?
I have an external hard drive that is powered by the USB of my powerbook- and I noticed that the 20" display features usb and firewire ports. Are they self powered? (the spare ports on the apple keyboard are not- i.e. yu can't charge ipod from them)
-
Question about Disk Permissions Warming
While doing the monthly repairing disk permissions on my mac book pro I saw the following: Warning: SUID file "System/Library/CoreServices/RemoteManagement/...Contents/MacOS/ARDAgent" has been modified and will not be repaired. Quite honestly I never
-
Unable to download newer version of OS X still operating on 10.5.8.
My laptop was not connected to the internet for a long time so updates were not down and now I am stuck with 10.5.8 and I cant seem to get up to the most recent version but everytime go and manually check my computer is telling me that I am operating
-
Exporting Canon 5D Mark ii footage..
I'm fairly new to final cut, im running a Mac Pro, 2 X 3 Ghz processor, 10GB memory, 10.6.2 snow leopard... and i still find myself having to render at every edit in the timeline, and now im having trouble figuring out how to export correctly to get