Account Transformation CALCACCOUNT.LGF returns 0 records
Hi,
Account transformation through CALCACCOUNT.LGF returning 0 records.
Created a Account Transformation Business rule as follows -
Transformation group Name - AST
Source Account - CASH
Category - ACTUAL
Source Flow - NONE
Source DatsSrc - SYSTEM
Similarly maintained values for -
Destination Account - D_CASH
Destination Category - ACTUAL
Destination Source Flow - ENDBAL
Destination DatsSrc - SYSTEM
Source period = -1
all other values like Source Year,Apply to YTD,Remark,Level, Forced into Member are left blank.
Scrip Logic -
*RUN_PROGRAM CALC_ACCOUNT
CATEGORY = %CATEGORY_SET%
CURRENCY = %RPTCURRENCY_SET%
TID_RA = %TIME_SET%
ENTITY=%ENTITY_SET%
CALC=AST
*ENDRUN_PROGRAM
Script runs succesfully, however returns 0 records.
RUN CALC_ACCOUNT
0 SUBMITTED, 0 SUCCESS, 0 FAIL.
SCRIPT RUNNING TIME IN TOTAL:1.94 s.
LOG END TIME:2011-06-28 01:38:25
Can some one please advise on the "checks" to be performed to run the script succesfully.
I know out of experience even if a simple property is not set, script does not run.
Inputs appreciated.
Thanks.
With this, one thing to be aware of is that if you have run an account transformation rule on a data set already, and you a re-running it yet the data has not changed - there will be 0 records generated.
I recommend changing the data - do a simple zero and input data then save - then re-run, check if that works.
Nick
Similar Messages
-
Calcaccount procedure - account transformation business rules
Hi I have a question concerning the calcaccount procedure.
I already made some Cashflow accounts
I already filled in some lines in the account transformation business rules
But now I was wondering how to run these business rules:
I have made the following calcaccount logic, but when I run it I get nothing for the moment
*XDIM_MEMBERSET INTCO=GLTOT
*XDIM_MEMBERSET GROUPS=C_WDP
*XDIM_MEMBERSET ENTITY=E_TOTAL
*IGNORE_STATUS
*RUN_STORED_PROCEDURE = SPRUNCALCACCOUNT([FINANCE],[%CATEGORY_SET%],[C_WDP],[%SCOPETABLE%],[%LOGTABLE%],[CF])
*COMMIT
I don't have a clue if this logic is even correct or not
Please help meHi Alwin,
I tried this but it doesnt work
*XDIM_MEMBERSET INTCO=GLTOT
*XDIM_MEMBERSET GROUPS=C_WDP
*XDIM_MEMBERSET ENTITY=E_TOTAL
*IGNORE_STATUS
*RUN_STORED_PROCEDURE = SPRUNCALCACCOUNT([FINANCE],[%CATEGORY_SET%],[C_WDP],[%SCOPETABLE%],[%LOGTABLE%])
*COMMIT
I have the following in the formula log:
Start time --->3:36:33 PM - Date:9/24/2008 (build code:254)
User:WDP\Administrator
Appset:WDP_ONTWIKKELING
App:FINANCE
Logic mode:1
Logic by:
Scope by:
Data File:
Debug File:D:\BPC\Data\Webfolders\WDP_ONTWIKKELING\FINANCE\PrivatePublications\Administrator\TempFiles
DebugLogic_7_.Log
Logic File:D:\BPC\Data\WebFolders\WDP_ONTWIKKELING\FINANCE
..\AdminApp\FINANCE\Calcaccount.lgx
Selection:D:\BPC\Data\WebFolders\WDP_ONTWIKKELING\FINANCE\PrivatePublications\Administrator\TempFiles\FROM_7_.TMP
Run mode:1
Query size:0
Delim:,
Query type:0
Simulation:0
Calc diff.:0
Formula script:
Max Members:
Test mode:0
Is Modelling:1
Number of logic calls:1
Call no. 1, logic:D:\BPC\Data\WebFolders\WDP_ONTWIKKELING\FINANCE
..\AdminApp\FINANCE\Calcaccount.lgx
signeddata is YTD
Building sub-query 1
Query Type:0
Max members:
Executing SPRUNCALCACCOUNT [FINANCE],[ACTUAL],[C_WDP],[SPSCOPE_312035],[SPLOG_394894]
SPRunCalcAccount Version 2.06
2 Rows Calculated
2 Rows Updated
Time to run stored procedure:26.5 sec.
call 1 completed and data posted in 26.7 sec.
Run completed in 27.3 sec.
End time --->3:36:59 PM - Date:9/24/2008
As you can see he doenst post records to the cashflowaccounts..
Do you know what is wrong? -
BPC NW - Error in Business Rule for Account transformation rule table
hi
I have given the Account transformation Rule to move Amount from Account A to Account B and then I have given the following script logic in the default script
**RUN_PROGRAM CALC_ACCOUNT*
*CATEGORY = Category*
*CURRENCY = RptCurrency*
*TID_RA = %TIME_SET%*
*CALC=A*
*OTHER = ENTITY=C1000*
**ENDRUN_PROGRAM*
But when I try to load data through Input schedule in Account A and expect amount to transfer to Account B, I m getting an error
Book Name:Book4
Application : PLANNING*
Status : Failed*
Submitted Count : 1*
Accepted Count : 1*
Rejected Count : 0*
- Error Message -*
Error running default logic (Business rules are not available)
- Rejected record list -*
Error converting records: The root element is missing.
Can someone please advice me what to do ....hi Marcel,
Lot of thanks for your answer.
But I have used your logic after removing GROUPS as I dont have GROUPS dimension in my application.
*RUN_PROGRAM CALC_ACCOUNT
CATEGORY = %CATEGORY_SET%
TID_RA = %TIME_SET%
CALC=FX
OTHER = [ENTITY=%ENTITY_SET%]
*ENDRUN_PROGRAM
This is the error I m getting
Book Name:Book3
Application : PLANNING
Status : Failed
Submitted Count : 1
Accepted Count : 1
Rejected Count : 0
- Error Message -
Error running default logic (Business rules are not available)
- Rejected record list -
Error converting records: The root element is missing.
Can you please advice
a) Does it mean some issue with my client installation as I dont see these LGF files. I even dont see the data folder in which lgf files are supposed to be present
b) Where to find information for this interface CALC_ACCOUNT? How did you decide to use 'FX' and how do you know which dimensions to use. Like I dont have GROUPS.
Please give me your comments.
regards
Gaurav -
Error while running Account Transformation...
Hi Experts,
I'm trying to run Account Transformation using the script logic below but unfortunately nothing gets calculated. When I check the package, it status is mark "CANCELED" though I did not cancel the execution of the package. Checking the detail of the status it only show the below info:
Script Logic:
*RUN_PROGRAM CALC_ACCOUNT
CATEGORY = %CATEGORY_SET%
CURRENCY = %CURRENCY_SET%
TID_RA = %TIME_SET%
OTHER = [COMPANY=%COMPANY_SET%]
CALC = CALC_RE
*ENDRUN_PROGRAM
Package Detail Log:
/CPMB/MODIFY completed in 0 seconds
[Selection]
(Member Selection)
COMPANY: 1403
CATEGORY: ACTUAL
CURRENCY: LC
TIME: 2005.JAN
[Messages]
Application: CONSOL Package status: SUCCESS
By the way, I used the process chain for ALLOCATION, I put the code for Account Transformation in the ALLOCATION.LGF since it's the logic being called by the said process chain. Checking further using the TCODE ST22 it gives the following error:
Runtime Errors: GETWA_NOT_ASSIGNED
Short Text: Field symbol has not been assigned.
What happened: Error in ABAP Application Program. The current ABAP program "CL_UJK_UTIL================CP" had to be terminated because it has come across a statement that unfortunately cannot be executed.
Cheking "Information on where terminated" code is terminated here...
READ TABLE <lt_mem> ASSIGNING <l_member> INDEX 1.
ASSIGN COMPONENT 'TIMEID' OF STRUCTURE <l_member> TO <l_timeid>.
MODIFY ct_timeid FROM <l_timeid>.
"ASSIGN COMPONENT 'TIMEID' OF STRUCTURE <l_member> TO <l_string>.
I checked the properties and the TIMEID property is existent. Was there anything wrong with my syntax? Any idea regarding this kind of error?
Thanks,
MarvinAfter checking all the dimension and using TCODE RSA1 to check the server side, I found that INTCO property is existent in the member worksheet but not in the server so I maintain the dimension properties and re-add INTCO property in the Entity dimension. After that package runs successfully.
-
Account transformation business rule
Hi experts,
I hace defined Account Transformation rule in the default.lgf file. and I have defined source and destionation account in the corresponding table.
Now I am running the rule from Data manager package - Default formula.It is running successfully.
But when I see Package log it is not executing SPRUNCALCACCOUNT at all.
Would be great help if anyone can give some guidance.Can you post the exact logic script?
Maybe a stupid guess, but did you put a *COMMIT directly after the *RUN_STORED_PROCEDURE logic statement?
Regards,
Joost -
Account Transformation- Other Dimension..
Hi all,
As stated in the many Business Planning and Consolidation reading materials that i have read we can do account transformation on the account, data source, account flow and time dimensions. Is it possible to use account transformation having another dimension rather than the others that i have mentioned above?
More power.
Thanks,
BenniejayHi
When i say SQL scripts these are the SQL scripts customised for BPC.
you can just log into BPC for Administration.
Go to manage applications in the explorer which would open the BPC administration screen.
In the help of the administration you can get the SQL Script logic with detailed explanations, and then once you expand application/script logic/default.lgx u get an editor where you need to write the script or call other .lgf or .lgx file.
if you go through the help you would get better information.
Thanks and regards
harish b ki -
Account transformation accumulating values
Hi Forum,
A quick question is there an option for account transformations not to 'add' to values that exist in the bpc database already. I want to overwrite values in existing accounts but the account transformation seems to be accumulating the value.
Thanks,
BrianHi..
I'm working on CAPEX application. My problem is :- 1st time data loading, opening and closing are correct but the subsequent data uploading, opening and closing figure will accumulate. Please advice what coding should I include in my script logic.
In my testing,
1) I'll upload - Jan'2006 opening, Jan'2006 to Dec'2006 Movement
2) use account transformation to calculate "opening + movement = closing"
3) use script logic for carry-forward monthly opening
Account Transformation business rule:
Transf group Source Acc Source flow Source d/source Destination acc
A 1410220 FA_ExistDepr_OPE 1410220
A 1410220 FA_ExistDepr 1410220
A 1410220 FA_AddDepr_OPE 1410220
A 1410220 FA_AdditionsDepr 1410220
A 1410220 FA_ADepr_OPE 1410220
A 1410220 FA_ADepr 1410220
A 1410220 FA_DispDepr_OPE 1410220
A 1410220 FA_DisposalDepr 1410220
A 1410220 FA_TranInDepr_OPE 1410220
A 1410220 FA_TransferInDepr 1410220
A 1410220 FA_TranOut_OPE 1410220
A 1410220 FA_TransferOutDepr 1410220
Dest. flow Dest. d/source Rev sign Source Period AppytoYTD Remark LEVEL
FA_ExistDepr_CLO Y
FA_ExistDepr_CLO Y
FA_AddDepr_CLO Y
FA_AddDepr_CLO Y
FA_ADepr_CLO Y
FA_ADepr_CLO Y
FA_DispDepr_CLO Y
FA_DispDepr_CLO Y
FA_TranInDepr_CLO Y
FA_TranInDepr_CLO Y
FA_TranOutDepr_CLO Y
FA_TranOutDepr_CLO Y
Default.lgf Script logic:
*INCLUDE SYSTEM_CONSTANTS.LGL
*SYSLIB SYSTEM_LIBRARY.LGL
// Default base level logic - applies to all base members in all dimensions
//Move Net Income to Balance Sheet
//ROLLTOBS( CYNI, CALCNI, FINSTMT, PL, DEC )
// Perform Currency translation
*INCLUDE FXTrans
Perform ACCOUNT TRANFORMATION
*RUN_STORED_PROCEDURE = SPRUNCALCACCOUNT([CAPEX],[%CATEGORY_SET%],[LC],'%SCOPETABLE%','%LOGTABLE%', 'A')
*COMMIT
//-- ACCOUNT TRANFORMATION END--
TO CALCULATE MONTH OPENING
*SELECT(%AccountList%, "ID", "CapAccount", "[Group] = 'Test1'")
*xdim_memberset CapAccount= %AccountList%
*xdim_memberset CapAcctDetail = FA_ExistDepr_OPE,FA_ExistDepr_CLO,FA_AddDepr_OPE,FA_AddDepr_CLO,FA_ADepr_OPE,FA_ADepr_CLO,FA_DispDepr_OPE,FA_DispDepr_CLO,FA_TranInDepr_OPE,FA_TranInDepr_CLO,FA_TranOutDepr_OPE,FA_TranOutDepr_CLO
*When CapAcctDetail
*IS FA_ExistDepr_CLO
*REC(CapAcctDetail=FA_ExistDepr_OPE,TIME=NEXT)
*IS FA_AddDepr_CLO
*REC(CapAcctDetail=FA_AddDepr_OPE,TIME=NEXT)
*IS FA_ADepr_CLO
*REC(CapAcctDetail=FA_ADepr_OPE,TIME=NEXT)
*IS FA_DispDepr_CLO
*REC(CapAcctDetail=FA_DispDepr_OPE,TIME=NEXT)
*IS FA_TranInDepr_CLO
*REC(CapAcctDetail=FA_TranInDepr_OPE,TIME=NEXT)
*IS FA_TranOutDepr_CLO
*REC(CapAcctDetail=FA_TranOutDepr_OPE,TIME=NEXT)
*EndWhen
*COMMIT
Please advice. Thanks.
Regards,
Clarissa Chung -
Return records from Stored Procedure to Callable Statement
Hi All,
I am createing a web application to display a students score card.
I have written a stored procedure in oracle that accepts the student roll number as input and returns a set of records as output containing the students scoring back to the JSP page where it has to be put into a table format.
how do i register the output type of "records" from the stored function in oracle in the "registerOutParameter" method of the "callable" statement in the JSP page.
if not by this way is there any method using which a "stored function/procedure" returning "record(s)" to the jsp page called using "callable" statement be retrieved to be used in the page. let me know any method other that writing a query for the database in the JSP page itself.I have a question for you:
If the stored procedure is doing nothing more than generating a set of results why are you even using one?
You could create a view or write a simple query like you mentioned.
If you're intent on going the stored procedure route, then I have a suggestion. Part of the JDBC 2.0 spec allows you to basically return an object from a CallableStatement. Its a little involved but can be done. An article that I ran across a while back really helped me to figure out how to do this. There URL to it is as follows:
http://www.fawcette.com/archives/premier/mgznarch/javapro/2000/03mar00/bs0003/bs0003.asp
Pay close attention to the last section of the article: Persistence of Structured Types.
Here's some important snippets of code:
String UDT_NAME = "SCHEMA_NAME.PRODUCT_TYPE_OBJ";
cstmt.setLong(1, value1);
cstmt.setLong(2, value2);
cstmt.setLong(3, value3);
// By updating the type map in the connection object
// the Driver will be able to convert the array being returned
// into an array of LikeProductsInfo[] objects.
java.util.Map map = cstmt.getConnection().getTypeMap();
map.put(UDT_NAME, ProductTypeObject.class);
super.cstmt.registerOutParameter(4, java.sql.Types.STRUCT, UDT_NAME);
* This is the class that is being mapped to the oracle object.
* There are two methods in the SQLData interface.
public class ProductTypeObject implements java.sql.SQLData, java.io.Serializable
* Implementation of method declared in the SQLData interface. This method
* is called by the JDBC driver when mapping the UDT, SCHEMA_NAME.Product_Type_Obj,
* to this class.
* The object being returned contains a slew of objects defined as tables,
* these are retrieved as java.sql.Array objects.
public void readSQL(SQLInput stream, String typeName) throws SQLException
String[] value1 = (String[])stream.readArray().getArray();
String[] value2 = (String[])stream.readArray().getArray();
public void writeSQL(SQLOutput stream) throws SQLException
}You'll also need to create Oracles Object. The specification for mine follows:
TYPE Detail_Type IS TABLE OF VARCHAR2(1024);
TYPE Product_Type_Obj AS OBJECT (
value1 Detail_Type,
value2 Detail_Type,
value3 Detail_Type,
value4 Detail_Type,
value5 Detail_Type,
value6 Detail_Type,
value7 Detail_Type,
value8 Detail_Type);Hope this helps,
Zac -
Creation of Data Control for custom java method which will return records
Hi Guys,
I have a requirement of creating a a custom java method in App module which will return a record set taking an id as input.In case of single return type it works fine but in case of returning record set it is not working.In my case i have to combine two tables and return it as a single entity as a view in Data Control.
Warm Regards,
Srinivas.Why don't you just create a custom view object? There's even an example or 2 in the docs:
http://docs.oracle.com/cd/E16162_01/web.1112/e16182/intro_tour.htm#CHDGDIEC (check out "View object on refcursor" example)
Edit: you are aware that you can create a View Object based on more than one table?
John -
Alternative account number in GL master record
can any one help me to define what is the use of alternative account number in gl master record as i am new in this line.
sanjay pradhanHi
The alternative account number field in the company code area is freely definable. You could use it to enter:
1) The account number from your legacy system or
2) The account number from a country chart of accounts if your corporate group uses a standard chart of accounts.
You might want to use a standard chart of accounts worldwide. However, the usage of another chart of accounts is required by law in some company codes. By using the Alternative account number, the connection between the account in the worldwide standard chart of accounts and the account in the country chart of accounts can be set up. -
Query returns record in SQL Developer but not in iSQLPlus
... back in a minute, I may not have done a commit at the end of the insert.
The problem I was having was I hadnt commited the record in SQL Developer but the queries where returning records in this environment but not in iSQLPlus or Apex and it was confusing me.
Message was edited by:
Benton
Message was edited by:
BentonFinally got to know the reason why Timezone Abbr woudn't show up in SQL Plus.
I ran below query in SQL PLUS
SELECT SESSIONTIMEZONE, CURRENT_TIMESTAMP, systimestamp, LOCALTIMESTAMP FROM DUAL;
SESSIONTIMEZONE CURRENT_TIMESTAMP SYSTIMESTAMP LOCALTIMESTAMP
-05:00 08-SEP-12 12.00.31.575228 AM -05:00 08-SEP-12 12.00.31.575223 AM -05:00 08-SEP-12 12.00.31.575228 AM
Now executed the same query in SQL Developer:
SESSIONTIMEZONE CURRENT_TIMESTAMP SYSTIMESTAMP LOCALTIMESTAMP
America/Chicago 08-SEP-12 12.08.32.072424000 AM AMERICA/CHICAGO 08-SEP-12 12.08.32.072420000 AM -05:00 08-SEP-12 12.08.32.072424000 AM
The difference between the 2 outputs is the way in which time_zones were respresented. In SQL PLUS, it is shown as an offset whereas in SQL Developer as a time zone region name. Now there are many "time sone regions" that follow an offset of -5:00. This confuses Oracle and a "UNK"(Unknown) for a query like the one below when trying to execute in SQL PLUS:
select extract(timezone_abbr from from_tz(cast(sysdate as timestamp),SESSIONTIMEZONE)) from dual;
EXTRACT(TI
UNK
Therefore we need to specify the exact Time Zone Region(TZR) in order to obtain the corresponding TZD(Daylight Savings Format i.e. CDT or CST). This we do by altering the session environment vaiable time_zone
alter session set time_zone='America/Chicago';
Now executing the queries to find the abbreviated time zone( in TZD format) will finally work to return a non-null char value.
select extract(timezone_abbr from from_tz(cast(sysdate as timestamp),SESSIONTIMEZONE)) from dual;
EXTRACT(TI
CDT
select to_char(CURRENT_TIMESTAMP, 'TZD') from dual;
TO_CHA
CDT -
Does a table/view still return records if the underlying VPD policy fails ?
Hi All,
I have one following question -
Does a table or view still return records if the underlying VPD policy fails?
I am adding one more thing here. Let us say security is being implemented using the application context and VPD.
What would happen when application context is not set ? Would the application apply any default privilege as VPD?
Thanks,
AshiAshiKD wrote:
Hi All,
I have one following question -
Does a table or view still return records if the underlying VPD policy fails?No, you get a standard error message if the VPD function is wrong and if you won't pass the conditions of the VPD, you get nothing. That's what in general happens and should happen as well.
>
I am adding one more thing here. Let us say security is being implemented using the application context and VPD.
What would happen when application context is not set ? Would the application apply any default privilege as VPD?This would be a wrong approach then. If you are truly setting a VPD, you have to make sure that the context is set and the condition variable are passed through it. This is normally done through a logon trigger so again, generically , its not possible that it would not be set. I didn't get at all what ever you said in the last line? What is "default priv for VPD" ?
HTH
Aman.... -
Recon. account is missing in master record ; correct master record
Hi,
When i tried to book a bill in tcode MIRO , the following error message is coming.
Recon. account is missing in master record ; correct mastwer record
Message no. F5144.
I checked for particular vendor in xk03 ( accounting information ) , Recon. account field is blank..
How to rectify this problem..
What will be the consequences if i assigned rec . account now.
Thanks & regards,
Hari priya
Edited by: Hari Priya on Dec 16, 2008 6:19 AMHi
1. use tcode XK02 and maintain reconcillation account
( based on this company will come to know what is totoal liabilitties to the all vendors)
2. then proceed furhter steps
Raju -
Join 3 tables, return records which no match found in table 1 as null
Hi Gurus,
I really need your expert advice. I am stuck in below query.
I have joined 3 tables,
table 2 is an information reference (to get the process code and process name)
table 1 have and table 3 have daily data (which will have the process code and its values/qty)
all values return from table 1 and 3(rtrwip00 and prdyld01) should refer to code in table 1.
There can be a scenario where on a day, a process was stop, so it dont have values/qty in table 1/3,
The problem is my query will return only rows which have records in table 1/3.
While I want all the records in table 2 to be returned no matter have data or not in table 1/3, in case no data in table 1/3, return qty as '0'.
Please advice me..thanks in advance :)
Select lot.rw_oper,
lot.rw_area_grp,
lot.rw_oper_name,
proc_out.proc_out,
lot.rw_qty
from
( SELECT UNIQUE a.rw_oper,a.rw_area_grp,a.rw_oper_name,SUM(CASE WHEN a.rw_qty_unit = 'CM' THEN a.rw_qty*10 ELSE rw_qty END )as rw_qty
From rtrwip00 a, oprinf99 b
WHERE a.rw_facility='MIPOPRD'
AND b.oi_facility = a.rw_facility AND b.oi_oper = a.rw_oper
GROUP BY a.rw_area_grp,a.rw_oper,a.rw_oper_name
ORDER BY a.rw_oper,a.rw_area_grp) lot,
( SELECT py_oper, SUM(CASE WHEN py_out_unit1 = 'CM' THEN py_proc_out1*10 ELSE py_proc_out1 END) proc_out
FROM prdyld01
WHERE py_facility = 'MIPOPRD'
AND py_trs_time between TO_CHAR(SYSDATE-1,'YYYYMMDD')||'070000' AND TO_CHAR(SYSDATE,'YYYYMMDD')||'070000'
group by py_oper
)proc_out
where lot.rw_oper NOT IN ('2900','6700' ,'9100' ,'9920' ,'9921','9940','9941','9300','9500','6700','8910', 'REJT')
and lot.rw_oper = proc_out.py_oper
order by lot.rw_operCREATE TABLE PRDYLD01
PY_FACILITY VARCHAR2(12 BYTE) NOT NULL,
PY_TRS_TIME VARCHAR2(14 BYTE) NOT NULL,
PY_LOT VARCHAR2(11 BYTE) NOT NULL,
PY_OPER VARCHAR2(4 BYTE) NOT NULL,
PY_PO VARCHAR2(12 BYTE) NOT NULL,
PY_PROC_IN1 NUMBER(10,2) DEFAULT 0 NOT NULL,
PY_PROC_IN2 NUMBER(10,2) DEFAULT 0 NOT NULL,
PY_PROC_OUT1 NUMBER(10,2) DEFAULT 0 NOT NULL,
PY_PROC_OUT2 NUMBER(10,2) DEFAULT 0 NOT NULL,
sample data 1
PY_OPER PROC_OUT
3000 481
3100 214
3200 642
3250 291
5250 519
5300 439
5350 476
CREATE TABLE RTRWIP00
RW_FACILITY VARCHAR2(12 BYTE) NOT NULL,
RW_LOT VARCHAR2(11 BYTE) NOT NULL,
RW_OPER VARCHAR2(4 BYTE) NOT NULL,
RW_OPER_NAME VARCHAR2(35 BYTE) NOT NULL,
RW_PO VARCHAR2(12 BYTE) NOT NULL,
RW_AREA_GRP VARCHAR2(12 BYTE) NOT NULL,
RW_QTY NUMBER(10,2) DEFAULT 0 NOT NULL,
RW_QTY_UNIT VARCHAR2(6 BYTE) NOT NULL,
sample data 2
RW_OPER RW_QTY
3000 1248
3100 324
3200 133
3250 357
4400 424
4500 821
4600 909
5050 689
5250 2472
5300 53
5350 166
CREATE TABLE OPRINF99
OI_FACILITY VARCHAR2(12 BYTE) NOT NULL,
OI_OPER VARCHAR2(4 BYTE) NOT NULL,
OI_OPER_SEQ NUMBER(5) NOT NULL,
OI_AREA_GRP VARCHAR2(12 BYTE),
OI_SHORT_DESC VARCHAR2(10 BYTE) NOT NULL,
OI_LONG_DESC VARCHAR2(35 BYTE),
sample data 3
RW_OPER RW_AREA_GRP RW_OPER_NAME
3000 MOD ROD MOUNT
3100 MOD WIRE SAW
3200 MOD AS-CUT CLEANER
3250 MOD BEAM REMOVAL
4400 POL ESE-II
4500 POL EDGE OXIDE STRIP
4600 POL LTO INSPECTION
5050 POL DOUBLE SIDE BUFFER
5250 POL ACCUMULATION
5300 POL FINAL POLISHER
5350 CLN POST POLISH CLEANER
ABove is the DLL for the table and its mock data.
Sample output should be like below; where when no data found in sample data 1, it will return '0'
RW_OPER RW_AREA_GRP RW_OPER_NAME PROC_OUT RW_QTY
3000 MOD ROD MOUNT 481 1248
3100 MOD WIRE SAW 214 324
3200 MOD AS-CUT CLEANER 642 133
3250 MOD BEAM REMOVAL 291 357
4400 POL ESE-II 0 424
4500 POL EDGE OXIDE STRIP 0 821
4600 POL LTO INSPECTION 0 909
5050 POL DOUBLE SIDE BUFFER 0 689
5250 POL ACCUMULATION 519 2472
5300 POL FINAL POLISHER 439 53
5350 CLN POST POLISH CLEANER 476 166
mY current output is below; only return record that have match to all table.
RW_OPER RW_AREA_GRP RW_OPER_NAME PROC_OUT RW_QTY
3000 MOD ROD MOUNT 481 1248
3100 MOD WIRE SAW 214 324
3200 MOD AS-CUT CLEANER 642 133
3250 MOD BEAM REMOVAL 291 357
5250 POL ACCUMULATION 519 2472
5300 POL FINAL POLISHER 439 53
5350 CLN POST POLISH CLEANER 476 166
Really appreciate your response, sorry for taking time to reply.
Thanks in advance :) -
BPC NW - Account Transformation
Hello,
I have defined the account transformation in the legal application, and copied the script logic given in the SAP documentation, which is validated OK.
However, when running the package (based on process chain /CPMB/RUNCALCACCOUNT), it is giving an error saying that no business rules have been defined.
Has anyone encountered the same problem?
Thanks&Regards
BegoniaHI Begonia,
As you said that if you have done Modify Appl-->Selecting Business Rules..it should refelect in your application then you go the Those Rules and give the parameters then it will work..
If the rules are not reflecting in your application then you should think you hav't had Rules and problem continues..
Regards,
Naresh.K
Maybe you are looking for
-
Transport Controll Program tp ended with error code 0012
we have 3 instances 1 DEV 2 TEST 3 PROD. in TCODE:STMS by clicking 'system overview' icon all systems are showing and domain controller is PROD, and <u>Test System also defined as Transport Domain Cotroller.</u> earlier STMS scenario: Transport Route
-
How to connect i phone5 with other device
My phone cant connect with sony smartwatch 2
-
HI GURUS CAN ANY ONE TELL ME WHILE WE CREATING MRN WITH REFERENCE TO ASSET PO AND TAKING PRINTOUT OF MRN USING TCODE MB90 WE SEE THAT THERE IS ADDITIONAL AMOUNT FIELD AND SYSTEM ARE SHOWING SOME VALUE IN THAT FIELD WHICH IS NEGATIVE CAN ANY ONE HELP
-
Tab canvas disappears at run time
Hi, I have a Content canvas with a data block displaying fields in the top section of the canvas_main. Bottom half of the canvas_main has canvas_tab with three tab pages tab1, tab2, tab3 all have data block (child records fo above block) each. At run
-
Need help saving Workspace layout
At Photoshop World, Julieanne Kost mentioned that she likes to have all of her panels to the left. I tried this at home and really like it like that, so I saved a new workspace. My problem is that when I open a new image, the image window floats behi