Adding UDF in OACP
Hi
I tried to add UDF in OACP ( Posting Period ) table.
Field is added in DB table.
But when i open the form it is not displaying in the user defined fields.
I want to add value to the field.
Kindly help me to solve this
Thanks in advance
Hi Parthiban,
UDF can add only through following way.
Tools Menu --> Customization Tools --> User defined fields management.
Columns will not affect in SAP client view if you added columns in DB directly.
Regards,
Venki .A
Similar Messages
-
Hi experts error while adding UDF ,UDT and UDO
Hi ,
When i adding udf i getting error msg "Ref count for this object is higher then 0"
Plz reply as soon as possible
Awaiting Soon Reply
Rajkumar GuptaHi,
System.Runtime.InteropServices.Marshal.ReleaseComObject(rs)
rs = Nothing
GC.WaitForPendingFinalizers()
GC.Collect()
try the above code and before using the COM objects as there is a problem with the object ur getting the error.
If there is more than one component alive at same point of time, you will get this error.
After use of ur DI objects call Garbage collector and dump the objects.
Hope it helps,
Vasu Natari. -
About adding UDFs for serial number transactions
Hi,
For some reasons, I need add some UDFs when receivie product or delivery product which are managed by serial number. In UDFs management, I found there is one object called Serial/Batch number object. I add my UDFs under this object then when I go inside serial number transaction report, I can see the new added UDFs. But my question is when I use DI to add goods receipt to receive serial number into system, I can't see the UserFields property. Below is the code I use:
// Lines + Serial Number
oDoc.Lines.SerialNumbers.ManufacturerSerialNumber = "LANSN0007";
oDoc.Lines.SerialNumbers.UserFields.Fields.Item("U_MyUDF01").Value = "XXXXX";
oDoc.Lines.SerialNumbers.Add();
In above code, there is no way to set the UDFs like usual. There is no property called UserFields under SerialNumber. So how I can set the value in the UDF then? Or I am using wrong way to add value in the UDFs?
Any idea?
Thanks,
LanHi nd.Q,
My version is 8.80.235 with PL:17. But in object of SAPbobsCOM.Documents.Lines.SerialNumbers, I can't find the property UserFields which allow you to set the your UDFs value as usual. In SDK help document, I can't find the UserFields property in SerialNumbers object. In my code I can't use code like this:
oDoc.Lines.SerialNumbers.UserFields.Fields.Item("U_XXX").Value = "XXX";
Any idea?
Thanks,
Lan -
Drag&Relate with error 'no matching records found' when adding UDF columns
in SBO 2007A I added a large amount of UDF fields to marketing documents title section. Then I tried Drag&Relate, as result i got only the error 'no matching record found ....'.
I removed some of the UDF Fields and Drag&Relate works correct. It seems to be a length problem of the table row. But I have no information about such a restriction and the error message dont say anything about length problem.
Does anybody know about this behavior and the maximum length of table rows, or is there any other solution to fix this problem?Hello,
there are approximatly 170 fields and most of them are alphanumeric (internaly nvarchar(max)) - when i remove 2 fields it works.
Best regards
Klaus
Edited by: Klaus Steinkellner on Jan 13, 2011 4:27 PM -
Internal error when adding UDF
Hello,
I have been getting an error "Internal error (1) occurred Message 131-183" when I try to create a UDF in the Marketing Documents category. Normally I'm able to do this, but the other day I deleted a UDF (a different one than the one I'm adding) that I wanted to clean out of the system and I'm pretty sure that having deleted this UDF is causing me to not be able to add any new UDFs to the Marketing Documents category. The UDF I deleted had never been used and I'm almost positive it never had any data in it. I am able to modify and add to other UDF categories though.
I need to add these UDFs to the Marketing Documents category hopefully today or tomorrow. If someone has any ideas that would fix this problem, please let me know.
Thank you,
Brent McDonellHi,
The issue reported is mostly known due to SQL 2000 Server row length
limitation.Please refer to the SAP note number:816387 and run the attached
query in the corresponding database and check whether the marketing
document table using the UDF,is exceeding the limits.
The solution to this problem is to decrease the size of the
User Defined Fields. Either by decreasing the length or changing
the definition of "Alpahnumeric" fields to Text, or the last resort
is to remove the fields.
All these actions have to be done via the SAP Business One application.
The change of field type alphanumeric to Text might influence the
performance.
Regards,
Abhinav Banerjee
SAP Business One Forums Team
Edited by: Abhinav Banerjee on Nov 22, 2008 2:40 AM -
Adding UDF in Landed cost screen
Dear all,
I want to add UDF in Landed cost screen at Header level. Their is no option Given in SAP B1 (Manager User Fields)
Please help
RegardsHi,
the reason why the UDF can't be added in the landed cost is because the landed cost form is a tool to calculate the item cost of item in good receipt plus landed cost.
The alternative is using the remarks field and the other is add the UDF in the journal entry and then when you create journal entry in the landed cost, just use UDF of journal entry. So, once when you need the UDF data, you could create query that using OIPF, OJDT, JDT1, OITM, OITW and OPDN tables
Rgds, -
Error in XL reporter in adding UDF for banking
Hi guys this is the error i encounter while checking the udf from banking module in SAP.
"An error occured while trying to write to the database.Original error-message was: A view was encounter that is not mapped in the ModuleToViewMap. ViewName:ixvBankCHH1 Fact Module: BANK"Check these threads:
Re: Error in viewing UDF in XL Reporter 2007B
2007B: UDF in Sales/ Purchasing in XL-Reporter
XL Reporter- Use of UDF's
Re: error when setting UDF's visible in XL reporter
UDF's in XL Reporter
Thanks,
Gordon -
Adding UDFs fails with SQL-Error
I got our customers DB (SBO05APL18) and upgraded to PL36. Upgrade worked perfectly fine although it took years (2,5GB DB).
Everything seems to work so far but if I try to add a UDF in this DB i get the following SQL-Errormsg in B1:
11/06/2008 11:04:17: 1). [Microsoft][SQL Native Client]Restricted data type attribute violation
Doesn't matter what type or location i wish the UDF to have.
Specs: Win2000 PL4 MSSQL05.
Before you make suggestions: this DB is not the only one running on this machine and other DBs work fine.
I compared the preferences, compatibility, collation and permissions. They are all equal.
Couldn't find any hints on the net so far. Help needed!!Hi,
Just a guess... Did you verify that the DB isn't in readonly mode (since it looks like your assumption)?
Launch SQL Server Management Studio, right-click on your DB then last option (Properties).
Select the Options page (top-left list) and near the end of list on the right, you should find a group named State, with the Read-Only state of the database. If true, change it to false.
Regards,
Eric -
OIM Problem Adding UDF fields to User Profile
Hi all, I defined some UDF's and I want them to be seen on end-user account profile. And also in edit page. I tried to edit <!-- User Self Registration and User Profile Modification section --> section and ProfileModificationUserForm section of FormMetaData.xml. But it does not work. Any ideas?
I don't know how come this is not working for you. Just confirm the steps once again as following:
- Your UDF is USR_UDF_CUSTOMERID (let's assume)
- You have made an entry is the section *<!-- User Self Registration and User Profile Modification section -->* of FormMetaData.xml like below:
*<Attribute name="USR_UDF_CUSTOMERID" label="global.label.customerid" displayComponentType="TextField" dataLength="30" map="USR_UDF_CUSTOMERID"/>*
- In addition to it you have also made an entry like following in section *<!-- Definition of the form that will be displayed to the user for profile modification -->* of the same xml:
*<AttributeReference editable="true" optional="false">USR_UDF_CUSTOMERID</AttributeReference>*
This should work perfectly.
Thanks
Sunny -
Hi Gurus,
I want to add User Defined Field in Department table (OUDP), but I cannot find the Department Master in User Defined Fields Management window.
thanks for the help in advance.Hi,
Will you please explain your requirement in detail ?
Because if you opend department master setup through employee master the option user defined fields is disabled.
In the user defined field management ---> Master Data -
> Employees section Department Section is not there.
Please elaborate
thanking you
Malhaar -
Display row level value in a UDF at header level
Hi,
I would like to display the sum of price of a sales document which is in line level to a added UDF at header level using FMS.
Is there any solution.. let me know.
Thanks.Hi,
To achive what you want with a FMS, like Gordon said, only on the 2nd visit to the document you can fire a FMS to get the values from the database data.
You can have what you want if you use SDK to create a small Add-on for this.
Regards,
Augusto -
Output Text values getting duplicated when UDF attached to view form
Hi Experts,
I am getting a error where the output text is having duplicated values, when i am trying to attach existing UDF to view form. Like for instance, as mentioned below:
Phone Number - 23456789
State - CACA
Country - UnitedStatesUnitedStatesUnitedStates
When i add COuntry UDF, first it printed UnitedStates once, When i add State UDF, the country UDF value came as two time (UnitedStatesUnitedStates). When i added UDF Phone Number, Phone number came once, But state came twice (CACA) and Country came thrice (UnitedStatesUnitedStatesUnitedStates) and so on.
The following are the two contrasting scenarios.
1. First, I used existing UDFs which we created longback and tried attaching to the view form, I am getting the error i mentioned.
2. Second is I created two new UDFs and attached to the view form, i am not getting any error. Its printing all the values once.
It happened that i already customized the view form using Data Component - Catalog instead of Data Component - manage User for view form customization. I published that sandbox. Then I realized that it was a mistake, so i created a new sandbox, removed all the fields and then published that sandbox. The view form came back to as it was before modification. After that, i created one more sandbox, tried attaching UDFs to view form using Data Component - manage User---> UserV01, i am getting the error of multiple values as i mentioned above.
Please guide on what i can do further to solve the error. Thank you for your timie in advance.
RegardsHi Nishith,
I think it's only display issue. We have contacted oracle and raised an SR. they say it's fine when they recreate the same scenario. As i said, this isuue is only when we use existing UDFs and the sandbox is already published. Thats the complication now. -
Hi,
Can we make UDF in Open item list report or Form/Batch number update form.Hi,
Are you referring below screen shots for adding UDF?
Thanks & Regards,
Nagarajan -
Hi,
We have added UDFs to the sales order. The UDFs are our estimated costs to fulfill the sales order (raw materials, labor, etc.) We are trying to create an actual vs. budget report in XL Reporter. We are having trouble retrieving the UDFs. I have tried "Get Other Data", but am not able to write a WHERE statement in the Conditions box that the system will accept.
Any help is greatly appreciated!
Thanks,
JenniferYou can retrieve your UDF's in XL Reporter. When in Report Composer - Tools>User Defined Fields. You can select which UDF's you want to display in the composer window. The fields will then also be available once you are in the Excel designer window. If you have a problem with displaying the fields you should log a support call with SAP.
Hope this helps.
Regards
Daan -
Hide UDFs in Marketing Docs (Not Displayed)
Hi All,
I have created 12 UDFs in Marketing Docs for the "Stock Transfer"....But they will appear in all the Marketing Docs (AR and AP and many, many, many more) It seems like I would have to go into each and every Marketing Doc under each and every User Name and Edit the UDFs Settings.
Is there a way I can hide these UDFs from all the Marketing Docs/Forms except the intended Form??? (Stock Transfer Form) without the use of coding. I want to use the Std SBO Customizing functionality...
Thanks GuysHi Noor,
I don't know a way to block the added UDFs to be visible and modified by the user... unless changing the settings for the specific form (be careful the user has no rights to change them one more time and block your calculations).
The best way to avoid problems is to block the user from modifying them by disabling them when the form is loaded (by using SDK).
Anyone else has a better trick?
Regards
Trinidad.
Maybe you are looking for
-
Bug in P6 integration API. Where do I post it?
assert new com.primavera.common.value.Percent(0.1) != new com.primavera.common.value.Percent(0.9) this fails
-
Best camera for low light and sports
have the sx200is looking for a newer camera for sports and low light shots
-
My Servlet cannot parse a French date I enter when using UTF-8 encoding, but can when I use ISO-8859-1 This is when: 1. a form, with a date displayed in a field (the first time you enter a default date is displayed) 2. when I submit the form, a Simpl
-
Re: Adobe Download Assistant error 107 help
Jeff Wright. Day 5 after purchase and my downloading problem is still not resolved! Not impressed and I'm out of pocket by $99!!!! If Adobe doesn't live up to its service contract, I'm demanding my money back from the retailer. Maybe I'll start a
-
Hi friends.. how to use the tab pages & map in WAD....moreover for what kinda reports we use this....can anyone tell me.. regards, ramanan.