Reg:variable creation for date
how to create a variable with last refresh date
after that use that object ( <Date> is less than New
Date). This will give you the entire data till last refresh date.
Hi Vinay,
You can get last refresh date using below function
Var1=LastExecutionDate()
Then you can apply filter [Date Object]>Var1
Similar Messages
-
Variable offset for date - a year ago
I have this sales report with the following columns:
1. Current Day Sales
2. Month to Date Sales (this Year)
3. Month to Date Sales (last Year)
I'm using a range variable for 0CALDAY for column 2 (Month to Date Sales this year). i'm having problem with column 3. how is it possible such that the date is automatically assigned to last year's values? using offset would mean -365, however, this may not work during leap years?
please helpHi,
Refer the 'Examples for using Variables' in 'Bex Query designer' of sap help..
Examples for Offset Variables
You want to use a query to carry out a comparison of two years.
Year Comparison
You want to compare the costs of a year of your choice with the costs of the previous year.
1. In the Query Designer, create a new structure and add a new Selection for each year that you require.
2. Only use one key figure (for example revenue) in this example query. Add this key figure to the filter or add it to the selection.
3. Use a characteristic value variable for the characteristic Calendar Year (0CALYEAR):
Select the characteristic value variables for Calendar Year and, from the context menu (right mouse click), choose New Variables. The Variables Wizard appears.
If you always want to reference to the current year automatically, use the SAP Exit variable 0CALYEAR (or as appropriate for another time characteristic).
4. Move the defined characteristic value variable into the selection.
5. Select the characteristic value variable and from the context menu (right mouse click), choose Restrict.
a. Select the characteristic value variable and from the context menu, choose Enter Variable Offsets.
b. Enter 1 as the offset and choose OK.
6. Choose OK.
7. Enter a description.
Example: Use the name of the key figure, for example, revenue, for the name and use a text variable for the name of the calendar year. See Using Text Variables.
When creating a new text variable, enter Replacement Path as the processing type, and choose calendar year 0CALYEAR as the characteristic with display as key.
8. Create a second selection with the same characteristic value variable and do not set an offset here.
Also use a text variable in the description in this case.
9. Move the required characteristic into the rows.
10. Save the query.
After execution, the query should appear as follows:
Variable screen entry: 2002 (or no entry when using the SAP Exit Variable).
Year Comparison
A characteristic
Revenue 2001
Revenue 2002
Value 1
100.000
90.000
Value 2
200.000
180.000
Value 3
300.000
400.000
Comparison with Cumulative Previous Year Period
For example: You want to compare the periods 1-8 of a particular year with the same periods for the previous year.
1. Create a new structure in the Query Designer and add a new Selection.
2. Move a key figure, for example, Revenue, into the selection.
3. Use a characteristic value variable for the characteristic Fiscal Year/Period (0FISCPER):
Select the characteristic value variables for Fiscal Year/Period and from the context menu, choose New Variable. The Variables Wizard appears.
Use the SAP Exit variable Current Fiscal Year/Period (0FPER) if you always want to reference to the current year. If you set the variable as entry-ready in the Variable Editor, after executing the query, the variable screen then appears with which you can change the default values were necessary.
4. Move the characteristic value variable, such as OFPER, into the selection.
5. Select the characteristic value variable and from the context menu (right mouse click), choose Restrict.
6. Under Selection, choose Value Area and choose the tab page Variables.
7. Add the characteristic value variable, for example 0FPER, to the selection once again for the second value of the interval.
8. Select the characteristic value variable and from the context menu, choose Enter Variable Offsets.
a. As an offset, enter -3 as the from value and 0 as the to value. Choose OK.
b. Choose OK.
9. Enter a description, such as Revenue for current year.
10. Choose OK.
11. Select the selection and from the context menu, choose Copy and then Paste.
12. Now select the second selection and from the context menu, choose Edit.
13. Select the characteristic value variable and from the context menu (right mouse click), choose Restrict.
14. Select the characteristic value variable again and from the context menu (the right hand button), choose Enter Variable Offsets.
a. As an offset, enter -15 as the from value and -12 as the to value. Choose OK.
b. Choose OK.
15. Enter a description, for example Revenue for previous year.
Also use a text variable in the description in this case.
16. Choose OK.
17. Move the required characteristic into the rows.
18. Save the query.
After execution, the query should appear as follows:
Variable screen entry: 01. 2002 to 08. 2002
Comparison with Cumulative Previous Year Period
A characteristic
Revenue 01. 08. 2001
Revenue 01. 08. 2002
Value 1
100.000
90.000
Value 2
200.000
180.000
Value 3
300.000
400.000
Two text variables replaced with characteristic values were used for the descriptions here. One is filled with the from-value for the column with an offset of 0 and a length of 3, the other filled with the to-value with an offset of 0 and a length of 7. You can find additional information under Example for Variable Replacement.
Comparison of Cumulated Values for Two Years
You may want to compare the cumulated values up to the current period of the current year with those of the previous year.
For this example, use the variable 0FPER (current fiscal year period) and the variable 0P_FPER (your chosen fiscal year period). You use these two variables to set the interval limits.
1. In the Query Designer, create a structure with two selections:
¡ 1. selection: Cumulative Amount for current year
¡ 2. selection: Cumulative amount for previous year
2. With the first selection (cumulative amount for current year) , move the time characteristic 0FISCPER into the selection and select it.
3. Choose Restrict from the context menu (right mouse click).
4. Choose Value Area between as the selection and go to the tab page Variables.
5. Double click to choose the variable 0P_FPER as the from value and variable 0FPER as the to value. The result is an interval from the chosen period to the current period.
6. Define the second selection (cumulative amount for previous year) and proceed as for the first selection.
¡ Add the variable 0P_FPER as the from value and variable 0FPER as the to value here.
¡ Set an offset of 12 for both the from and the to values:
Select the interval and from the context menu (right click), choose Enter Variable Offsets. Enter 12 for each.
The result is an interval that has been moved 12 periods ahead.
7. Add the key figures and additional characteristics for the query.
After executing the query, you get a variable screen for the variable 0P_FPER. You need to enter the start period in the current fiscal year.
You can also suppress this entry by deactivating the indicator Entry-ready in the Variable Editor for the variable 0P_FPER and entering a default value (for example, 001.2001 for 2001). You only have to change this value once per year.
You have now defined a query that compares the cumulative values for two years.
The variables with SAP Exit delivered by SAP have the following behaviors:
Variable 0FPER (current fiscal year period): Displays the values of the current fiscal year period.
Variable 0P_FPER (any fiscal year period): Displays the values of any fiscal year period. You can set the fiscal year period in the variable screen when executing the query in any way you require.
Variable 0FYTCFP (fiscal year up to current fiscal year period): Displays the values of the first period up to the current period of the current fiscal year.
Variable 0FYTLFP (fiscal year up to previous fiscal year period): Displays the values of the first period up to the previous period (current period 1).
You need to use the variables 0FPER and 0P_FPER in the above example for the comparison of cumulative values for two years. When using the variables 0FYTCFP and 0FYTLFP, only values for one month are displayed for year transitions with an offset of 12.
Regards,
Prema -
Variable Required For Date Difference In Ac Create Date
Respected All;
I am stuck in a variable for couple of weeks.
Please help me to get the difference in dates coming under the Ac Create Date Column for respective Request Id's.
I want the result in the Delay Column (Variable Required for the result of delay).
For eg:-
A
B
C
D
E
F
G
Request Id
Ac Create Date
Act Role Proper Name
Delay Simplified(Variable Required
Result In Delay
Act Activity Name
1
000000000560492
7/9/2014
Debt Recovery - Archive
=Ac Create Date C2 - Ac Create Date C1
5
Resolved
2
7/14/2014
Call Centre - Back Office
=Ac Create Date C3 - Ac Create Date C2
1
Forward
3
7/15/2014
OWN Shop - AL Rayyan
=Ac Create Date C4 - Ac Create Date C3
7
Resolved
4
7/22/2014
Call Centre - Back Office
= Ac Create Date C5 - Ac Create Date C4
0
Customer Feedback
5
7/22/2014
Call Centre - Back Office
"NA"
NA
Closed FC
6
000000000561010
7/1/2014
Call Centre - Back Office
=Ac Create Date C7 - Ac Create Date C6
1
Forward
7
7/2/2014
FOLLOW UP TEAM
=Ac Create Date C8 - Ac Create Date C7
0
Resolved
8
7/2/2014
Call Centre - Back Office
=Ac Create Date C9 - Ac Create Date C8
1
Forward
9
7/3/2014
R_RO
=Ac Create Date C10 - Ac Create Date C9
12
Return - Wrong Assignment
10
7/15/2014
Call Centre - Back Office
=Ac Create Date C11 - Ac Create Date C10
1
Forward
11
7/16/2014
IT CRM & Provisioning
=Ac Create Date C12 - Ac Create Date C11
0
Reassignment
12
7/16/2014
IT CRM & Provisioning
=Ac Create Date C13 - Ac Create Date C12
1
Follow Up
13
7/17/2014
IT CRM & Provisioning
=Ac Create Date C14 - Ac Create Date C13
0
Reassignment
14
7/17/2014
IT_Comptel
=Ac Create Date C15 - Ac Create Date C14
3
Resolved
15
7/20/2014
Call Centre - Back Office
=Ac Create Date C16 - Ac Create Date C15
0
Recategorization
16
7/20/2014
Fiber Call Center-Back Office
=Ac Create Date C17 - Ac Create Date C16
0
Forward
17
7/20/2014
IT CRM & Provisioning
=Ac Create Date C18 - Ac Create Date C17
1
Resolved
18
7/21/2014
Fiber Call Center-Back Office
=Ac Create Date C19 - Ac Create Date C18
0
Resolved
19
7/21/2014
Fiber Call Center-Back Office
=Ac Create Date C20 - Ac Create Date C19
0
Customer Feedback
20
7/21/2014
Fiber Call Center-Back Office
"NA"
NA
Closed
I have used Delay =DaysBetween([Ac Create Date];Previous([Ac Create Date]))
but however I'm not getting the results required..
Can someone please help me out with the variable.. For better understanding of the question kindly copy paste the table in excel and check it out, but please please help me out !!!
Thanks In AdvanceHi Fahad,
Try Below-
Create variable-
V_NextDate=If RelativeValue([Request Id];([Request Id];[Ac Create Date];[Act Activity Name];[Act Role Proper Name]);1)=[Request Id] Then ToDate((RelativeValue([Ac Create Date];([Request Id];[Ac Create Date];[Act Activity Name];[Act Role Proper Name]);1));"MM/dd/yyyy")
In Delays column put below
=If IsNull(DaysBetween([Ac Create Date];[V_NextDate])) Then "NA" Else DaysBetween([Ac Create Date];[V_NextDate])
See sceenshot -
REG:USER EXIT FOR DATA SOURCE 0HR_LSO_1
Hi ,
I have to write the enhancement ABAP code for data source 0HR_LSO_1 which is related to module " training and event management "(also known as LMS or LSO) in ECC 6.0 .
So how can I find out appropriate user exit for the same .I have to concentrate on the field "kostl (cost centre)" in that data source .
Please provide some suggestions .
Thanking You ,
Tarun Brijwani .Hi Tarun...
I this might help you.
In the HR System:
1) T-CODE: CMOD
2) Choose an existing project (vg: Z12345)
3) Modify
4) Press Components button
5) Look for the enhance: RSAP0001 (the BW extracting enhancement)
6) The you have one of the following option:
a- If the Data Source is "transaction data": The exit is "EXIT_SAPLRSAP_001"
b- If the Data Source is "master data": The exit is "EXIT_SAPLRSAP_002"
7) double-click in the appropriate one
8) You'll see an INCLUDE sentence. Could be this ZXRSAU01 or this ZXRSAU02 (depending on the previous step). Double-click and you'll be redirected to the SE38
9) some code:
CASE i_datasource
WHEN '0HR_LSO_1'.
LOOP i_t_data INTO my_struct
my_struct-KOSTL "Here you'll must have your Cost Center
...etc...etc...etc
ENDLOOP.
WHEN OTHERS.
ENDCASE
Hope it helps.
gdmon -
How to use the same variable value for data entry and the planning sequence
Hi,
the scenario is the following:
Using the WAD template a user enters cost center plan data. The cost center is selected by the chosen value for the variable "V1".
Afterwards he shall push a button which starts a planning sequence (including saving the data and further functions). This planning sequence uses a filter that also contains the variable "V1".
What or where has it to be defined that the planning sequence uses automatically the same value for the variable "V1" as selected for the data entry?You have to define in the planning function. The planning sequence is only a sequence and it read the planning functions underneath it.
Ravi Thothadri -
Variable creation for my report
hi all,
i have to create a variable for a characteristic (navigational attribute), and add it as optional selection criteria. but when i had done this, i am not getting the prompt window to enter the values for that particular variable in the BEx analyser.
Its urgent , plz help me
reg
ashwinHi
May be u forgot to drag the variable into the rows or columns. Check it and let us know..... If u did check that box then it will definetly ask for the input...
Khaja -
Requirement: I have Posting Date for all Objects Now i want to create the <b>Variable PSTVAR</b>such that the variable will populate <b>only the entries with
User Input Posting Date(During Report Execution) >=greater than equal to Posting Date(OPSTDATE). .</b>
<b>Example</b> POSTING DATE = 03032007
POSTING DATE = 01012006
IF USER INPUT DATE = 01012007
Then only POSTING DATE = 03032007 will show up in report
write the code in <b>customer exit cmod in BI</b> if CAN CORRECT THE CODE WOULD BE GREAT
Data: l_s_var_range Type rrangeexit.
L_d_PSTDATE Type /bio/oipstdate.
L_d_PSTDATE Type /bio/oipstdate.
IF I_STEP=2.
READ TABLE I_t_var_range INTO l_s_var_range WITH KEY VNAM = PSTVAR.
If L_d_PSTDATE >= PSTVAR
L_d_PSTDATE=l_s_var_range-low(0)
Please help me modify the above code with logic or with some extra line of code to solve my requirement. Appreciate all of you for help in advance
Thanks
Soniya KapoorThis can be done without any coding.
If you are using the Web, there is a Boolean operator dropdown for each variable. Enter "1/1/2007" for the Posting Date variable value (in your example), then change the operator to ">=". (There is probably even a way to default to this.)
If you are using Excel, enter "1/1/2007" for the Posting Date variable value, then right click and choose "Options" and ">=".
Hope this helps...
Bob -
Variable binding for Date type over ODBC
Hi I'm trying to parameterize a DATE variable over ODBC. Over JDBC I have no problem doing so in Java but on the ODBC (C-code) I had problem figuring out how to deal with the expression, *{ts '2009-02-23 09:02:10'}.* But eventually based on SQL tracing on the DB side, I found that it gets translated to to_date('2009-02-23 09:02:10', 'YYYY-MM-DD HH24:MI:SS'). So now I can attempt to parameterize. But that's the side story.
My question is, do I gain any performance by doing the following (cut and paste from SQL trace)
SELECT ROWID, reservation_id, job_type, job_start
FROM reservation_job_queue
WHERE job_start <= to_date(:1, 'YYYY-MM-DD HH24:MI:SS')
ORDER BY job_start
as compared to the original
SELECT ROWID, reservation_id, job_type, job_start
FROM reservation_job_queue
WHERE job_start <= to_date('2009-02-23 09:02:10', 'YYYY-MM-DD HH24:MI:SS')
ORDER BY job_start
Thanks!
Edited by: pidge66 on Feb 23, 2009 6:27 AM
Edited by: pidge66 on Feb 23, 2009 6:30 AMIf I understand you correctly, you want to be able to enter some arbitrary dates in the where-clause of your application.
Thus, to use the first form with a bind variable is key for performance of your application.
And yes, you will gain a lot of performance when using to_date(:1, 'YYYY-MM-DD HH24:MI:SS') instead of to_date('2009-02-23 09:02:10', 'YYYY-MM-DD HH24:MI:SS').
Why not using bind variables is evil you can read best over at AskTom -
Reg: Table creation for generic source
Hai,
I tried to create generic data source using a table that I created. But when I tried to enter entries into the table using se16 transaction, one field is not at all coming.
I didnt understand why this field is not coming. I checked the enhancement category, but that is allowing too.. I changed the position of that field in the table and tried. But still its not coming in se16 create entries..
What can be the problem. When we check the table in se12, that field we able to see.. When we check through se16 also its available. Only when we want to make entries its not coming..
Can someone help me to resolve this issue..Hi,
Yes I am able to see the filed in the data source also.
I want to do flat file loading. So I am using LSMW recording for the same. So in se16 i need to create dummy entries. But as this filed is not coming, I cant populate.
When i tried outside lsmw also in SE16 that filed is not there. -
Variable creation for Workbook
Hi,
Please can we create the variable for the workbook... which is used for multiple queries.... if yes how...
Regards,
SonuHi Sonu,
Workbook is nothing but executing number of queries at a single time.
If there is any link between say example 2 queries like Customer and the variable used is also same one, then System asks only 1 time for the variable.
So that the same value put in first variable screen of first query will be input for second variable screen of other Query.
If there are different variables used in that queries then there will be two variable screen options (Except Common variable).
Regards,
Rajdeep -
Reg:challan creation for 701 movement type
Dear All,
Is there any possibility to create challan referring to the 701 movement type I've included the movement type for sub transaction type in SPRO but even then it is not allowing is there any possibility ?
Reg
VVKHi
U can create challan for 701 mvt.
Make sure the mvt 701 is included in subcontracting issues group type with spl stock indicator O.
make sure all other settings for subcontracting are correct like number ranges for series group of subcontracting, excise a/c for 57fc with subtrabsaction 01.
Check and revert with the problem u face bcoz i tried in my system and it worked.
Reg
Raja -
Variable creation for Transaction S_ALR_87013336
Hi
I am getting following error on executing the transaction S_ALR_87013336
Global variable & has been deleted
Message no. KH488
Diagnosis
Global variable & has been deleted.
Procedure
Modify the report or form so that it no longer uses global variable &.
I am trying to add Co code and co code group as search filed so I have made adjustment to form 8A-PCA013G.
Please suggest how to correct the report and create variable
Selections Fields for Transaction S_ALR_87013336
Company Code Group ------------------------
or Value(s) From ------------- To-------------
ThanksHi
I have fixed the issue - Global variable & has been deleted
I need help on the followings
Selections Fields for Transaction S_ALR_87013336
Company Code Group ------------------------
or Value(s) From ------------- To-------------
Thank -
Reg : object creation for controller and view ?
hi friends....
i am new to WDA and objects...
please explain me..
when i create the web dynpro component one interface is automatically created as IF_COMPONENTCONTROLLER for component
IF_MAINVIEW for view
IF_WINDOW for window
correct me if i am wrong
suppose if i want to reuse class, i want to create object... like wise
if i want to reuse interfaces, i want to create object.
but in this case..for eg (IF_COMPONENTCONTROLLER, IF_MAINVIEW ) where we are creating object...?
no need to create object ?
regards
deva>but in this case..for eg (IF_COMPONENTCONTROLLER, IF_MAINVIEW ) where we are creating object...?
no need to create object ?
No you don't have instantiate any of the objects. Think of Web Dynpro as a modeling layer implemented in ABAP Objects, but sitting on top of the Object Oriented constructs. You still have some of the benfiits of OO - like event registration, inheritance, methods, etc - but a lot of the OO setup is done and maintained by the framework for you. So although each section of Web Dynpro - the component, the controllers, contexts, views, etc - are all technically ABAP Object instances, you don't have to manage the objects directly. -
External Table Creation for .dat file
Hi,
I have created an External Table, below is the code
CREATE TABLE "NFO_DATA_LOAD_STAGING_TEST1"
( "DATA_DISCRAPANCY" VARCHAR2(100),
"APPLICATION_NUMBER" VARCHAR2(30),
"BATCH_NUMBER" VARCHAR2(30),
"AMC_ID" VARCHAR2(30),
"TA_BRANCH" VARCHAR2(30),
"SERVER_DATE_1" DATE,
"SERVER_TIME_1" DATE,
"ARN_NUMBER" VARCHAR2(30),
"BROKER_CODE" VARCHAR2(30),
"SUB_BROKER_CODE_1" VARCHAR2(30),
"SUB_BROKER_CODE_2" VARCHAR2(30),
"SUB_BROKER_CODE_3" VARCHAR2(30),
"BROKER_ADDRESS" VARCHAR2(100),
"FOLIO_NO" NUMBER,
"MODE_OF_HOLDING" VARCHAR2(30),
"STATUS" VARCHAR2(30),
"SALUATION" VARCHAR2(30),
"CONTACT_PERSON_NAME" VARCHAR2(30),
"INVESTOR_NAME" VARCHAR2(30),
"GUARDIAN_NAME" VARCHAR2(30),
"PAN_NO" VARCHAR2(30),
"POA_HOLDER_NAME" VARCHAR2(30),
"KYC" VARCHAR2(30),
"GUARDIAN_PAN_NO" VARCHAR2(30),
"DOB_DOC" DATE,
"GUARDIAN_RELATIONSHIP" VARCHAR2(30),
"SALUATION_2" VARCHAR2(30),
"DATE_OF_BIRTH" DATE,
"SECOND_HOLDER_NAME" VARCHAR2(30),
"GUARDIAN_NAME_2" VARCHAR2(30),
"PAN_NO_2" VARCHAR2(30),
"GUARDIAN_PAN_NO_2" VARCHAR2(30),
"KYC_2" VARCHAR2(30),
"GUARDIAN_RELATIONSHIP_2" VARCHAR2(30),
"SALUATION_3" VARCHAR2(30),
"DATE_OF_BIRTH_3" DATE,
"THIRD_HOLDER_NAME" VARCHAR2(30),
"GUARDIAN_NAME_3" VARCHAR2(30),
"PAN_NO_3" VARCHAR2(30),
"GUARDIAN_PAN_NO_3" VARCHAR2(30),
"KYC_3" VARCHAR2(30),
"GUARDIAN_RELATIONSHIP_3" VARCHAR2(30),
"ADDRESS_LINE_1" VARCHAR2(100),
"PINCODE" NUMBER,
"ADDRESS_LINE_2" VARCHAR2(100),
"CONTACT_NUMBER_O" VARCHAR2(15),
"CITY" VARCHAR2(30),
"CONTACT_NUMBER_R" VARCHAR2(15),
"STATE" VARCHAR2(30),
"MOBILE_NUMBER" VARCHAR2(15),
"COUNTRY" VARCHAR2(30),
"EMAIL_ID" VARCHAR2(30),
"ALT_EMAIL_ID" VARCHAR2(30),
"ADDRESS_LINE_1_A" VARCHAR2(100),
"PINCODE_A" NUMBER,
"ADDRESS_LINE_2_A" VARCHAR2(100),
"CONTACT_NUMBER_O_A" VARCHAR2(15),
"CITY_A" VARCHAR2(30),
"CONTACT_NUMBER_R_A" VARCHAR2(15),
"STATE_A" VARCHAR2(30),
"MOBILE_NUMBER_A" VARCHAR2(15),
"COUNTRY_A" VARCHAR2(30),
"EMAIL_ID_A" VARCHAR2(30),
"ALT_EMAIL_ID_A" VARCHAR2(30),
"DESPATCH_ACCOUNT" VARCHAR2(30),
"REDEMPTION_PAYOUT" VARCHAR2(30),
"I_PIN_ASSIGN" VARCHAR2(30),
"DIVIDEND_PAYOUT" VARCHAR2(30),
"T_PIN_ASSIGN" VARCHAR2(30),
"TO_FUND_NAME" VARCHAR2(30),
"TO_FUND_ID" VARCHAR2(30),
"OPTION_F_S" VARCHAR2(30),
"MCR_NO" NUMBER,
"BANK_NAME" VARCHAR2(30),
"ACCOUNT_NUMBER" NUMBER,
"BANK_BRANCH" VARCHAR2(30),
"ACCOUNT_TYPE" VARCHAR2(30),
"MCR_NO_P" NUMBER,
"CHEQUE_DD_NO" NUMBER,
"BANK_NAME_P" VARCHAR2(30),
"PAYMENT_DATE" DATE,
"BANK_BRANCH_P" VARCHAR2(30),
"ADVICE_NO" NUMBER,
"PAYMENT_TYPE_P" VARCHAR2(30),
"AMOUNT_P" NUMBER,
"MINIMUM_AMOUNT" NUMBER,
"AMOUNT_WORDS" VARCHAR2(1000),
"NOMINEE_NAME" VARCHAR2(30),
"SALUATION_STG" VARCHAR2(30),
"NOMINEE_DOB_STG" DATE,
"GUARDIAN_NAME_STG" VARCHAR2(30),
"RELATIONSHIP_STG" VARCHAR2(30),
"ADDRESS_LINE_1_STG" VARCHAR2(100),
"COUNTRY_STG" VARCHAR2(30),
"ADDRESS_LINE_2_STG" VARCHAR2(100),
"PINCODE_STG" NUMBER,
"CITY_STG" VARCHAR2(30),
"CONTACT_NUMBER_STG" VARCHAR2(15),
"STATE_STG" VARCHAR2(30),
"MOBILE_NUMBER_STG" VARCHAR2(15),
"REMARKS_STG" VARCHAR2(100),
"EXCEPTION_CHK_STG" CHAR(1),
"HOLD_CHK_STG" CHAR(1),
"PAN_STG" CHAR(1),
"BOARD_RESOLUTION_STG" CHAR(1),
"KYC_STG" CHAR(1),
"MOA_STG" CHAR(1),
"CHEQUE_STG" CHAR(1),
"ASL_STG" CHAR(1),
"TRUST_DEED_STG" CHAR(1),
"PARTNERSHIP_DEED_STG" CHAR(1),
"BYE_LAWS_STG" CHAR(1),
"AUTO_DEBIT_STG" CHAR(1),
"ENROLLMENT_FORM_STG" CHAR(1),
"APPROVED" VARCHAR2(10),
"CREATED_BY" NUMBER,
"CREATION_DATE" DATE,
"LAST_UPDATE_DATE" DATE,
"LAST_UPDATED_BY" NUMBER,
"FUND_TYPE" VARCHAR2(30)
ORGANIZATION EXTERNAL
( TYPE ORACLE_LOADER
DEFAULT DIRECTORY DUMP_DIR
ACCESS PARAMETERS
( RECORDS DELIMITED BY NEWLINE
BADFILE 'emp.bad'
LOGFILE 't.log_xt'
FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' LDTRIM
REJECT ROWS WITH ALL NULL FIELDS
"DATA_DISCRAPANCY"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"APPLICATION_NUMBER"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"BATCH_NUMBER"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"AMC_ID"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"TA_BRANCH"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"SERVER_DATE_1"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"SERVER_TIME_1"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"ARN_NUMBER"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"BROKER_CODE"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"SUB_BROKER_CODE_1"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"SUB_BROKER_CODE_2"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"SUB_BROKER_CODE_3"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"BROKER_ADDRESS"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"FOLIO_NO"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"MODE_OF_HOLDING"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"STATUS"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"SALUATION"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"CONTACT_PERSON_NAME"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"INVESTOR_NAME"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"GUARDIAN_NAME"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"PAN_NO"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"POA_HOLDER_NAME"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"KYC"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"GUARDIAN_PAN_NO"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"DOB_DOC"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"GUARDIAN_RELATIONSHIP"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"SALUATION_2"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"DATE_OF_BIRTH"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"SECOND_HOLDER_NAME"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"GUARDIAN_NAME_2"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"PAN_NO_2"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"GUARDIAN_PAN_NO_2"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"KYC_2"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"GUARDIAN_RELATIONSHIP_2"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"SALUATION_3"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"DATE_OF_BIRTH_3"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"THIRD_HOLDER_NAME"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"GUARDIAN_NAME_3"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"PAN_NO_3"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"GUARDIAN_PAN_NO_3"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"KYC_3"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"GUARDIAN_RELATIONSHIP_3"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"ADDRESS_LINE_1"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"PINCODE"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"ADDRESS_LINE_2"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"CONTACT_NUMBER_O"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"CITY"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"CONTACT_NUMBER_R"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"STATE"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"MOBILE_NUMBER"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"COUNTRY"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"EMAIL_ID"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"ALT_EMAIL_ID"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"ADDRESS_LINE_1_A"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"PINCODE_A"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"ADDRESS_LINE_2_A"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"CONTACT_NUMBER_O_A"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"CITY_A"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"CONTACT_NUMBER_R_A"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"STATE_A"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"MOBILE_NUMBER_A"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"COUNTRY_A"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"EMAIL_ID_A"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"ALT_EMAIL_ID_A"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"DESPATCH_ACCOUNT"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"REDEMPTION_PAYOUT"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"I_PIN_ASSIGN"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"DIVIDEND_PAYOUT"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"T_PIN_ASSIGN"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"TO_FUND_NAME"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"TO_FUND_ID"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"OPTION_F_S"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"MCR_NO"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"BANK_NAME"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"ACCOUNT_NUMBER"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"BANK_BRANCH"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"ACCOUNT_TYPE"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"MCR_NO_P"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"CHEQUE_DD_NO"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"BANK_NAME_P"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"PAYMENT_DATE"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"BANK_BRANCH_P"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"ADVICE_NO"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"PAYMENT_TYPE_P"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"AMOUNT_P"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"MINIMUM_AMOUNT"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"AMOUNT_WORDS"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"NOMINEE_NAME"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"SALUATION_STG"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"NOMINEE_DOB_STG"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"GUARDIAN_NAME_STG"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"RELATIONSHIP_STG"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"ADDRESS_LINE_1_STG"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"COUNTRY_STG"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"ADDRESS_LINE_2_STG"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"PINCODE_STG"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"CITY_STG"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"CONTACT_NUMBER_STG"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"STATE_STG"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"MOBILE_NUMBER_STG"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"REMARKS_STG"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"EXCEPTION_CHK_STG"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"HOLD_CHK_STG"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"PAN_STG"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"BOARD_RESOLUTION_STG"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"KYC_STG"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"MOA_STG"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"CHEQUE_STG"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"ASL_STG"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"TRUST_DEED_STG"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"PARTNERSHIP_DEED_STG"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"BYE_LAWS_STG"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"AUTO_DEBIT_STG"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"ENROLLMENT_FORM_STG"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"APPROVED"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"CREATED_BY"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"CREATION_DATE"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"LAST_UPDATE_DATE"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"LAST_UPDATED_BY"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " ' ,
"FUND_TYPE"
TERMINATED BY "," OPTIONALLY ENCLOSED BY ' " '
LOCATION
( 'Key_File_Report.dat'
{code}
while trying to select the data from external table, am facing the below error.
{code}
ORA-29913: error in executing ODCIEXTTABLEOPEN callout ORA-29400: data cartridge error KUP-00554: error encountered while parsing access parameters KUP-01005: syntax error: found "identifier": expecting one of: "and, column, exit, (, ltrim, lrtrim, ldrtrim, missing, notrim, rtrim, reject" KUP-01008: the bad identifier was: LDTRIM KUP-01007: at line 4 column 77
{code}
can anyone suggest me how to resolve this.
Regards,
Sakthi.I think i found the problem:
KUP-01008: the bad identifier was: LDTRIM KUP-01007: at line 4 column 77There is no LDTRIM. It is LDRTRIM or LRTRIM.
this should work
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' LDRTRIM{code}
Edited by: Sven W. on Aug 27, 2010 2:59 PM -- removed the blanks in the optionally enclosed spec -
Domain for data type in Oracle 8i database
Hi Sir,
Does Oracle database supports domain creation for data type.
for example, can I create a domain called shorttext which is VARCHAR2(50). Then when I specify a data type for a column in table, then I just declare the column as domain.
eg. address SHORTTEXT;
--where SHORTTEXT is a domain.
How is this implemented in Oracle database and supported by front end tools like Oracle Developer 6.0.
Hope someone can provide some clear explanation on this.
Thanks.The ordimagesignature is not something you can see or hear. It is strictly binary metadata about the image, used only to compare images to each other.
What are you trying to do?
Larry
Maybe you are looking for
-
Installing Leopard (10.5) onto iMac PPC G5 (10.4.11)
Hello there, I'm looking to upgrade my PowerPc G5 from tiger 10.4.11 to Leopard 10.5.? I'm a bit of a dunce with this kind of thing so was wondering if I could ask a few (probably very basic) questions regarding the upgrade! They may sound a bit dum
-
Unable to retain year setting in preferences
iMac 2.66 GHz OS X 10.6.8 Unable to retain "short year settings" in Preferences > Language & Text > Formats. Am able to set the year setting in the customize window to two digits with the pop-up menu for the year, which then appears correctly when t
-
ServerSocket bind, bug or windows feature
I wanted to check if a TCP socket was already bound before attempting to use it. I had my own ideas, but looked for other ideas as well. While testing these other ideas I stumbled on the following issue. On Windows XP(SP3), its the work platform of c
-
Cannot reinstall latest version of ITunes. Receive a MSVCR80.dll error message. How do I correct this?
-
BP balance due is 0 but account balance is 1 cent
Dear All, When I open a BP master data, I got a 1cent account balance. Then I click the arrow of account balance. In the account balance window, the balance due is 0. Is this a SAP bug or anything wrong on the end user side? Thanks a lot. Regards, Yu