Reg:Table Control in Custom Screen
Hi All,
I am having a requirement of adding a custom screen in vendor master,interms of adding field i done it successfully by using BADI's,but now i added a table control in the custom screen,now whenever am trying to create a new vendor its showing vendor successfully created for the company code,but if i try to open any transaction after that am getting an error like "Express document "Update was terminated" received from author "Reference User Development"" , and if i go for transcation code XK03 if i try to open the particular vendor its showing error "Vendor has not been created".
Regards
Arpitam
Hi Suchithra,
For each and every fields in the screen will have by default properties as Group number which Group1 and Group3 but when u create a table control manually you might have forgot to maintain the the Group number details because of which it is showing in display rather in change.
Please maintain the Group details in screen field properties and check. I think it will work.
Regards,
Aditya.
Similar Messages
-
Custom Infotype - Using Table control in the screen. IN OM
Hi,
I am having a requriement where in I need to create a custom infotype using table control in the screen. I have to create this in OM and I am using PPCI transaction to create the info type. I am able to create the infotype with fields but not table control. Please let me know if any one of you came across and help me with the process I need to follow.
Thanks in advance.
Venkat.Hello,
After you create the info type throug PPCi, you can directly go to the Sceen module program created automatically while creating Info type and edit the screen.
activate it after your changes.
Regards,
Srujan. -
Add a new column in item table control of va01 screen
Hi All,
i have requirement to add new column in item table control of va01 screen 4900 for the custome field of vbap table
the required coloum is add with the help of access key
however whem i am trying to save data, that custom field is not populate
please let me know if any one had work on thisI think i solved the problem . The single way to to that is to modify the SAP standard Screen.
-
Dynamic tabstrips and table control in custom infotype
Dear Experts,
I have a requirement to create a custom infotype using tabstrips and table control. The tabstripes should also be dynamically populated. For example we have infty 8(Basic pay) used table control and 24(Qualifications) for tabstripes.
Could you please tell me how to do this. Please do the needful ASAP.
Thanks,
Chaitanya.
Moderator message - Please don't just post your requirements and ask the forum to do your work for you...especially ASAP - Thread locked
Edited by: Rob Burbank on Oct 7, 2009 4:16 PMHi Partha,
Pls check the threads:
Best way to store a table control into an infotype
Re: Custom Infotype with table control - Overview/List Screen
Dilek -
Table type not defined for table control "T_CONTROL" (Custom table)
Hi All,
I m facing a problem in ITS mobile service.
The Table control designed by me in R/3 (Module pool program) is
not getting displayed in ITS mobile page.
It is giving me an error "Table type not defined for table control "T_CONTROL" (Custom table) ".
Can you please let me how this issue can be resolved.
With Regards,
MaheshCONTROLS: table_ctr TYPE TABLEVIEW USING SCREEN '0010'.
try using this....
Regards
Vasu -
Need Table Control in Selection Screen
I have a selection screen with some fields. Now, below these fields, I need a table control in which i will have input parameter along with some check boxes so that i can enter data and use the same while executing the report.
paste the code for the requirement how to add a table control on the selection screen.hi ramesh,
i have a very same requirement as u did. pleae send me the code which u used.
Till now, i have been able to display table control on selection screen. but, how to write or display the output or how to call the output screen. i have to display alv output.
Please help on above issue.
Thanks,
Rajesh -
How to hide table control in a screen
Hi, Gems,
I want to hide the table control.Using "loop at screen" I am able to hide all other components except table control.
Can anyone tell me how to hide table control in a screen?
Any help will be appreciated.
-Thanks
Surajit.Hi,
In the PBO (in a module outside to the LOOP...ENDLOOP), use this
MODULE status_0100 OUTPUT.
IF sy-ucomm EQ space. "Give the function code on which you want to make your table control go invisible
"Give a space if you want your table control to remail invisible on display of the screen
CLEAR: t_header[].
LOOP AT tabcontrol1-cols[] INTO wa_control1.
wa_control1-invisible = '1'.
MODIFY tabcontrol1-cols[] FROM wa_control1 INDEX sy-tabix.
ENDLOOP.
ENDMODULE. -
Table control in Custom infotype 9008
Hi,
I need to create a custom infotype with table control in it.
Normally after going to PM01 and genetete it will display all the field as individual field.
Here i need to use 4 of those field into table control format.
Is ther any special process to create table control in custom infotypes??
Thanks in advance,
SatyadevHi Satyadev,
I dont have a solution for your problem, but am curious about the intent of what you are trying to do .... the purpose of the table control is to store multiple records, so if a user enters multiple records for the four fields, how are you planning to store it in the Database (PA9nnn) table considering the key would be unique .... Unless you have defined 4*X times the number of columns in your P9nnn strcutre and hence need X number of rows in table control?
Just trying to bring up a question - so that it might help realize a solution or prospective future problem!
Cheers,
Aditya -
Questions on handling two table controls on one screen.
Can some people please share some technology tips on handling two table controls on one screen .
Thanks
Moderator message - You'll find some cool tips if you search the forum or use Google first - post locked
Edited by: Rob Burbank on Dec 7, 2009 11:20 AMhi
other Table is in Disable mode.
check that u have unticked the READ ONLY property of ur UI
also check if u have binded the ENABLE property of ur table UI to WDY_BOOLEAN in some method
and u r setting it to 'X'
in the OnToggle event of ur Checkbox , set this attribute to 'X to make the checkbox ticked
in the OnToggle event of ur Checkbox , set this attribute to ' ' to make the checkbox un ticked
DATA lo_nd_cn_node TYPE REF TO if_wd_context_node.
DATA lo_el_cn_node TYPE REF TO if_wd_context_element.
DATA ls_cn_node TYPE wd_this->element_cn_node .
DATA lv_attr LIKE ls_city-ca_attr.
* navigate from <CONTEXT> to <CN_VISIBLE> via lead selection
lo_nd_node = wd_context->get_child_node( name = wd_this->wdctx_ca_attr).
* get element via lead selection
lo_el_cn_node = lo_nd_cn_node->get_element( ).
* set single attribute
lo_el_cn_node->set_attribute(
EXPORTING
name = `CA_ATTR`
value = ' ' ).
// set attribute CA_ATTR under CN_NODE to ' '
// this will make the table UI control disabled
// this is a code generated thru code wizard ( control +f7) , read context node/attribute
// use SET_ATTRIBUTE method
regards,
amit -
How to transfer the contents of a line of a table control to second screen?
Hi,
I have a table control and I have entered some contents in one line of a table control .
When i click on this line and then click on the detail button on the screen , it should take me to another screen and whatever I have entered in the table control should be transferred to the second screen .
Please could anyone help me out with this .
Regards,
Sushanth H.S.Hi
U need to get the index of the line of table control by command GET CURSOR:
PROCESS PAI.
LOOP AT ITAB.
MODULE GET_CURSOR.
MODULE MODIFY_ITAB.
ENDLOOP.
MODULE USER_COMMAND.
Module to pick up the selected line:
MODULE GET_CURSOR.
GET CURSOR LINE VN_LINE.
ENDMODULE.
Module to transfer the data from table control to internal table:
MODULE MODIFY_ITAB.
ITAB-FIELD1 = <FIELD OF TABLE CONTROL>.
MODIFY ITAB INDEX <TABLE CONTROL>-CURRENT_LINE.
ENDMODULE.
U should considere the variable line has the value of the index of the line of table control, so u need to calculate the number of the corresponding line of internal table:
MODULE USER_COMMAND.
CASE OK_CODE.
WHEN 'DETAIL'.
* Calculate the line of internal table:
VN_LINE = <TABLE CONTROL>-TOP_LINE + VN_LINE - 1.
* Read the data
READ TABLE ITAB INDEX VN_LINE.
* Transfer the data to the output structure of the new screen
<STRUCTURE>-FIELD1 = ITAB-FIELD1.
* Call the new screen
SET SCREEN <NEW SCREEN>.
LEAVE SCREEN.
Max -
Checkbox Within Table Control At Selection Screen
Hello, there.
In my selection screen (dialog) I'm using a table control which is based on an internal table.
In that internal table I have a simple Yes/No field (declared as type XNULL for example).
The problem is that I want it to be displayed as checkbox on the selection screen's table control and not as a simple string with size = 1 like it is..
I hope it's clear and understood ...
Thanks in advance,
RebekaRebeka,
Its very simple,
In that field of table control just drag & drop the checkbox.
In Screen modules ,
loop at itab.
If Field = 'YES'.
Checkbox = 'X'.
else .
clear checkbox.
endif.
endloop.
Regards,
TAlwinder -
Change label of table control column - SAPMV45A Screen 4900
Hello,
SAPMV45A / 4900 is the table control in the Sales tab of transaction VA01/02/03 (Sales Order Creation/Change/Display). On this table control there is a field ( RV45A-ETDAT ) with standard label First Date . The date displayed on this column is the first date on the schedule line tab at item level - changing the label of data element ETDAT didn't work for this table control, it seems the label is not taken from ETDAT labels.
Is there any ehancemement technique that I can use to change ths label?
Regards,
JoãHi,
if you go to SE80 and display screen 4900
Goto .-> Secondary window -> element list
if you click on the red option "Dict. Attrib"
there in "Modified" option you will see that *RV45A-ETDAT has an 'F' value (Text Fixed modified).
http://help.sap.com/saphelp_nwpi71/helpdata/en/d1/801c47454211d189710000e8322d00/content.htm
Modified
The system sets this attribute if it detects a difference between the ABAP Dictionary definition for the field and the way it is used on the screen. You set this attribute if you do not want to copy all field properties from the dictionary definition.
Best regards.
Edited by: Pablo Casamayor on Mar 22, 2011 3:55 PM -
Table control in Selection Screen
Hi,
Is it possible to keep table control and tabstrip control in selection screen without using dialog programming? I mean , using coding from program itself, have to get table in the selection screen,like how we are keeping checkbox and radio button from program itself .
by
Mohan Ram
Moderator Message: Search before posting.
Edited by: kishan P on Sep 16, 2010 11:04 AMHi, Mohan
Please Always do a little Search Before Posting => [Search Results|http://forums.sdn.sap.com/search.jspa?threadID=&q=TablecontrolinSelectionScreen&objID=&dateRange=all&numResults=30&rankBy=10001]
Hope you will get the answer from the First Few Threads From Search Result.
Thanks and Regards,
Faisal -
Table Control in Custom Infotype
Hi Everyone,
I have created a custom infotype 9200 where i have four field bunching (zband01, zgrade01, zcurrp01, zrmrks01, zbandp02...upto 10 repeations) in PS9200 structure. I have created another structure ZQ9200 with just the above four fields in the structure. This structure field names are assigned to the table control layout fields in the module pool.
I created another internal table and workarea with the same four field structure in the program. In PAI, in the 'loop with control TC', i am populating the internal table first. Then after the loop ends, i am loopinf the internal table and populating the P9200 structure.
Problem here is in pa30, if i want to create a record to IT 9200, i am entering the values in the table control but could not hold the values after I press the 'Enter' button.
PLease do help me.Hi
It would be something like this
PROCESS BEFORE OUTPUT.
* general infotype-independent operations
MODULE before_output.
CALL SUBSCREEN subscreen_empl INCLUDING empl_prog empl_dynnr.
CALL SUBSCREEN subscreen_header INCLUDING header_prog header_dynnr.
* infotype specific operations
MODULE p9991.
LOOP AT g_tabla WITH CONTROL g_d_tc INTO g_wa.
MODULE pbo_tc.
ENDLOOP.
************+
PROCESS AFTER INPUT.
* process exit commands
MODULE exit AT EXIT-COMMAND.
* processing after input
* check and mark if there was any input: all fields that
* accept input HAVE TO BE listed here
CHAIN.
FIELD p9991-begda.
FIELD p9991-endda.
MODULE input_status ON CHAIN-REQUEST.
ENDCHAIN.
* process functioncodes before input-checks *
MODULE pre_input_checks.
* input-checks: *
LOOP.
MODULE pai_tc.
ENDLOOP.
* insert check modules here:
*& Module PBO_TC OUTPUT
* text
module PBO_TC output.
MOVE-CORRESPONDING G_WA TO ZQ9991.
endmodule. " PBO_TC OUTPUT
*& Module PAI_TC INPUT
* text
MODULE pai_tc INPUT.
MOVE-CORRESPONDING zq9991 TO g_wa.
PERFORM tc_update TABLES g_tabla
USING g_wa
g_d_tc-current_line.
ENDMODULE. " PAI_TC INPUT
*& Form TC_UPDATE
* text
* -->P_G_TABLA text
* -->P_G_WA text
* -->P_G_D_TC_CURRENT_LINE text
FORM tc_update TABLES p_tabla
USING value(p_datos)
value(p_linea).
READ TABLE p_tabla
TRANSPORTING NO FIELDS
INDEX p_linea.
IF sy-subrc = 0.
MODIFY p_tabla FROM p_datos INDEX p_linea.
ELSE.
APPEND p_datos TO p_tabla.
ENDIF.
ENDFORM. " TC_UPDATE -
Hi Guys,
I am new to RF screens. Can anybody tell me how to create table control or step loops for scrolling in RF Screens. I've gone through the previous forms but couldn't find any answer to the question. Points will be rewarded for the best answer.Hi,
You use step loops and write PAI modules for page up and page down.
in PAI modules put
the following
CASE sy-ucomm.
when "page down"
p_cursor = p_cursor + p_line.
IF p_cursor > p_count.
p_cursor = p_cursor - p_line.
ENDIF.
When 'Page up"
p_cursor = p_cursor - p_line.
IF p_cursor =< 1.
p_cursor = 1.
ENDIF.
End case.
Where in the above p_cursor is current curssor position
and p_line is sy-loopc.
am i clear,
award point if use full.
Thanks,
Surya
Thanks,
Surya
Maybe you are looking for
-
Database Configuration problem
I am brand new to Crystal (1 week) so bear with me please. I have created a crystal report from an access database. Although this access database doesn't have any security itself one of its tables is linked to a SQL server through ODBC. When i create
-
Problem with the internet in E90
Hi, I have Nokia Communicator E90,, and my problem with browsing and using the internet :: The problem is :: When i start using the internet the 1st website will open then I cannot open anther website until i disconnected and reconnect again ! I trie
-
It's pretty much self explanatory.
-
After update my file button is gone and now I can't print What gives????
I have lost my file button after update and can't print a lot of web pages and emails. I also lost my bookmarks and lost web addresses that I need. Some update. It's so bad that I uninstalled and am using ( Gasp ) Internet Explorer) Please help...
-
Cisco SG300 with QLOGIC Sanbox 5800 Interoperability
Hi, Is cisco smb switch compatible with Qlogic Sanbox? We are presently implementing new Cisco SG-300 switches over an existing Qlogic Sanbox 5800 Fiber Network. None of of new SG300 are able to initialise the Fiber ports at both ends (cisco to Sanbo