Updating KFig with diff. Units to same one
Hi experts,
I am trying to update a Kfig form two different infosources with Kfig having different units. Unit for one is fixed ie, EA and for second one is 0base_oum but again is made constant from TR rules. Now when I try to create update rules for updating both in single KFig having unit matched to one, I get an error for second one like target and source units are different. Is there any wayout to accomplish w/o changing Infosource?
can you create routine in the update rule on the perticular key figure. select the check box create unit in the routine.
try this and let me know. one question... did you changed this update rules? i mean did you assigned EA in UR.
all the best.
Regards,
Nagesh Ganisetti.
Similar Messages
-
Updating user with Org Units using NSAPI
We have a requirement where we need to update users with different Organizational Units using an external system. The integration guide lists an NSAPI that might be used for this operation, Create/Update Person. This just says that we need to use the XML received from a Get person details API and use it as a request XML.
The problem we are facing is figuring out where to place the new Org Unit details in the request XML.Would anyone know about that detail.
Is this even the correct API for achieving the requirement or are we looking at the wrong thing hereHi,
I've changed the input type to select(multiple) for that field and it works fine when I order it from the portal directly. Its able to set multiple values into the field when an sql query return more than one row.
The problem only occurs when I use the RAPI for making a request to that service.
The structure I use for passing data to that field is:
<req:Field>
<req:name>FieldName</req:name>
<req:value>
<req:string>Value1</req:string>
<req:string>Value2</req:string>
</req:value>
</req:Field>
which is what you've pasted above.
Even if I stop sending any value to this field and only send values to other single value fields, it still gives the same error message. -
To create 3 diff files with same content but with diff names in same target
Hi SapAll.
i have got a a requirement where pi need to create 3 different files with same content but with different names under same target from a single Idoc.
its an IDOC to 3 File Inteface.
can any body help me in providing the differnt solutions for this without use of any script executions.
will be waiitng for response.
regards.
Varma> i want to use only one communication channel to produce 3 different file names with same content ,so here i should use only one message mapping in 3 operation mappings .
This is not possible to produce 3 different file names with single CC. You have to use 3 different CCs. unless you have going to use some other trick e.g some script to rename the file etc..
As I suggested in my previous reply use Multi-Mapping Or create 3 different Interface Mappings (by using the same MM).
Note: You have to create 3 different Inbound Message Interfaces (you can use the same Inbound Message Type) otherwise while creating the 3 Interface Determination it won't allow because of same Outbound & Inbound Message Interface. It will simply say Interface alreday exists..
So, just use the Multi-Mapping which is best solution in my opinion, because the benefit of using multi-mapping are:
1. You have to create only single Message Mapping
2. Single Interface Mapping
3. Single Receiver Determination
4. Single Interface Determination
5. 3 Receiver CCs (3 you have to use in any case)
6. Performance wise it is good (read the blog's last 2 para)
7. And last but not the least easy to maintain the scenario. -
How to update BOM with diff. ECN
Hi Team
During change in BOM using ECM, I am allowed to change it with same ECN. If we change it with diff. ECN, it keeps the history of previous ECN.
Foe example a BOM has 3 diff. items, which is created with ECN: 001.
Now if we delete 2 items & add 1 item, then system displays all the items with respective change no.
i.e. Total 6 line items are displayed.
Pls suggest solution.
ThanksHi Bhushan,
For your case you need to :
Create a different Change Number through T Code: CC01 and create a new BOM (for the same material as it exists without ECN agaist any components) with this new change number. If you now delete / add some components (after you enter the BOM with this new ECN) ;it will be exclusively be recorded with this ECN.
If you use the same ECN; and do further changes at the components; all chages till date will be recorded as you have mentioned.
Thanks,
Ravi. -
Printer: Driver Update Problem with HP 6700 All In One Printer
My HP 6700 All in One Printer is not set up correctly on my laptop (16 months old),. I need to update the Driver but the auo system says the driver can not be found, when I try to do in manually it loads onto my lap top but does not update the printer. Any suggestions?
Hi,
I request you to try the following:
For network connection:
http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03086294&tmp_task=useCategory&cc=us&dlc=en&lc=e...
For USB:
http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03521864&tmp_task=useCategory&cc=us&dlc=en&lc=e...
Although I am an HP employee, I am speaking for myself and not for HP.
Say thanks by clicking the "
Kudos! Thumps Up" which is on the right
Make it easier for other people to find solutions, by marking my answer with "Accept as Solution" if it solves your issue
Regards,
Ray -
Update column with subquery returning more than one row
Hi Everybody,
Please let me know how to handle this. I am writing update statement in procedure with subquery and it is returning multiple rows. Please help me, how i can handle this :
UPDATE TABLEA A
SET A.ERROR_MESSAGE = (Select B.XERROR_MESSAGE from TABLEB B, TABLEA A WHERE B.id = A.id)
WHERE A.id = (Select B.id from TABLEB B, TABLEA A WHERE B.id = A.id);
(Select B.XERROR_MESSAGE from TABLEB B, TABLEA A WHERE B.id = A.id) --- This subquery is returning more than one rows. How i can handle this in Pl/SQL?
Please let me know. I will be very thankful to you all.
I will really appreciate your replies and comments.
Thank youTry getting rid of tablea in your subqueries. You already have it in the UPDATE statement.
UPDATE TABLEA A
SET A.ERROR_MESSAGE = (Select B.XERROR_MESSAGE
from TABLEB B
WHERE B.id = A.id
WHERE A.id = (Select B.id
from TABLEB B
WHERE B.id = A.id);You can also try a simple MERGE:
merge into tablea a
using tableb b
on (a.id = b.id)
when matched then update
set a.error_message = b.xerror_message; -
Material with diff qty for same UOM
Hi All,
We are procuring material XXX from a vendor like Crate UOM.
Som times he send 20 nos in one crate and some time 10 nos in one craete.
My Purchase and Inventory UOM is Crate, but my Sales UOM is Nos.
How to handle these in SAP??Hi,
It is all depends on which unit could be no change to be an inventory UoM. If Nos is the same, then it should be used. It is no good to use Crate that is not consistent each time.
Thanks,
Gordon -
Updating deliveries with handling unit
Hi Gurus,
Good afternoon all of you. Let me share my problem with all of you. I am modifying some deliveries through VL02N with pick quantity and handling unit to zero. I am modifying all most all 500 to 1500 deliveries daily right now and they may increase. All this procedure is done manually. Requirement is client wants all this procedure automatically. So I would like to ask you that is there any function module for updating the delivery with the modified picking quantity and handling unit? Please suggest me how can I approach? I am not asking entire logic. Just I want is it possible and is there any FM? Your help will be greatly appreciated. Waiting for your valuable replies.
Regards,
Ravi.Ravi,
It is good that the Handling unit is static. Is the Picking quantity Dynamic? If so, are they available somewhere in the system prior to you manually populating them in the delivery document? -
Update Rows with info from other Rows in Same Table.
I'm trying to update rows with information from the same table. The table gets loaded with info from a report that runs and it has to be a new entry every month but I would like to carry over some of the info from last month. This statement below runs but updates all rows in the new table load and in my test cases I only made a few match so only like 5 records should get updated. This is an example of what I'm trying to do. If I add this(C2.COL_INVC_ID = C1.COL_INVC_ID) to the last "*Where*" statement I get an invalid identifier for "C2.COL_INVC_ID". So what am I doing wrong here??? How can I update only the rows that where also in last months run???
Thanks in advance for any help!
Update OpenIssues OI1
Set(OI1.Num, OI1.Status, OI1.Code, OI1.LastModifiedDate) =
(Select OI2.Num, OI2.Status, OI2.Code, OI2.LastModifiedDate
From OpenIssues OI2
Where OI2.num = OI1.num and OI2.TableLoadDate = TO_DATE('01/31/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS')
Where and OI1.TableLoadDate = TO_DATE('02/29/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS')
SQLMeHi,
Welcome to the forum!
SQLMe wrote:
I'm trying to update rows with information from the same table. The table gets loaded with info from a report that runs and it has to be a new entry every month but I would like to carry over some of the info from last month. This statement below runs but updates all rows in the new table load and in my test cases I only made a few match so only like 5 records should get updated. This is an example of what I'm trying to do. If I add this(C2.COL_INVC_ID = C1.COL_INVC_ID) to the last "*Where*" statement I get an invalid identifier for "C2.COL_INVC_ID". If the aliases c1 and c2 aren't defined anywhere, then you can't use them anywhere.
The WHERE clause of the UPDATE statement can only reference the table being updated, ot1 in this case.
So what am I doing wrong here??? How can I update only the rows that where also in last months run???
Thanks in advance for any help!
Update OpenIssues OI1
Set(OI1.Num, OI1.Status, OI1.Code, OI1.LastModifiedDate) =
(Select OI2.Num, OI2.Status, OI2.Code, OI2.LastModifiedDate
From OpenIssues OI2
Where OI2.num = OI1.num and OI2.TableLoadDate = TO_DATE('01/31/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS')
Where and OI1.TableLoadDate = TO_DATE('02/29/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS')
------------There's a syntax error in the last line. Either something got lost when you posted the code, or you just don't want the keyword AND. You certainly don't want AND immediately after WHERE.
In general, if it's not obvious how to do an UPDATE, then UPDATE is the wrong tool: you want MERGE instead.
Whenever you have a problem, please post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) from all tables involved.
Also post the results you want from that data, and an explanation of how you get those results from that data, with specific examples.
Simplify the problem as much as possible. Remove all tables and columns that play no role in this problem.
If you're asking about a DML statement, such as UPDATE, the CREATE TABLE and INSERT statements should re-create the tables as they are before the DML, and the results will be the contents of the changed table(s) when everything is finished.
Always say which version of Oracle you're using.
See the forum FAQ {message:id=9360002} -
Hello there - how can I share my iTunes library between two users on the same computer? I put the library in a shared folder between both and have selected this library on both as well, but when I update iTunes with music etc it only appears on one?
Thank you Joe - I tried this but it's only showing a teensy amount of music - the stuff on the second users account as opposed to the giagntic library on the 'main' account. I actually went to a Genius Bar and they said that apple doesn't really want you to share music between accounts - parents don't want to hear their kids music etc. Which seemed strange, but it might be the case sadly Thanks anyway!
-
I have one iPhone 4s, one iPad 2 and wife's iPhone 4s. yesterday I have updated all with ISO 8 under one apple id, now my problem is that in same WiFi when Any of phone receive phone all the three gazettes ring simultaneously . how to resolve this.
regards
rbvTell your wife to get her own Apple ID. If you do not want continuity/handoff to work with calls, on both devicesgo to Settings==>>FaceTime==>> Turn OFF iPhone cellular calls.
-
Updating PK with same value - effect on CASCADE UPDATE
Hello,
I would like to understand how sql server 2008 deals with cascade updates
For example I have
Parent table: Employee with column Id as varchar(20) primary key
Child table with IdEmployee as varchar(20) foreign key
I set up Cascade Update for those two tables, meaning any change to primary key in Employee table will cause update in child table rows that match affecting Id
Scenario 1:
Update Employee
set Id = 'ABC',
Name = 'something new'
where Id = 'CCC'
Result of child table: all rows with foreign key IdEmployee and value of 'CCC' are updated. Expected behavior.
Scenario 2:
Update Employee
set Id = 'ABC',
Name = 'something new 2'
where Id = 'ABC'
This time, i am doing something different. I am beside update of column Name with new value, also update primary key but
with SAME value
Question is: what is going to happen to child rows? Are they ALL going to UPDATE due to CASCADE UPDATE
So far, what i did in order to find solution is:
1. I put an timestamp column in child table that should update each time row gets updated
2. I put a trigger for update event on child table that will write something to some log table
*After I set up those two I ran example like above just to be sure timestamp gets changed as well trigger is being fired
Results of updating PK with same value:
1. Timestamp didnt change
2. Trigger didnt fire
Is this enough to make conclusion that updating primary key with same value ALONG with updating some other columns won't
affect child tables with UPDATE CASCADE ON
Update:
Database is CI AS collation
If i do following
Update Employee
set Id = 'abc',
Name = 'something new'
where Id = 'ABC'
1. Timestamp will change
2. Trigger will fire
Conclusion: Case sensitive is important here!
Thank you very much in advance
Milos>> would like to understand how sql server 2008 deals with cascade updates <<
Your posting has a number of conceptual errors.
1. The terms “parent” and “child” are not RDBMS; they are used in network databases. We have “referenced” and “referencing” tables; they can be the same table.
2. A table models a SET of things, so there is no “Employee” table unless you truly have a one-man company. We want a collective or plural name for the SET/table. A better name is “Personnel” for this table.
3. Her is no such thing as a generic “id” in RDBMS; it has to be “<something in particular>_id” to be valid. Identifiers are usually fixed length
4. It is very, very rude not to post DDL on a forum. You also do not know the ISO-11179 Rules for data element names. They do not change names from table to table! Does your name change whenever you use it in a new place?? NO! Same principle with data.
5. The ISO standard uses “<property>_<attribute property>” syntax, no the old PascalCase.
6. Why did you post a useless narrative? How do we compile “I SET up Cascade UPDATE for those two tables,..” to test it??
CREATE TABLE Personnel
(emp_id CHAR(20) NOT NULL PRIMARY KEY,
emp_name VARCHAR(25) NOT NULL,
CREATE TABLE Health_Plan
(health_plan_acct CHAR(20) NOT NULL PRIMARY KEY,
emp_id CHAR(20) NOT NULL
REFERENCES Personnel(emp_id)
ON UPDATE CASCADE
ON DELETE CASCADE,
Scenario 1:
UPDATE Personnel
SET emp_id = 'ABC',
emp_name = 'something new'
WHERE emp_id = 'CCC';
Result of child table: all rows with foreign key emp_id and value of 'CCC' are updated. Expected behavior.
Scenario 2:
UPDATE Personnel
SET emp_id = 'ABC',
emp_name = 'something new 2'
WHERE emp_id = 'ABC';
This time, I am doing something different. I am beside UPDATE of column emp_name with new value, also UPDATE PRIMARY KEY but
with SAME value.
>> Question is: what is going to happen to child [sic: referencing] rows? Are they ALL going to UPDATE due to CASCADE UPDATE. <<
SQL uses a set-oriented model, so the whole table is updated as a unit of work in theory.
So far, what I did in order to find solution is:
>> I put an timestamp column in child [sic: referencing] table that should UPDATE each time row gets updated <<
Why? It is not in the SET clause list; it cannot change. As an aside, The T-SQL TIMESTAMP is not the ANSI/ISO TIMESTAMP; it is DATETIME2(n) in T-SQL. The old TIMESTAMP is being deprecated because it stinks both in concept and implementation.
>> I put a trigger for UPDATE event on child [sic: referencing] table that will write something to some log table.<<
TRIGGERs are fired by what is called a “database event” shown in the ON [DELETE | UPDATE] clause. T-SQL adds INSERT as an event. An update to any value or to no value at all is still an update. Depending on the collation, case may or may not matter in the final
outcome.
--CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
in Sets / Trees and Hierarchies in SQL -
Hi All
I have one sharepoint list with huge data i.e with 20columns and more than 200 records with the fields .
Suppose lets consider there are A,B,C,D,E,F,G,H columns.
Now i want to create one form with the fields A,C,E.
When the user enter the existing data of list for columns A,C..based on C value the E column value should change and update that particular item in the list.
Please guide me without visual web part can we acheive this by Sharepoint designer 2013 or what would be the preferable solution.
Please help me on this as it is very urgent from me..
Thanks in Advance
Sowjanya GHi,
According to your post, my understanding is that you wanted to update the list item in the same sharepoint list with particular condition with Sharepoint Designer 2013.
I recommend to create workflow associated to the list and then start the workflow automatically when an item is changed.
In the workflow, you can add condition and actions as below:
If current item: C equal to Test1
Set E to Test2
Then the value of the filed E will be changed based on the value of the filed C.
In addition, if you create the form using InfoPath, you can add rule to the filed C as below:
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
This morning I tried to update my apps through the app store. Many of them updated, but some (Soundcloud, Evernote, Viber, and IMDB) gave me the error message "Update unavailable with this Apple ID"
I removed those apps and tried to re-install them, only to receive the same message. I then logged out of the App Store and logged back in but this did not make a difference.
These apps are not showing up on my "purchased" list.
I have only ever had one Apple ID, and have been using and updating these free apps for some time now.
Any idea how I can resolve this? Searching the forums has not helped at all.Same problem here. IMDB, TWC (weather app) Goodreader… Started this morning, out of the blue.
After deleting IMDB (hoping to reinstall), that app cannot be installed again! Trying to, gets you the same “Update unavailable” error.
Also, the problematic apps are not listed in my “Purchased” list (which is the real problem I think).
I also tried through iTunes. Same problem.
Can someone confirm that the problem apps are not showing in your purchased list?
I don’t know if it’s on Apple’s side (in which case it will get fixed) or on my side (meaning I will have to do something).
(I contacted Apple, waiting for reply.) -
I have never had a passcode to lock my iPad. Now that I have updated it with IOS7 it is asking for one and is locked. How do I unlock this without having to reset the whole thing through iTunes????
Unfortunately, if the iPad is insisting that you use a passcode, there is no way around it other than to restore the device using iTunes on a computer, or by erasing it in iCloud.com via Find My iPhone.
You could try resetting the iPad and cross your fingers and hope this is just a blip on the radar....hold down on the sleep and home buttons at the same time for about 10 seconds until the Apple logo appears on the screen.
Maybe you are looking for
-
When I was with explorer and I wanted to save a video from a website a window would open asking me where to save it to. With firefox this doesn't happen and can't find video if it was downloaded?? It doesn't go to my video folder but the website clai
-
CS4-How do I remove a split screen in the Program monitor window?
I have Pro CS4 on a vista 64 OS. I am using the Mainstream encoders and my Program monitor window switches to a split screen every time I play the timeline. When I stop the playback, the screen returns to normal full screen with the last frame showin
-
Imac display only white with purple lines will not boot
iMac mid 2010. went white then after forced restart keep repeating startup sound. After several times repeating attemt at restart makes sound once then screen is white with purple vertical lines. tried removing power cord for 60 seconds
-
Ack.. plug-in incompatible
Posted this but got zero answers, so here's a repost with sample code.... I am using the MultiList component from VCafe, but it has problems with the Java plug-in (on both IE and NS) I want to stick with AWT and JDK 1.1.8 for various reasons, e.g. ru
-
Is the GB 9.0.4 update today at App Store needed for all users, or just for Lion? Will it be in Software Update or is it paid update only? Please clarify.