Multiple key items for a single data item?
hi all. In my application multiple key items may have the same data item, such as:
key data
1 abcd
1 abcd
1 abcd
2 efg
2 efg
but it may lead to a lot of duplicate storage spaces. I can use two dbs by giving each data item an ID, just like:
db1
key data
1 1
1 1
1 1
2 2
2 2
db2
key data
1 abcd
2 efg
is there any other simple solutions? thanks in advance
Hello,
This sounds like a data modeling question. I think your solution is reasonable, though you'll get a lot of good ideas and info if you read up on normalization for relational schemas - there's a ton of literature out there. Just do a search for "database normalization".
Normalization is intended to eliminate redundancy and also avoid various update anomalies.
Warm regards.
ashok
Similar Messages
-
Two customs Invoices for a single PO item
Hi,
For a Purchase Order line item we have already posted a custom invoice and goods receipt done for partial qty.
The Customs invoice was also done for Partial qty.
Now the second consignment is arrived and we want to post the custome invoice for the remaining qty.
While trying to post the same,system is giving qty error....
Quantity invoiced greater than goods receipt quantity
Message no. M8081
As this is a Import PO the "GR based IV" is not ticked...
Cant we post two custom invoices for a single PO item.....any suggestions....
Regards,
RajeshHi,
I am thinking of converting the message M8081 - Quantity invoiced greater than goods receipt quantity to warning message.
This will resolve my issue which I am facing for multiple customs invoice for a single PO line Item.
I have two similer message configured in my system
M8081 - Quantity invoiced greater than goods receipt quantity
M8504 - Quantity invoiced greater than goods receipt quantity
Both are error messages.
My understanding is that the first one is used where the Indicator for "GR based IV" is unticked in PO and the secod one is for the GR based IV is ticked.
Your opinion on this..so that I can understan the implication
Rajesh -
Multiple PO's for a single PR reg
Hi,
The system incorrectly allows multiple PO's for a single PR.Then,I configured message no 00 06 076 & 400 as a error message and system is not allowing mutiple PO's for single PR and if PO Qty is greater than PR it's not allowing and it's ok.
Now the issue is If PR qty is 2 and as per requirement 1 qty for one vendor and one more qty for some other vendor and two PO's are to be created and the system is not allowing and throwing error message.
Can you pl.throw some light on this issue.Hi
It is not incorrect to have multiple POs for single vendor as we might have different vendors for the same item. Secondly the message setting what you have on 00/06/076/Materials of requisition & item & alr. ordered in full- E is used to stop POs being created from the PR once PR quanitity gets consumed.
Now i do not think system will ever stop you from allowing to create multiple POs for a PR if you are distributing the Quantities between different vendors.
By setting the message 00/06/400/Materials/services for requisition & & already ordered with & & to E mode you are blocking the PO creation with altaernate vendors change it to warning mode.
Regards
Edited by: samuel mendis on May 8, 2009 8:42 AM -
How to create the multiple spool requests for a single report.
Hi gurus,
I have one requirement to be completed , i need to send the out put of the report via mail in pdf format. for that what i did was, iam executing report in background and creating spool request and converting it to pdf and sending the file.
now the problem is, its a customer ledger report, for each customer i need to create a new spool request and send mail to that particular customer, now my dought is how to create multiple spool requests for a single pro and how i need to go about it.
And one more question is can we create a spool request for a report which is running in online.
waiting for inputs frm gurus.Hello,
As per my knowledge for creating new spool id you will have to set
output_options-tdnewid = 'X'.
and then using
job_output_info-spoolids
create a pdf using
call function 'CONVERT_OTFSPOOLJOB_2_PDF'
Rachana. -
Multiple Partner Functions for a Sales document Item
Hi,
Can you please advise on modeling scenario for showing multiple partner functions for a given sales document in BI Report ..
Because Key figure values should not be distributed for multiple records just becos of multiple partner functions but users want to see them in the reports along with sales doc and key figure
I am explaining bit more clearly...
I can achieve above requirement by having below model ..
SDOC ITEM PF1 PF2 PF3 AMOUNT
1000 10 AB CD EF 50000
PF : Partner Function
but as I feel it is a complicated task to add more and more columns fro partner functions as and when new partner functions have been added or requested to show by users at sales doc level...
So Can you please advise a better solution to meet the same requirement.
Thanks & Regards,
BRK
Please advise me on this scenario
Thanks & Regards,
BRK
Edited by: BRK on Jul 22, 2008 9:19 AM
Edited by: BRK on Jul 22, 2008 9:29 AMSalesDoc______Item_______PartnerFunction________Amount
80000_________10_____________A1_______________$1000
80000_________10_____________A2_______________$1000
80000_________10_____________A3_______________$1000
This will be the normal display in the cube if there is only one Partner Function.
But what we need is
SalesDoc______Item_______PartnerFunction________Amount
80000_________10_____________A1_______________$1000
80000_________10_____________A2_________________' '
80000_________10_____________A3_________________' '
The Amount (KF) should be populated only for the first record for a SalesDoc / Item combo.
You load data from source to the ODS, say delta.
Suppose that the below record is already available in the ODS.
SalesDoc______Item_______PartnerFunction________Amount
80000_________10_____________A1_______________$1000
And you get the following data as DELTA in the Data_Package from the source.
SalesDoc______Item_______PartnerFunction________Amount
80000_________10_____________A2_______________$1000
80000_________10_____________A3_______________$1000
If you populate the Amount again for these 2 records, then the total would sum to $3000, which is wrong.
So what we do is,
Write a Select stmt for ALL ENTRIES in Data_Package and fetch the records from the target ODS. Have it in an Internal table, say t_ODS1
Take the SalesDoc / Item from the Data_Package and chk if it is present in the internal table t_ODS1.
If it is present, then populate the Amount as ' ' (Blank)
Else populate the Amount as $1000.
Say, you are getting 3 new records, which is not present in the ODS1.
In that case, your internal table t_ODS1 will be blank.
Now again, we need to populate the Amount only for the first record among the 3 records.
So, here comes the "Flag".
Set the Flag as X, when we populate the Amount.
Everytime chk the Flag <> X.
Only if it is <> X, populate the Amount.
Else Leave it Balnk.
Hope I have explained in detail
Regards,
Balaji V -
List item w/ multiple data items - how to select data items?
I have a list component (myListBox) that is showing the
labels for some data items read in from an XML file. Each item in
the list has an associated name, description, and path (they're mp3
files) and they are named accordingly in the XML tags.
Using myListBox.selectedItem.label gives the correct label
but myListBox.selectedItem.data is undefined. I've tried using the
XML tags after the data selector (e.g.
myListBox.selectedItem.data.path) but those don't work, either. All
of the examples I've found in the docs show only a single data
element associated with each list item.
So, if a list item has multiple data items associated with
it, how do you select them using the listBox.selectedItem property?
TIA,
rgamesQ2. when I type "Oracle" in A long list item box, cursor is going to the initial character "O" , so I can find "Oracle" in A long list item box easily.Maybe , but of course your list gets smaller as you see only the entries starting with a "O" , except if there are entries in the list which all start with the letter "O" so the total number of entries in the list is equivalent to the number of entries start with "O"...!!!!!!!!!
My greetings,
Simon -
Multiple production orders for sales order line item
hello Guru's
In our case Requirements are created in 2 ways
Case 1:
1) Sales Orders are created at Plant level with schedule line category CP
2) Sales Orders are created at Depot level
In the above mentioned 2 cases the requirements are taken as inputs and the process is carried at plant level
Step 1: Automated MDO3.
Sales Orders are created if there is short fall of the Quantity at the Depot and Plant Sales Orders are raised against the plant for which the requirements are generated and MRP run is carried out at Single Item single level.
Step 2:
For the results of the step1 are then transferred and Production orders are created for the planned Orders.
The issues is whenever there is change in confirmed quantity or change in confirmed date the requirements are considered again as inputs and the multiple production orders are getting generated for the single requirement
Actually we dont want this to have multiple production orders
regardsHi,
Can you let us know the strategy group used for this material ? If i understood the query correctly, each time there is a change in the sales order (i.e. increase in qty), there is a triggering of new planned orders to meet that demand.
Regards,
Vivek -
In Capital P.O - Multiple asset number in a single line item
Hi friends,
My Client is using SAP 4.7. In capital P.O selecting account assignment as 'A' asset and entering in description as Laptop 5 Qtys in a single line item. in item details account assignment tab its asking to enter asset. I'm able to select only one asset number. But my client requirement is it should ask to enter 5 asset number....
Pls anyone give solution for the above scenario....
very urgent.... plsHi,
1st check in OME9 t.code for account assignment A, the selection of 2(Multiple account ***)in field ID: AcctAssgt Scrn and Distribution field as 1 and save.
Then during capital P.O. creation for single line item & in Item details TAB, in account assignment segment, you can enter qty with asset number (A1) with G/L account for 1st Line and for 2nd line keep qty. with asset number(A2) with G/L account ( different G/L Account) OR enter qty with asset number (A1) with G/L account for 1st Line and for 2nd line keep qty. with another asset number(A2) with G/L account (same G/L Account)
Option-1----> In account assignment segment , As you needed
G/L account----
Asset
12345u2026u2026u2026u2026u2026u2026u2026u2026A1
12346u2026u2026u2026u2026u2026u2026u2026u2026A2
12347u2026u2026u2026u2026u2026u2026u2026u2026A3
12348u2026u2026u2026u2026u2026u2026u2026u2026A4
12349u2026u2026u2026u2026u2026u2026u2026u2026A5
Having a concept that GR is non-valuated and accounting entries in invoice (without tax) are:
Vendor A/C: Cr
G/L account (12345): Dr
G/L account (12346): Dr
G/L account (12347): Dr
G/L account (12348 ):Dr
G/L account (12349 ):Dr
Option-2---> In account assignment segment , You can have also
G/L account----
Asset
12345u2026u2026u2026u2026u2026u2026u2026u2026A1
12345u2026u2026u2026u2026u2026u2026u2026u2026A2
12345u2026u2026u2026u2026u2026u2026u2026u2026A3
12345u2026u2026u2026u2026u2026u2026u2026u2026A4
12345u2026u2026u2026u2026u2026u2026u2026u2026A5
Having a concept that GR is non-valuated and accounting entries in invoice (without tax) are:
Vendor A/C: Cr
G/L account (12345): Dr
Regards,
Biju K -
How to calculate Time difference for a single line item
Hi All,
I have an issue where you have to calculate the Start time and End Time , Start Date and End Date for a particular Work item number
For eg ;
WI_ID WI_CD WI_CT
000001312610 02/09/2009 09:48:4 02/09/2009 09:48:9
000001312610 02/09/2009 09:54:4 02/09/2009 09:54:9
000001312610 02/09/2009 09:54:5 02/09/2009 09:54:9
000001312610 02/09/2009 10:07:0 02/09/2009 10:07:9
000001312610 02/09/2009 10:07:0 02/09/2009 10:07:9
000001312610 02/09/2009 10:16:5 02/09/2009 10:16:9
000001312610 02/09/2009 10:16:7 02/09/2009 10:16:9
Similarly I get the Endtime and ENd dayfrom other table for same work item.So my requirement here is
in the it should show the display in a single cell .as, 5secs, 5 secs,4 secs,9secs,4 secs,2 secs
for each work item.
Can any body help me on this issue.
Any pionters for this are much helpful for me.
Thanks
Rohini.Timestamp is date and time together in one field..
Search for data element TIMESTAMP.
If you are getting this in your table.
If you are getting time and date in different fields then you can use the function module
given below....
CALL FUNCTION 'DELTA_TIME_DAY_HOUR'
EXPORTING
t1 =
t2 =
d1 =
d2 =
IMPORTING
MINUTES =
Then you can convert minutes into seconds..
Function module credit to BrightSide it works....but only it will give difference in minutes
Regards,
Lalit Mohan Gupta. -
Multiple invoice line items posted as single line item in FI
Dear Gurus,
My client has a specific requirement.
We are required to maintain a rebate condition at item level. In the invoice the values of rebate conditons are appearing as per the line item. This rebate condition has been maintained as statistical and accrual key has been assigend to it. Respective configuration has been done in VKOA. Accural check box has been activated for the rebate condition type.
Now when we are posting the invoice to FI, client requires that instead of line item wise posting of accrual amount it should post entire accrual amount in the single line item. In other words it is like posting of header amount directly, without any line item wise splitting.
Please help me ASAP.
Thanks in advance.
Regards
Piyush RanpuraDear Friends,
I am thankful for your replies. But probably I was not able to put the issue is the proper manner. Let us consider this example -
Mat. codes - M1, M2, M3 & M4 Rebate cond. - ABCD Accrual key - ABC GL - 12345678
In the invoice, rebate values are determined as follows for the each line item -
For Line item 10, Material M1
ZSHA - 100
For Line item 20, Material M2
ZSHA - 125
For Line item 30, Material M3
ZSHA - 100
For Line item 40, Material M4
ZSHA - 75
While the invoice is released for accounting follwing entries are there
xx 1 xx
xx 2 xx
xx 3 100 12345678
xx 4 125 12345678
xx 5 100 12345678
xx 6 75 12345678
xx 7 xx
xx 8 xx
But my requirement is
xx 1 xx
xx 2 xx
xx 3 400 12345678
xx 4 xx
xx 5 xx
How it could be done?
Thanks & Regards
Piyush Ranpura
Edited by: Piyush Ranpura on Sep 1, 2010 9:10 AM -
Withholding tax postings for a single line item during invoice posting
Hello folks,
I have a question from my client about withholding tax postings during invoice postings.
Scenario is
1. There's a PO with multiple line items.
2. A vendor invoice is posted against this PO which has multiple line items. Not all line items are subject to WHT. Is there a way to post WHT specific to a line item while doing MIRO.
3. One line item without WHT and another one with WHT in the same invoice.
Inputs are highly appreciated
Thanks,
SasidharDear Sasidhar
while posting document remove the withholding tax code manually then system will not post the w/h tax.
in your case select vendor line and remove the tax code then system will not calculate the tax.
another line dynamically calculate the tax.
Regards
Madhu M
Please refer the below wiki pages.
http://wiki.sdn.sap.com/wiki/x/UgTpCw (Rupee word Format)
http://wiki.sdn.sap.com/wiki/x/8oMEDg ( J1INEMIS )
http://wiki.sdn.sap.com/wiki/x/2BAMDg ( J1INACKN )
http://wiki.sdn.sap.com/wiki/x/3xAMDg ( J1INCCREP) -
Question on "No Selection" Item for a dropdown data list?
I'm trying to set a dropdown data list on an input form to have a default value. It appears that the first item in the list (which will show as the default) is always interpreted as a null value? Is there a way to display a default value that won't be interpreted as null? Does NullValueFlag affect this behavior and if so, how? In the example below, I want 'United States' to be the default value and not be interpreted as null.
From the Online help - 'Using Complex UI Components'
"The selectOneChoice component supports a null value, that is, if the user has not selected an item, the label of the item is shown as blank, and the value of the component defaults to an empty string. Instead of using blank or an empty string, you can specify a string to represent the null value. By default, the new string appears at the top of the list of values that is defined in step 3"
<list id="View1country" IterBinding="View1Iterator"
ListOperMode="0" StaticList="true" NullValueFlag="1">
<AttrNames>
<Item Value="country"/>
</AttrNames>
<ValueList>
<Item Value="United States"/>
<Item Value="Canada"/>
</ValueList>
</list>Hi,
No, there's no point in handling exceptions that can't possibly occur, and the UPDATE statement you posted can't possibly raise a NO_DATA_FOUND exception. -
Broadcasting via Bursting to multiple email address for a single vendor cod
Hello -
I have a requirement to broadcast out a web template based scorecard to multiple email addresses for a given vendor code. We have gotten it to work via a single email address, but I need to send it to more than one email per vendor code.
Has anyone else tried this?
Thank you!Hi Chris,
If my understanding is right, you must be using the master data of vendor Code(Which has an attribute to store Email IDs).
You can add multiple email ID to the same master data separated by semi colon ";"
If you are using user IDs instead, I dont think it is possible to use multiple user ID in the same attribute.
in this case you need to enhance the master data with a new attribute to store the second user ID and the create a separate setting for this attribute.
Hope this helps.
Regards.
Shafi. -
Print MULTIPLE sales order for a given date
Hi Gurus,
My requirement is to print sales order for a given date like the one given below.
VL71 - Output from Outbound Deliveries
VL74 - Output from Handling
VF31 - Output from Billing
VOK4- Output Determination: Inventory mgmt.
Is there any T.code for printng multiple sales order instead one-by-one printing using VA02/VA03?
Please hlep me in this regard.
Regards,
AnbuHi anbu,
This is very much possible to mass printing for sales orders.
Goto SE38 T.Code.
Enter the program name as "RSNAST00".
Press Execute or F8
Select output application as "V1" which is sales.
Enter your object key here.
Enter your output type.
Select the transaction medium as "1".
Tick "send again".
Press on Execute or "f8".
Regards,
Krishna. -
Mass change of payment in customer line item for all open line item.
Hello,
We have updated the new payment as per the new agreement with customer in customer master. We want this new payment term should also be updated in all the open invoices which are not cleared. Is there are way we can do the mass change in Payment term as the open line item in the customer where line item are more than 50. Please let me know the transaction code for the mass change of payment term in Customer account balances.
Thanks and Regards,
Rajesh Kumar MantriHi
you can find the way to change the payment terms
first check weather the payment term field is having change option in your document change rules in the line item for you customers.
Financial Accounting (New)Financial Accounting Global Settings (New)DocumentRules for Changing DocumentsDocument Change Rules, Line Item
if the payment term BSEG-ZTERM(payment term) is there for your customer and having deselcted check box for changing document you cannot change payment term for your company code.
This can done client level or company code level.
if the payterm can be changed you do changes to payment terms mass level.
Thanks
ANJI
Maybe you are looking for
-
Hello, I've successfully installed OBIEE 11.1.1.5 and I'm starting testing the new 11g features. One problem I've run into is fairly simple in definition: how can I filter a KPI through a watchlist or a strategy map? I know that in defining watchlist
-
Hi, I wanted to unlock my at&t iphone 3gs that i had for 3 years. i was told to back up the data on my phone and then restore it as new. now i don't have any data i had before it was restored. how can i get that data back onto my iphone 3gs? can
-
Sent emails not saved in Mail 8.1, how can I see them?
Hello, Sent messages are not always saved in Apple Mail (v8.1). I double checked my sent preferences for all my email accounts, resynchronize them and rebuilt the mailboxes, and still not all sent messages are displayed. How can I retrieve them? Plea
-
Do I need to get an inverter or just the lcd screen?
I tried posting before and it didn't show up, so here I go again. I broke the screen on A1350S4527 laptop. I am able to hook it up to an external monitor and it works fine. I have looked at posted instructions online for replacing the screen and o
-
Help! Just lost 1200 songs!
I just updated my itunes on my computer, plugged in my ipod and it deleted over 1200 songs on my ipod. These songs were deleted off my computer for space...how can i get them back. Thanks sooo much for any help.