Transaction Currency Tables which will give totals only
Transaction currency purpose bseg, bkpf, bsis, bsid contain document wise details hence will not be useful for my purpose, i need a table which will give transaction currency totals only.
Hi Anu,
I am unable to understand your exact requirement as if you need total of any transaction currency then there must be a criteria for the same like one want to add all currencies monthly/annually/weekly for reporting purpose and in this case you have to write a report and add currencies.No tables can hold such calculative recordes.
Please elaborate more so I can u'stand requirement.
Regards,
Gaurav
Similar Messages
-
Hello,
I want to create stored procedure which will give output rows from "values that are passed as one parameter (comma seperated) to store procedure".
Suppose ,
Parameter value : person 1,person2,person3
table structure :
Project Name | officers 1 | officers 2
here, officers 1 or officers 2 may contain names of multiple people.
expected OUTPUT : distinct list(rows) of projects where person 1 or person 2 or person 3 is either officer1 or officer 2.
please explain or provide solution in detail
- ThanksHi Visakh,
Thanks for reply.
But the solution you provided giving me right output only if officer 1 or officer 2 contains single value , not with comma seperated value.
Your solution is working fine for following scenario :
Project
Officers 1
Officers 2
p1
of11
off21
p2
of12
off22
with parameter : of11,off22 : it will give expected output
And its not working in case of :
Project
Officers 1
Officers 2
p1
of11,of12
off21,off23
p2
of12,of13
off22,off24
with parameter : of11,off22 : it will not give any row in output
I need patten matching not exact match :)
ok
if thats the case use this modified logic
CREATE PROC GetProjectDetails
@PersonList varchar(5000)
AS
SELECT p.*
FROM ProjectTable p
INNER JOIN dbo.ParseValues(@PersonList,',')f
ON ',' + p.[officers 1] + ',' LIKE '%,' + f.val + ',%'
OR ',' + p.[officers 2] + ',' LIKE '%,' + f.val + ',%'
GO
Keep in mind that what you've done is a wrong design approach
You should not be storing multiples values like this as comma separated list in a single column. Learn about normalization . This is in violation of 1st Normal Form
Please Mark This As Answer if it solved your issue
Please Mark This As Helpful if it helps to solve your issue
Visakh
My MSDN Page
My Personal Blog
My Facebook Page -
Any Function Module which will give user id or position
Hello Friends,
is there any standard function module which will give the attribute position id or user name if i pass the 'attribute id as CNT' with value of the CNT. i know there is a standard function module 'BBP_READ_ATTRIBUTES'. but this FM will give the value of the attribute id if i pass the user id and attribute id but i want user id or position when i pass attribute id and value.
john.Hi,
See this related thread:
Re: Get all users given a specific product category
You cna use the similar approach to find for the attribte cost centre.
BR,
Disha. -
Monthly wise GL Balances ( DEBIT , CREDIT Separately) in Transaction currency tables i required if any body knows pls help me.
HI anu,
The transaction currency tables are KEKO , BKPF , BSEG
Changing quantity into debit or credit
IF wa_bkpfbseg-shkzg = 'H'.
wa_bkpfbseg-wrbtr = ( -1 * wa_bkpfbseg-wrbtr ).
wa_display-wrbtr = wa_bkpfbseg-wrbtr .
ELSE.
wa_display-wrbtr = wa_bkpfbseg-wrbtr.
ENDIF.
if the BSEG table if wa_bkpfbseg-shkzg = 'H'. that means it is credit amount
else
it is debit amount.
Fetching quantity and amount in FI from BSEG table against entries
in BKPF table
Regards,
Prabhudas -
Hi Team,
I have created one test role in HR. It will give Read access to all info types.
But user can able to create Info type records in PA30. Please find the P_ORGIN values below.
Authorization level R
Infotype *
Personnel Area US
Employee Group 1
Employee Subgroup U*
Subtype *
Organizational Key *
OOAC values.
AUTSW ADAYS 15
AUTSW APPRO 0
AUTSW DFCON 4
AUTSW INCON 0
AUTSW NNCON 0
AUTSW NNNNN 0
AUTSW ORGIN 1
AUTSW ORGPD 4
AUTSW ORGXX 0
AUTSW PERNR 1
AUTSW XXCON 0
Note : user does not have access to any structural profile.
I suspect is this bcz, if any user has proper 0105 and 0001 in HR master data can able to create records.Bcz user will be assigned to default sap structural profile "ALL" in OOSB ?
I can see user was not assigned to "ALL" profile in OOSB or in T77UA. and user cant able to write or change infotype data in pa30.
Please suggest how the user can able to create inftotype records in PA30.(Info :0002 for example)
Appreciate Quick response.
Regards,
Venu.Sorry did not get the below comment.
"The maintain flag in the structural profile does not relate to any maintenance authorization in PA. It only affects the OM objects authorized by the structural profile. For example the user may be able to delimit a position. It will never grant any write authorization for any PA infotype "
Do you mean , suppose if we give Org unit and evaluation path like attached screen ,user will get access to only the ORG UNIT as its object type (can able to perform activities as mentioned in the role PLOG ) but cant perform any activity like address infotype change on the person (P) (as mentioned in P_ORGIN) who comes under the org unit mentioned in Structural profile ?
My understanding is that i believe user total auth is an intersection of general +structural authorization.lets take HR admin wanted to change 0002 data for some imps in org.We need to give access to that particular org to which the emps belongs to (through structural auth) and SHOULD CHECK the maintenance box in strucural auth and will access change access via role.
And user cant able to edit his own data.
Please find the Screens as requested. Please let me know if my understanding is correct or not ?
Regards,
venu. -
Name of tables which will store Discoverer Reports Information.
Hi Everyone,
Hope all are doing good.
I have a requirement on up-gradation project, find the discoverer reports where will store table names and path.
Once i get Discoverer Reports information, we have to find-out the custom Discoverer reports.
Thanks in advance...
Sreenivas.U80f8bcb6-a8b3-426c-839a-cd401b686d56 wrote:
Hi Everyone,
Hope all are doing good.
I have a requirement on up-gradation project, find the discoverer reports where will store table names and path.
Once i get Discoverer Reports information, we have to find-out the custom Discoverer reports.
Thanks in advance...
Sreenivas.U
How to Find Out the Sharing Information for Discoverer workbooks From the Database (Doc ID 293021.1)
How To Get A List Of Discoverer Worksheets Directly From The Database? (Doc ID 1333531.1)
How To See Which Discoverer Workbooks Are Owned And Shared By An Existing Or Dropped Database User (Doc ID 375777.1)
How To Query Metadata To Determine Which Discoverer Workbooks Are Accessible To User ? (Doc ID 433794.1)
How To Determine Which Business Areas Are Used By The Workbooks Saved To The Database (Doc ID 458739.1)
Thanks,
Hussein -
Tables which stores the total balances of customer and vendors
Hi
Can any one let me know in which table does the total balances of the customer and Vendors are stored.
except these LFC1, KNC1
Thanks and Regards
Srihari Boll
Edited by: Srihari Bolla on Dec 4, 2008 4:21 PM"normal" balances are in the tables you mentioned, the special G/L balances you'll find in LFC3 and KNC3 tables. There is nothing else!
-
Given a table with some columns and data associated with that. Need to find out a column or a combination of some columns, so that the values or combination of values will be unique in the table.
The table and number of columns and the columns will be dynamic.
Can you please help me with the solution?f8d0dcea-cdf0-4935-8734-632fe021456c wrote:
No key is defined in the table.
Suppose a table contains 20 columns then I need the unique combinations of all columns.
Example: A table 'Employee' has 4 columns: Emp_No, Emp_Name,Passport_No,Emp_Designation. No key is defined for Employee table. Need to find out which column(single column and combination if columns) have unique values. Like, First check if Emp_No is unique then check Emp_No+Emp_Name is unique, then check if Emp_No+Emp_Name+Passport_No is unique, then check Emp_No+Emp_Name+Passport_No+Emp_Designation is unique.
Then again try with the combination of Emp_No+Passport_No and so on. In this way I need to find out all the combinations having unique values.
As Paul says, that will be a waste of time, as it will taken a lot of processing for all the possibilities, checking all the data each time to determine which combinations of columns provide uniqueness. What happens if someone inserts or deletes some data whilst your doing it?
You'd be quicker to manually look at the tables, and make an educated guess and then test for uniqueness with a quick query on that guess. -
What tables which will link Ledger to Legal Entity?
I am looking for the scripts to get all the Legal Entity under specific Ledger. In my example, I want to get all the Legal Entity which belongs to "ABC" Ledger. But I do not know what tabes will link from Ledger to Legal Entity.
SELECT GL.NAME LEDGER,GL.LEDGER_ID LEDGER_ID,
glc.configuration_id,
GLCD.OBJECT_NAME
FROM GL_LEDGERS GL,
GL_LEDGER_CONFIGURATIONS GLC,
GL_LEDGER_CONFIG_DETAILS GLCD
WHERE GL.NAME = GLC.NAME
AND GLC.CONFIGURATION_ID = GLCD.CONFIGURATION_ID
AND GLCD.OBJECT_TYPE_CODE ='LEGAL_ENTITY'
AND GL.NAME ='ABC'
>
Please kindly advice.Hi,
Please refer the below view, it gives you the reference between LE and Ledger.
GL_LEDGER_LE_BSV_SPECIFIC_V
Regards,
Yuvaraj.C -
How to create a table which will appear on each sheet
I would like to have one table with some information in the corner of each sheet, but I would like the tables update automatically. Soo.. if I update one of them, rest of them update accordingly.
I thought I would be able to put a table in the header but it didn't work.
Thanks in advance.Conferenceorg wrote:
I would like to have one table with some information in the corner of each sheet, but I would like the tables update automatically. Soo.. if I update one of them, rest of them update accordingly.
I thought I would be able to put a table in the header but it didn't work.
Thanks in advance.
CO,
Program your master sheet with representative data in the cells that you would like to have repeated in the slave sheets.
Prepare a typical slave sheet, with a table programmed to reference the key cells in the master sheet.
Name the slave sheet "Template", or other distinctive name that you will recognize and keep otherwise empty and as a template for new sheets.
When you need a new sheet, Click on the Sheet icon of Template sheet. Then Command-C, Command-V, and rename "Template-1" to identify it as a working sheet.
Regards,
Jerry -
Tables which can give information about the variables
When we on the system information, we can view the table associated with that field. However no table is linked to the variables. How can I pick this information in a query. eg : how can I catch the variable field at row level for the field, price after discount in the table PCH1.
Hi Vivek,
Check this User Query,
SELECT T0.[DocNum], T1.[ItemCode], T1.[DiscPrcnt], T1.[Price], T1.[PriceAfVAT],
T1.[PriceBefDi], T1.[LineTotal]
FROM OPCH T0
INNER JOIN PCH1 T1 ON T0.DocEntry = T1.DocEntry
SELECT T0.[DocNum], T1.[ItemCode], T1.[DiscPrcnt], T1.[Price], T1.[LineTotal]
FROM OPCH T0
INNER JOIN PCH1 T1 ON T0.DocEntry = T1.DocEntry
Regards,
Madhan. -
J1IEX: Balance in Transaction Currency ERROR
All SAP Gurus,
While doing J1IEX: Balance in Transaction Currency ERROR occurs.
This happens only when figures are not even in case of capital goods credit.
Which SAP Note to be applied so that, system will accept odd figures too.
Regards,Hi Rajan, Check the following threads :
Balance in transaction currency
Re: Balance in transaction currency Error -
Table which consists dates of activities
Hello,
I searched for the tables in CRM where activities are saved. I found the table CRMD_ORDERADM_H which consists some informations. Now I search for the tables where the valid from date and the valid to date are saved?
Anybody knows this table?
Regards
PhilippHi Phillip,
The field planned date will appear based on the date profile that you assigned to the transaction type of activity.
Normally the SAP standard date profiles are available which will give the fields planned date, actual date etc.
If you are in GUi then when you click the filed next to start date you can find a drop down of plan date, actual date etc.
If you are on portal then the dateprofile that is assigned to the transaction will be seen in the date tab of the transaction.
let me know if i was clear or matched your understanding.
Thanks
srini -
Table which contains tcodes module wise??
Hi,
Is there any table which holds tcodes modules wise(MM, SD,FI, CO, ABAP etc,.. )??Hi,
Table TSTC will give you list of all transactions.
Regards,
Nikhil -
Best method to design a table which can point to two different entities
I have the following set of tables,
Dimension1, Dimension2, Dimension3
Dimension1 is dependant on the both Dimensions2 and Dimension3, however the data mapping with Dimension3 will be very sparse (say only 1% of data will be available remaining will be NULL). So in this case, per my understnading there are the following
options available,
Option1: Have two columns in Dimension1 table and link them to the respective dimensions (However as mentioned the column which will be mapped to Dimension3 will have very less values ~1%), and have some conditional check to make sure that one of these
two columns shuld always contain a value.
Option 2: Split the Dimension1 table into two tables and map them to the respective dimensions. This removes the NULL aspect however is this is a right thing to do as per the DB design good practices and normalization techniques.
Option3: Add one column (DimensionType) in Dimension1 table which will denote the type of dimension to which the data will be mapped into ('Dimension2' or 'Dimension3') and then add another column which will contain the actual ID and will map to both the
dimensions based on DimensionType column (logically, because physically you cannot map a single column to 2 different entities).
Which one of the above is a good design, also if we say either of option1 or option2 then what will be the case if Dimension3 will be dependant on a new dimension in future. Do we need to add a clumn or create one another table for this? Please let me know
the thoughts.
Regards, Murugan SThanks Visakh
Any other thoughts? or should option1 be considered the best approach given the scenario. Also this implies that if there is going to be a new dependancy in future which does not fit into Dimension2 and Dimension3, the solution is to add a third column in
Dimension1 - Am I correct in the understanding?
Regards, Murugan S
Yes any new dependency have to be represented by a new foreign key column
Now I'm getting one doubt
By new dependency do you mean a new related attribute? Are all these dimensions holding related attributes for the main entity?
If yes then you may merge them to a single dimension ie attribute table like format with a type column to indicate the type of attribute
Then you will always need only a single reference key (column) in your fact
Any new dependency will just be a new record addition in the table with a new type value
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page
Maybe you are looking for
-
Sync outlook with Iphone and windows 7 64 bits
Hello, I have a new computer (HP DV7 3080ef) with windows 7 64 bits, itunes 9.0.2.25 and one iphone 3Gs 3.1.2. I succeed to import from XP 32 bits my library on my new pc, including my outlook (2007) file. I can synchronize my computer with iphone, t
-
New Window for Form called from a form based on a procedure
Hi I have a form that is based on a procedure that asks for an employee number. The number is then passed to the procedure. The procedure then calls the next form passing in the employee number. This works however I would like the form called from th
-
PI 7.1 RAM requirements
OS: AIX DB: Oracle Hi, We have recently installed PI 7.1 EHP1 and with 7GB RAM for 5 concurrent users, the system seems to be paging a lot. The JAVA engine seems to be really slow. Can anyone share their RAM configuration for non-production PI 7.1 sy
-
how do i shorten the length of time each slide is on the screen?
-
Ipod not charging. Blinks 4 times then doesnt work at all.
My Ipod isnt charging it blinks 4 times then it doesnt work at all can anyone help me?