Table view control problem in screen painter
Hi All,
i am unable to display the contents in the table view control in screen painter....actually i have created two screen one to take input and second to display details on next screen in table view control..but i m nt getting that details...
my second screen PBO/PAI code is
PROCESS BEFORE OUTPUT.
loop at itab with control TCNTRL CURSOR tcntrl-current_line.
MODULE STATUS_0101.
endloop.
PROCESS AFTER INPUT.
loop at itab.
endloop.
MODULE USER_COMMAND_0101.
can anyone solve my problem????????
Thanks,
Jayshree
Hi,
Use below approch (syntax may not be correct as I have typed it in notepad but use it as guide line)
***In screen flow logic
PROCESS AFTER INPUT.
module cancel at exit-command.
chain.
field: zproject_details-originator,
zproject_details-proj_type.
module check_data on chain-request.
endchain.
module user_command_002.
***In abap code
module cancel input.
leave program.
endmodule.
module check_data input.
if zproject_details-originator is initial.
message exxxx "throw error message here
endif.
if zproject_details-proj_type is initial.
message exxxx "throw error message here
endif.
endmodule.
module user_command_002.
save_ok = ok_code. "good practice to save okcode
clear ok_code.
case save_ok.
when 'save' " using constant for fcode here is better
perform save_data. "make it moduler instead of writing whole code in case statement
enscase.
endmodule.
form save_data.
** do some additional checks if required before saving
update zproject_details from zproject_details. " update database table here from work area contents
endform.
Regards,
Vishal
Similar Messages
-
TABLE VIEW CONTROL IN MODULE POOL PROGRAMMING
Hai Friends,
<b>My problem is i design table view control using se51. I entered the data on table view and when i press ENTER button on keyboard the total data is disapears from the screec(i.e table view).
but i do not want this functionality. when i press ENTER button on keyboard that data is must be on the screen only.....................
please tell me how it is possible
</b>Hello,
Fill the data of the table control in PBO event of the screen.
CHeck this sample report:
DEMO_DYNPRO_TABCONT_LOOP
Vasanth -
Input field in a table view control
Hi,
I have a table view control, with input field in one of the columns.
That is meant for entering some values.
My problem is when i am entering a 3 input field with value and then by using mouse control i enter say 20th input field with value. After that when i use the directional keys to enter the 21st field, the cursor is not in 21st field, it is somewhere else.
How to correct this problem.
Regards,
VijayalakshmiHi,
Try to use the TABINDEX property of <input>.
Best regards,
Guillaume -
Total sum to be displayed in a table view control ?
Hi,
I am unable to display the total sum of a column in a table view control( using HTMLB ). How should one display the sum of a column ?
THanks in advance,
VaraPrasadHi,
it should work once you are restricting the capacity of the out put port then it should provide that much rows only otherwise its a Bug.
Alternativily you are tellin to disaply using sorting then add a Sort operator to the output port and the display ur output port in down order.
But first option should work just check it again.
On which SP u r working?
Regards,
Govindu -
To display Total sum of a column in a table view control ?
Hi,
I am unable to display the sum of a column in a table view control ( using HTMLB ). How should one display the sum of a column in a table view control ?
Thanks in advance.
Vara.Hi there, do a search in this forum for TableView Iterator. Then check out these weblogs:
/people/thomas.jung3/blog/2004/09/15/bsp-150-a-developer146s-journal-part-xi--table-view-iterators
/people/brian.mckellar/blog/2003/10/31/bsp-programming-htmlb-tableview-iterator
An Iterator is the way to go for you -
Help Needed regarding to Table View Control
Hi Abapers
In Table View Control which property or system variable keeps the user selected row's row id.
Situation is that user enters many records into sales details table view. Table view contains the fields, productid product no qty discount and rate. Suppose user wants to delete one particular record(sales details) from that table view while entering this sales details .here i want to know which is that particular row that the user selected. Table views which property keeps this row no information. i am very glad if you people give me more information abount table View Controls .
With regards
Anoop.Hello Anoop,
post your questions in the correct forums and you can hope to get a better answer. This forum as you see is the suggestions and comments forum and not the ABAP forum.
Sameer -
Help Needed on Table View Control
Hi Abapers
In Table View Control which property or system variable keeps the user selected row's row id.
Situation is that user enters many records into sales details table view. Table view contains the fields, productid product no qty discount and rate. Suppose user wants to delete one particular record(sales details) from that table view while entering this sales details .here i want to know which is that particular row that the user selected. Table views which property keeps this row no information. i am very glad if you people give me more information abount table View Controls .
With regards
Anoop.You would have to use the outbound plugs to transfer data from your component to the other component. Here you have a parameter IV_DATA_COLLECTION. Fill the entries you want to fill here.
Check the Sold to Party pop up while creating Quotation for Sales cycle when you log in with SALESPRO.
Regards
Kavindra
Edited by: joshi_kavindra on Nov 23, 2011 5:03 PM -
How to insert a new line in table control created in screen painter
hai,
i am stuck up in the place where i need to insert a row of data in the table in screen developed in screen painter..cud some one help me out...You can try the following statement:
MODIFY <DBtable> from table <itab>.
Of course, you would need to append the user-entered data (from the screen) into the internal table first.
Hope this helps.
Sudha -
Decimals problem in Screen Painter
Hi Experts,
I have a table control which consist material & quantity column, How I can set default decimal places in the screen painter field.
As I'm inputting any round value it does'nt show decimals for that. I'm using standard field VBAP-ZMENG form this.
Please help
Regards,
AbhishekHi In SE51 in the attributes of that field you have some thing as DICT tab.
You can select your field type there. You might have to pick it as Decimal.
I hope it helps.
thanks -
Layout problem in screen painter
hi all,
the screen is not appearing when i click 'layout' button in screen painter when i am enabling a wsp client proxy server. Is there any solution?some times SAP Gui behaves like this, in my case i faced this problem many times, some times after shutdown my sap logon pad. and restart the sap , go to se51 , it will open the Screen painter normally. But some cases i uninstalled the Gui, and re installed .then only it opens properly. select all components when installing.
-
I have problem with Windows Vista Os in 64 bit.The problem is that i have a webbrowser control in Windows application in VS2005 for displaying PDF file.Its working fine in 32 bit operating system.The PDF file is shown within the control.But when i deploy the application in 64 bit Vista operating system,its give an error and the pdf is open in new window.Please can you provide any PDF viewer control that is free and compatible with VS2005,so that pdf should open in that control and is compatible with both 32 bit and 64 bit OS.
Looks like you need
Acrobat Scripting Forum http://forums.adobe.com/community/acrobat/acrobat_scripting
or
Acrobat SDK Developer Forum http://forums.adobe.com/community/acrobat/acrobat_sdk -
Matrix column position problem in screen painter.
hi.
i am facing one problem.
ie.
i am developing one screen.
it is having 3 matrix
each matrix is having some columns
one matrix ok two matrix ok thrid matrix ok.
but
under third matrix i put some columnes
1, 2 ,3, 4,
in screen painter design mode every thing is ok
it is appearing like 1,2,3,4
but at preview mode or through the code if i open
it is appearing like 1, 4,3,2
in preview mode screen painter if i click on the form settings it is showing only..
matrix one columns only it is not showing either 2 or 3
and if i open the form through the code..
i am able to see the columns of matrix 1 n matrix 2 and matrix 3
i am using some code.
If (pVal.FormUID = "WIP2PROCESS" And pVal.ItemUID = "1000007") Then
oForm = SBO_Application.Forms.Item("WIP2PROCESS")
oForm.PaneLevel = 2
oForm.Settings.Enabled = False
oForm.Settings.MatrixUID = "59"
End If
now through the source code i am able to see the each column under matrix.
but if i change the matrix position at form setting it is changing but
if i click other folder and come back to previous folder..
again the column position is 1, 4,3,2
previously i changed to 1,2,3,4
how can i do it..
screen painter can i change it..
Any information plz update me..Hi Srinivas,
Can you do one thing for me ? Open your form in screen painter, set the columns as you want to display. Now change the unique id for the matrix. Then try to open it through code or see in preview mode.
Hope it helps.
Thanks & Regards
Ankit Chauhan -
Checkbox convertion problem in screen painter
Hi experts,
I would like to convert an field from DD char 1 in checkbox in the screen painter but the field is locked in my screen painter. I can't conert it to checkbox or radiobutton.
-> The field is from an enhancement of an standard IT.
Is their some option to unlock field in the screen painter ?
Thanks,Hi,
first check u are declare text boxes in TOP INCLUDE if OK, then change data type text to integer. it may be problem of it, can u post u r code where u assigned a value in text box.
Abhilash -
Hi All,
we are using SAP logon 640. In screen painter we are not getting GUI. we are getting the screen in Alphanumeric mode, But not in Graphical mode. How to resolve this problem.
Thanks in Advance.
Regards,
chandra.
Message was edited by: K Chandra Sekhara ReddyHi k chandra,
1. I supppose, the alphanumeric
screen painter comes up.
2. When it comes up,
UTILITIES------>SETTINGS
3. a new window will come
TICK the chekbox for
'Graphical Layout Editor'
4. Then try, it will work.
5. <b>If still it does not work,
then another problem could be
SAP GUI Installation.
6. When installting sap gui,
we have to select the component for
Screen Painter GUI.</b>
(Probabably it was not selected when
installing on your machine)
7. Then it will come.
regards,
amit m. -
Hi,
whenever i used to open my screen painter for editing layout its giving me only alpha screen even i have checked the option in utilities or unchecked tell me what should be the problemHi,
Go to menu Utilities of screen painter
User specific settings
Select the tab Screen painter
Select the check box Graphical layout editor.
Hope your problem will be solved.
<b>Reward if helpful.</b>
Maybe you are looking for
-
I have question about checkbox in classic report. I need to choose only one checkbox in every row, hot to ensure that only one checkbox can be checked at same time? Checkboxes are defined in SQL query as: apex_item.checkbox(1,msisdn,'UNCHECKED') as c
-
Audigy 2 ZS Platinum Pro and Inspire 5.1 Digital 5500
Hi! Why can't i connect this digital speaker system to the external connection box of the Audigy 2 ZS? I've tried the optical as well as the coax-connection. When i run the surround soundtest in the Creative software it only gives me stereo sound in
-
Looking for Win 7 64bit drivers for CQ58-d61SG
Hello, I installed a win7 on a CQ58-d61SG that came pre-installed with win8. The Laptop will now go to a customer of us that wanted us to install win 7 on it. Now the issue is, that I can't seem to find the correct drivers for win7 since there are on
-
I am still having problems with my music videos freezing (all purchased on iTunes) since the update. The first day of the update, no problems...played 6 hours of music videos and no freezing. Today...every single video froze!!! So frustrating! I r
-
I recently bought a second hand PowerMac G4 with an adaptec 2903B scsi PCI card in it. I reinstalled it with OS10.3.9. I have not been able to detect any SCSI devices yet. Am I missing a driver ? No drivers for the 2903B on the Adaptec website... I'm