Issue facing : Deletion of Qualified Look up field value : Using Import Map
Hi All,
We are having qualified multi-valued look up field in the main table. Using import map for the main table record update, we are trying to delete the qualified look up field value. But it is not working.
Please guide on how you have achieved this.
One approach is to supply NULL value, though I am not sure or have tried this.
Regards,
Ganga
Hi Ganga,
I assume that you are trying to delete the Qualifier values for the Qualified look up table. The only possibility is to pass the Null values to the already Existing records in the Main table. Please note that if you are passing one Null value only one record will get deleted. So you will have to pass the Null values equivalent to the number of values for the Multi Valued Qualified table.
Kind Regards,
Thamizharasi N
Similar Messages
-
Any way to skip a metadata field when using "Import Maps" via Archiver?
Typically when you import an archive, you want to keep both the file & the metadata. However, I have a scenario where I need to keep the existing metadata value.
For example,
If the content archive has "ABC" for dDocAccount, and the environment I'm importing to has "XYZ" for dDocAccount, I want it to remain at "XYZ". The native file, as expected, is imported.
If there's a way to skip ALL metadata importing, that would work for me too. I just need to import the file. Before you ask, no, I cannot do a simple check out/in. This has to be done in Archiver.
Thanks, and I'll award points :)Using dDocAccount was really a poor example choice, but I chose to use that instead since it's very common, and everybody knows about it. The actual field I'm trying to maintain is xWebsites for Site Studio (but no matter which field I mention, I still need the same effect). I don't want to use value maps because then I'll have to create a billion archives...one for every combination of possible values the metadata value that's in the system. That'd be overkill, compared to just 1 archive.
The best I've come up with so far is to override the "UPDATE_BYREV" service and remove the "2:Umeta::0:null" service action. This does what I'm looking for, but that'll obviously affect all checkins (and other core functionality), and I simply want it to be done during an archive replication.
And yes, I know about URLs and accounts ... good thing I never use those poorly-designed user-unfriendly "web location" URLs.
Thanks though. -
Check list field values using LINQ
I have to check if the CURRENT USER is already in the list USERS by comparing his AccountName to the list field ACCOUNTNAME.
If the USER is on the list I have to check if the field IsFollower is YES or NO and change it according to some conditions.
I think LINQ would be the correct way of doing this but I have no clue how to do that.
Any ideas pls, thanksHi,
Yes, you can query the list using LINQ.
You need to get the SPList Object firstly, and then you can query list item value using LINQ.
More information about how to check list field value using LINQ:
http://msdn.microsoft.com/en-us/library/office/ee538250(v=office.14).aspx
http://www.wolfsys.net/query-sharepoint-lists-with-linq/
http://geekswithblogs.net/TanviBlog/archive/2013/06/06/linq-in-sharepoint-and-querying-list-items.aspx
More information about how to use Server Object Model in SharePoint lists:
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splist.aspx
http://msdn.microsoft.com/en-us/library/office/ms456030(v=office.14).aspx
Best regards -
Reading deleted field values using change pointer
hi
i am triggering DEBMAS06 using change pointer technique for XD01/02/05/06 transactions.
now when i delete data(make nulll values) in partner functions the generated IDOC is not showing the complete field itself.when i am deleting the field value and making it null the IDOC must send the fields with null values.but unable to trace out how to do this.
can anyone let me know how to handle this situation?
and i have extended DEBMAS06 with customer hierarchy data i.e. KNVH.i have written change pointers.now how can i populate these fields into my extension?Hello Moorthy,
1. This message function in the Idoc is populated as 005 then it should replace the entrire values while posting,
2. To populate KNVH extension you have to populate this only if you have KNVV data.. so you can either create enhance menti perfrom FILL_SEGMENT_E1KNVVM i(nf Function moduler MASTERIDOC_CREATE_DEBMAS) inclduer LVV01F01. or you can write the logic in BAdi CUSTOMER_ADD_DATA->FILL_ALE_SEGMENTS_OWN_D or in user eixt EXIT_SAPLVV01_001.
Regards
Naresh -
Deleting date field value via import
I need to clear the value in a date field for a few thousand records. I tried doing this via import by setting the value to a space " " but it didn't work.
Any ideas on how this can be achieved through import or otherwise would be great.
Thanks.Hi Nakul,
Try any of the following, it will hopefully work in your case:
1) Import using excel with blank date field (no data in date field). This will erase the already existing value in the date field [provided there is no workflow that restricts such deletion of date data.]
2) Create a temp workflow on condition "before modified record saved" and update the date field value with blank (no values in fx), do the import, this workflow will delete the existing data.
Cheers!
Vix -
Qualified Updated Selections not Saved in Import Map
Hello,
I create a new Import Map and Set the Qualified Update setting on a qualified table. When I reopen the map, the Qualified Update option is saved but not the selections for the qualified update. The defaults are saved: all fields are selected as matching qualifers. Create = blank, Existing = blank.
I have tried to recreate a new map and get the same results. Any ideas?
thanks
TammiHi Tammi,
could you pls elaborate on the exact issue a bit more?
Reg,'
Bis -
Accessing recordset field values using labview Active X
dear friends,
i have opened recordset using labview active X Refenum opening dbengine,workspace ,opendatabase,openrecordset
i need to access the field value from the record
but labview doesnot show any propery or methods that r related to fields ,except count.
in short i am looking for a code statemant in labview which is equivalent to VB
Recordset.Fields("Name").Value or Recordset.Fields(Index).Value
can anybody help
thanks in advance
regards
shridhar joshitry something like this .
"shridharjosh" wrote in message
news:[email protected]..
> dear Ben Schulte
> i am using MS Access Database and i opened
> Acitve X class and necessary database connection parameters
>
> thing is Fields is a collection in VB and
> has a two default properties 1-Count 2-Index
>
> I am Able to get count property but un succesfull in accessing index
> this is important inorder to acces the value of a individual field in
> a recordset
> i am attaching data vi with this please ahve a look at it
>
> thanks in advance
[Attachment Fields.PDF, see below]
Attachments:
Fields.PDF 175 KB -
How to Set Field value using javascript?
I have a Field in First Page called 'SO'. I want to populate this field from the field value of SD_ITEMS.DATA.VBELN first row in the each page. Please help me with javascript to set this value.
Thank you.
RanjiI have a Field in First Page called 'SO'. I want to populate this field from the field value of SD_ITEMS.DATA.VBELN first row in the each page. Please help me with javascript to set this value.
Thank you.
Ranji -
Deleting field value using bapi
Hi all,
I want to delete a field VBAP-FIXMG from a report because it is wrong fixed.
but i want to delete it using a bapi.
can any one help me out which bapi to use and how to use it.
thanks.Hi,
Use the BAPI " BAPI_SALESORDER_CHANGE". U can check the docuemntation of it and also where used list to see if we can use the bapi.
Regards,
Nagaraj -
Set a tabular field value using getElementById().value
Hi
I have tried everything and now I hope some of you can help me.!!!
I have made a tabular report based on a query:
and I want to copy the value of one field into another field on the same record when clicking on a edit-link field I have made.
SELECT-statement:
select rownum ,
HTMLDB_ITEM.HIDDEN(10, a.itf_tab_col_id ) ||
htmldb_item.POPUP_FROM_QUERY(11,TRANSFORM_VALUE,
'SELECT itf_column_name disp,itf_column_name ret
FROM om_itf_tab_col where itf_table_id=:P73_itf_table' ) TRANSFORM_VALUE,
HTMLDB_ITEM.TEXT(12,nvl(MAP_ITF_TARGET_ID,-99)) MAP_ITF_TARGET_ID,
HTMLDB_ITEM.TEXT(13, a.itf_table_id ) itf_table_id,
HTMLDB_ITEM.TEXT(14, a.itf_column_name ) itf_column_name,
a.itf_COL_DESCR itf_col_descr,
HTMLDB_ITEM.TEXT(16,'' ) dummy
FROM om_itf_tab_col a,
om_map_itf_target c
where a.itf_TAB_COL_ID=c.itf_TAB_COL_ID (+)
I have made this Column-link on the column itf_table_id
javascript:setValues('#ITF_COLUMN_NAME#','#ROWNUM#');
function setValues(col, rownum){
rownum='0002';
document.getElementById('f16_'+rownum).value = col;
If I change it like this, It copy the value to the correct field but always to rownumer 1.
function setValues(col, rownum){
rownum='0002';
document.getElementById('f16').value = col;
}Thank you very much for answering me !!!
I got response but the value always show 'N' even i change it to 'Y'
I changed the function like this:
function displayValue(FieldVal)
alert('Rownum ='+FieldVal+' value=' + document.wwv_flow.f30[FieldVal].value)
and I get this result when I e.g. changes the value from N to Y on row 3:
Rownum =3 Value=N
what do I miss?
Evelyn -
....in 'DD-MMM-YY' format from an Oracle 8i database and pass it in to the java.util.Date() constructor, I get a IllegalArgumentException. This error doesn't occur when I use the type 2 driver, so it is apparently a driver-specific thing. It happens on both Win32 and Linux.
Has anyone seen this before? Is there a newer version of the Oracle thin (i.e., type 4) driver than is listed here?
http://web77-02.us.oracle.com/software/tech/java/sqlj_jdbc/content.html
Thanks,
Tom
[email protected]Yup, that original post didn't make much sense, did it? Let's try again.
I've got an EJB app that runs on WebLogic 6.0 (on Solaris in production, on Win2K for development) and accesses an Oracle 8i database. This app currently uses the Oracle type 2 JDBC drivers. All is well.
So I wanted to see how it would run on Linux. I've got a Redhat 7.1 box handy, so I installed the JDK and WL6.0 and slapped the ear file on there. Problem! Can't deploy because there are no Oracle drivers on this machine!
Makes sense. So I started looking around, and it seems installing Oracle on a RH 7.1 box involves patching glibc and other such nastiness. So let's just try the type 4 JDBC driver - no glibc patch, no shared object libraries, just good 'ol pure Java talking to Oracle on port 1521.
Once I had the URLs and whatnot set up, the app connected to the DB just fine, created the connection pool, read some data, etc. But when my app read a date from the DB and instantiates a new java.util.Date object, I got an IllegalArgumentException - i.e., the date can't be parsed.
"Hmm... that's odd", I thought, so back I went to my trusty Win2K machine, modified my configuration files to use the type 4 driver and - same error! So I switched back to the type 2 driver - and everything works fine, Dates and all. Hmmm.....
As you correctly state, that Date constructor is deprecated and I should use DateFormats and GregorianCalendars and whatnot instead.
But has anyone seen this weird behavior before - code that works fine on a type 2 driver starts throwing exceptions when used with a type 4 driver? Anyone have any solutions?
Thanks much,
Tom -
Get form field value using an offset
I have a Form created using Perl that has a table with a row for each invoice in a large table. I display all the rows in a table and allow the user to edit some info for each record:
for ($item_cntr = 0; $cntr < $record_cnt; ++$item_cntr)
{ print qq(<tr>
<td><input type="text" name="c_freight_$item_cntr" value="$i_freight[$item_cntr]" onBlur="linetotal($item_cntr)" ></td>
<td><input type="text" name="c_miscamt_$item_cntr" value="$i_miscamt[$item_cntr]" ></td>
<td><input type="text" name="c_price_$item_cntr" value="$i_price[$item_cntr]" ></td>
</tr>);
I want to create a Function that is called when they change the Freight value and that causes the rows total Price (freight + miscamt = price) to be calculated again (without hitting a Submit button on the Form).
I created a Function:
function linetotal(whatline) {
var fixed_freight = "document.editform.c_freight_" + whatline;
var fixed_misc = "document.editform.c_miscamt_" + whatline;
var linetotal = parseFloat(fixed_freight.value) + parseFloat(fixed_misc.value);
document.editform.c_price_whatline.value = linetotal; } }
So, if the first row in the table is 0, then the Function is passed "0" and should get the value of the form fields:
'c_freight_0' and 'c_miscamt_0' and set 'c_price_0' to a new value in the form.
The fixed_freight is showing that the string it has is correct, but it does not get the value from the form. Any ideas?DrClap wrote:
DrLaszloJamf wrote:
DrClap wrote:
Although there are [Java sites|http://www.javaranch.com/] which do have an [HTML and Javascript forum|http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=forum&f=20].
Don't forget the free hugs forum there, too!
You must mean [this one|http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=forum&f=44].
Oh yeah. Are you a JavaRanch regular, Dr.C? I was for a while, but not recently. -
Accessing field values using property names
Hi all,
I have the following problem:
I have several hundred simple beans which act as value holders:
public class MyBean1 {
private String field1;
private String field2;
Getters
Setters etc.
Now I have a class which receives the MyBean1 class encapsulated in an Object. I also have access to a list of propertynames i.e. field1, field2 etc.
Having that info is it possible for me to retrieve the values from the bean without actually instantiating it in my implemantation class.
I was thinking in the direction of something like a Factory helper class or so but wasn't quite able to figure out how to go about it.
Any help would be appreciated.
Regards
Michael>
Having that info is it possible for me to retrieve the
values from the bean without actually instantiating it
in my implemantation class.
This does not make sense to me. If an object is not instantiated, then it does not exist nor do any of its fields. The operation of obtaining values that do not exist is undefined.
I think you must mean something else but you need to explain it better. -
How to retrieve data foe a Flat Look Up Field
hi Everybody,
I am Looking for help to fetch Flat look Up Field Values.
I am trying to find the value of a field ( which is of type Flat look Up) for a particular record in the main table. I'm able to fetch TEXT ( direct ) fields from the table but seems there is some specific method to get the value for look up field.
While trying to get the value of this field, I'm getting RecordID of the same. With which I can certainly go n search the lookup table. But it doesnt look efficient to me.
Even a small hint would will be really helpful.
Regards
Namrta MahajanHi Namrta,
Please find the sample to retrieve the Look up Field values:
Hope you would be retrieving the TEXT data using Record.getFieldValue(FieldId) API.
Consider the following Exampple:
<b>Table : Person
Field Name | Field Code| Type
Name | NAME | TEXT
Address | ADDR | Lookup[Flat]
Table : Address
Address Id | ADDR_ID | TEXT
Address Line1 | ADDR_LN_1| text</b> (Could be a display field)
Let's say you are intrested in looking for Address Line1 from table Person.
for retrieving the value of the name you would be using:
<b>FieldId nameFieldId = repositorySchema.getFieldId('Person','NAME').getId();
FieldId addressFieldId = repositorySchema.getFieldId('Person','ADDR').getId();
FieldId addressLine1FieldId = repositorySchema.getFieldId('Address','ADDR_LN_1').getId();
String name = Record.getFieldValue(nameFieldId).toString();</b>
For Flat Lookup field Value :
<b>MdmValue mdmValue = Record.getFieldValue(addressFieldId);</b>
Check for the following condition (This block would enter if and only if the field contains value!)
<b>String addressLine1 = null;
if(mdmValue.getType() != MdmValue.Type.NULL && mdmValue.getType() == MdmValue.Type.LOOKUP){
Record[] addressRecords = Record.findLookupRecords(addressFieldId);
if(null != addressRecords){
addressLine1 = addressRecords[0].getFieldValue(addressLine1FieldId);
}</b>
Code at this line must have addressLine1 populated with lookupvalue.
Hope it helps.. Sorry for delay in response...........
Regards,
Guru
Message was edited by:
Gurushant Hanchinal -
Field value not getting updated in R/3
Hello Experts!!
I am facing a problem while updating a field value back in R/3.
The Syncbo is of type U01 and the field has data type char 40.
The meRepMeta.XML file has following description
Field name="DESCR1" type="C" length="40" decimalLength="0" signed="false" isKey="false" isIndex="false">
<Input type="modify">false</Input>
1) when i test the function module in R/3. The field value is gets updated.
2) when i create a record for the sync BO from client , i can see the field value being created on the client.
3) when i synchronize, i dont get any error or warning and get a successful message.
S 15.07.2008 12:19:09 All updates for one TOP block were successful (seq. no.=65, TOP cntr.=0000000001)
15.07.2008 12:19:09 Synchronizer UPLOADER completed successfully (mobile ID=0000002646, SyncBO=ZDBMSERORD)
I am not able to locate where is the problem
Please suggest!!
Regards,
Priya GhoshHi,
please check your maping in the create handler in MEREP_SBUILDER. Perhaps the value is created on the client but not mapped to the field of the function module. Furthermore have a look into MEREP_MON and see if the data gets forwarded in there.
At last I would dump the information received by the function module into a table without any logic. So you can see what data actually is forwarded into the funct module - if brake point i not possible.
Hope this helps.
Regards,
Oliver
Maybe you are looking for
-
Hp photosmart premium C309g-m - trouble with scanner
I scan the image but am not able to get it off of the 'scanner' window to the computer
-
Row currency has changed ... error
I am using jdev 10g, ADF, jsp (not uix). After each action the current row changes somewhere and I donât know where or why. When trying to get the next set of the records I am getting the error: Row currency has changed since the user interface was
-
What is process to close the multiple open delevery in sap
hi i have multiple open delivery and what s process to help i close it.please give me solution to close all open delivery.
-
Why only in firefox imported javascript source code doesn't run?
The html source code properly exhibits a pop-up box as expected in almost all browsers(chrome,ie11,opera,android,...) but only it fails in Firefox... Can you explain why this happens so? How to make the script in question get work that is loaded from
-
WARNING! Your Flash Player may be out of date.
I keep getting this popup when using Firefox: "WARNING! your flash player may be out of date." I can tell it's phishing and I've never had this problem before. How can I get this to stop when using Firefox? It doesn't happen with IE.