How adding folder to existing SBO screen?
Hi all,
I'd like to add a folder in the "Employee Master Data" screen? Is it possible? If yes, how can I do?
Thanks in advance,
Sylvie.
Yes ... it's possible. You have to code your way to it though. Here is an example
Dim oFolder As SAPbouiCOM.Folder
Dim oNewItem As SAPbouiCOM.Item = oForm.Items.Add("NewFold", SAPbouiCOM.BoFormItemTypes.it_FOLDER)
With oNewItem
.AffectsFormMode = False
.FromPane = oForm.Items.Item("143").FromPane 'set Item's Pane Level. value determines Items visibility according to Form's pane level
.Left = oForm.Items.Item("143").Left + 2
.Width = ((oForm.ClientWidth - 10) / 8) - 2
.Height = oForm.Items.Item("143").Height
.Top = oForm.Items.Item("143").Top
.ToPane = oForm.Items.Item("143").ToPane
oFolder = .Specific
End With
With oFolder
.Caption = "NewFold" 'set caption
.GroupWith("143")
'.DataBind.SetBound(True, "", "FolderDS")
'.ValOn = 1
'.ValOff = 0
End With
Remember to set the oForm variable to the Employee Master Form.
Cheers
Similar Messages
-
How to replace the existing selection screen with new selection screen
Hi,
I have first selection screen with parametre as a table name, then I have created dynamic selection screen as 2nd selection screen with different fields of that table as select options. This is done using genaration of dynamic report. Now If I click on button on this 2nd selction screen , then I want to replace this 2nd dynamic selection screen , with the other selection screen fields.
Can anybody guide me, How to do replace one slection screen with different selection screen.
and one imp thing is this selction screen is populating with dynamic fields on it.
Regards,
MrunalAs I can understand you want to make some of the screen field to disable or visible on screen depending upon the interaction of user with screen 1.
You may use this example code in PBO of screen 2.
LOOP AT SCREEN.
" action has been taken to modify the area office screen as per the option chosen at screen 99.
CASE ACTION.
" if the user has taken up the option of UPLOAD
WHEN 'UP'. " screen processing while we upload the plan
" during upload we will make dates as output fields only
IF SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_TO' OR SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_FRM'.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF.
" also make 2 buttons disabled
IF SCREEN-NAME = 'AO_DO' OR SCREEN-NAME = 'AO_VE'.
SCREEN-ACTIVE = 0.
MODIFY SCREEN.
ENDIF.
WHEN 'DN'. " screen processing while we upload the approved plan
" during upload we will make dates as output fields only
IF SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_TO' OR SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_FRM'.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF.
" also make 2 buttons disabled
IF SCREEN-NAME = 'AO_UP' OR SCREEN-NAME = 'AO_VE'.
SCREEN-ACTIVE = 0.
MODIFY SCREEN.
ENDIF.
WHEN 'VW'. " screen processing while we view the plan
" during upload we will make dates as output fields only
IF SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_TO' OR SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_FRM'.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF.
" also make 2 buttons disabled
IF SCREEN-NAME = 'RLGRAP-FILENAME' OR SCREEN-NAME = 'FNAME'.
SCREEN-ACTIVE = 0.
MODIFY SCREEN.
ENDIF.
" and hide the file input field
IF SCREEN-NAME = 'AO_DO' OR SCREEN-NAME = 'AO_UP'.
SCREEN-ACTIVE = 0.
MODIFY SCREEN.
ENDIF.
ENDCASE.
ENDLOOP. -
How can I get a search bar added to my email archives screen to make it easier to search for the right archives folder, Samsung has one so I was surprised to see that I have to scroll up and down to find the right folder?
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
* Don't make any changes on the Safe mode start window.
* https://support.mozilla.com/kb/Safe+Mode
* https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
You can modify the pref <b>keyword.URL</b> on the <b>about:config</b> page to use Google's "I'm Feeling Lucky" or Google's "Browse By Name".
* Google "I'm Feeling Lucky": http://www.google.com/search?btnI=I%27m+Feeling+Lucky&ie=UTF-8&oe=UTF-8&q=
* Google "Browse by Name": http://www.google.com/search?ie=UTF-8&sourceid=navclient&gfns=1&q=
* http://kb.mozillazine.org/keyword.URL
* http://kb.mozillazine.org/Location_Bar_search -
How to read and set Pane value for new adding folder
Hi Experts,
I tried to add a new folder in to a system form as below
Itm = form.Items.Add("UserFolder"), SAPbouiCOM.BoFormItemTypes.it_FOLDER)
form.DataSources.UserDataSources.Add("F_new", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 1)
Dim oFolder As SAPbouiCOM.Folder
oFolder.DataBind.SetBound(True, "", "F_new")
oFolder.GroupWith("138")
My quester is what is the panelevel for this new folder? And how to set value to panelevel for this folder.
If we design a folder from Screen Painter, we can set the pane value manually, can we do this from code?
Thanks a lot
TimHello,
You do not have to set any panelevel for your folder, if you would like to display it all the panelevels. (Let's see an example on Item Master data form).
Sales, Purchase, Inventory etc tabs (folders) are always visible, there is no panelevel set for them.
To change between panelevels, you can trigger et item pressed event, and before_action = false, then you may change the panelevel of the form poperly.
For initially you may use the Folder.Select() command to show the default panelevel
>The problem is here, it looks like oFrom.Panelevel property can only accept integer value, so how can I know what's the pane level number for my folder?
Do not set panelevel for your folders, you should drive your form's panelevel based on a selection tree:
To see clear, please check the following code in the help sample: CompexForm
C:Program FilesSAPMásolat - SAP Business One SDKSamplesCOM UIVB.NET07.ComplexForm2003
to make it clear:
'// Adding Folder items
For i = 1 To 2
oItem = oForm.Items.Add("Folder" & i, SAPbouiCOM.BoFormItemTypes.it_FOLDER)
oItem.Left = (i - 1) * 100
oItem.Width = 100
oItem.Top = 6
oItem.Height = 19
oFolder = oItem.Specific
'// set the caption
oFolder.Caption = "Folder" & i
oFolder.DataBind.SetBound(True, "", "FolderDS")
If i = 1 Then
oFolder.Select()
Else
oFolder.GroupWith(("Folder" & i - 1))
End If
Next i
This code add 2 folders to the form: and the first (i = 1) is selected.
IN itemevent, the panelevel property of the form is depending from the item you have clicked:
Case SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED
'// Check if the event was raised by one of the Folder items
'// and change the form's pane level
If pVal.ItemUID = "Folder1" Then
oForm.PaneLevel = 1
End If
If pVal.ItemUID = "Folder2" Then
oForm.PaneLevel = 2
End If
Regards
János -
How can I move pictures from Finder to a folder on my main screen?
I'm trying to put a bunch of photos that are currently in Finder into a folder on my main screen so I can drag them easily onto photo printing sites. How do I do that?
Thanks!Thanks! But I have like 100 pictures………is there a way to do them as a group instead of individually? I also want them in some sort of folder not just 100 individual photos all over the main screen. Is there a way to create that?
-
Was importing cd's and suddenly can't see recently added folder, been unable to figure out how to re-display it, know the songs are going somewhere
See Restore Original Smart Playlists.
tt2 -
I have the 5.5 Lightroom software on my I-Mac with OS-X, 10.9.3. It seems I have lost 850 pictures I was developing. It all started when was adding a folder. A new screen came up with no photos. I went back to my external drive, trying to open the folder (containing the pictures I was working on), an icon "Thumbs" came up. When I click on it, a message "can't find the application" came up, there is no picture to be found. Please help. Frustrated-George
Have you tried resetting the SMC ? > Resetting the System Management Controller (SMC)
-
How you make recend uploads appear in the recently added folder
When adding to itunes library, how do you make the selections appear in the recently added folder. The folder was deleted but rebuilt.
It is a mixed playlist and finally I came up with an answer; it might sound strange but I woke up from a nap with all correct settings figured out.
This is what I did:
I had to specify a subset for every podcast or I would end up with every episode available on my library which in turn would reach the limit I set but that's OK. I noticed though, that podcast won't sync to iTunes Match, which is a bummer, but still they sync over Wi-Fi. This is what I got finally:
Thanks for all your help! -
I have accidently deleted my recently added folder, how do i get it back
I have accidently deleted my Recently Added folder in my iTunes. How d o I get it back. I wanted to delete the contence of the folder and ended up deleting the entire folder.
Any help would be great. I have itunes on my laptop.Choose New Smart Playlist from the File menu and create a new smart playlist which lists items added in the last 2 weeks, excludes podcasts, and is live updated.
(83459) -
Adding a boolean field to an existing sbo table
hi everybody
i want to add a boolean field to an existing sbo table.
when i try to do it from the tools ... manage user fields
i get only types like numeric string..
i dont get the booelan type
does anybody know how can i do that thanks.
for now i used the numeric type and the values 0 and 1Hi,
you can do it in the following way:
checkBox = ((SAPbouiCOM.CheckBox)(item.Specific));
checkBox.Caption = this.caption;
<b>checkBox.DataBind.SetBound(true, tableName, alias);</b>
checkBox.ValOn = "1";
checkBox.ValOff = "0";
Andrey -
How do I add "recently added" folder back to my itunes?
How do I add "recently added" folder back to my itunes on my Mac book Pro?
Hi.
"Recently Added" is just a Smart Playlist. You can recreate it by clicking File from the menubar, then New Smart Playlist. Mine is still set to the iTunes default condiitons which are to match all of the rules, Date Added in the last 2 weeks, Media Kind is not a Podcast, and Live Updating, but you can play with rules however you'd like.
Good Luck
srb -
Recently Added Folder Deleted...How Do I Get It Back???
I mistakenly deleted the "recently added folder" on my iTunes page. Does anyone know how I can retrieve it, or re-add it????
Thanks....
Kevin.I think you can re-add it in File > New Smart Playlist at the top left of iTunes
hope I could help
Message was edited by: Westlife_Lillix21 -
I accidently deleted recently added folder, How can I get it back?
How can I re add my recently added folder?
You can recreate a smartlist for 'recently added' (File > New > Smart Playlist) - mine looks like :
-
I have tried to make a folder on my home screen the way everyone is saying I should but it just isn't working. I don't see what I am doing wrong. Is there a button I have to push to make it happen? Thanks so much.
Just hold down on one icon until they all start to wiggle, then drag two on top of each other. If the app you're trying to folderize doesn't work, try a different one. Some of them will not easily go into a folder on their own. (for example, if you want to tuck newsstand into a folder, you have to use two other app icons to make the folder then quickly drag newsstand into that folder)
-
How do i get my recently added folder onto my iPhone?
my recently added folder and most listened to folders wont show up on my iPhone, why?
Hey man!
Basically those playlists were just 'Smart Playlists' created by iTunes.
To re-create them, click File > New Smartlist. Then select 'Date Added', 'in the last', '2' and 'weeks. Live updating should be checked!
Then name the playlist 'Recently Added'
Hope it helps!
Maybe you are looking for
-
When I add social widget to my site I get other banner attach with it please help
I was add some code to my site to help my site get found in search. When I finished I saw banner very big and not in position I want I decide to delete the banner. But now I got problem every social widget I will get that big banner the one I was d
-
Sound dropping using AX and iTunes
Hi- My connection between my laptop iTunes and my AX/home stereo connection drops the signal every 10 seconds or so. I know this problem has been discussed in earlier posts, but I haven't been able to locate the discussion thread. Does anyone have a
-
dear friends, please tell me how to debug the workflow, if you have time then you just see the workflow WS99900212 . in this i have done Leave Approver Notification . but i want to debug on that how to flow step by step . please you tell me on same
-
I need help Restoring my iphone 4s. my daughter some how put into revovery mode and it will not restore i have tried uninstalling and reinstalling itunes and nothing. i use windows and i keep getting error 9 which is a "usb" problem, i have tried tro
-
Help please with concentric circles
I'm working in full Photoshop CS5, I'm trying to create a layer with transparent background and a series of concentric circles of regularly increasing diameter, transparent fill and lines of maybe 2pt thickness and 70% opacity. I can't work out how t