Import UDF values in DTW
Hi Experts
I want to import UDF value using DTW. I am importing PO that has some udf also. I want to import thes udf value in the new database. Please suggest me how can I do?
Thanks
Best Regards
Jitender
Hi Jitender,
In DTW window, you can see the 'Customize template' menu. Using this menu you can create a new template. In that template, the UDF will be available at the last cloumn. Standard template didn't contains the UDF's!
Regards,
Bala
Similar Messages
-
Hello All,
What's the procedure to Import UDF's by DTW.
I want to add UDF's Not UDF's Data.
Please Help
Regards
HitulHello Prasanna,
I am trying to add by DTW using template CUFD.
But I am getting following error.
CServiceData::VerifyPropertyWrite Failed 'FieldID'of 'UserFieldMD' is read only65171.
May be I am filling data incorrectly,
Can you give me one example to fill following fields.
TableName
FieldID
Name
Type
Size
Description
SubType
LinkedTable
DefaultValue
EditSize
Mandatory
Regards,
Hitul -
Importing UDF data through DTW
Hi Experts,
I am using SAP Business One 2007B PL00. I have created 2 UDF's on row level in marketing documents. These fields i have defined to track the legacy PO/SO number and the other UDF to track the date in yyyymm format which is present in legacy and is required by the client. I have added these UDF's in my DTW template through the Interface provided in DTW. When i do the simulation run there are no errors in DTW. But when i actually import in my database then both the above UDF's are not imported. The rest of the fields are imported without any error. The DTW does not give any error log. Any solution?
Thanks in advance.Could you check the MAP RULES tab in Step 3 of DTW and check if the fields are mapped properly.
Also, go to the Target Data tab and check
Add all items into Schema ... -
Hi
I want to import udfs in master data of item through DTW.
Howz this possible?
I have added one field through tools--user defined tables-setup
object type is no object.
Now in this udf i want to add diffrent code and diffrent name in front of item in tempalte
through DTW.
How can i do this?
Thankshi,
Check below note.
Note 878906 - How to import User Defined Tables via the DTW
Summary
Symptom
You need to import data into a User Defined Table(UDT) with the Data transfer Workbench(DTW)
Other terms
UDT, User Defined Table, import, data, DTW
Reason and Prerequisites
Need for information
Solution
You create, for example, a User Defined Table(UDT) called "UDT" with the following fields
ZIPCODE
ADDRESS
In the database you actually have 4 fields since Code and Name are created automatically when creating a user defined table. When filling a UDT you must ensure that you fill these fields also and bear in mind that Code needs to be a unique number.
Code
Name
ZIPCODE
ADDRESS
To fill a UDT with information you would need a template something like this (It is also attached)
Code,Name,U_ZIPNAME,U_STREET
code,name,,
0,0,12345,Street 1
1,1,12346,Street 2
With the DTW you can then select the @UDT table from the Object Type list in step 2 of the DTW wizard.
Header Data
Release Status: Released for Customer
Released on: 18.10.2005 11:03:30
Master Language: English
Priority: Recommendations/additional info
Category: Consulting
Primary Component: SBO-DTW Data Transfer Workbench
Affected Releases
Release-Independent
Jeyakanthan -
Importing Contact Persons through DTW
Hi,
I´am trying to import Contact Persons through DTW. These "Contact Persons" belong to Business Partners that already have "Contact Persons". I want to add new contact persons to these Business Partners. The problem that instead of adding those Contact Persons, the DTW is updating the Contact Persons that already exists.
I have two files, Business Partners and Contact Employees. In this first one I´m using two fields (Recordkey and Cardcode). In the second one, Contact Employees, i´m leaving blank the field "linenum". I´m also setting in the third step of the DTW process, the option of "Add all items into Schema if can´t find corresponding item when updating". In the 5 step I choose Update objects"
Thanks in advancedAridane,
Apologies ... I misunderstood what you were asking. If you look at the sample temple for Contacts that are related to Business Partners at ...
..\Program Files\SAP\Data Transfer Workbench\Templates\Data preparation examples\20. TestCase2_Test Data for Update function\oBusinessPartners\ContactEmployees.csv
Here you can see that you have to relate the RecordKey of the ContactEmployee to the RecordKey for the Business Partner. If there are multiple contacts for the same Business Partner, the RecordKey is repeated as in the example and you increment the LineNum for each different Contact.
HTH,
Eddy -
Importing sales order throgh DTW
hi,
i have imported sales order through DTW.there was no error and it came as imported successfully.but 0 objects were imported.can any help me
with regards
priyahi all,
i had an another doubt in DTW.the customer code is in numeric(for example 001).when i enter this number it takes as 1 in that cardcode field(in csv file).while importing it displays the error as invalid BP code.whether the cardcode should be in alphanumeric ?
regards,
priya -
UDF Value is not coming in the query report
Hi all,
i have designed query report based on AR Invoice which has some UDF .
all udf have FMS applied and all these udf has values.
when i run report some times udf values are coming in the report and somtimes not even if udf contains values.
if i open perticular invoice and again update that udf and again run report now udf value will come in the report.
every time i need to manualy update the udf even if that udf contain value.
how to avoide this problem.
Pls suggest solution.
Regards,
ChetanHi Chetan,
Try this,
-> Open the require document(module).
Assign this procedure and then ADD the document
and Run the Query Report.
1. Goto the UDF and Click (ShiftAltF2).
2. Select the SEARCH BY SAVED QUERY.
3. Assign the FMS Query in UDF.
4. Select the AUTO REFRESH WHEN FIELD CHENGES.
5. Select the Auto Refresh Field (for example CardCode (or) Remarks).
6. Check the Display Saved Values.
OR
-> Open the require document(module).
1. Goto the UDF and Click (ShiftAltF2).
2. When will you add the document at that time
you can Click the SHIFT + F2 and than ADD the document.
and than Run the Query Report.
Regards,
Madhan. -
How to get a Header UDF value in a FMS ?
Hi !
How is it possible to get a Header UDF value from a Formatted Search in a header ? If we don't want to create as many FMS as there are marketing documents in the system, how is it possible ? Can we have a syntax like the following ?
SELECT T0.OnHand
FROM OITW T0
WHERE T0.ItemCode=$[$38.1.0]
AND T0.WhsCode=$[$U_Nwr_WH.0.1]
Thanks,
LuceHi Gordon,
oh, I'm sorry, I did a mistake...
In fact, my question is "How can we get a header UDF value in any FMS without specifying the table name?" !!!!!
Can we access it through specific syntax like $ and [ ?
thanks,
Luce -
How to import Incoming Payments via DTW
Hello all,
I am importing opening balances for Customers via DTW. My client wants to import all the open Invoices at their original amount, and then import the incoming payments against them to have them net out to the correct remaining balance. I already know how to import the invoices. I'm looking at using the PaymentDrafts template in DTW for the Incoming payments but I could use some guidance. Can anyone provide and example of the data required to both import the incoming payments and apply them to the appropriate AR Invoice?
Thanks,
don shieldshi donald,
Check this link to resolve ur doubts.
Import Incoming Payments with DTW
Import Incoming Payments with DTW
also check this SAP Note
Note 1162513 - How to link an Incoming Payment to an Invoice via the DTW
Jeyakanthan
Edited by: Jeyakanthan A on Apr 30, 2009 10:31 PM -
How to change UDF value in system form if its invisible or inactive?
Hi all,
I need to compute some document total values and save them on UDFs defined on Sales Order Header document, when the user adds a new order line.
However I must not allow the user to change them (or see them). Also, there are other UDFs on the Sales Order Header that the user must be allowed to change...
Is there any way to control this? If I set a UDF as not 'Active', I cannot change its value with programming.
I'm using the following command to change a UDF value on the Sales Order form:
Form form = B1Connections.theAppl.Forms.GetForm("-139", pVal.FormTypeCount);
EditText et = (EditText)form2.Items.Item("U_TotalTax1").Specific;
et.Value = "10"; // this raises an exception "Form item is not editable"
Is there any other way to change this UDF contents (maybe with datasources? etc)
Thanks all,
Manuel DiasHi You can Enable/Disable the item after your transaction. follows the code
oForm.Items.Item("U_TotalTax1").Enabled = True
oEdit.value=10
oForm.Items.Item("U_TotalTax1").Enabled = False
Try this
Manmath -
Dear Experts...
Here is a strange situation in my DB. I have some UDF on A/P Invoice for TAX details print preview.
UDF Values are properly showing in SAP but not in SQL in same table, Same document they are blank in SQL.
I can't understand why SQL does not showing me Value of UDF.
Regards,
RaviHi Ravi,
Run below query in query generator for specific document number and check if udf values are shown or not?
SELECT T0.DocNum, T0.CardCode As 'Vendor Code',T0.CardName As 'Vendor Name', T0.NumAtCard As 'Vendor Ref. No.', T0.DocDate, T0.TaxDate, T0.DocTotal - T0.VatSum As 'Basic Value of Goods', T0.U_CENVAT As 'CENVAT', T0.U_ECess, T0.U_HSCess, T0.U_VAT_4, T0.U_Add_VAT1, T0.U_VAT_12,
T0.U_Add_VAT2, T0.U_CST2, T0.U_CST4, T0.U_CST5, T0.U_Service_Tax, T0.U_ST_ECess, T0.U_ST_HSCess,T0.TotalExpns As 'Others',T0.DocTotal - T0.VATSUM As 'Total' FROM OPCH T0 WHERE T0.docType = 'I' and T0.DocNum=[%0]
Thanks,
Neetu -
Is there a function module to import a value to abap memory
Hi,
My requirement is as follows.
I have the following inputs.
Input 1 = some value
Input2 = ABAP Memory
If I pass the above inputs to a function module it should import the value in Input1 to the ABAP Memory given in Input2.
Is there any standard function module in SAP to fulfill the above requirement?
Thanks,
IndiraNot sure if my grammar is correct, but you don't "import to" rather you "export to" & "import from".
First things first. Why do you need a FM for this purpose ? A simple [EXPORT|http://help.sap.com/abapdocu_70/en/ABAPEXPORT_DATA_CLUSTER_MEDIUM.htm#&ABAP_ALTERNATIVE_3@3@] statement will do this for you.
May be i don't get your question correctly, else you're too much obsessed with using FMs.
Cheers,
Suhas -
Not copying UDFs values from Payment voucher to JE UDF value
Hi
I created UDF in outgoing payment and Journal Entry name Department , when i saved outgoing document the department udf value did not copy in JE. Is there any way to copy outgoing document udf values in JE udf.
ThanksHi,
You need an FMS query to copy the value. UDF value will not be automatically copied for JE.
Thanks,
Gordon -
How to import multi-value reference with Granfeldt PowerShell MA?
Hi,
I am trying to import multi-value reference into FIM (Group object).
I can import all attributes from source SQL, except Multivalue reference (into members attribute on Group object).
I have defined schema like this:
$obj = New-Object -Type PSCustomObject
$obj | Add-Member -Type NoteProperty -Name "Anchor-axs_profid|String" -Value ""
$obj | Add-Member -Type NoteProperty -Name "objectClass|String" -Value "role"
$obj | Add-Member -Type NoteProperty -Name "name|String" -Value ""
$obj | Add-Member -Type NoteProperty -Name "member|Reference[]" -Value ""
$obj
On source attribute I have members defined in one attribute, divided by ",".
Import script:
$Obj = @{}
$Obj.Add("objectClass", "role")
$Obj.Add("[DN]", "Role_"+$Object.$("axs_profid"))
$Obj.Add("axs_profid", $Object.$("axs_profid").ToString())
$Obj.Add("name", $Object.$("name").ToString())
if($Object.$("member").ToString() -ne "")
[string[]]$members = $Object.$("member").ToString().Split(',')
$Obj.Add("member", $members)
$Obj
When Full import is triggered, I get following error for roles with multiple users:
FIM Sync = staging-error
Event log =
The server encountered an unexpected error in the synchronization engine:
"BAIL: MMS(9588): d:\bt\32669\private\source\miis\shared\utils\libutils.cpp(7045): 0x8023040e (The distinguished name is invalid)
BAIL: MMS(9588): d:\bt\32669\private\source\miis\server\sqlstore\utils.cpp(229): 0x8023040e (The distinguished name is invalid)
BAIL: MMS(9588): d:\bt\32669\private\source\miis\server\sqlstore\nscsimp.cpp(5348): 0x8023040e (The distinguished name is invalid)
BAIL: MMS(9588): d:\bt\32669\private\source\miis\server\sqlstore\nscsimp.cpp(5753): 0x8023040e (The distinguished name is invalid)
BAIL: MMS(9588): d:\bt\32669\private\source\miis\server\sqlstore\nscsimp.cpp(686): 0x8023040e (The distinguished name is invalid)
BAIL: MMS(9588): d:\bt\32669\private\source\miis\server\sqlstore\csobj.cpp(12876): 0x8023040e (The distinguished name is invalid)
BAIL: MMS(9588): d:\bt\32669\private\source\miis\server\sqlstore\csobj.cpp(13976): 0x8023040e (The distinguished name is invalid)
BAIL: MMS(9588): d:\bt\32669\private\source\miis\server\sqlstore\csobj.h(1252): 0x8023040e (The distinguished name is invalid)
ERR_: MMS(9588): d:\bt\32669\private\source\miis\server\sync\syncstage.cpp(2018): ERR_: MMS(9588): d:\bt\32669\private\source\miis\server\sync\syncstage.cpp(612): ERR_: MMS(9588): d:\bt\32669\private\source\miis\server\sync\syncstage.cpp(647): Staging failed
0x8023040e: [21]ERR_: MMS(9588): d:\bt\32669\private\source\miis\server\sync\syncmonitor.cpp(2528): SE: Rollback SQL transaction for: 0x8023040e
Forefront Identity Manager 4.1.3559.0"
If I change the script to return only first member:
$Obj.Add("member", $members[0])
import is successfull and I can see referenced member in Group.
I have also tried to specify DN for both users and roles with the same outcome.
$Obj.Add("[DN]", "Role_"+$Object.$("axs_profid"))
I am using the latest version of PSMA: 5.5
Thanks for your help guys!I managed to solve this issue.
The problem was in string array (I always appended "," at the end of each value). MA then expected another value after the last comma.
The wrong approach:
[string[]]$members = $Object.$("member").ToString().Split(',')
The right approach:
[string[]]$members = $Object.$("member").ToString().TrimEnd(',').Split(',') -
FMS to Display Item group UDF value
Hi,
I have created Title level udf named U_WP in the item group table. Each group wise i have entered diferent values in this field.
I have created one more title level UDF in item master by same name U_WP.
I want FMS to select the UDF value from U_WP in OITB to be displayed in U_WP in OITM when when ever user select the
respective item group in item master while adding new code.
swapHi Swap,
I've tested the query below and it should give you what you need:
SELECT T0.\[U_WP\] FROM OITB T0 WHERE T0.\[ItmsGrpCod\] = $\[$-39.0\]
A couple of things, make sure both the Item Group UDF and Item UDF are setup as the same structure (type and length).
Set the formatted search on the Item UDF so that it refreshes when the Item Group changes.
That should give you what you need.
Regards,
Adrian
Maybe you are looking for
-
Creating a texture for a rounded window
Hi. I'm creating a simple gui on a game framework based on lwjgl and I have a problem. Almost every window has a solid black texture as a background. I came up with a idea to make corners rounded. At the beginning I created gif picture of a rounded s
-
How do I get my itunes library from my old laptop to my new imac? My purchases are showing on the new imac but not my own music files.
-
How to set encoding for xml Marshaller?
Hi, I am using SAPXMLToolkit. And I use XMLMarshaller to convert from xml to java classes (jaxb classes). Now when I get some characters like ü, the marshaller gives an error com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 69(:m
-
Where to put js that should show on every page, like Appex have?
In every page header there are entry like: <+html lang="hr" xmlns:htmldb="http://htmldb.oracle.com"> <+head> <+script src="/i/javascript/htmldb_html_elements.js" type="text/javascript"></script> <+script src="/i/javascript/htmldb_get.js" type="text/j
-
Building multi selection for input schedule
Hi Guru, I woul like to build a query based on different selection for each colunm , could advice me how to build this input schedule. the structure should be like this : Drop down list for each field selection , the user can do different sel