Record are reparting
Below query record are reparting as in one union i have to use ra_customer table and in another i have to not use ra_customer table, second condition is that i have to use ard.source_type='CASH', Please advice
select
jc.je_category_name category,
jh.je_source source,
ir.je_header_id je_header_id,
ir.je_line_num je_line_num,
jl.effective_date acc_date,
/* Removed to_char function in effective date for bug 2514941 kakrishn */
jh.name entry,
jh.je_batch_id batch,
jb.name Batch_Name,
substr(jl.description,1,25) descr,
-- ds.name LSequence,
jh.doc_sequence_value HNumber,
jl.je_line_num LLine,
jl.accounted_dr debit,
jl.accounted_cr credit,
jl.entered_dr ent_dr,
jl.entered_cr ent_cr,
jh.external_reference reference,
jl.reference_2 ref2,
jl.reference_3 ref3,
jl.period_name per_name,
null,-- ael.AE_LINE_NUMBER,
null, -- ael.CURRENCY_CODE,
null, -- ael.REFERENCE1,
null, -- ael.REFERENCE4,
null, -- ael.REFERENCE5,
null, -- ael.REFERENCE10,
null, -- ael.REFERENCE6,
null, -- ael.ENTERED_DR,
null, -- ael.ENTERED_CR,
null, -- ael.ACCOUNTED_DR,
null, -- ael.ACCOUNTED_CR,
jl.accounted_dr Accounted_Line_Dr,
jl.accounted_cr Accounted_Line_Cr,
nvl(ir.reference_1,' ') reference_1,
ir.reference_2 reference_2,
ir.reference_3 reference_3,
ir.reference_4 reference_4,
nvl(ir.reference_5,' ') reference_5,
ir.reference_6 reference_6,
ir.reference_7 reference_7,
ir.reference_8 reference_8,
ir.reference_9 reference_9,
ir.reference_10 reference_10
ir.subledger_doc_sequence_id seq_id,
ir.subledger_doc_sequence_value seq_num,
jh.doc_sequence_id h_seq_id,
ir.gl_sl_link_id gl_sl_link_id,
-- NULL,-- rcu.customer_id,
rcu.customer_name,
-- ael.ae_line_id ae_line_id,
gcc.segment1 segment1,
gcc.segment2 segment2,
gcc.segment3 segment3,
gcc.segment4 segment4,
gcc.segment5 segment5,
gcc.segment6 segment6,
gcc.segment7 segment7,
gcc.segment8 segment8,
ARD.ACCTD_AMOUNT_DR Debit_Amount,
ARD.ACCTD_AMOUNT_CR Credit_Amount,
jl.period_name Period_Name
from GL_JE_LINES jl,
GL_JE_HEADERS jh,
GL_JE_BATCHES jb,
GL_JE_SOURCES js,
GL_JE_CATEGORIES jc,
GL_IMPORT_REFERENCES ir,
GL_CODE_COMBINATIONS gcc,
ar_cash_receipts_all acr,
ar_distributions_all ard,
AR_CASH_RECEIPT_HISTORY_ALL ACH,
ra_customers rcu
where
jl.status||'' = 'P'
-- and jl.code_combination_id in (59186,39596,41444,41446,59334,39595,59338,114180,114185)
and jl.code_combination_id in (39595)
and jl.set_of_books_id = 22
and jh.status = 'P'
and jh.actual_flag = 'A'
and jh.je_header_id = jl.je_header_id + 0
and jb.je_batch_id = jh.je_batch_id + 0
and jl.code_combination_id=gcc.code_combination_id
and jb.average_journal_flag = 'N'
and js.je_source_name = jh.je_source
and jc.je_category_name = jh.je_category
and ir.je_header_id (+) = jl.je_header_id
and ir.je_line_num (+) = jl.je_line_num
and ( ir.rowid IS NULL
or jh.je_source IN ('Payables', 'Receivables')
or ir.rowid IN ( SELECT max(ir2.rowid)
FROM gl_import_references ir2
WHERE ir2.je_header_id = jl.je_header_id
AND ir2.je_line_num = jl.je_line_num))
and (NVL(ir.reference_4,'0')) = to_char(acr.receipt_number)
and ir.reference_3=to_char(ard.line_id)
AND ACH.CASH_RECEIPT_ID=ACR.CASH_RECEIPT_ID
and acr.pay_from_customer=rcu.customer_id
AND ACH.CASH_RECEIPT_HISTORY_ID=ARD.SOURCE_ID
and ir.reference_7=to_char(rcu.customer_id)
AND ARD.SOURCE_TYPE='CASH'
and jl.period_name IN ('FEB-09')
UNION
select
jc.je_category_name category,
jh.je_source source,
ir.je_header_id je_header_id,
ir.je_line_num je_line_num,
jl.effective_date acc_date,
/* Removed to_char function in effective date for bug 2514941 kakrishn */
jh.name entry,
jh.je_batch_id batch,
jb.name Batch_Name,
substr(jl.description,1,25) descr,
-- ds.name LSequence,
jh.doc_sequence_value HNumber,
jl.je_line_num LLine,
jl.accounted_dr debit,
jl.accounted_cr credit,
jl.entered_dr ent_dr,
jl.entered_cr ent_cr,
jh.external_reference reference,
jl.reference_2 ref2,
jl.reference_3 ref3,
jl.period_name per_name,
null,-- ael.AE_LINE_NUMBER,
null, -- ael.CURRENCY_CODE,
null, -- ael.REFERENCE1,
null, -- ael.REFERENCE4,
null, -- ael.REFERENCE5,
null, -- ael.REFERENCE10,
null, -- ael.REFERENCE6,
null, -- ael.ENTERED_DR,
null, -- ael.ENTERED_CR,
null, -- ael.ACCOUNTED_DR,
null, -- ael.ACCOUNTED_CR,
jl.accounted_dr Accounted_Line_Dr,
jl.accounted_cr Accounted_Line_Cr,
nvl(ir.reference_1,' ') reference_1,
ir.reference_2 reference_2,
ir.reference_3 reference_3,
ir.reference_4 reference_4,
nvl(ir.reference_5,' ') reference_5,
ir.reference_6 reference_6,
ir.reference_7 reference_7,
ir.reference_8 reference_8,
ir.reference_9 reference_9,
ir.reference_10 reference_10
ir.subledger_doc_sequence_id seq_id,
ir.subledger_doc_sequence_value seq_num,
jh.doc_sequence_id h_seq_id,
ir.gl_sl_link_id gl_sl_link_id,
-- NULL,-- rcu.customer_id,
NULL,-- rcu.customer_name,
-- ael.ae_line_id ae_line_id,
gcc.segment1 segment1,
gcc.segment2 segment2,
gcc.segment3 segment3,
gcc.segment4 segment4,
gcc.segment5 segment5,
gcc.segment6 segment6,
gcc.segment7 segment7,
gcc.segment8 segment8,
ARD.ACCTD_AMOUNT_DR Debit_Amount,
ARD.ACCTD_AMOUNT_CR Credit_Amount,
jl.period_name Period_Name
from GL_JE_LINES jl,
GL_JE_HEADERS jh,
GL_JE_BATCHES jb,
GL_JE_SOURCES js,
GL_JE_CATEGORIES jc,
GL_IMPORT_REFERENCES ir,
GL_CODE_COMBINATIONS gcc,
ar_cash_receipts_all acr,
ar_distributions_all ard,
AR_CASH_RECEIPT_HISTORY_ALL ACH
where
jl.status||'' = 'P'
-- and jl.code_combination_id in (59186,39596,41444,41446,59334,39595,59338,114180,114185)
and jl.code_combination_id in (39595)
and jl.set_of_books_id = 22
and jh.status = 'P'
and jh.actual_flag = 'A'
and jh.je_header_id = jl.je_header_id + 0
and jb.je_batch_id = jh.je_batch_id + 0
and jl.code_combination_id=gcc.code_combination_id
and jb.average_journal_flag = 'N'
and js.je_source_name = jh.je_source
and jc.je_category_name = jh.je_category
and ir.je_header_id (+) = jl.je_header_id
and ir.je_line_num (+) = jl.je_line_num
and ( ir.rowid IS NULL
or jh.je_source IN ('Payables', 'Receivables')
or ir.rowid IN ( SELECT max(ir2.rowid)
FROM gl_import_references ir2
WHERE ir2.je_header_id = jl.je_header_id
AND ir2.je_line_num = jl.je_line_num))
and (NVL(ir.reference_4,'0')) = to_char(acr.receipt_number)
and ir.reference_3=to_char(ard.line_id)
AND ACH.CASH_RECEIPT_ID=ACR.CASH_RECEIPT_ID
AND ACH.CASH_RECEIPT_HISTORY_ID=ARD.SOURCE_ID
AND ARD.SOURCE_TYPE='CASH'
and jl.period_name IN ('FEB-09')Edited by: user605933 on Jul 10, 2009 7:25 AM
Edited by: user605933 on Jul 10, 2009 7:48 AM
Edited by: user605933 on Jul 10, 2009 7:56 AM
Edited by: user605933 on Jul 10, 2009 7:57 AM
Edited by: user605933 on Jul 10, 2009 7:58 AM
Edited by: user605933 on Jul 10, 2009 8:05 AM
user605933 wrote:
Below query record are reparting as in one union i have to use ra_customer table and in another i have to not use ra_customer table, second condition is that i have to use ard.source_type='CASH', Please adviceDo you mean records are "repeating"?
Can you edit your post and put *{noformat}{noformat}* tags before and after your code so that the formatting remains and we can read it properly.
Also, please provide your database version number and some sample input data (create table statements with insert statements will do) and en example of the expected output from that data.
Similar Messages
-
Below query record are reparting as in one union i have to use ra_customer table and in another i have to not use ra_customer table, second condition is that i have to use ard.source_type='CASH', Please advice
select
jc.je_category_name category,
jh.je_source source,
ir.je_header_id je_header_id,
ir.je_line_num je_line_num,
jl.effective_date acc_date,
/* Removed to_char function in effective date for bug 2514941 kakrishn */
jh.name entry,
jh.je_batch_id batch,
jb.name Batch_Name,
substr(jl.description,1,25) descr,
-- ds.name LSequence,
jh.doc_sequence_value HNumber,
jl.je_line_num LLine,
jl.accounted_dr debit,
jl.accounted_cr credit,
jl.entered_dr ent_dr,
jl.entered_cr ent_cr,
jh.external_reference reference,
jl.reference_2 ref2,
jl.reference_3 ref3,
jl.period_name per_name,
null,-- ael.AE_LINE_NUMBER,
null, -- ael.CURRENCY_CODE,
null, -- ael.REFERENCE1,
null, -- ael.REFERENCE4,
null, -- ael.REFERENCE5,
null, -- ael.REFERENCE10,
null, -- ael.REFERENCE6,
null, -- ael.ENTERED_DR,
null, -- ael.ENTERED_CR,
null, -- ael.ACCOUNTED_DR,
null, -- ael.ACCOUNTED_CR,
jl.accounted_dr Accounted_Line_Dr,
jl.accounted_cr Accounted_Line_Cr,
nvl(ir.reference_1,' ') reference_1,
ir.reference_2 reference_2,
ir.reference_3 reference_3,
ir.reference_4 reference_4,
nvl(ir.reference_5,' ') reference_5,
ir.reference_6 reference_6,
ir.reference_7 reference_7,
ir.reference_8 reference_8,
ir.reference_9 reference_9,
ir.reference_10 reference_10
ir.subledger_doc_sequence_id seq_id,
ir.subledger_doc_sequence_value seq_num,
jh.doc_sequence_id h_seq_id,
ir.gl_sl_link_id gl_sl_link_id,
-- NULL,-- rcu.customer_id,
rcu.customer_name,
-- ael.ae_line_id ae_line_id,
gcc.segment1 segment1,
gcc.segment2 segment2,
gcc.segment3 segment3,
gcc.segment4 segment4,
gcc.segment5 segment5,
gcc.segment6 segment6,
gcc.segment7 segment7,
gcc.segment8 segment8,
ARD.ACCTD_AMOUNT_DR Debit_Amount,
ARD.ACCTD_AMOUNT_CR Credit_Amount,
jl.period_name Period_Name
from GL_JE_LINES jl,
GL_JE_HEADERS jh,
GL_JE_BATCHES jb,
GL_JE_SOURCES js,
GL_JE_CATEGORIES jc,
GL_IMPORT_REFERENCES ir,
GL_CODE_COMBINATIONS gcc,
ar_cash_receipts_all acr,
ar_distributions_all ard,
AR_CASH_RECEIPT_HISTORY_ALL ACH,
ra_customers rcu
where
jl.status||'' = 'P'
-- and jl.code_combination_id in (59186,39596,41444,41446,59334,39595,59338,114180,114185)
and jl.code_combination_id in (39595)
and jl.set_of_books_id = 22
and jh.status = 'P'
and jh.actual_flag = 'A'
and jh.je_header_id = jl.je_header_id + 0
and jb.je_batch_id = jh.je_batch_id + 0
and jl.code_combination_id=gcc.code_combination_id
and jb.average_journal_flag = 'N'
and js.je_source_name = jh.je_source
and jc.je_category_name = jh.je_category
and ir.je_header_id (+) = jl.je_header_id
and ir.je_line_num (+) = jl.je_line_num
and ( ir.rowid IS NULL
or jh.je_source IN ('Payables', 'Receivables')
or ir.rowid IN ( SELECT max(ir2.rowid)
FROM gl_import_references ir2
WHERE ir2.je_header_id = jl.je_header_id
AND ir2.je_line_num = jl.je_line_num))
and (NVL(ir.reference_4,'0')) = to_char(acr.receipt_number)
and ir.reference_3=to_char(ard.line_id)
AND ACH.CASH_RECEIPT_ID=ACR.CASH_RECEIPT_ID
and acr.pay_from_customer=rcu.customer_id
AND ACH.CASH_RECEIPT_HISTORY_ID=ARD.SOURCE_ID
and ir.reference_7=to_char(rcu.customer_id)
AND ARD.SOURCE_TYPE='CASH'
and jl.period_name IN ('FEB-09')
UNION
select
jc.je_category_name category,
jh.je_source source,
ir.je_header_id je_header_id,
ir.je_line_num je_line_num,
jl.effective_date acc_date,
/* Removed to_char function in effective date for bug 2514941 kakrishn */
jh.name entry,
jh.je_batch_id batch,
jb.name Batch_Name,
substr(jl.description,1,25) descr,
-- ds.name LSequence,
jh.doc_sequence_value HNumber,
jl.je_line_num LLine,
jl.accounted_dr debit,
jl.accounted_cr credit,
jl.entered_dr ent_dr,
jl.entered_cr ent_cr,
jh.external_reference reference,
jl.reference_2 ref2,
jl.reference_3 ref3,
jl.period_name per_name,
null,-- ael.AE_LINE_NUMBER,
null, -- ael.CURRENCY_CODE,
null, -- ael.REFERENCE1,
null, -- ael.REFERENCE4,
null, -- ael.REFERENCE5,
null, -- ael.REFERENCE10,
null, -- ael.REFERENCE6,
null, -- ael.ENTERED_DR,
null, -- ael.ENTERED_CR,
null, -- ael.ACCOUNTED_DR,
null, -- ael.ACCOUNTED_CR,
jl.accounted_dr Accounted_Line_Dr,
jl.accounted_cr Accounted_Line_Cr,
nvl(ir.reference_1,' ') reference_1,
ir.reference_2 reference_2,
ir.reference_3 reference_3,
ir.reference_4 reference_4,
nvl(ir.reference_5,' ') reference_5,
ir.reference_6 reference_6,
ir.reference_7 reference_7,
ir.reference_8 reference_8,
ir.reference_9 reference_9,
ir.reference_10 reference_10
ir.subledger_doc_sequence_id seq_id,
ir.subledger_doc_sequence_value seq_num,
jh.doc_sequence_id h_seq_id,
ir.gl_sl_link_id gl_sl_link_id,
-- NULL,-- rcu.customer_id,
NULL,-- rcu.customer_name,
-- ael.ae_line_id ae_line_id,
gcc.segment1 segment1,
gcc.segment2 segment2,
gcc.segment3 segment3,
gcc.segment4 segment4,
gcc.segment5 segment5,
gcc.segment6 segment6,
gcc.segment7 segment7,
gcc.segment8 segment8,
ARD.ACCTD_AMOUNT_DR Debit_Amount,
ARD.ACCTD_AMOUNT_CR Credit_Amount,
jl.period_name Period_Name
from GL_JE_LINES jl,
GL_JE_HEADERS jh,
GL_JE_BATCHES jb,
GL_JE_SOURCES js,
GL_JE_CATEGORIES jc,
GL_IMPORT_REFERENCES ir,
GL_CODE_COMBINATIONS gcc,
ar_cash_receipts_all acr,
ar_distributions_all ard,
AR_CASH_RECEIPT_HISTORY_ALL ACH
where
jl.status||'' = 'P'
-- and jl.code_combination_id in (59186,39596,41444,41446,59334,39595,59338,114180,114185)
and jl.code_combination_id in (39595)
and jl.set_of_books_id = 22
and jh.status = 'P'
and jh.actual_flag = 'A'
and jh.je_header_id = jl.je_header_id + 0
and jb.je_batch_id = jh.je_batch_id + 0
and jl.code_combination_id=gcc.code_combination_id
and jb.average_journal_flag = 'N'
and js.je_source_name = jh.je_source
and jc.je_category_name = jh.je_category
and ir.je_header_id (+) = jl.je_header_id
and ir.je_line_num (+) = jl.je_line_num
and ( ir.rowid IS NULL
or jh.je_source IN ('Payables', 'Receivables')
or ir.rowid IN ( SELECT max(ir2.rowid)
FROM gl_import_references ir2
WHERE ir2.je_header_id = jl.je_header_id
AND ir2.je_line_num = jl.je_line_num))
and (NVL(ir.reference_4,'0')) = to_char(acr.receipt_number)
and ir.reference_3=to_char(ard.line_id)
AND ACH.CASH_RECEIPT_ID=ACR.CASH_RECEIPT_ID
AND ACH.CASH_RECEIPT_HISTORY_ID=ARD.SOURCE_ID
AND ARD.SOURCE_TYPE='CASH'
and jl.period_name IN ('FEB-09')Not exactly sure what your question is, but if the queries are mutually exclusive, then you don't have to do anything. If they are not mutually exclusive then you'd need an existence / non existence clause or similar in each query to force mutual exclusion.
Regards,
Gareth -
All Records are not getting displayed in adobe form from table
Hi All,
I Want to display records from table to Adobe Form Table .
But While Displaying only some of the records are getting displayed How can i display all the records in next pages of adobe form.
Its Urgent PLZ Reploy soon.
Thanks & Regards
Kirandear friend,
please check the adobe format, must be match to
the data base format.
pls go to the setting and adjust the data base table.
if nothing is going click the radio button
html format.
that will work.
rewards are expecting.
vivek -
Delta records are not loading from DSO to info cube
My query is about delta loading from DSO to info cube. (Filter used in selection)
Delta records are not loading from DSO to Info cube. I have tried all options available in DTP but no luck.
Selected "Change log" and "Get one request only" and run the DTP, but 0 records got updated in info cube
Selected "Change log" and "Get all new data request by request", but again 0 records got updated
Selected "Change log" and "Only get the delta once", in that case all delta records loaded to info cube as it was in DSO and gave error message "Lock Table Overflow" .
When I run full load using same filter, data is loading from DSO to info cube.
Can anyone please help me on this to get delta records from DSO to info cube?
Thanks,
ShammaData is loading in case of full load with the same filter, so I don't think filter is an issue.
When I follow below sequence, I get lock table overflow error;
1. Full load with active table with or without archive
2. Then with the same setting if I run init, the final status remains yellow and when I change the status to green manually, it gives lock table overflow error.
When I chnage the settings of DTP to init run;
1. Select change log and get only one request, and run the init, It is successfully completed with green status
2. But when I run the same DTP for delta records, it does not load any data.
Please help me to resolve this issue. -
DB Connect DataSource PSA records and DSO records are not matching...
Dear All,
I'm working with SAP NetWeaver BW 7.3 and for the first time, I have loaded from Source System DB Connect. I have created a DataSource and pulled all records and found 8,136,559 records in PSA. When I designed and created DSO with Key Fields 0CALDAY, Item No and Company Code, it has transferred records about 8,136,559 and added records about 12,534 only. Similarly following InfoCube has about 12,534 records into its Fact table. When I tried to reconcile the data/records with source DBMS for a month, the records/data could not matched?
1. What could be the reason behind the issue? why I am unable to load the records/data correctly?
2. Have I not mentioned the Key Fields of DSO in a correct manner?
3. Is it possible to load the records/data into DSO without giving any field as Key Fields?
4. How should I resolve this issue?
5. Is it could be of DSO Overwrite and summation function utilization if yes, then how to utilize it?
Many thanks,
Tariq AshrafDear Tariq,
1. What could be the reason behind the issue? why I am unable to load the records/data correctly?
Ans: Check transformation once. Is there any start routine you have used or direct assignments. What kind of DTP settings you have done.
Check the messages at the DTP monitor. You will surely find some clue. Any duplicate records are being detected or not check once if you are using semantic keys in your DTP.
2. Have I not mentioned the Key Fields of DSO in a correct manner?
Ans: The transformation key and the DSo key are they same in your case?
What kind of DSO is it? Like for sales order DSO you take Order number as a key field., So you have to define the key fields according to business semantics I suppose. Do you agree?
3. Is it possible to load the records/data into DSO without giving any field as Key Fields?
Ans: I dont think so as the keys you defined will help in having unique data records isnot it?
4. How should I resolve this issue?
Ans: Please check the above as in Ans:1 please share your observation.
5. Is it could be of DSO Overwrite and summation function utilization if yes, then how to utilize it?
Ans: DSO overwriting of key figures is useful when you have full loads in picture. Are you always going to perform full loads ?
For reference would you like to check this thread: Data fileds and key fields in DSO
Lets see what experts give their inputs.
Thank You... -
Not all records are updated in DSO
Dear Friends
My Scenario is SAP - FM -> DataSource -> InfoPackage -> DTP ->Transformation - > DSO.
I have 896 Records in my PSA , but when I run DTP to load the data in DSO only 817 records are added, rest records are not updated. I have supplied
Purchasing organization 0PURCH_ORG
Purchasing Group 0PUR_GROUP
Vendor 0VENDOR
BW: Document Number 0DOC_NUM
BW: Document Item Number 0DOC_ITEM
Material 0MATERIAL
Accounting document number 0AC_DOC_NO
Item in Material Document ZZEILE
as key fields of DSO.
can you suggest me what could be possible reason for not having all the records.
Regards
NaimHi,
is it full load?
Have you applied any filters at dtp level?
if its full load then delete whole psa data and dso data.
reload them again and see the count.
As per dso primary keys, same combination data will over write it.
how many records count you see at dso-->manage-->request tab
Added and transferred.
Thanks -
Credit master records are showing the wrong credit exposure?
Hi,
Some credit master records are showing the wrong credit exposure and therefore orders are being credit blocked when they should have been approved.
The problems occur after the credit limit has changed in the credit master record
Please Help.
Regards,
ChamandeepDear Chamandeep,
Trust you have reviewed the open documents that would constitute to credit exposure, and have turned a blank.
In such cases, it is possible to reorganise the credit master data of customers by using the programmes RVKRED77 and RVKRED07.
Kindly prefer the latter as it permits greater flexibility especially in selection of dates of data reorganisation.
In either case, the data re-organisation is resource intensive and is best run when all other users are cleared from the system.
Regards,
K Gopidas -
While exporting the Report to Excel Records are showing two times
Hello Gurus
When im trying to export a report from NW Portal to Excel, data is showing double times, even variable selections screen, records are showing two tmes.
What would be the problem, does we need any SP.
Thanks in advance.
Regd
LajwanthGURU'S ANY REPLIES........
-
Records are getting duplicated on presing enter key in table control
Hi All,
I am using table control in module pool program. The issue is records are getting duplicated on press of enter key.
I cannot use sy-ucomm enter and do some validation thing in my code. As the record should get update in int_tab(internal table). Otherwise ZSTR_TAB(table control)will be blank after pressing enter key.
I have gone through all the previous threads on this. Have implemented sol provided in one of threads. Now records are not getting duplicated but the next line is getting disabled. The code to avoid duplication is :
MODULE read_table_control INPUT.
data tc-lines type i.
DESCRIBE TABLE int_tab LINES tc-lines.
IF tc-lines GE control-current_line.
MODIFY int_tab FROM zstr_tab INDEX control-current_line.
ELSE.
IF gcreate_code = 'CREATE'.
zstr_tab-zemp_num = gemp_num.
INSERT zstr_tab INTO int_tab INDEX control-current_line.
ENDIF.
IF gchange_code = 'CHANGE'.
MODIFY int_tab FROM zstr_tab INDEX control-current_line.
ENDIF.
ENDIF.
ENDMODULE.
This module is in PAI. Now how to make the lines in control input enabled??
Any other sol for avoiding duplicate records on pressing enter key?
Thanks,
SeemaHi,
Have you written any code in when Others of case...Endcase ?
If Yes then checkout if there is anything wrong over there, debug and check.
If not then write delete adgecent duplicates from Int_tab comparing key fields.
Also check in PBO, if you have written any query that selects data from particular table and appending the internal table irrespective of entry is already exist. So you should write select query in the if...Endif block as below,
If int_tab[] is not initial.
select * from ZSTR_TAB
into table int_tab
where .........
endif.
If above is not the case then debug and check where exactly entries are getting duplicated so that I can have idea what exactly is happening.
Regards,
Umang Mehta -
The rendered records are not consistent with the range
After changing the range with record navigator to render the records,
if navigate to other page and go back,the rendered records will not be
consistent with the record range.
The issue can be reproduced as follows.
1.when select 1-10 range,the first 10 records are rendered.
2.select [Next 10 records] to render the 11-13 records.
3.change to other page and return to the original page.
It is found that the 11-13 records are rendered but the range is 1-10.
You can verify the issue by executing SampleMainPG.xml of the Tutorial.jpr for 11.5.10.2
from Jdeveloper after changing the SampleMainCO.java as below.
* Layout and page setup logic for a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
if (pageContext.getTransactionValue("link") != null)
OAAdvancedTableBean inner = (OAAdvancedTableBean)webBean.findChildRecursive("InnerTable");
inner.clearCache(pageContext);
inner.setAttributeValue("CLEAR_CACHE_ONCE_NOEXECUTE_ATTR", Boolean.TRUE);
<==comment out these original source above.
OAAdvancedTableBean outer = (OAAdvancedTableBean)webBean.findChildRecursive("OuterTable");
outer.queryData(pageContext, false);
<==add the two rows of source above to get the latest query data.
you should to make the records of the table fwk_tbx_employees to be more than 10 just using the SQL script below.
(just need to change EMPLOYEE_ID at your will)
INSERT INTO fwk_tbx_employees (
EMPLOYEE_ID,
TITLE,
FIRST_NAME,
MIDDLE_NAMES,
LAST_NAME,
FULL_NAME,
EMAIL_ADDRESS,
MANAGER_ID,
POSITION_CODE,
SALARY,
START_DATE,
END_DATE,
LAST_UPDATE_DATE,
LAST_UPDATED_BY,
CREATION_DATE,
CREATED_BY,
LAST_UPDATE_LOGIN,
ATTRIBUTE_CATEGORY,
ATTRIBUTE1,
ATTRIBUTE2,
ATTRIBUTE3,
ATTRIBUTE4,
ATTRIBUTE5,
ATTRIBUTE6,
ATTRIBUTE7,
ATTRIBUTE8,
ATTRIBUTE9,
ATTRIBUTE10,
ATTRIBUTE11,
ATTRIBUTE12,
ATTRIBUTE13,
ATTRIBUTE14,
ATTRIBUTE15 )
VALUES (
17,
'ichiro',
'yamada',
'ichiro yamada',
1,
0,
sysdate,
sysdate,
sysdate,
0,
sysdate,
0,
0,
it seems that if use the functions below,the issue can be workarounded.
But it is not clear whether there is any other impact from these functions.
innerTable1.clearCache(pageContext);
innerTable1.setAttributeValue("CLEAR_CACHE_ONCE_NOEXECUTE_ATTR", Boolean.TRUE);
Could you please share your idea?
Thank you very much in advance.
Best regards,
WangFYI. I was able to do what I wanted by first going to page properties and removing unwanted fonts from appearance. Then edit the page, select all, change style to normal, then select the text where you want to use a different style and change style there. This gives consistent appearance with both browsers.
-
Records are missing in the File which XI has placed in Target FTP server
Hi All,
I have a scenario where in XI is transfering the files from ECC to Target System . No transformation required here . I am using AAE to run this scenario.
Issue i am facing here is that i can see few records missing in the File which XI had placed in the Target system FTP server . Same file if i check it in archive folder of ECC (which XI has archived after picking the file), complete set of records are present for the same file.
Need your inputs please....
Note : XI is using AAE to transfer the files and no mapping . Also i tried to check out the audit logs in the channel monitoring . Unforutanely i was not able to see the logs to check the bytes that was transferred while readng and writing the file . Sometimes i have faced audit logs issue in PI 7.1
Regards
Vinay P.Please use temporary name scheme
http://help.sap.com/saphelp_nwpi711/helpdata/en/44/6830e67f2a6d12e10000000a1553f6/content.htm
hope this helps
regards
Ninad -
Validate whether all the records are present in the list before writing
Hi,
I have the below code:-
List<CustomerVO> custlist = new ArrayList<CustomerVO>();
for (CustomerVO customerVO : custlist) {
try {
saveRecord(customerVO);
} catch (Exception e) {
custlist.add(customerVO);
if(){ // Here i need to compare whether all the records in the list are processed and there is no more records
// if so i wrire the all the error details at once by calling the writeErrorDetails
writeErrorDetails(frbVOlist);
Here in the if block I need compare whether all the records in the list are processed and there is no more records to process ,
if so write all the error details at once by calling the writeErrorDetails in the .TXT file.
The problem here is, how i will know whether the all the records are processed from the custList, so that I can write all of then atonce.
If the If conditional block is not there, then for each record failure a separate .txt file will be created. Hence if there are 4 failed records
then 4 .txt error file will be generated. Which should be avoided and i want to write all the 4 failed records in a single .txt file.
Hence, what may be the If condition i need to check from the list whether all the records are processed. Please , let me know your opinion.
Thanks.797836 wrote:
List<CustomerVO> custlist = new ArrayList<CustomerVO>();
for (CustomerVO customerVO : custlist) {
try {
saveRecord(customerVO);
} catch (Exception e) {Look at the following statement in the catch block.
custlist.add(customerVO);Is this correct? Why are you adding the faild record to the custlist again? I think, it should be like,
frbVOlist.add(customerVO);
if(){ // Here i need to compare whether all the records in the list are processed and there is no more records
// if so i wrire the all the error details at once by calling the writeErrorDetails
writeErrorDetails(frbVOlist);
}Call the writeErrorDetails(frbVOlist) after the end of the for loop by checking the size of the frbVOlist > 0. -
Data Records are missing in between while loading from R/3 (ECC) to BI.
Dear Experts,
I have created a custom DataSource on Custom Function Module. This datasource contains 600 fields. (I know its a monster and splitting options are thinner).
1) Validate the data using RSA3 in R/3 and showed the correct record count.
2) Validate the data by debugging the FM, still showed the correct record count.
But while loading from R/3 to BI, records are missing.
Various Scenarios load from R/3 to BI:
1a) Loaded full load (78000 records) with all default data transfer settings. PSA showed up with 72000 records (missing 6000) only. Compared the Idocs vs data packets, both reconciled.
1b) Loaded full load (78000) with modified settings (15000 KB / data packet). PSA showed up with 74000 records (missing 4000) only.
2a) Loaded with selection parameters (took a small chunk) (7000 records) with default data transfer settings. PSA showed up only 5000 records (missing 2000).
2b) Loaded with selection parameters (7000 records) with modified settings (15000 KB / data packet). PSA showed up all 7000 records.
3a) Loaded with selection parameters (took further small chunk) (4000 records). PSA showed up all records regardless data transfer settings.
Also please look at this piece of code from the function module,
IF l_wa_interface-isource = 'ZBI_ARD_TRANS'.
l_package_size = l_wa_interface-maxsize DIV 60.
ENDIF.
I really appreciate your advise or help in this regard.
Thanks much,
AnilHi,
Which module u want?
if its SD(for example)
steps>>
1>In AWB goto "business content"
2> goto "Info provider"
3>Under infoarea select SD cubes
4> Drag related cubes and ODS to right panel
5> Set the grouping option "In Data flow before&afterwards"
6>Install the collected objects
Go to R/3
7> Use Tcode RSA5 Transfer all regarding SD module datasources
Goto BW
8> Right click on the source system "Replicate datasources"
[DataSources|http://help.sap.com/saphelp_nw70/helpdata/en/3c/7b88408bc0bb4de10000000a1550b0/frameset.htm]
Edited by: Obily on Jul 10, 2008 8:36 AM -
Deleted records are not captured in 2lis_02_itm
Hi SDN,
I am extracting Purchase order records(more specifically Outline agreements ME23K) from 2LIS_02_ITM.
When I delete a PO with Purchase Order History in ME23K and save it I am able to see the change recorded in LBWQ and now i run the collective run in LBWE I can see the total coloum in RSA7 filling with value 1.
Now when i try to see the record in in RSA7 it is showing nothing and also when the delta infopackage is run zero records are being pulled.
In a nutshell I am missing the deleted records with Extractor.
Is there any way I can see the actual delta record sitting in LBWQ after the deletion is posted.
Please help me out folksHi,
check this notes:
FAQ: Business Warehouse (BW) in Purchasing
SAP Note Number: [459517|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bct/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d343539353137%7d]
Note [527490|https://websmp130.sap-ag.de/sap(bD1kZSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=527490] - BW: Deletion indicator not set correctly - Part 2
Regards
Andreas -
Sp L records are coming to the PSA and not updating in the data target
Special Ledger records are coming to the PSA and not updating in the data target in the month end and the info package is failing - because of that we are doing manual updating from PSA to the data target -
Can so one can tell the reasons why this is happening? And give the solutions to it?Hi Sankar,
If your Infopackage uses Only PSA and Update subsequently in Data Target on the Processing tab, then you will need to add a process for Read PSA and Update Data Target in your process chain, after the Infopackage load process. Then it will take data from the PSA and load to the data target.
Hope this helps...
Maybe you are looking for
-
Wont open new tab with link is clicked
Since upgrading to from FF-6 to FF-7, when I click on a text link it doesn't open up in new tab, it just goes to the link within the same window. I've confirmed that I have the tab setting in FF7 set to open a new tab instead of a window, and Google
-
Help with F-48 Vendor Down payment for Italy please
Hello, I have a problem with the F-48 Vendor down payment process. I'm working with an Italian company, and they state that with a Pro-forma invoice, they post the down payment. The Vendor has Withholding tax, and when I use a Vendor that is setup
-
I have a Frame that has a panel with a JTextArea in it, but when the text area is displayed (regardless of what size i declare it ) it resizes itself to the size of the frame .. Anbody that can telkl me why it does this, thanks in advance ; )
-
Is there a way to hide the status bar when reading a book in iBooks?
Every other ereader app seems to hide the status bar (at the top of the screen, with battery etc) automatically, or there is a setting to do so. I can't seem to be able to do this in iBooks. What am I missing?
-
Windows xp, sp3. Says it's not supported, but on site documentation says it is. Which is it?