Can we Customize Edit User-Defined Table Screen in Fusion Application
Hi All,
We have a requirement to add a ADFDI functionality to the 'Edit USer-Defined Table' screen by adding a 'Mass Upload' Button.
Normally for Some of the screens (Fusion Compensation) i am seeing 'Personalize -> Edit Current Page' Option on Menu items on top. But on 'Edit User-Defined Table' i am not seeing this option in 'Personalize' Menu.
So the questions is is this screen Customizable in Fusion Application? If So What will be EAR file which we need to use for Customization.
The screen where we need to add ADFDI Functionality is under 'oracle/apps/setup' path.
Can anyone point me to the Exact EAR on this and also let me know if we can customize it or not
Thanks
Kaja
Generally the code structure can be observed run-time [url https://blogs.oracle.com/fadevrel/entry/finding_code_artifacts_for_customization]using the composer, however in your case the content comes through a portlet in which case the method does not work as you cannot drill down to the specific region details in the composer. Based on a search through the code I think the regions you are interested are:
<li>hcmPayroll/userTables/ui/public_html/oracle/apps/hcm/userTables/ui/page/UserTableSearch.jsff --> This is the details page with header "Manage User-Defined Tables"
<li>hcmPayroll/userTables/ui/public_html/oracle/apps/hcm/userTables/ui/page/ManageUserStructure.jsff --> This is the details page with header "User-Defined Table: <TABLE_NAME>"
These would presumably be in EarHcmPayroll. I'll see if I can find out how the portlet content can be observed from the RT application..
Jani Rautiainen
Fusion Applications Developer Relations
https://blogs.oracle.com/fadevrel/
Similar Messages
-
UDT and UDF - User-defined Tables and Fields
Dear All,
I am writing a Query to permit the Cashier to check her Cash entries and balances on a Daily basis.
Basically, it's a General Ledger, but I want the Query - Selection Criteria window to display only a few GL codes namely GL codes 1240601, 1240602, 1240603 etc.
I don't know if I am doing it right. This is what I did (SAP B1 8.8):
UDT
I created a UDT called TEST2 using:
Tools -> Customization Tools -> User-defined Tables - Setup
UDF
Then I created a field in the UDT called GlCod using User-Defined Fields - Management
Title : GlCod
Description : GL Code
Type : Alphanumeric 30
Field Data
In the Field Data window, I ticked the Set Valid Values for Fields checkbox and filled in the blanks as follows:
# Value Description
1 1240601 Cash in Hand (Rs)
2 1240602 Cash in Hand (USD Notes)
3 1240603 Cash in Hand (Euro Notes)
etc...
Query
Then I wrote my Query (see below).
When I run it, I get the Selection Criteria screen as I wanted:
Query - Selection Criteria
GL Code ............... (arrow here)
Posting Date ...............
[OK] [Cancel]
When I click on the GL Code arrow, I get a window with the exact choices I need. It looks like this:
1240601 - Cash in Hand (Rs)
1240602 - Cash in Hand (USD Notes)
1240603 - Cash in Hand (Euro Notes)
Executing the Query
The Query seems to run normally, but nothing is generated on the screen, and there's no Error Message.
What can be wrong about this query?
I suspect that the GL codes in JDT1 and TEST2 are not of the same data type, so that INNER JOIN returns nothing.
Thanks,
Leon Lai
Here's my SQL
declare @TEST2 TABLE
(GlCod varchar(30))
declare @GlCod nvarchar (30)
set @GlCod =/*SELECT T0.U_GlCod from [dbo].[@TEST2] T0 where T0.U_GlCod=*/ '[%0]'
declare @refdt datetime
set @ref=/*SELECT T1.RefDate from [dbo].[JDT1] T1 where T1.RefDate=*/ '[%1]'
select
t1.Account as 'GL Code',
t1.RefDate as 'Posting Date',
t0.U_GlCod as 'Restricted GL Codes'
from JDT1 T1
INNER JOIN @TEST2 T0 ON T0.[U_GlCod] = T1.[Account]
WHERE
t1.RefDate <= @refdt
and
t0.U_GLCod = @GlCodTry this:
declare @GlCod nvarchar (30)
set @GlCod =/*SELECT T0.U_GlCod from [dbo].[@TEST2] T0 where T0.U_GlCod=*/ '[%0]'
declare @refdt datetime
set @refdt=/*SELECT T1.RefDate from [dbo].[JDT1] T1 where T1.RefDate=*/ '[%1]'
select
t1.Account as 'GL Code',
t1.RefDate as 'Posting Date'
from JDT1 T1
WHERE
t1.RefDate <= @refdt
and
T1.[Account] = @GlCod
(There is no need to declare the memoria table @test2 if you already created one table with this name.
And there is no need to a join.)
Edited by: István Korös on Aug 15, 2011 1:27 PM -
User defined Selection screen for Logical database
hi all,
can we display a user defined selection screen instead of the default selection screen in LDB . eg pnp
cheers
senthilHi,
to my knowledge, the selection screen of a logical database can only be changed (versions!) in the logical database itself.
What you can do is, write a program with your own selection screen an then either call another program that uses the LDB or - much better - you call the LDB from your program with function module LDB_PROCESS!
Example taken from the example library (TA ABAPDOCU):
<b>REPORT demo_logical_database.
DATA wa_spfli TYPE spfli.
SELECT-OPTIONS s_carr FOR wa_spfli-carrid.
DATA: callback TYPE TABLE OF ldbcb,
callback_wa LIKE LINE OF callback.
DATA: seltab TYPE TABLE OF rsparams,
seltab_wa LIKE LINE OF seltab.
callback_wa-ldbnode = 'SPFLI'.
callback_wa-get = 'X'.
callback_wa-get_late = 'X'.
callback_wa-cb_prog = sy-repid.
callback_wa-cb_form = 'CALLBACK_SPFLI'.
APPEND callback_wa TO callback.
CLEAR callback_wa.
callback_wa-ldbnode = 'SFLIGHT'.
callback_wa-get = 'X'.
callback_wa-cb_prog = sy-repid.
callback_wa-cb_form = 'CALLBACK_SFLIGHT'.
APPEND callback_wa TO callback.
seltab_wa-kind = 'S'.
seltab_wa-selname = 'CARRID'.
LOOP AT s_carr.
MOVE-CORRESPONDING s_carr TO seltab_wa.
APPEND seltab_wa TO seltab.
ENDLOOP.
CALL FUNCTION 'LDB_PROCESS'
EXPORTING
ldbname = 'F1S'
variant = ' '
TABLES
callback = callback
selections = seltab
EXCEPTIONS
ldb_not_reentrant = 1
ldb_incorrect = 2
ldb_already_running = 3
ldb_error = 4
ldb_selections_error = 5
ldb_selections_not_accepted = 6
variant_not_existent = 7
variant_obsolete = 8
variant_error = 9
free_selections_error = 10
callback_no_event = 11
callback_node_duplicate = 12
OTHERS = 13.
IF sy-subrc <> 0.
WRITE: 'Exception with SY-SUBRC', sy-subrc.
ENDIF.
FORM callback_spfli USING name TYPE ldbn-ldbnode
wa TYPE spfli
evt TYPE c
check TYPE c.
CASE evt.
WHEN 'G'.
WRITE: / wa-carrid, wa-connid, wa-cityfrom, wa-cityto.
ULINE.
WHEN 'L'.
ULINE.
ENDCASE.
ENDFORM.
FORM callback_sflight USING name TYPE ldbn-ldbnode
wa TYPE sflight
evt TYPE c
check TYPE c.
WRITE: / wa-fldate, wa-seatsocc, wa-seatsmax.
ENDFORM.</b> -
how make new table as i need in sap b1 and also tell me how to insert update data in that table
thanks and regards
ParagIf you need to add table using a program, you have to use the UserTableMD object. Once table is created you can add fields using UserFieldsMD object.
Help is available with SDK help center.
Once table is created, you can add data using RecordSet objects, UserTables Objects etc.
You can also create table and fields using SBO (Tools->Customization Tools->User-Defined Tables - Setup...) and
(Tools->Customization Tools->User-Defined Fields - Management...) etc.
Anoop -
User defined table in XL Reporter
Hi Everyone,
Can a user defined table be used in XL Reporter. I know we can add user defined fields to be used in XL Reporter but can we also make use of user defined table to draw data in a XL Reporter report?
If yes, how can we add them.
Thank you for your help.
Regards,
PayalHi,
It does not seem that the information can be extracted from User Defined Tables in XL Reporter.
May be you can have a look at the Landing Page of XLR and check if you can find something relevant :
[XLR Landing Page|https://websmp106.sap-ag.de/~sapidb/011000358700001172792006E]
Kind Regards,
Jitin
SAP Business One Forum Team -
Can I sort a basic User Defined Table
We have some basic user defined tables, not using the sdk in any way, with an object type of no object. By default, these seem to be sorted by Code and/or Name. We have the code and name fields entered as sequential numbers. Since these fields are alphanumeric, the sort isn't pretty for us. Is there a way to sort this table by any of the udf's in the udt, instead of the Code or Name?
If I have 21 sequential entries
It sorts like this...
1 10 11 12 13 14 15 16 17 18 19 2 20 21 3 4 5 6 7 8 9
I would like it to sort like this...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
This might not seem bad in this example, but when you get into the hundreds and then thousands of records, it is real bad.
Also, when we add a new record, it seems to resort the table, record by record, so you can see the scroll bar scroll through the whole table. This takes a matter of 3-5 seconds now that we are in the 10,000 record range and the record we just entered is somewhere in the middle of the table.
Thanks for any help, answers or ideas.Hi,
I also faced same problem the I started to enter values like 000001,000002,000003 in code. So it will sort automatically and if you want to do in query you can try this query.
select code,name from [@Test] order by CONVERT(int, code)
In udt you cannot directly sort on code column with the figures of 1,2,3.
Thanks
Sachin -
Can't bind status field in user defined table
Hi!,
I want to display the status of my document type user table, I added an EditText (unique id = txtStatus) control in ScreenPainter and Iam getting a Can't Bind error in this line of code. @Meta is my user defined table of type document
((SAPbouiCOM.EditText)oForm.Items.Item("txtStatus").Specific).DataBind.SetBound(true, "@META", "Status");
Thank you!2 alternatives:
1.Bind the Status field to "textStatus" EditText field in ScreenPainter
2.Either in your code, bind the Status field to a ComoBox field since it has valid values.
Both works fine in my test.
By the way, I get the same error Status field to "textStatus" EditText field.
Kind Regards
-Yatsea -
Help needed for data updation in User Defined Tables
Hello Experts,
I am developing one add-on in SAP B1 8.8 to input data in a User Defined Table described as under
Table Name
DriverMst UDT Type is No Object
Description
Stores the Driver master data which are used to get reference in Sale Delivery Form and Driver data management activity
User defined fields
Data Name
Data source
Size
Pane Level
Description
Driver Code
Code
Alphanumeric
0
No object table fixed field
System Name
Name
Alphanumeric
30
0
No object table fixed field
Full Name
FullName
Text
50
0
Father Name
FatherName
Text
50
0
Birth Date
BirthDate
Date
0
Phone Number
PhoneNo
Alphanumeric
50
0
Mobile No
MobileNo
Alphanumeric
13
0
I have created one form using screen painter displaying text boxes and bind them to the table.
This form is working absolutely fine when there are some data in table (i.e. Browse using navigation)
My problem is, when I click add button from tool bar the "OK" button turn to "Add" that means the form is set to Add mode, but when I click "Add" button after entering some data nothing happens and input data is not stored in Table. The same "OK" Button turned to "Update" when I do changes in loaded data, but my changes are not reflected to table after I click "Update".Thanks Nagarajan,
None.
There is no such query. The table fields is directly linked to Edit Box or Combo Box in form.
From the examples I learned that I have to do something like this to get my table updated
Dim oUsrTbl As SAPbobsCOM.UserTable
Dim Res As Integer
oUsrTbl = oCompany.UserTables.Item("DRIVERMST")
oUsrTbl.Code = oBPC.Value 'Item Specific of Driver Code Edit Box
oUsrTbl.Name = Left(oBPN.Value, 30) 'Item Specific of Name Edit Box
oUsrTbl.UserFields.Fields.Item("U_FullName").Value = oMFN.Value
oUsrTbl.UserFields.Fields.Item("U_FatherName").Value = oFTHN.Value
oUsrTbl.UserFields.Fields.Item("U_BirthDate").Value = oDOB.Value
oUsrTbl.UserFields.Fields.Item("U_PhoneNo").Value = oPHN.Value
(Similar For rest ofthe fields)
Res = oUsrTbl.Add()
Just let me know that is this necessary to do like above.. To be frank there are few more fields and matrices on the form which I didn't mentioned. I am just trying to get recovered from first step to proceed further.
Regards -
Problems adding new rows to a simple user defined table manually
Hi
I have just created a user defined table ( SAP 2007 SP01 PL9 ) but when I try to add a line using tools ->userdefined tables I get the following error -
conversion failed when converting the nvarchar value '-3 @GLMAP to data type int ( CINF )
The table is called GLMAP and I simply added 3 alpha fields
I put 1 into all the fields on screen
Can anyone suggest anything please as ideally I would like the end user to be able to update this simple table
Many thanks
Regards AndyAndy
I think in your case you have used DBDataSource to display data from UDT on your form.
Easyier to use UDO than User Defined Table, because you do not have to programming at UDO based forms.
What István tried to say:
Check your sp_transactionnotification procedure, maybe you have used @object_type variable as integer instead of nvarchar
Regards
J -
Query SQL with variables Parameters and user defined tables
Hi everyone
I got a problem about Query SQL
[dbo].[@CSOURCE] is a user defined table
select * from [dbo].[@CSOURCE]
you can get the result in following
code name
T01 newspaper
T02 TV
T03 radio
T04 friends
when I execute the following SQL Statements ,I get an error
SELECT T0.CardCode , 0.CardName ,T1.Name ,T2.SONumber
FROM OCRD T0 LEFT JOIN [dbo].[@CSOURCE] T1 ON T0.U_CSOURCE = T1.Code
LEFT JOIN (SELECT T0.CardCode ,COUNT(T0.DocNum)SONumber
FROM ODLN T0 INNER JOIN OCRD T1 ON T0.CardCode = T1.CardCode
WHERE T1.GroupCode =111
AND (T0.DocDate >=[%0] or [%0]='')
AND (T0.DocDate <=[%1] or [%1]='')
GROUP BY T0.CardCode) T2 ON T0.CardCode=T2.CardCode
WHERE T0.GroupCode =111
and T0.CardType ='C
Is there anyone can correct it for me
thank you very much
Edited by: Li Mishan on Jul 17, 2008 9:36 AM
Edited by: Li Mishan on Jul 17, 2008 9:40 AMI am sorry .It is just a mistake of my typewriting.
The following is the whole SQL
dbo.@CSOURCE is a user table.It's content is
code name
T01 newspaper
T02 TV
T03 radio
T04 friends
declare @m int
declare @FromDate DateTime
declare @ToDate DateTime
set @m=(SELECT count(*) FROM ORDR T0 WHERE T0.DocDate >=[%0] and T0.DocDate <=[%1])
set @FromDate=[%0]
set @ToDate=[%1]
/*****************If I do not connect user tavble dbo.@CSOURCE ,I will succed *****************************************************/
SELECT T0.CardCode ,T0.CardName ,T2.SONumber,T1.Name
FROM OCRD T0 LEFT JOIN [dbo].[@CSOURCE] T1 ON T0.U_CSOURCE = T1.Code
LEFT JOIN (
SELECT T0.CardCode ,COUNT(T0.DocNum)SONumber FROM ODLN T0 INNER JOIN OCRD T1 ON T0.CardCode = T1.CardCode
WHERE T1.GroupCode =111
AND (T0.DocDate >=@FromDate or @FromDate='')
AND (T0.DocDate <=@ToDate or @ToDate ='')
GROUP BY T0.CardCode
) T2 ON T0.CardCode=T2.CardCode
WHERE T0.GroupCode =111
and T0.CardType ='C'
when I excute the SQL, It return a error , whith says the column name '%0' is invalid.
If I delete "set @m=(SELECT count(*) FROM ORDR T0 WHERE T0.DocDate >=[%0] and T0.DocDate <=[%1])"
and rewrite "set @FromDate='2008.05.01' set @ToDate='2008.07.01' "
It Shows the following results
CardCode CardName SONumber name
1 000070 Deng. Jiahua 1 newspaper
2 000293 LU .Weijuan 1 radio
3 000313 Xie .Jifang 3 TV
Edited by: Li Mishan on Jul 18, 2008 4:42 AM
Edited by: Li Mishan on Jul 18, 2008 4:43 AM
Edited by: Li Mishan on Jul 18, 2008 5:43 AM -
Dear Experts,
I would appriciate your advice on the sales budget screen that I am currently woking on.
the screen contains a matrix with a cfl on the product group column and a couple of columns stand for sale figures for each month.
this screen will be called form the BP form. so i would pass the selected BP code to my form.
I am not sure whether a user defined table is the answer to this job.
if i add productGroup,productCode,cardcode,Jan,Feb, ... user defined fields to this table then the system will add Code and Name fields automatically to this table, if the userdeined table is the right way to go for this job, what values i should held for the code and name fields considering both of these fields are stand alone primary key fields.
Many thanks.
Maryam.I usually load the same value into both fields, but since the code field is only eight bytes its kind of limiting. If you don't have any information to load in the table that would be unique, like a date or year field, (or your product code if its less than 9 bytes & will be unique) then a sequential number works fine. There are threads on this forum that show different ways to do it, but one way is basically to select max(code) from the table, convert the value to numeric, add one to it and then use it as the value for both fields.
Here's a link to a thread I posted with some code on the specifics of assigning the next sequential number as code and name:
[Re: Unique Value in Code and Name]
Edited by: John Chadwick on Sep 18, 2009 2:53 PM -
HOW TO TRANSFER USER DEFINED TABLE DATA IN NEW DATABASE
Dear all , I am trying to transfer user defined table data,in new database ,can you please tell how i can do it
Thanks for Quick responce
I have Following databases
1) Targate Database EOU TEST
2) Source database STI_BLANK
Table @MACHINE
I tried But it has some error
INSERT INTO EOU TEST.@MACHINE
SELECT STI_BLANK.@MACHINE* FROM STI_BLANK.@MACHINE
Edited by: Abhijit Bhise on Apr 1, 2010 3:27 PM
Edited by: Abhijit Bhise on Apr 1, 2010 3:28 PM -
How to read and write data to a user defined table?
I have created a srf with 2 edit box and a ok buttin, I want to insert data to the user defined table i created using sql query while i press OK button..
Please provide the complete code to insert and select da from the user defined table.Hi,
You can use the code below.
Dim ret As Long
d
Private Sub Add_Table_Click()
Dim oUserTablesMD As SAPbobsCOM.UserTablesMD
Set oUserTablesMD = oCompany.GetBusinessObject(oUserTables)
' When adding user tables or fields, use a prefix
' identifying your partner name space. This will
' prevent collisions from different partner add-ons
' SAP's name space prefix is "BE_"
'Set the two mandatory fields
oUserTablesMD.TableName = "T1"
oUserTablesMD.TableDescription = "Table1"
'Add the table (which contains 2 default, mandatory fields, 'Code' and 'Name')
ret = oUserTablesMD.Add
If ret <> 0 Then
oCompany.GetLastError ret, Str
MsgBox Str
Else
MsgBox "Table: " & oUserTablesMD.TableName & " was added successfully"
End If
End Sub
Private Sub Add_UDF_Click()
Dim oUserFieldsMD As SAPbobsCOM.UserFieldsMD
Set oUserFieldsMD = oCompany.GetBusinessObject(oUserFields)
oUserFieldsMD.TableName = "T1"
oUserFieldsMD.Name = "AlbUDF"
oUserFieldsMD.Description = "Albert UDF"
'Add the field to the table
lRetCode = oUserFieldsMD.Add
If lRetCode <> 0 Then
oCompany.GetLastError ret, Str
MsgBox Str
Else
MsgBox "Field: '" & oUserFieldsMD.Name & "' was added successfuly to " & oUserFieldsMD.TableName & " Table"
End If
End Sub
Private Sub Add_Data_Click()
Dim oUserTable As SAPbobsCOM.UserTable
Set oUserTable = oCompany.UserTables.Item(1)
oUserTable.GetByKey ("T1")
'Set default, mandatory fields
oUserTable.Code = "A"
oUserTable.Name = "Albert"
'Set user field
oUserTable.UserFields.Fields.Item("U_AlbUDF").Value = "1"
oUserTable.Add
If ret <> 0 Then
oCompany.GetLastError ret, Str
MsgBox Str
Else
MsgBox "Value to field: '" & oUserTable.UserFields.Fields.Item("U_AlbUDF").Name & "' was updated successfuly to " & oUserTable.TableName & " Table"
End If
End Sub
Regards,
Noor -
No value is select from user define table
Hi ALL,
i am using B1if , i am sending data B1 to isr , i am using user define table but problem no value is select from user define table .
my table ID is @SSRPOD
<payload operation="">
<ns0:MT_POD_B1_System xmlns:ns0="http://xxxx.com/SC/B1/Dlvr/CustDlvr/ExtPrfOfDlvr">
<POD>
<Header>
<SalesOrderNumber>
<xsl:value-of select="$msg/BOM/BO/@SSRPOD/row/U_SalOrdNo" />
</SalesOrderNumber>
<ArrivalDate>
<xsl:value-of select="$msg/BOM/BO/@SSRPOD/row/U_TaxDate" />
</ArrivalDate>
<Detail>
<DOLineQuantity>
<xsl:value-of select="$msg/BOM/BO/@SSRPOD/row/U_Quantity" />
</DOLineQuantity>
<UOM>
<xsl:value-of select="$msg/BOM/BO/@SSRPOD/row/U_Unitmsr" />
</UOM>
</Detail>
</Header>
</POD>
</ns0:MT_POD_B1_System>
</payload>
I have set following things.
Inbound Channel
scenirio step identifier :z.xxxx
Inbound Channel(IPO):INB_B1_EVNT_ASYN_EVT
InboundType:Asynchronous
Process Trigger:B1Event
Identification Method: B1Event
Identification Parameter:n.a
Identifier:?????
Identifier Namespace:??????
can anyone help me?
Edited by: Sinha_Sinha on Feb 3, 2012 7:47 AMFound an authorization object was missing, that enabled the case types to show but hitting the GO button brought a page that can not be viewed in IE. on to the next hurdle..........
-
Print Layout to User Defined Table
Hello guyz..
I want a make preprinted for my user query from user defined table where the header information is from another query.
I guess, the base template User Report (system) can only show the repetitve data from one query but the header area is not,
could you help, showing the header information from another query ??
Thanks RegardsRia
The word is that you cannot use the PLD with user defined tables (i wish it was possible). So in any case to do that you have to use third party tools such as Crystal Reports and Reporting Services
Maybe you are looking for
-
My Apple TV all of a sudden refuses to show the movies from my MacBook and says it needs to set time network. What is that?
-
How can I transfer an e book from ADE to calibre and then to a sony ereader on a Mac
Hi, I've read the past forums on this and I'm still having a real problem. I've got a Mac, my ADE is version 1.7 and my Sony reader is a 505. I can download an ebook into ADE but I can't get it into calibre to add it to my Sony, everytime I try an dr
-
I've tried to reset my iPhone, shut it down, and connect it to my computer. Nothing has worked.
-
Aperture and iCloud - what happens to MobileMe galleries?
Anyone have any insight on whether icloud will host aperture photo galleries?
-
Pairing iPhone 3 with Samsung HKT450 Bluetooth Car Kit
I just bought a Samsung HKT450 Bluetooth Car Kit from New Egg. The device goes into pairing mode, but my iPhone 3, when I set it to search, it searches then goes back to off not showing the device to pair. I can repeat this everytime while the device