PROBLEM TRANSFERRING MULTIPLE DATA ENTRIES FOR ONE KEY-FIELD.
DEAR EXPERTS ,
I HAVE TRANSFERRED DATA FROM THE FINAL INTERNAL TABLE OF MY ABAP REPORT (NOT ALV) TO CUSTOM Z-TABLE CREATED IN SE11.
BUT MY PROBLEM IS : I COULD NOT TRANSFER MULTIPLE DATA ENTRIES FOR A PARTICULAR FIELD.
FOR EXAMPLE : IN TABLE EKKO THERE ARE FOUR EBELN-4900006375 AND FOR THAT DIFFERENT EBELP S ARE
PRESENT. I COULD TRANSFER ONLY THE FIRST ENTRY , THAT IS : EBELN - 4900006375 AND EBELP - 0010,
AFTER THAT THE ZTABLE IS NOT GETTING UPDATED TO EBELN-4900006375 FOR EBELP - 0020 AND SO ON.
I HAVE TRIED ALL THE ' MODIFY, INSERT, UPDATE ' STATEMENTS. I HAVE USED AT - USERCOMMAND - HIDE AND CHECKBOXES.
PLEASE SUGGEST A SAMPLE CODE FOR THIS.
Moderator message: please post again, but not in all upper case.
[Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
Edited by: Thomas Zloch on Jun 19, 2011 10:05 PM
There are actually 5 queries in this report now. From what I understand about a union query, I don't think it will work here because the data being returned in each of the queries is so different. I basically need to know how to make all the criteria for each individual to be displayed before proceeding to the next data set, which will include the same data as the first, but for the next employee, and so on. I need to basically create a repeating frame with each individual's respective data I guess, but every time I do, it tells me that it's referencing an invalid group.
Similar Messages
-
Multiple data sources for one datagrid?
Hello Everyone,
I have a page that has a datagrid called dgMainGrid. I have
it bound to an HTTPService and it updates fine. But I need to
dynamically bind it to another HTTPService when the user clicks a
button. How can I do that?
Thanks,
AnthonyCome to think of it, is this even possible? How does a datagrid use its dataField parameter to lookup data? I am guessing data_array[row_index][col.dataField] would determine the value of a single cell at row_index and col. If so, my naive approach would require me to override the bracket operator so that the appropriate value is returned..
e.g. when a simple array of objects is used, you have [{name:John, lastname:Smith}], datagridcolumns dataField is then set to "name". Now I will have two separate arrays:
arr1: [{name:John, lastname:Smith}]
arr2: [{name:Smith, lastname:John}]
mergedarray will have a reference to both of them. Then when getKey("name", 1) is called, it will return a special key which can be used to access the name property from array 1, something like "name1". If I cannot override the bracket operator, mergedarray[0][name1] will return nothing.
I remember reading somewhere that this kind of override is not possible. Any ideas? -
Fetch New Data shows two entries for one account
I have on a variety of accounts on my iPhone and my iPad: an iCloud, an Exchange, a IMAP, and a couple of Gmail accounts.
Earlier this week, I noticed that in the "Fetch New Data" setting (Settings > Mail, Contacts, Calendar > Fetch New Data), there are TWO entries for one of the Gmail accounts.
One entry lists "Mail and Calendars." I use this for this particular Gmail account. I have these selected in the "Accounts" section of Settings > Mail, Contacts, Calendar.
The other entry lists "Contacts and Calendars." I don't sync Contacts, but I do sync Calendars. Why is it listed twice?
I tried deleting
the offending Gmail account, but it did not delete the duplicate entries.
erasing all settings
all of my accounts, including iCloud, IMAP, and other accounts.
The ghost account is still there, fetching calendars and contacts.
Has anyone else seen this behavior?
I considered erasing settings and content, but that seems pretty extreme for something that might not be that big of an issue.Exact same problem here!!! Iphone 5s with IOS 7.0.3, using Gmail among other email providers.
So it is definately a bug - the "fetch new data ghost account". I hope it will be solved in a newer release. In the meantime, I switched the ghost account to "manual" so it shouldn't interfere... -
Multiple free goods for one item in standalone CRM
Hi Gurus,
We are trying to implement multiple free goods for one item in standalone CRM.
As per SAP.help.com, it says that we can configure multiple free goods scenario in standalone CRM system.
We tried to set up this in our system. Basically we want to implement the scenario, where a user wants to purchase item A, he should get a prompt for choosing between two free goods B and C.
We did the relevant IMG settings required for Free goods at IMG ->CRM -> Basic Functions -> Free Goods.-> Set up Free Goods
We also did the relevant item category determination where we have made an entry with
Item Usage = " Free Goods" , Main item cat. = "TAN' , Item Category = "TANN".
Now we went to create condition records in the path "SAP Menu -> Master Data -> Prices and Conditions -> SAPCND/GCM - Maintain condition"
We chose Application ="PRT", MaintenanceGrp="PRT_FGOODS", Maintenance context ="GCM"
Then while creating conditon records , when I try to create two condition records where the Main Product is same but free good product is different, the system is not allowing to save these two condition records.
it is giving error "Overlapping validity periods for two condition records".
Please advice, if i am missing something. Thanks in advance for your help.
thanks,
Randhir
Edited by: Randhir Soni on Feb 8, 2010 8:12 AMConstraints in free goods in R3 taken from SAP library
Free goods can only be supported on a 1:1 ratio. This means that an order item can lead to a free goods item. Agreements in the following form are not supported: u2018With material 1, material 2 and material 3 are free of chargeu2018 or u2018If material 1 and material 2 are ordered at the same time, then material 3 is free of chargeu2018.
Free goods are not supported in combinations with material structures (for example, product selection, BOM, variants with BOM explosion).
Free goods are only supported for sales orders with document category C (for example, not quotations).
Free goods are not supported for deliveries without reference to a sales order.
Free goods cannot be used in make-to-order production, third-party order processing and scheduling agreements.
If you defined a free goods for variants in a generic article (only SAP Retail), you can only process the variants in the purchase order and goods receipt individually (as single articles). In other words, you cannot process them using the generic article matrix.
This answers your qn Not possible in R3
If you are on Retail scenario this is possible thro bonus buy schemes
But a lot of customizations needs to be done and you need a retail server to do that
Regards
Raja -
No entry for account key 1002 in HRA transaction key in Account assignment
Dear sap-gurus,
the following problem occured. When posting a document (s-modelling), system displayed an error that there is no entry for account key 1002 in HRA transcation key in SPRO Account assignment.
The document's size is very big, it considers many lime items in it. May be this happened because of this?
In F1 for SPRO Account assignment we have:
In this step, you assign a document split account to an account key. This is a clearing acount (Transaction HRA) in Accounting.
For various reasons, payroll data that is formatted for posting to accounting must be split into several documents per posting run. In Human Resources (HR), key 1001 is used for the breakdown of documents. A breakdown occurs if:
There are several company codes
There are different posting dates
There are postings to G/L accounts, customer accounts, vendor accounts
This is specified in the step Create Posting Variants (for example, document breakdown for expenses and payables)
The document split account that is stored under the key 1001 is also used to clear the balance within a G/L account document for each business area.
An additional split may be required depending on the size of the document in Financial Accounting. In this case, the clearing account specified under account key 1002 in transaction HRA, is used as the document split account.
Further notes
To avoid problems in current operations, it is advisable to set up a document split account even if a document breakdown is not necessary. In this way, you can avoid having to set up the system at short notice if changes are made to the settings or if there is an increased number of postings, or if cross-company code transactions occur.
We have an entry 1001 and a clearing account for postings between several company codes. What are we supposed to do? How to avoid this error and post the documents to FI? Please, help!
Best regards,
EldarHello,
How did you resolve this issue? Any inputs anyone.
John -
How to store multiple values associated to one key
hello all
In my program I need to store "multiple values associated to one key".
for example : key would be ="T"
Values are = 2,4,5,1,2Plz tell me which data structure I can use for this purpose.
I have tried Hashtable for it, unfortunately it does not support duplicate keys in one Hashtable.
Thanx.
RakeshThe easiest thing to do, is store another data structure as your value for a
particular key. So "T" being your your key, you would associate the value
to be an int[] (if you know the number of sub values) or create a new Vector
for each key, then you don't have to worry about the number of values at
compile time. All the while still using the Hashtable for constant time
look up. So like this:
public void storeMultValues(int[] arr)
Vector v = new Vector();
v.add(new Integer(1));
v.add(new Integer(2));
v.add(new Integer(3));
this.hashtable.put("T", v);
}See if you can work with that.
-Cludge -
EEWB: Insert New Table with more than one key field for BP object
Hi Gurus,
I want to enhance Business Partner object with a new table with two key fields, one the address number and another a sequence number, because I need to save several entries for each address belonging to a determined business partner. Something as what happens in communication data (i.e fax number)for an address.
I have run the wizard from EEWB but the only possibility that offers you is to create only one key field for the new custom table. There is something in EEWB to achieve this, two key fields for the new table?
Another question is the following: which Badi or BAPI must I enhance to populate my table with the corresponding address number to which the data belong to?
I mean my custom data are filled through a table control that I have allocated within the screen sequence BUA130 (Detail Address). Thus, when a new address is added to a BP and my particular table control is populated within this address I should fill the key fields from my table (address number and sequence number) when the BP were saved. So, I must know beforehand which address number the system will assign to this new address.
I repeat the question: which Badi or BAPI must I enhance to populate my table with the corresponding address number to which the data belong to?
Thanks in Advance.
Regards,
Rosa FerrandoHi Rosa,
Please go through the following links. It will help you.
<a href="http://help.sap.com/saphelp_crm50/helpdata/en/20/a4ffee7e0fcc4ebb7e5466d3903d38/frameset.htm">http://help.sap.com/saphelp_crm50/helpdata/en/20/a4ffee7e0fcc4ebb7e5466d3903d38/frameset.htm</a>
<b>Reward points if it helps.</b>
Regards,
Amit Mishra -
Multiple Data entry profiles in ESS -Webdynpro?
Hi All,
We have an issue here with the data entry profile.
The current system(ITS with 4.6c) has multiple data entry profile, from which the employee can select the profile according to the personel area, he is in. ( Employee can have multiple data entry profiles ) .
But in new frontend Portal, we dont have such option in EP 7 how can we achieve this in ESS- Webdynpro applications.
Need your valuable inputs on this.
Regards,
NRHi,
The newer version does not allow you to enter multiple ESS Profile. You will have to define one profile for the CVR parameter. If you think you the ESS User needs multiple profiles, its better to revisit those profiles and change them so that each user gets one profile that fits his time entry.
If you search in this forum, I think one earlier post had a good informative discussion about the same.
Thanks,
Ravi -
BEx report -two different calculations for a result for one key figure how?
All,
Maybe someone could help me with the following, we have a requirement to setup for one key figure two calculations for result rows. One result (average) for one level, and on a higher level -grand total have a (sum), as for our business it makes sense to do it this way. We have setup average for this KF, we get correct results (see below values 7,5 & 6,5) however for the grand total (across multiple products) so for one level up we need to have a different calculation. How could we achieve this?
Here is an example:
location product inventory
AAAA 11111 5
AAAA 11111 5
AAAA 11111 10
AAAA 11111 10
AAAA Result 7,5 ---> average
AAAA 22222 5
AAAA 22222 6
AAAA 22222 7
AAAA 22222 8
AAAA Result 6,5 -
> average
AAAA Result (across products) 14 ---> here I want to have a sum of averagesThis could be achieve only IF you upload a hierarchy for product inventory with different levels, wherein each level show subtotals and finally grand total will be shown at the end of the results.
-
Multiple free goods for one main material
Hello SAP Gurus,
we have a business requirement that to issue multiple free products for one main product, if the upliftment is beyond the specified quantity.
Using free goods functionality, is it possible to achive the above requirement.
e.g Quantity
main product 123456 10
free goods xxxxx 2
free goods yyyyy 1
is it possible to maintain such data thru free goods or any development needs to be done.
regards
CasimerConstraints in free goods in R3 taken from SAP library
Free goods can only be supported on a 1:1 ratio. This means that an order item can lead to a free goods item. Agreements in the following form are not supported: u2018With material 1, material 2 and material 3 are free of chargeu2018 or u2018If material 1 and material 2 are ordered at the same time, then material 3 is free of chargeu2018.
Free goods are not supported in combinations with material structures (for example, product selection, BOM, variants with BOM explosion).
Free goods are only supported for sales orders with document category C (for example, not quotations).
Free goods are not supported for deliveries without reference to a sales order.
Free goods cannot be used in make-to-order production, third-party order processing and scheduling agreements.
If you defined a free goods for variants in a generic article (only SAP Retail), you can only process the variants in the purchase order and goods receipt individually (as single articles). In other words, you cannot process them using the generic article matrix.
This answers your qn Not possible in R3
If you are on Retail scenario this is possible thro bonus buy schemes
But a lot of customizations needs to be done and you need a retail server to do that
Regards
Raja -
Converted XML not showing multiple data entries correctly
Hello
I am creating a PDF Form from a xsd scheme but when I have data that could require multiple entries the converted xml is a mess. I am curently trying to create a way to add fields for multiple children. I created an expanding table and the fields are automatically copied when I click on „+“ or are deleted when I click on „-“ . If I have multiple rows for children then the converted xml looks like this :
The correct xml for multiple data entries should look like this (this is from a xml scheme not made in LiveCycle) :
Even if I copy the fields without creating a table, the converted xml is still a mess just like on the first image. Is there a way to show the xml from the PDF from correctly. I linked the xsd scheme that I am using for the PDF form: https://drive.google.com/file/d/0B30LkLSwYgB4SFN5bTkyLW1fOVU/edit?usp=sharing
Best regards
IvicaHello
I am creating a PDF Form from a xsd scheme but when I have data that could require multiple entries the converted xml is a mess. I am curently trying to create a way to add fields for multiple children. I created an expanding table and the fields are automatically copied when I click on „+“ or are deleted when I click on „-“ . If I have multiple rows for children then the converted xml looks like this :
The correct xml for multiple data entries should look like this (this is from a xml scheme not made in LiveCycle) :
Even if I copy the fields without creating a table, the converted xml is still a mess just like on the first image. Is there a way to show the xml from the PDF from correctly. I linked the xsd scheme that I am using for the PDF form: https://drive.google.com/file/d/0B30LkLSwYgB4SFN5bTkyLW1fOVU/edit?usp=sharing
Best regards
Ivica -
Master data records with one key
Hello All,
I have scenario that I need to load the master data records with one key.
For ex--
Cluster Dcode version
5000 DC1 2008
5000 DC1 2008
5001 DC1 2009
Could you please let me know possible ways.
ThanksIn your case if Cluster is the key then the underlying attributes data will be overwritten when the same cluster key comes.
as per you example data finally it loads only two records in to the target, since first two records key is same.
Hope this helps.
Veerendra. -
IDOC: Problem with data filter for IDOC extension field
Hallo!
I've created an idoc extension for the basic type DEBMAS06 that works fine. Now I want to use a data filter for one field ( company code ) of my segment. Every segment with a company code different from 100 should be filtered and not send to the other client. But what happend is that for all customers that have at least one company code different from 100, all segments including the one with cc 100 were deleted and a error "Segment ... does not exist for message type DEBMAS" appeared on the screen.
Does anyone have any ideas about this problem?Not sure about changes to be made at the filtering options.
An alternative would be sending the data to XI as it is and perform the mapping to remove the unnecessary segments.
Disadvantage: Unnecessary processing of segment would be done at XI.
Advantage: The integration logic would be completely handled by XI.
Regards,
Prateek -
Multiple db connections for one report
Hi all,
I am using Oracle Reports 10g R2. Could someone tell me if Oracle Reports supports multiple database connections for one rdf file, like this (using servlet)
http://your_web_server:port_num/reports/rwservlet?server=server_name&report=myreport.rdf& userid1=username/password@my_db1&userid2=username/password@my_db2 &desformat=pdf&destype=cache
I am asking this question because my report needs data from two separate Oracle databases.
Edited by: user12239004 on Apr 27, 2010 2:14 AMNo, you can only have one login.
However, this is simple to resolve by creating a database link in one database to the other database. -
Is this possible to already reserve 2 TB of space on a data drive for one database
Is this possible to already reserve 2 TB of space on a data drive for one database.
Please suggest how to do this.
Best regards,
VishalYou can either change the current filesize of current files in your database or add new file(s) whose current size is 2TB by using the ALTER DATABASE command. If you don't have instant file initialization, adding 2TB to data files can take a long time.
If you are adding 2TB to log files that can take a long time whether you have instant file initialization or not. For info on instant file initialization see
http://technet.microsoft.com/en-us/library/ms175935%28v=sql.105%29.aspx
and
http://sqlblog.com/blogs/tibor_karaszi/archive/2009/03/09/do-you-have-instant-file-initialization.aspx
In addition, there are several good links in the comments to Tibor's blog entry, especially the links to Paul Randal's blog.
Tom
Maybe you are looking for
-
other sites works fine ... thanks !!!
-
Does xa transaction enable by default for reads also?
Our environment is weblogic 11g, oracle, jms and mostly webservices. Using XA driver. datasource as TX Transactions are working fine for all the updates, we are wrapping the statements with begin, commit/rollback. Problem is, it is also using the tra
-
OIM 9.1 Upgrade Question
Just finished upgrade from OIM 9.0.3.2 to 9.1. Diagnostic Dashboard seems to verify that all files and libraries are v9.1. However when I log into the Web Admin Console it still says "Oracle Identity Manager 9.0.3" at the bottom> Did I miss something
-
Hi Can anybody explain about 1) what is the BW project Architecture? 2) What is the project landscape? please forward documentation on these topics [email protected] thanks in advance dj
-
No status shown in system status field.
Hi All, In our project structure, system status field is blank. No status is shown in the filed(like; CRTD,REL, etc..). Please suggest how to resolve it. Thanks..