How to create number of days late using two char ??
Hi Folks,
Could you please help me on this.
I have two char : clearing date & net due date in my cubes & multiprovider
Now client is requesting to create new kf in the query i.e number of days = clearing date - net due date.
I hope it is done by formula variable with customer exit. Could some provide me the soultion.
appreciate your response inadvavnce !
Thanks
Surendra
Hi .
Thanks for your proposal.
it is on mp.
Tell me how do i create ckf with char?//
so my assumption is formula varaible1- --> replacement path --> with info obejcet ( clearing date)
formula varaible2- --> replacement path --> with info obejcet ( net due date)
CKF = ZFV1 - ZFV2.
Hope it works, Any alternate, propose your solutions.
Thanks
Srurendra
Similar Messages
-
How to create a stored procedure and use it in Crystal reports
Hi All,
Can anyone explain me how to create a stored procedure and use that stored procedure in Crystal reports. As I have few doubts in this process, It would be great if you can explain me with a small stored proc example.
Thanks in advance.If you are using MSSQL SERVER then try creating a stored procedure like this
create proc Name
select * from Table
by executing this in sql query analyzer will create a stored procedure that returns all the data from Table
here is the syntax to create SP
Syntax
CREATE PROC [ EDURE ] procedure_name [ ; number ]
[ { @parameter data_type }
[ VARYING ] [ = default ] [ OUTPUT ]
] [ ,...n ]
[ WITH
{ RECOMPILE | ENCRYPTION | RECOMPILE , ENCRYPTION } ]
[ FOR REPLICATION ]
AS sql_statement [ ...n ]
Now Create new report and create new connection to your database and select stored procedure and add it to the report that shows all the columns and you can place the required fields in the report and refresh the report.
Regards,
Raghavendra
Edited by: Raghavendra Gadhamsetty on Jun 11, 2009 1:45 AM -
How do you work out the number of days difference between two dates?
I'm running Crystal v12.
We use a date field in our SQL database that we use to store the client's year end date.
As the year end date (date and month) doesn't change for a client, the year end date field in all of our reports is set to just show the DD/MM part. Over the years as new clients are set up we just enter the date and month - the year part is irrelevant although as in all date fields the year is automatically entered.
Doing it this way means that we don't have to adjust the year end year part each year. We just use the DD/MM part.
I need to create a formula that works out the number of days there have been (i.e. the difference) from the current date to the year end date. It MUST EXCLUDE the year however.
For example:
Year End Date = 30/04/03
Current Date = 25/05/10
Days Difference (EXCLUDING year) = 25
Days Difference (including year) = 2582
Year End Date = 31/03/09
Current Date = 25/05/09
Days Difference (EXCLUDING year) = 55
Days Difference (including year) = 420
If you include the year part then working out day difference is simply a case of creating a formula that subtracts the year end date from the current date (CurrentDate - {tblClient.YearEnd}.
HOWEVER I need to exclude the year part.
Can anyone tell me the formula or best way to do this?
Thanks in advance.
Edited by: BadBoy House on May 25, 2010 3:15 PM
Edited by: BadBoy House on May 25, 2010 3:15 PMHi
You can try this
datevar e := date(year(currentdate),month({tblClient.YearEnd}),day({tblClient.YearEnd}));
numbervar num_days := datediff("d",currentdate,e)
Create a datevar called e that uses the original month and day numbers for {tblClient.YearEnd} but uses the year of the current date
Then just datediff on e to get the number of days between the two dates
I hope i understand your problem and that this helps
Best regards
Patrick -
Hi All Sap Experts
Please tell me How to create Number Range
I tried with the Transaction Code " SNRO "
But Im getting The following error
Dialog box title : " Buffering Methods ".
Message in the Dialog box is :
-Numbers may be lost!
-Do not use for Financial accounting Documents!!
?. Do you want set this Buffering method?
And another error is :
Dialog box title : " Transport number range intervals "
Message in the Dialog box is :
The number range intervals are not included in automatic customizing changes.
Transport all changes made within range interval maintenance must be
triggered manually.
In the initial screen for range interval maintenance function
<b> Interval</b> --> <b>Transport</b>
Please note the information that you get when transporting intervals.
So please tell me the solution for this error.
Thank you
Basu
Another ishi,
Create number range object using OYSN.
Then call the following function modules.
FORM get_next_id CHANGING p_discrep.
DATA: last_id LIKE zrecaudit-discrep,
quant LIKE inri-quantity, "dummy
code LIKE inri-returncode. "returncode
CALL FUNCTION 'NUMBER_RANGE_ENQUEUE'
EXPORTING
object = 'ZRECAUDIT'
EXCEPTIONS
foreign_lock = 1
object_not_found = 2
system_failure = 3
OTHERS = 4.
IF sy-subrc = 0.
CALL FUNCTION 'NUMBER_GET_NEXT'
EXPORTING
nr_range_nr = '01'
object = 'ZRECAUDIT'
IMPORTING
number = last_id
quantity = quant
returncode = code
EXCEPTIONS
interval_not_found = 1
number_range_not_intern = 2
object_not_found = 3
quantity_is_0 = 4
quantity_is_not_1 = 5
interval_overflow = 6
buffer_overflow = 7
OTHERS = 8.
CALL FUNCTION 'NUMBER_RANGE_DEQUEUE'
EXPORTING
object = 'ZRECAUDIT'
EXCEPTIONS
object_not_found = 1
OTHERS = 2.
ENDIF.
ENDFORM. " get_next_id
<u><i><b>refer the links</b></i></u>
http://www.sap-img.com/ge003.htm
http://www.sap-basis-abap.com/sapmm009.htm
http://www.erpgenie.com/abap/code/abap33.htm
http://www.kabai.com/abaps/z26.htm
Rgds
Anversha -
How to restrict number of rows display using ig:gridView
Hi
All
How to restrict number of rows display using <ig:gridView datasource="{mybean.mylist}">
i am getting 10 rows using data_row . i wanna show only first 5 rows .
pageSize ="5" will be ok . but it displays remaining rows in next page. but i want to display only first 5 rows . is there any attribute to restrict number of rows.
thanks
rambhapuriI have no idea which component you're talking about. If want to discuss here about a non-Sun JSF component, then please mention about the name, version and build in detail. You can also consider posting this question at the website/forum/mailinglist of the component manfacturer rather than here. At least I can tell you that the Sun JSF h:dataTable has the 'rows' attribute for that. I can also suggest you to just take a look in the TLD documentation of the component in question. There should be all possible attributes listed with a detailed explanation about the behaviour.
-
How to create ringingtone into my iPhone using macbook?
pls teach me how to create ringingtone into my iphone using macbook...
Have you installed iOS 5 on your iPhone 3GS?
If not - then connect it to iTunes, and prepare yourself for a very big download!
It will give step by step instructions once iOS 5 is installed.
Cheers,
Rodney -
How to create an RDBMS event generator using wlst on weblogic 10.3
how to create an RDBMS event generator using wlst on weblogic 10.3, i got a code fragment needing class "com.bea.wli.management.configuration.RDBMSEventGenChannelConfiguration"
but i can' t find this class in classpath on weblogic 10.3, pls help me, thanks. code sample is better.Hi,
RDBMS Event Generator Channel Rule Definition
When you are creating channel rule definitions in the WebLogic Integration Administration Console, it is recommended that you do not use the Back button if you want to resubmit the details on a page.
You should always use the navigation links provided and create a new channel rule definition.
http://download.oracle.com/docs/cd/E13214_01/wli/docs85/deploy/cluster.html
http://download.oracle.com/docs/cd/E13214_01/wli/docs81/relnotes/relnotesLimit.html
http://otndnld.oracle.co.jp/document/products/owli/docs10gr3/pdf/deploy.pdf
This problem has been seen in the past when defining the channel rule for an RDBMS Event Generator if schema name was specified with the incorrect case (i.e. lowercase when it should have been uppercase or vice versa). To that end, it is suggested to change the case of the schema when creating the channel rule
Regards,
Kal -
How to create an apple id without using credit card
how to create an apple id without using credit card.. i have recently purchased apple iphone 3gs bt unable to get apps because of giving credit card info which i dnt hav.. so plz tel me some way to process..
To get the none option, sign out of anything apple you're signed into. Go to the app store and try to download a free app, any free app. Instead of signing in, take the option to to make a new apple ID. Then go through the steps to make the ID and you'll see the 'none' option.
-
How to create search function (af:query) using method in java
hi All..:)
i got problem with search custom (af:query), how to create search function/ af:query using method in java class?
anyone help me....
thx
agungdmtHi,
download the ADF Faces component demo sources from here: http://www.oracle.com/technetwork/testcontent/adf-faces-rc-demo-083799.html It also has an example for creating a custom af:query model
Frank -
How to create autofilter in excel page using jxl api?
Hi Friends,
I am using jxl api for excel generation. Its no problem
but i need to set auto filter options. I am search in this API package but i can't find it.
Any one know how to create autofilter in excel page using jxl api?.
Please ..... Its urgent.... ...
ThanksHi,
Please mail me on [email protected] if u will find any solutions, i will do the same if i will find any...
Thank u in advance, -
How to create Auto suggestion component by using of ADF tag
Hi ,
In my project, I am using the ADF frame work and I need to use the auto suggestion component.
Can any body suggest me how to create Auto suggestion component by using of ADF tag.
Waiting for your valuable suggestions...Try this forum:
JDeveloper and ADF
You might get a lot more response.
Jan Kettenis -
How to create hierarchy on bi7 by using dtp
how to create hierarchy on bi7 by using dtp
Hi Deba,
Procedure to create Hierarchies:
1. In the Data Warehousing Workbench under Modeling, choose the InfoObject tree.
2. If you have assigned the hierarchy basic characteristic to an InfoObject catalog, select the corresponding InfoObject catalog for an InfoArea.
If the hierarchy basic characteristic does not belong to an InfoObject catalog, choose the InfoArea Non-Assigned Nodes and the InfoObject Catalog Non-Assigned Characteristics.
3. Select the characteristic for which you want to create a hierarchy and choose Create Hierarchy from the context menu. The Create Hierarchy dialog box appears. The InfoObject name appears by default.
4. Enter a hierarchy name and description (short, medium, long). Other fields may be displayed, depending on which hierarchy properties were selected for the hierarchy basic characteristics
Fields used to enter the Validity (valid to, valid from) for the hierarchy property Total Hierarchy Time-Dependent
Fields used to specify the Hierarchy Version for the hierarchy property Hierarchies Version-Dependent.
5. Confirm your entries. The Maintain Hierarchy screen appears. You can define the structure of a hierarchy here.
6. To create a hierarchy node, you first need to choose an insertion mode: Insert as First Child or Insert As Next Neighbor (see Hierarchy Editing Functions).
7. Choose the type of node you want to create: Text Node, Characteristic Node, <Hierarchy Basic Characteristic Node> or Interval (see Hierarchy Nodes)
8. Repeat this procedure until the hierarchy structure has been set. For more information, see Modeling Nodes and Leaves.
A hierarchy can contain 50,000-100,000 leaves at most. If your hierarchy is larger, you should insert a level that is used as a navigation attribute or preferably as a separate characteristic in the dimension table.
9. You can use Level Maintenance and Hierarchy Attributes to set how the hierarchy is to be displayed and processed in reporting (see Level Maintenance and Hierarchy Attributes).
10. Save the hierarchy.
11. Activate the hierarchy. See Editing Hierarchies.
For more info
[http://help.sap.com/saphelp_nw70/helpdata/EN/80/1a6736e07211d2acb80000e829fbfe/content.htm]
[http://help.sap.com/saphelp_nw70/helpdata/EN/e6/951d102a6c11d5b2e40050da4c74dc/content.htm]
Regards,
Rajkandula -
How to create Profit and loss account using report painter
Dear All,
Can some one guide me as to how to create Profit and loss account using report painter.
If some one can share the document having steps to be done,would be of great help.
Thanks in advance.
Regards,
GokulHi,
Could you please re-phrase your question? As the report painter is a reporting tool I assume you want to report on P&L accounts and not u201Ccreateu201D them. A few more details on what you intend to report would be useful.
Regards
Karl -
How to create chord charts from midi using logic pro x
How to create chord charts from midi using logic pro x
Depending on what you mean by Chord charts (Tabs?)
Use the Score.......
http://help.apple.com/logicpro/mac/10/#lgcpf755d649 -
How to create 3d photgallery in flex using xml
How to create 3d photgallery in flex using xml . I am new to flex please help me.Thanks in advance
How to create 3d photgallery in flex using xml . I am new to flex please help me.Thanks in advance
Maybe you are looking for
-
I didn't upgrade my iPad2 last May and I don't know what I need to do. I also don't know how to backup my iPad2. I am obviously not very tech savvy. Any help is appreciated.
-
Need help in doing exercise with classes
Here is my exercise: 1. An object Student has: id, last name, first name, number of AAS courses and number of ESL courses in current semester and whether student uses laptop or not. The formular to calculate tuition fee: Tuition fee = AAS courses
-
Hi What is the T code for finding the history of Customer as i'm interested in seeing the all the open order for a particular customer VR
-
DMP Error when in Business Partner Master Data
Forum, I have one client which produces DMP errors each time they go into the Business Partner Master Data screen. This is since they have been upgraded to 8.8 PL20. Prior to this, there was no such issue. The spec of the machine is as follows: Xp Sp
-
Reference Article in IS Retail
Hi All, Whats the difference between creation of reference article type & the remaining article types. Do we need to maintain anything different settings for reference article type. Regds, CB