Not able to get correct BIP report output in case of more than 6000 records
Hi,
When we are trying to generate the BIP report in siebel 8.1.1, for the list of records whose count exceeds 6000 records, we are gettin a error as
"Error <?> invoking method "<?>" for Business Service "<?>"(SBL-OMS-00203)
W have done all the optimizations recommended by siebel like
1)BIP Report Wait Time = 250
2)Database Polling Interval=1
3)Maximum Tasks parameter=100
4)Maximum MT Servers parameter=2
5)DSMaxFetchArraySize=-1
6)Scalable mode in XDo cfg=True
Than also we are getting the above error.
Do any body have any solution or how we can optimize the report because the same report is working with less than 6000 records and giving details of all the records correctly but if records are increased beyond that than we are getting error as specified above.
Thanks
The code below looks correct. Is that the expected behavior of your app?
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script>
<![CDATA[
public var ValueP2:Number = 0;
private var grossValue:Number = 0;
private var totalValue:Number = 0;
private var finalTotalP2:int = 0;
public function test():void {
if (Number(TextInput2.text) == 1 || Number(TextInput2.text) == 2)
ValueP2 = 1;
totalValue = grossValue + ValueP2;
else if (Number(TextInput2.text) == 3 || Number(TextInput2.text) == 4) {
ValueP2 = 5;
totalValue = grossValue + ValueP2;
else if (Number(TextInput2.text) == 5 || Number(TextInput2.text) == 6) {
ValueP2 = 9;
totalValue = grossValue + ValueP2;
trace("totalValue "+totalValue);
finalValueP2(totalValue);
public function finalValueP2(tVP2:int):int {
var tallyP2:int = 0;
if (tVP2 < 3)tallyP2 = 1;
if (tVP2 >= 3 && tVP2 <5)tallyP2 = 2;
if (tVP2 >= 5 && tVP2 <10)tallyP2 = 3;
finalTotalP2 = tallyP2 * 7;
trace("finalTotalP2 " +finalTotalP2);
return(finalTotalP2);
]]>
</mx:Script>
<mx:TextInput id="TextInput2" enter="test()"/>
</mx:Application>
Similar Messages
-
Embedded BI publisher in 8.98 tools - Not able to generate a BIP report
Hi gurus,
I'm using JdE stand-alone with tools 8.98
I'm trying to use the embedded reporting solution of BI publisher on tools 8.98. I follow all the steps below, but when I submit I'm not getting any error, but I'm not getting any result. I'm not able to see any formatted document generated, and I'm not getting any output in the "Report Definition Jobs" Section.
Any clue? Should I set up something else, apart of the steps taken below?
1. Use Oracle’s BI Publisher Template Builder, Microsoft Excel, Microsoft Word, or Adobe Acrobat to
create a blank template file.
2. Add an object to the BI Publisher Object Repository (P95600), using the template name for the
object name.
3. Create a report definition in the JD Edwards BI Publisher Report Definition application (P95620),
associating the source batch application (UBE) and the template.
4. Submit the report definition to generate an XML data file.
5. Download the XML data and design the template in the desktop application that you used to create the
template.
6. Update the report definition in the BI Publisher Report Definitions application, defining criteria such
as output types, bursting, and delivery options.
7. Upload the completed template into BI Publisher Object Repository.
8. Submit the report definition to BI Publisher.
9. Use Report Definition Jobs (P95630) to access the submission
ThanksPlease see these docs.
'Report Cannot Be Rendered Because Of An Error - Unexpected element:report' When Using Firefox [ID 605403.1]
Troubleshooting Oracle BI Publisher Enterprise and XML Publisher Enterprise [ID 412232.1]
BI Publisher Error On Report Access : java.lang.NoClassDefFoundError [ID 1083315.1]
BI PUBLISHER DATA TEMPLATE ISSUE RETRIEVING LARGE VARCHAR COLUMNS [ID 960838.1]
XML-21028 Access Not Allowed While Generating Output With BI Publisher [ID 458161.1]
Thanks,
Hussein -
Spec for this report not able to get values in the output
okSection 1: Document information
Title PP Total Component Requirement by Sales Forecast Report Create Date 5/2/2006
Author Ivie Ng Revision 1.0 Last changed on
Program type ( X ) Report ( ) Form ( ) Batch input ( ) Dialog program
Priority ( ) High ( X ) Medium ( ) Low
Frequency ( ) As require (X ) Daily ( ) Weekly ( ) Monthly ( ) Yearly
( ) Conversion
Doc-Ref.
Section 2: Contact Person
Task/Responsibility Name Signature Date
JM Project Manager Sean Gilgunn
ISS Project Manager YB Cisse
JM-Business Team Lead Sathe
Functional Consultant Ivie
ABAP Consultant Soh
User Acceptance Test / Approved by
Transport
Section 3: Functional Description
Background (whatever; Ex.Why does this program have to develop?)
This is to allow materials dept to view and analyze total component requirement base on sales forecast ie. budget forecast, inactive version within specific planning horizon.
Requirements
In SOP, material dept will maintain planning data (sales & production plan) in various version.
1. Active version: A00
This version is transferred to demand mgmt as active version. MRP will use this planning data to create order proposals (planned orders, purchase requisitions).
2. Inactive version: 001 999
There are 3 types of inactive version in SOP:
a) Sales forecast 000 799
b) Budge forecast 800 820
c) Forecast report 821 999
This report should allow to read any version of the sales forecast and return the total component requirements in the planning horizon that specify.
Section 3.1: Selection screen
Field name Technical name Type of selection field
(*Please specify Transparent Table and field name) (X) Single value ( ) Range ( ) Required field
( ) Single value (X) Range ( ) Required field
(X) Single value ( ) Range ( ) Required field
Section 3.2: Program Logic
Business Requirement
This report will allow option to choose to read the source from SOP or COPA.
Input Selection
Main Menu:
o Total Component Requirement from SOP forecast
o Total Component Requirement from COPA forecast
If SOP is selected, Source = SOP
If COPA is selected, Source = COPA
Option 1: SOP
1. Input Layout
Material: _____________ (note: allow multiple materials entry, no entry indicate all materials)
RM Material Group: __________ (note: allow multiple entry, no entry indicate all Mat Grp)
Plant: MY11 (note: default value)
Standard Price as of : _____________ (YYYYMM)
Version: ________ (note: allow F4 option with Version and Description)
Output Type: ____ (Month/Year)
(If the output type chosen is Month, the below is display)
Period From: _________ (YYYYMM)
Period To: _________ (YYYYMM)
(If the output type chosen is Year, the below is display)
Period From: __________ (YYYY)
Period To: __________ (YYYY)
2. Output Layout
Plant: MY11
Source:
Version:
System Date/Time:
Output Layout in Month:
Material Desc Component Desc UOM M04.2006 M05.2006 M06.2006 M07.2006 M08.2006 M09.2006 BOM
TO2368 NGK0003 PC TO2368
SIN96-015 MG TO2368
SIN96-066F MG TO2368
SIN96-066N MG TO2368
SIN96-127 GCL WCS2004
SIN96-055 G WCS2004
SIN96-110 G WCS2004
SIN96-007 G WCS2004
SIN96-002 GCL WCS1003
SIN96-001 GCL WCS1003
SIN96-006 GCL WCS1003
TO2358/511 PC TO2368
TO2358/512 PC TO2368
WCS2004 GCL TO2368
WCS1003 GCL WCS2004
Output Layout in Year:
Material Desc Component Desc UOM 2006 2007 2008 BOM
TO2368 NGK0003 PC TO2368
SIN96-015 MG TO2368
SIN96-066F MG TO2368
SIN96-066N MG TO2368
SIN96-127 GCL WCS2004
SIN96-055 G WCS2004
SIN96-110 G WCS2004
SIN96-007 G WCS2004
SIN96-002 GCL WCS1003
SIN96-001 GCL WCS1003
SIN96-006 GCL WCS1003
TO2358/511 PC TO2368
TO2358/512 PC TO2368
WCS2004 GCL TO2368
WCS1003 GCL WCS2004
3. Header Section:
Header Field: Plant
Print input field Plant.
Header Field: Source
If SOP is selected, Source = SOP
If COPA is selected, Source = COPA
Print Source.
Header Field: Version
Print input field Version, Print RMCP2-VETXT (version description).
Header Field: System Date/Time
Print current system date and time.
4. Table: S076 (SOP - Sales & Operations Planning)
Read S076 rows with input selection of Material, Plant, Year, Month, Version sorted by Material.
This table provides sales forecast figure.
Table: MAKT Material Decription
Table: MARA - General Material Data
Table: CDHDR - Change document header
Table: CDPOS - Change document items
5. Details Section: -
Read S076.PMNUX(Material). Note: There will be multiple rows in S076.PMNUX (Material)
Field: Material
Print S076.PMNUX(Material).
Field: Description
Read MAKT.MATNR(Material), Print MAKT.MAKTX.
6. Read L1 (Level 1) BOM Transaction: CS03
Where Material = S076.PMNUX (Material), Plant = MY11 (input field), BOM Usage = 1, Status = 01
7. This is to print BOM component.
If Input Material Group =
Read Component (Material), Component Qty from BOM sorted by MARA.MTART (material type) = ZROH, ZHLB , ZRUH
If Input Material Group <>
Read Component (Material), Component Qty from BOM sorted by MARA.MTART (material type) = ZROH, ZHLB , ZRUH
Where MARA-MATKL (Material Group) = Input Material Group.
If MARA.MTART (material type) = ZRUH,
Read L1 (Level 1) BOM Transaction: CS03
Where Material = S076.PMNUX, Plant = MY11 (input field), BOM Usage = 1, Status = 02.
GET RC29K-BMENG (Base Qty) ***
Field: Material Group
Print MARA-MATKL
Field: Component
Print BOM Component.
Field: Description
Print MAKT.MAKTX.
Field: UOM
Print MARA.MEINS.
Field: Currency
Field: Standard Price
If Input Standard Price Date =
Print Currency =
Print Standard Price = 0
Else
Read CDHDR-OBJECTID (Material), CDHDR-CHANGENR (ChgNo)
Where CDHDR-OBJECTID (Material) = BOM Component
And CDHDR-TCODE (Transaction) = MR21
And YYYYMM[CDHDR-UDATE (Date)] = Input Standard Price Date
If NOT Found, look up YYYYMM[CDHDR-UDATE (Date)] 1
I.e. Input Standard Price Date is 200702, If CDHDR-UDATE (Date) Not Found, look up 200701.
If Not Found, look up 200612 until the record is found **
If row return > 1, select the latest CDHDR-UDATE (Date)
i.e. If rows return 20070201 and 20070215, Select 20070215 **
Read CDPOS-CUKY_NEW (Currency), CDPOS-VALUE_NEW (New Value)
Where CDPOS-OBJECTID (Material) = CDHDR-OBJECTID (Material)
And CDPOS-CHANGENR (ChgNo) = CDHDR-CHANGENR (ChgNo)
Print CDPOS-CUKY_NEW (Currency)
Print CDPOS-VALUE_NEW (New Value)
8. If the output type is Year, print Requirement Qty in Yearly bucket.
Requirement Qty = sum[S076-ABSAT (Sales) for current Year] ie 2006
Requirement Qty = sum[S076-ABSAT (Sales) for current Year + 1] ie 2007
Requirement Qty = sum[S076-ABSAT (Sales) for current Year + 2] ie 2008
If the output type is Month, print Requirement Qty in Monthly bucket.
Field: Month (ie. M04.2006)
Requirement Qty = S076-ABSAT (Sales) * Component Qty / RC29K-BMENG (Base Q)
Print Requirement Qty.
Field: Total Price (ie. M04.2006)
Total Price = Requirement Qty * Standard Price
Print Total Price
Field: Month (ie. M05.2006)
Requirement Qty = S076-ABSAT (Sales) * Component Qty / RC29K-BMENG (Base Q)
Print Requirement Qty.
Field: Total Price (ie. M05.2006)
Total Price = Requirement Qty * Standard Price
Print Total Price
Field: Month (ie. M06.2006)
Requirement Qty = S076-ABSAT (Sales) * Component Qty / RC29K-BMENG (Base Q)
Print Requirement Qty.
Field: Total Price (ie. M06.2006)
Total Price = Requirement Qty * Standard Price
Print Total Price
Field: Month (ie. M07.2006)
Requirement Qty = S076-ABSAT (Sales) * Component Qty / RC29K-BMENG (Base Q)
Print Requirement Qty.
Field: Total Price (ie. M07.2006)
Total Price = Requirement Qty * Standard Price
Print Total Price
Field: Month (ie. M08.2006)
Requirement Qty = S076-ABSAT (Sales) * Component Qty / RC29K-BMENG (Base Q)
Print Requirement Qty.
Field: Total Price (ie. M08.2006)
Total Price = Requirement Qty * Standard Price
Print Total Price
Note: Repeat the requirement qty display in Monthly bucket base on period specified.
Field: BOM
Print L1 BOM which is S076.PMNUX (Material) from Step 6.
If Is end of component,
Repeat Step 5 for next Material in SOP (S076.PMNUX).
If MARA.MTART (material type) = ZROH,
Perform Step 7 to read next L1 BOM Component.
Perform Step 8 to print Requirement Qty.
If [MARA.MTART (material type) = ZHLB] and [MARA.MATKL(material group) = WP0100, WP0110, or WP0120],
Go Step 9 to read L2 BOM.
If [MARA.MTART (material type) = ZHLB] and [MARA.MATKL (material group) <> WP0100, WP0110, WP0120],
Perform Step 7 to read next BOM Component.
Perform Step 8 to print Requirement Qty.
9. Read L2 (level 2) BOM for the ZHLB at Transaction: CS03
Where Plant = MY11(input field), BOM Usage= 1, Status = 01.
GET RC29K-BMENG (Base Qty) ***
10. Read Component (Material), Component Qty from BOM sorted by MARA.MTART (material type) = ZROH, ZHLB.
Field: Material Group
Print MARA-MATKL
Field: Component
Print BOM Component.
Field: Description
Print MAKT.MAKTX.
Field: UOM
Print MARA.MEINS.
Field: Month (ie. M04.2006)
Requirement Qty = Requirement Qty from L1 BOM * Component Qty / RC29K-BMENG (Base Q)
Print Requirement Qty.
Field: Total Price (ie. M04.2006)
Total Price = Requirement Qty * Standard Price
Print Total Price
Field: Month (ie. M05.2006)
Requirement Qty = Requirement Qty from L1 BOM * Component Qty / / RC29K-BMENG (Base Q)
Print Requirement Qty.
Field: Total Price (ie. M05.2006)
Total Price = Requirement Qty * Standard Price
Print Total Price
Note: Repeat until end of Period.
Field: BOM
Print L2 BOM from Step 9.
If is end of component, perform Step 7 to read next L1 BOM component, and Step 8 to print Requirement Qty.
If MARA.MTART (material type) = ZROH,
Perform Step 10 to read next L2 BOM Component.
If MARA.MTART (material type) = ZHLB and MARA.MATKL(material group) = WP0100, WP0110, or WP0120,
Go Step 11 to read L3 BOM.
If [MARA.MTART (material type) = ZHLB] and [MARA.MATKL (material group) <> WP0100, WP0110, WP0120],
Perform Step 10 to read next L2 BOM Component.
11. Read L3 (level 3) BOM for the ZHLB at Transaction: CS03 where Plant=MY11(input field), BOM Usage=1, Status =01.
12. Read Component (Material), Component Qty from BOM sorted by MARA.MTART (material type) = ZROH, ZHLB.
Field: Material Group
Print MARA-MATKL
Field: Component
Print BOM Component.
Field: Description
Print MAKT.MAKTX.
Field: UOM
Print MARA.MEINS.
Field: Currency
Field: Standard Price
Read CDHDR-OBJECTID (Material), CDHDR-CHANGENR (ChgNo)
Where CDHDR-OBJECTID (Material) = BOM Component
And CDHDR-TCODE (Transaction) = MR21
And YYYYMM[CDHDR-UDATE (Date)] = Input Standard Price Date
If NOT Found, look up YYYYMM[CDHDR-UDATE (Date)] 1
I.e. Input Standard Price Date is 200702, If CDHDR-UDATE (Date) Not Found, look up 200701.
If Not Found, look up 200612 until the record is found **
If row return > 1, select the latest CDHDR-UDATE (Date)
i.e. If rows return 20070201 and 20070215, Select 20070215 **
Read CDPOS-CUKY_NEW (Currency), CDPOS-VALUE_NEW (New Value)
Where CDPOS-OBJECTID (Material) = CDHDR-OBJECTID (Material)
And CDPOS-CHANGENR (ChgNo) = CDHDR-CHANGENR (ChgNo)
Print CDPOS-CUKY_NEW (Currency)
Print CDPOS-VALUE_NEW (New Value)
Field: Month (ie. M04.2006)
Requirement Qty = Requirement Qty from L2 BOM * Component Qty / RC29K-BMENG (Base Q)
Print Requirement Qty.
Field: Total Price (ie. M04.2006)
Total Price = Requirement Qty * Standard Price
Print Total Price
Field: Month (ie. M05.2006)
Requirement Qty = Requirement Qty from L2 BOM * Component Qty / RC29K-BMENG (Base Q)
Print Requirement Qty.
Field: Total Price (ie. M05.2006)
Total Price = Requirement Qty * Standard Price
Print Total Price
Note: Repeat until end of Period.
Field: BOM
Print L3 BOM from Step 11.
If is end of component,
Perform Step 10 to read next L2 BOM Component.
If MARA.MTART (material type) = ZROH,
Perform Step 12 to read next L3 BOM Component.
If MARA.MTART (material type) = ZHLB and MARA.MATKL(material group) = WP0100, WP0110, or WP0120,
Repeat for next level of BOM reading. ** for future BOM expansion **
If [MARA.MTART (material type) = ZHLB] and [MARA.MATKL (material group) <> WP0100, WP0110, WP0120],
Perform Step 12 to read next L3 BOM Component.
13. The report is ALV format and should allow to export to Excel. See example below:
Option 2: COPA
1. Input Layout
Company Code: ________
Plant: MY11
Material: _____________ (note: allow multiple materials entry, no entry indicate all materials)
Material Group: __________ (note: allow multiple materials entry, no entry indicate all materials)
Standard Price as of : _____________ (YYYYMM)
Version: ________ (note: allow F4 option with Version and Description)
Read V_TKEVS_CL-VERSI (Version), V_TKEVS_CL-VTEXT (Version Description)
Output Type: ____ (Month/Year)
(If the output type chosen is Month, the below is display)
Period From: _________ (YYYYMM)
Period To: _________ (YYYYMM)
(If the output type chosen is Year, the below is display)
Period From: __________ (YYYY)
Period To: __________ (YYYY)
2. Header Section:
Header Field: Plant
Print input field Plant.
Header Field: Source
If SOP is selected, Source = SOP
If COPA is selected, Source = COPA
Print Source.
Header Field: Version
Print V_TKEVS_CL-VERSI (Version), V_TKEVS_CL-VTEXT (Version Description)
Header Field: System Date/Time
Print current system date and time.
3. Report details: -
Table: CE2ASIA - JM Operating Concern
If input selection is Monthly Report:-
Read CE2ASIA-ARTNR (Product No), Sum[CE2ASIA-ABSMG001 (Sales Qty)]
Where CE2ASIA-BUKRS (Company Code) = Input Company Code
And CE2ASIA-WERKS (Plant) = Input Plant
And CE2ASIA-PALEDGER (Currency Type) = 10
And [CE2ASIA-PERBL (FI Period) > = Input Period From And CE2ASIA-PERBL (FI Period) < = Input Period To]
Group by CE2ASIA-ARTNR (Product No)
If input selection is Yearly Report:-
Read CE2ASIA-ARTNR (Product No), CE2ASIA-ABSMG001 (Sales Qty)
Where CE2ASIA-BUKRS (Company Code) = Input Company Code
And CE2ASIA-WERKS (Plant) = Input Plant
And CE2ASIA-PALEDGER (Currency Type) = 10
And [YYYY[CE2ASIA-PERBL (FI Period)] > = Input Period From And CE2ASIA-PERBL (FI Period) < = Input Period To]
Note: The details similar to Option 1: SOP, refer section (5) to (13)
Section 3.3: Report Layout
Field name Technical name Comment
(Please specify Transparent Table and field name) (Ex. In case field does not read directly from transparent table but derive from formular or sum or else. Please show the detail how to do that.)
Section 3.3: Unit Test Criteria
Section 4: Technical Description
Section 4.1: Object information
Development class
Transport number
Section 4.2: Input/output file layout (In case upload/download file)
*Please determine structure of file like as below:
No. Field description Type (Char,Numeric, ) Length Note
Section 4.3: Report/Form information
Paper size Inch 11 8 X 11 Type of printer ( ) Laser printer (X) Dot matrix
Output report / Pre-printed Attach
Technical IssueHi gurus,actually this program selecion screen is linked to ..as
First screen is .Sop
.copa
Again for sop is having a selection screen and in this it is divide based on month and year seperately in two more screens.
same for copa also....
so pls tell me a correct solution where to correct and get values.
Priority is very highhhhhhhhhhhhhh,so pls help me in sorting out this. -
Not able to get data while executing in background for mb52
Dear all,
my requirement is i want to schedule the zreport for every 1 hour.but proble is when iam executing in fore ground iam able to get data.but when iam going to scheduling this iam not able to get data.
my code is
type-pools:slis.
data zbudat type RANGE OF budat.
data wab like line of zbudat.
data zmatkl type RANGE OF MATKL.
data waz like line of zMATKL.
data zwerks type RANGE OF werks.
data wax like line of zwerks.
waz-sign = 'I'.
waz-low = 'CRUDE'.
waz-option = 'EQ'.
append waz to zmatkl.
clear waz.
waz-sign = 'I'.
waz-low = 'SGO'.
waz-option = 'EQ'.
append waz to zmatkl.
clear waz.
*waz-sign = 'I'.
*waz-low = 'FINES'.
*waz-option = 'EQ'.
*append waz to zmatkl.
*clear waz.
*waz-sign = 'I'.
*waz-low = 'LUMPS'.
*waz-option = 'EQ'.
*append waz to zmatkl.
*clear waz.
*waz-sign = 'I'.
*waz-low = 'UFO'.
*waz-option = 'EQ'.
*append waz to zmatkl.
wax-sign = 'I'.
wax-low = 'BIMI'.
wax-option = 'EQ'.
append wax to zwerks.
clear wax.
wax-sign = 'I'.
wax-low = 'BIPL'.
wax-option = 'EQ'.
append wax to zwerks.
*waz-sign = 'I'.
waz-low = 'C'.
*waz-option = 'CP'.
*append waz to zmatnr.
*clear waz.
*waz-sign = 'I'.
waz-low = 'S'.
*waz-option = 'CP'.
*append waz to zmatnr.
*clear waz.
*waz-sign = 'I'.
waz-low = 'UC'.
*waz-option = 'CP'.
*append waz to zmatnr.
*waz-sign = 'I'.
waz-low = 'F'.
*waz-option = 'CP'.
*append waz to zmatnr.
*clear waz.
*waz-sign = 'I'.
waz-low = 'L'.
*waz-option = 'CP'.
*append waz to zmatnr.
types:begin of w_tab,
bwkey type werks_d,
matnr type matnr,
lgort type LGORT_D,
budat type budat,
labst type labst,
endmenge type p decimals 3,
end of w_tab.
DATA : IT_TAB TYPE STANDARD TABLE OF W_TAB WITH HEADER LINE .
FIELD-SYMBOLS: <gt_fieldcat> TYPE slis_fieldcat_alv,
<gt_report_list> TYPE w_tab .
field-symbols <lt_pay_data> type any table.
*FIELD-SYMBOLS : <LT_DATA> LIKE LINE OF IT_TAB .
FIELD-SYMBOLS : <LT_DATA> type any . " i have chaged it
data lr_pay_data type ref to data.
cl_salv_bs_runtime_info=>set( exporting display = abap_false
metadata = abap_false
data = abap_true ).
****SUBMIT ZQM_GR_BARGE_LOADING WITH S_date in zbudat with s_werks in zwerks with p_pend = ' ' AND RETURN .
submit RM07MLBS with MATKLA in zmatkl with werks in zwerks
"with XVBST = 'X'
using selection-SCREEN '1000' and return.
try.
cl_salv_bs_runtime_info=>get_data_ref( importing r_data = lr_pay_data ).
assign lr_pay_data->* to <lt_pay_data>.
catch cx_salv_bs_sc_runtime_info.
message `Unable to retrieve ALV data` type 'E'.
endtry.
cl_salv_bs_runtime_info=>clear_all( ).
data: obj_s type ref to ZKMINCO_MINESTOCKFROM_SAP_OUT.
create OBJECT obj_s.
data : output TYPE ZKMINMINESTOCKFROM_SAP1 ,
record type ZKMINMINESTOCKFROM_SAP_REC_TAB ,
wa_record like line of record.
LOOP AT <lt_pay_data> ASSIGNING <LT_DATA>.
MOVE-CORRESPONDING <LT_DATA> TO IT_TAB .
APPEND IT_TAB .
wa_record-STOCK_AS_ON_DATE = sy-datum .
wa_record-STOCK_AS_ON_TIME = sy-uzeit .
wa_record-PLANT_ID = it_tab-bwkey.
wa_record-STORAGE_LOC_ID = it_tab-lgort .
wa_record-MATERIAL = it_tab-matnr .
wa_record-STOCK_QTY = it_tab-labst.
append wa_record to record.
clear wa_record.
endloop.
output-MINESTOCKFROM_SAP-record = record .
CALL METHOD obj_s->MINESTOCKFROM_SAP_OUT
EXPORTING
output = output .
commit work.
Thanks in advance.Hi,
I assume that in your case you have two program lets say ZFOREGROUND and ZBACKGROUND (Called inside zforeground using submit statement)
zforeground has :
1. a input field to browse excel sheet or some file at the selection screen, and
2. button 'post all' to determine the background processing.
Now your requirement is such that you want zbackground to get scheduled as background job when post all button is clicked.
So, within the event AT USER-Command, check the sy-ucomm as that of post all button, if so write the following code to schedule the job:
DATA: jobname LIKE tbtcjob-jobname.
DATA :jobcount LIKE tbtcjob-jobcount,
host LIKE msxxlist-host.
DATA: BEGIN OF starttime.
INCLUDE STRUCTURE tbtcstrt.
DATA: END OF starttime.
DATA: starttimeimmediate LIKE btch0000-char1.
DATA: gv_job_dt TYPE sy-datum,
gv_job_tm TYPE sy-uzeit.
jobname = 'EXCLUSION_LISTING'.
gv_job_dt = sy-datum.
gv_job_tm = sy-uzeit.
Job open
CALL FUNCTION 'JOB_OPEN'
EXPORTING
delanfrep = ' '
jobgroup = ' '
jobname = jobname
sdlstrtdt = sy-datum
sdlstrttm = sy-uzeit
IMPORTING
jobcount = jobcount
EXCEPTIONS
cant_create_job = 01
invalid_job_data = 02
jobname_missing = 03.
IF sy-subrc NE 0.
"error processing
ENDIF.
Insert process into job
SUBMIT ZBACKGROUND AND RETURN
WITH p_file1 = gv_file_cust_exc "<----
Parameters which you want to pass to report zbackground from the report
WITH p_file2 = gv_file_win_deal "------zforeground
USER sy-uname
VIA JOB jobname
NUMBER jobcount.
IF sy-subrc ne 0.
"error processing
ENDIF.
Close job
starttime-sdlstrtdt = gv_job_dt.
starttime-sdlstrttm = gv_job_tm.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
event_id = starttime-eventid
event_param = starttime-eventparm
event_periodic = starttime-periodic
jobcount = jobcount
jobname = jobname
laststrtdt = starttime-laststrtdt
laststrttm = starttime-laststrttm
prddays = 1
prdhours = 0
prdmins = 0
prdmonths = 0
prdweeks = 0
sdlstrtdt = starttime-sdlstrtdt
sdlstrttm = starttime-sdlstrttm
strtimmed = starttimeimmediate
targetsystem = host
EXCEPTIONS
cant_start_immediate = 01
invalid_startdate = 02
jobname_missing = 03
job_close_failed = 04
job_nosteps = 05
job_notex = 06
lock_failed = 07
OTHERS = 99.
IF sy-subrc EQ 0.
WRITE:/1 'JOB' COLOR 3,
jobname COLOR COL_GROUP,
'Scheduled in Background' COLOR 3. "error processing
gv_time = starttime-sdlstrttm.
gv_date = starttime-sdlstrtdt.
ENDIF.
Above code will schedule the report zbackground in background.
Note:
the program schduled in background will not be able to access any data present on your presentation server. data should be provided either by the program schhedulling it in foreground or it has to be thr in application server.
Regards,
Ravi -
I am not able to open the html format outputs of SQR
when I am trying to open SQR html formate output generated by SQR jobs not able to open the html format outputs of SQR getting below error
but I am able to open pdf and excel formats outputs
"An error was encountered while attempting to retrieve audit_control_info_frm.htm from the Hyperion Reporting and Analysis - System 9. This error is normally encountered when there is no free disk space on the machine hosting Hyperion Reporting and Analysis - System 9 Application. Hyperion Reporting and Analysis - System 9 Application uses a directory on the hard disk to store temporary files while downloading objects. To rectify this problem, if the disk hosting the Hyperion Reporting and Analysis - System 9 Application temporary directory is nearly full, free up additional disk space. After confirming that there is available disk space, restart ALL Hyperion Reporting and Analysis - System 9 servers. <p>Another possible cause of this error is that you have attempted to embed a "Versioned Collection" into your Personal Page. A "Versioned Collection" is typically created when you publish a document and request the creation of an additional compressed copy. Embedded "Versioned Collections" are not supported by Hyperion Reporting and Analysis - System 9.
A general error was encountered contacting the server.
Recommended Action: Contact your corporate technical support."Welcome to the Apple community.
Have you tried restarting your web browser, if that doesn't help you might try emptying your web browser's cache. -
Not able to get the connection to mssql server thro native sql
Dear Experts,
I have created a database connection to mssql server thro DBCO t.code.Am not able to get the connection when i am executing Native SQl for geting connection of mssql server.
DATA: CON_NAME LIKE DBCON-CON_NAME VALUE 'BIW'.
EXEC SQL.
CONNECT TO :con_name AS 'C1'
ENDEXEC.
Am always getting sy-subrc = 4. The user name and password i have given in dbcon table having full authorization to access mssql database. I am working SAP ecc 5.0. Also both servers are running in windows.
could anyone hlep me on this issue.
Thanks in advance.Hello, the submitted error must be analyzed according to the Syntaxis and characteristics of the MSSQL database. See explanation of error.
http://doc.ddart.net/mssql/sql2000/html/trblsql/tr_reslsyserr_1_1o1i.htm
Error 156
Severity Level 15
Message Text
Incorrect syntax near the keyword '%.*ls'.
Explanation
This error indicates that the syntax of a Transact-SQL statement is incorrect and that the syntax error was detected near the keyword specified in the error message. The most frequent causes for syntax errors are misspellings of Transact-SQL keywords or operators, and specifying the syntax of a Transact-SQL statement in the wrong order.
One of the more complicated causes for this error may be a compatibility level mismatch for the current database. If the current database has a compatibility level other than 70, Microsoft® SQL Serveru2122 will not recognize any of the keywords that a database with a compatibility level of 70 would recognize.
Action
First, check the Transact-SQL statement syntax near the keyword specified in the error message. Because Transact-SQL language syntax can be very complex, SQL Server may incorrectly report the position of the syntax error as later in the Transact-SQL statement than it actually occurred. Second, reexamine the entire Transact-SQL statement that generated the error. Verify the syntax order of the statement.
Ensure that the database does not have a compatibility level of 65 and has a compatibility level of 70. -
Not able to generate UCCX Historical Report of one agent
Dear All,
I am not able to generate the UCCX Historical report of the agent as the Historical reports of the agent is generating upto the Feburary 2013 but we are not able to view the Historical Report of March 2013 and onwards, the realtime reports are generating and the agent name is added to the Active Directory only once, help is required in this regard.
Best Regards,
Durraze KhanRajesh,
Put a breakpoint and try to debug the report step by step.
You will findout the reason very easily.
Whenever you have a select and are trying to append into an internal table, keep checking your internal table if it is been populated with the correct records.
This way, you will findout the cause and can correct is accordingly.
Thanks,
Suresh Ganti -
my ipod app no longer works. Everytime I go to open the ipod app it stays open for a second and then shuts down. I am not able to get anything to play either through the standard ipod controls or the multitasking control panel. I'm sure there will be an update soon to correct this, i just wanted to see if anyone else was having the same problem.
wen i open ipod in my iphone ,, it gets stuck ,, and get backs to the menu ,,, and doesnot play anything ,, not video nor songIf your phone is not officially unlocked by the carrier in the UK, you can not use the phone using another SIM, unless you modify the software or the SIM, which can lead to unexpected results, such as non functioning apps.
Unauthorized modification of iPhone OS has been a major source of instability, disruption of services, and other issues
Problems resulting from those modifications can't be discussed in these forums, due to the Terms of Use -
I tried to update the latest update 1/27/14 and it ran into a problem. I am not able to get to my library. I tried to download Itunes and it won't work . What should I do?
Are you sure it was error 0604 since I never heard of that error, it does not appear in the list of errors in the following and a search of Apple's support site gets no hits. However, error 1604 is list and users have reported that error number. If 1604 is the error number the following tell yu wnat to do when you click on that error number:
iOS: Resolving update and restore alert messages -
Not able to get Form 16 A (SAP Business One 8.8 Version)
Hi all,
I am not able to get Form 16 A, after giving necessary information in Form 16 A Selection criteria screen (after posting Outgoing payment for vendor and Govt authority), then system opens another window u201CForm 16 A reportu201D and clicked u201Cgenerate certificate nou201D , but not able to view form 16A.
system is throwing a message "No certificate number marked to any invoice included in this form",
where to mark the certificate number in the invioice?
In BP master under accounting , tax subtab, for Subject to withholding tas there we have a feild for certificate no, update this feild also the same system mesaage is popping up
Is there any other process to view?
Am working on SAP Business One 8.8 (8.80.229) SP: 00 PL: 10
Can anyone help how to get Form 16 A
Thanks
Kumar
Edited by: kumar on Jun 29, 2010 1:11 PM
Edited by: kumar on Jun 29, 2010 1:12 PMHello Dear,
After posting outgoing payment and payment of TDS on TDS account,Update the challan entries.
You can get the update challan entries form under Financial --CXS-TDS.
After that open the Form 16 A form you will get the report.
Thanks,
neetu -
JAXB: not able to get Attribute value
Hi there,
I am using oracle JAXB for XML processing. I am not able to get the value of an attribute. I ran the same code in SUN JWSDP 1.3, which worked correctly. I am not able to get the "foo" attribute for <Table> element using oracle JAXB.
The XML schema follows:
<?xml version='1.0' encoding='UTF-8' ?>
<schema targetNamespace="http://www.oracle.com/iAS/aggregator"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
xmlns:ag="http://www.oracle.com/iAS/aggregator"
xmlns="http://www.w3.org/2001/XMLSchema"
jaxb:version="1.0"
elementFormDefault="qualified">
<annotation>
<appinfo>
<jaxb:globalBindings fixedAttributeAsConstantProperty="true"
/>
<jaxb:schemaBindings>
<jaxb:package name="oracle.dms.aggregator.adml"/>
</jaxb:schemaBindings>
</appinfo>
</annotation>
<complexType name="Adml_T">
<sequence>
<element name="Table" type="ag:Table_T" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute name="Version" type="token" fixed="10.1.3"/>
</complexType> <!-- Adml -->
<complexType name="Table_T">
<attribute name="foo" type="Name"/>
</complexType> <!-- Table -->
<element name="Adml" type="ag:Adml_T"/>
</schema>
The XML file is:
<?xml version='1.0' encoding='UTF-8' ?>
<Adml xmlns="http://www.oracle.com/iAS/aggregator">
<Table foo="foosailor">
</Table>
</Adml>
The java file is:
import javax.xml.bind.JAXBContext;
import javax.xml.bind.Unmarshaller;
import java.io.File;
import java.util.List;
import java.util.Iterator;
import oracle.dms.aggregator.adml.Adml;
import oracle.dms.aggregator.adml.TableT;
public class JaxbQA
public static void main (String[] args)
throws Exception
Adml adml;
String fileName = "aggregator.xml";
String instancePath = "oracle.dms.aggregator.adml";
JAXBContext jc = JAXBContext.newInstance(instancePath);
Unmarshaller u = jc.createUnmarshaller();
u.setValidating(true);
Object obj = u.unmarshal(new File(fileName));
adml = (Adml)obj;
List tables = adml.getTable();
for (Iterator iter = tables.iterator();
iter.hasNext();)
TableT admlTable = (TableT)iter.next();
String name = admlTable.getFoo();
System.err.println("table foo=" + name);
c:\oracle\jdk\bin\java.exe -classpath .;c:\oracle\xdk\lib\xmlparserv2.jar;c:\oracle\xdk\lib\xml.jar JaxbQA
table foo=nullI tested in both 10.1.0.2.0 and 10.1.0.3, which both showed the same problem. A bug #3621204 has been filed.
-
Not able to get all the results if i use "get-spdeletedsite" command
Hi everyone,
I am not able to get all the results when I use the below powershell command.
get-spdeletedsite -limit all
It is giving me only one site, but infact we have more than 100 deleted sites.
If I use the normal command like below it is giving the below output
get-spdeletedsite
Can any one tell me, how can I get all the deleted sites ?
Best Regards
Anil AlladiHi Anil,
For the Limit parameter of Get-SPDeletedSite cmdlet, when we specify its value to ALL, it will return all site collections for the given scope.
For your scenario, the script “Get-SPDeletedSite –Limit ALL” will return all deleted site collections in your SharePoint environment.
If you want to get all deleted site, you can export the result to csv as below:
Get-SPDeletedSite | export-csv out.csv -notypeinformation
Reference:
http://technet.microsoft.com/en-us/library/hh286316(v=office.15).aspx
Best Regards,
Eric
Eric Tao
TechNet Community Support -
EAM Controller is not able to see FFLOGs in Reports & analytics tab
Hello Team,
We have recently configured GRC 10.1. Currently we are testing the configuration and We have observed that EAM Controller is not able to see FFLOGs in Reports & analytics tab but administrater is able to view the logs.
Has anyone faced thiss issue earlier. Please help me to get it resolved.
Thanks,
VIJEIHi Ameet,
Thanks for quick reply.
I have assigned the custom roles of below SAP standard roles to EAM Controler ID
SAP_GRAC_BASE
SAP_GRAC_NWBC
SAP_GRAC_SUPER_USER_MGMT_CNTLR
SAP_GRC_FN_BASE
SAP_GRC_FN_BUSINESS_USER
Please let me know do i need to add any other roles or add Auth object to the roles.
Thanks,
Vijei -
Not able to get the data in COSB Table
Hi Colleagues,
I have created a Project and assign the WBS number to a Sales order and also have done all the settings in Result Analysis.
But still not able to get the data in COSB table.
Could you please suggest me the steps and process, Might be i have missed something..
Thanks in Advance
Regards
NitinHi Ken,
I have below mentioned requirement
COSB will show value by object number and need to pass the object number to PRPS table to find the corresponding WBS element and then pass the WBS element to VBAP table to find the corresponding SO line item.
Please let me know as Functional prospect what I have to do to bring this values in COSB table.
Regards
Nitin -
Not able to get the taxonomy field value of meta data field type
Hi Everyone,
Not able to get the taxonomy filed value from the metadata filed type.
Any one can help me on this.
Label, TermGuid, ValidatedString are showing empty when i debug the code.
Below is the code which i used to get the taxonomy filed valueHi,
Can you please try getting this way?
var taxonomyField = listItem.Fields.GetFieldByInternalName(fieldName) as TaxonomyField;
if (taxonomyField.AllowMultipleValues)
var fieldValuesCollection = listItem[taxonomyField.Title] as TaxonomyFieldValueCollection;
return fieldValuesCollection.Select(x => new Guid(x.TermGuid)).ToList();
else
var fieldValue = listItem[taxonomyField.Title] as TaxonomyFieldValue;
return new List<Guid>() { new Guid(fieldValue.TermGuid) };
Hope it helps!
Thanks,
Avni Bhatt
If this helped you resolve your issue, please mark it Answered
Maybe you are looking for
-
How do I connect speakers to ipod
Recently purchased Harmon Kardon Soundsticks I second hand, and an ipod dock. Both have a USB port how do I connect the two together? I am female and not very good with electrical goods!!!! Windows XP
-
Screen Sharing not remembering Dual Monitor preferences
Before I upgraded my my MBP to Snow Leopard, Screen Sharing would remember to connect to only the primary monitor on my G5. In Snow Leopard, I can't get it to remember it, so it connects to both monitors by defualt each time I use it. Anyone have sug
-
Deleting address usage not replicating in CRM
Hello Friends, Below is the code to replicate the problem i have in my system. This report will check if the BP in processing has address usage of type 0003 which is Forwarding address in our system, then delete it and assign the standard address of
-
Guest variable 'guest info.return_code' not configured correctly.
Hi, I'm converting a SQL Server 2012 from Base DBVM to Base DB Template. After a while working on the conversion I get this error: "Guest variable 'guest info.return_code' not configured correctly." If I double-click the error I get the following mes
-
J2EE Enterprise App Directory Structure
Can anyone point me to a resource that descibes the recomended development directory structure for a J2EE app with EJB? MyEclipse create three directories: J2EEAppName J2EEAppNameEJB J2EEAppNameWeb But I don't know where to put the shared classes, et