How to deselect refrence table fields in Maintenance view.
Hello,
Could any one tell me how to deselect all fields here except mara .
In the first link as below it shows the table selection tab in maintain view window.
http://postimage.org/image/6701iidlh/
When i click Relationships after selecting one base table , i get the second link as u see below
http://postimage.org/image/p7wpknnht/
I m unable to deselect the referenced tables Could some one throw light on this.
Thanks
Edited by: sarat on Nov 23, 2011 11:50 AM
HI ,
Find the below thread ,
Hiding primary key field in Table maintenance generator
It will help you to deselect refrence table fields in Maintenance view.
Regards,
Saravana.S
Similar Messages
-
HIde table field in maintenance view
HI ,
i have table with 5 column and i want to create new maintenance view but hide one of the field for maintenance ,
i need to deliver this table to prod so i need to keep the changes on transport .
i don't want to do it via code since when i regenerate the maintenance view again it will deleted .
there is another option ?
Regards
Nina
Moderator message - moved to the correct forum.
Edited by: Rob Burbank on Oct 1, 2009 4:26 PMHi
1 ) I need to delete the maintenance that i do to the table like i mention in previous post ?
Yes u can delete the maintenance program created for your Z (transparent table): it'll be useless, anyway it's not necessary to delete it, but if you think it won't be used, it's better to delete it.
2 ) create to the table maintenance view and i hide the field
Yes, u need to create a maintenance view based on your Z (transparent) table and set the flag for the fields to be hidden.
when i create it in the tab view fields i see just the key fields of the table why ?
Because the system inserts the key fields by default, the other fields has to be placed manually, u can also decide to insert only the fields u need to show and manage in maintenace program, i.e. the maintenance view (but in generally a table view) can have only certain fields of a transparent table, it's not necessary it has all fields.
in the table join condition i just put the table name do i need to do something else ?
No u don't need to do anythingelse
Max -
Hi gurus how to provide the table field validations
hi gurus how to provide the table field validations , plz help me
Hi,
Say you need to provide valdiation for WERKS(Plant) field.
Goto SE11. Find the domain of the field. (Say WERKS in our case.) now goto the domain, click on value range. Now at the bottom you will find the value table. Note this table (T001W).
In your report, at selection screen, you need to validate the field against this table. like this
At selection-screen,
select single werks from T001W where werks = p_werks.
if sy-subrc NE 0
message e000 with 'Plant not found'.
endif.
Reward points if useful. -
How to validate the mandatory fields in the view in WDA?
Dear experts,
Iam new to WDA. i just want to know how to validate the mandatory fields in the view in WDA?please refer any documents for validating the mandatory fields.
Regards,
murthy.
Edited by: Murthy Ganti on Jul 13, 2009 2:31 PMHi,
Firstly goto view->select the element that you want to make mandatory and set the State property to required.
Secondly place the below code in the WDDOBEFOREACTION
DATA: l_view_controller TYPE REF TO if_wd_view_controller.
* Get view controller
l_view_controller = wd_this->wd_get_api( ).
* Check for mandatory attribute
cl_wd_dynamic_tool=>check_mandatory_attr_on_view(
EXPORTING view_controller = l_view_controller
display_messages = abap_true
Regards,
Radhika. -
Adding field in Maintenance view of table
Hi,
I am trying to create a custom maintanable table. Now the requirement is I need to add one more extra field in the maintenace view of the table which should not be in the table fields and is for display only in the maintencae view.
I tried adding a cloumn by editing the screen program generated by the table maintenance generator. I get the the display in the maintenance view of that extra field. But I dont get the values populated.
Can you please let me know in which PBO or PAI i should write the module programe ..
Help will be rewarded with points.Hello Bluesh
Normally the extra field should be from a table that has a foreign-key relationship to your main table. Thus, add this additional table to the list of tables for the view. If it does not have a suitable relationship you cannot add it to the list of tables.
Afterwards add the required field to the list of view fields and set its property to 'R' = read-only.
If correctly defined there is no need at all to modify the screen(s) or the coding of the PBO/PAI modules.
Example: your z-table contains field KUNNR (value table KNA1) and you want to add the NAME1 field to your maintenance view
add table KNA1 to the list of tables
add field NAME1 to view fields
set its property to 'R'
regenerate function modules and screens
Regards
Uwe -
How to check which Table & Field is populating Data source
Hi,
My requirment is to check from which Table and Which field the data is extracted in the data source
Data Source : 0MAT_PLANT_ATTR
Field in Data Source : MINBE
Now i want to check from where (Table/Field) in R/3 is populating the Field MINBE in Data source 0MAT_PLANT_ATTR
How can i do thatHi,
Since you have the extract structure and the extractor, you can try Extractor Checker RSA3.Execute ST05 (activating SQL Trace), switch on the trace and execute the extractor checker. Once the extractor checker presents the results
switch off trace. The clcik on Display trace and you will see all the tables that were hit by the extractor checker to retrieve data and present it to you.
Note: Set the break point in the Extractor Function module.
View the ST05 Extended Trace list. The Object name shows the Tables accessed.
Hope this helps.
Thanks,
JituK -
How to populate custom table field value into standard DFF
Hi Gurus
I am newbie to the OAF
I have a requirement to populate the custom table field value into standard DFF. we enabled the DFF in ReqDistDFFOnAcct(po_req_distributions_all). On the requisition tab as soon as i click on the checkout button, the custom field value has to be shown in the requisition distributions DFF field along with the standard Columns like charge account, percent, qty and when we click on the next button, it has to hit the base table ie., po_req_distributions_all.
the standard columns data is showing the screen. how to acheive this requirement programatically
There is a EO for the req distributions table. please help me how to achevie this requirement.
Any help woud be greatly appreciated.
Thank You!
KrishnaThanks Aj. Finally i made some progress....but i am getting an error in the inst_top OPMN folder 10/10/08 15:37:14 Error: <connector name="OracleASjms" path="OracleASjms.rar" /> will not be bootstrapped since corresponding module declaration was not found in application.xml. I cleared the cache, bounced the webserver. Could not able to understand what is this error
Following is the code that i have written. I am not able to find out what is the error. please help me how to fix this error. there is no changes in the page and the value is not auto populating. the page is having the normal behaviour as the standard one.
Thanks in Advance for your help...
public class xxCheckoutDistsCO extends CheckoutDistsCO
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
String UnitId="";
//First get the Application Module
OAApplicationModule am = pageContext.getApplicationModule(webBean);
OAViewObject vo = (OAViewObject)am.findViewObject("PoRequisitionLinesVO");
String Reqlineid="";
String Linenum="";
String DeliverLoc="";
if(vo.first() !=null)
Reqlineid= vo.first().getAttribute("RequisitionLineId").toString();
Linenum = vo.first().getAttribute("LineNum").toString();
DeliverLoc = vo.first().getAttribute("DeliverToLocationId").toString();
// if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
// pageContext.writeDiagnostics("TEST >", Reqlineid,1);
// pageContext.writeDiagnostics("TEST >", Linenum,2);
// pageContext.writeDiagnostics("TEST >", DeliverLoc,3);
UnitId=null;
String Querry="select amli_icx_oaf_utils.get_blding_unit_id (?,?,?) from dual";
try
PreparedStatement ps=am.getOADBTransaction().getJdbcConnection().prepareStatement(Querry);
ps.setInt(1,Integer.parseInt(Reqlineid));
ps.setInt(2,Integer.parseInt(Linenum));
ps.setInt(3,Integer.parseInt(DeliverLoc));
ResultSet rs=ps.executeQuery();
// ps.execute();
// am.getOADBTransaction().commit();
while (rs.next())
System.out.println(" Query Results ");
UnitId= rs.getString(1);
System.out.println(" first > ");
rs.close();
ps.close();
catch(SQLException a)
System.out.println(" Error "+a);
System.out.println(" Second > ");
System.out.println(" Third > "); ----the program is executing upto here...it is not setting the value after this.
OAViewObject povo = (OAViewObject)am.findViewObject("PoReqDistributionsVO");
if(povo.getCurrentRow()!=null ) --------If i remove this condition i am getting the nullpointer exception in page.....
System.out.println(" Fourth > ");
povo.getCurrentRow().setAttribute("Attribute12",UnitId);
// if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
// pageContext.writeDiagnostics("TEST >", UnitId, 1);
Thanks
krishna -
How can I add table fields with existing structure ?
I like to add PSTLZ field to stucture KOMGG.Is it possible to add table field with the existind structure.If yes how can I do this?kindly help me on this.
hi
go to se11
in change mode select the button append
create new append which starts from Zpstlz in this komgg structure and add data element and domain to this field and activate with request number
then in field catalogue this field should be visible ,here ends your append
now it is ready to use in condition tables.
reward if helps !!!!! -
How to make a table field Required
Hi,
I tried to make a table field as 'Required'. It works fine. But it gives unexpected results. Imagine the table has 10 rows. when the user make an entry in the first row, the system gives the error messages for the required field in the remaining rows as well. How can we restrict it so that it checks for the required field only for the row with entries. How to specify the condition type?
Kind Regards
ShahulHi,
check this :
don't set table field as 'Required'.If your table data contains in a internal table , then use Below code under <b>PAI</b> event.
LOOP AT i_data.
CHAIN.
FIELD: i_data-fld1.
MODULE validate_field.
ENDCHAIN.
ENDLOOP.
MODULE validate_field INPUT.
write the code to validate the each line of the table control, if validation fails , cursor will stop at the table control row
ENDMODULE.
Regards
Appana -
How to show all table fields in correct alv disply
Hi all,
This is my report that disply in ALV . but this is only displying the join table (t_p0001_p0002) fields.i want to disply the other two table fields i.e t_pa0315 and t_pa0007.what is the logic to ALV disply the other two table fields like the table t_pa0001_pa0002.pls help me regarding this.
send me the code its urgent.
thanks!
Vipin
pls find the code below:->
REPORT Y_WP03 .
DEFINE m_fieldcat.
add 1 to ls_fieldcat-col_pos.
ls_fieldcat-fieldname = &1.
ls_fieldcat-ref_tabname = &2.
append ls_fieldcat to lt_fieldcat.
END-OF-DEFINITION.
TYPE-POOLS: slis. " ALV Global types
tables:pa0001,
pa0315,
pa0007,
disvariant.
Selection-Screen
SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.
*SELECTION-SCREEN SKIP 1.
SELECT-OPTIONS: s_pernr FOR pa0001-pernr. " Personnel No
SELECT-OPTIONS: s_orgeh FOR pa0001-orgeh . " Organization unit
SELECT-OPTIONS: s_werks FOR pa0001-werks. " Personnel Area
SELECT-OPTIONS: s_plans FOR pa0001-plans. " Position
SELECT-OPTIONS: s_ebeln FOR pa0315-ebeln. " Purchase order
SELECTION-SCREEN END OF BLOCK blk1.
SELECTION-SCREEN BEGIN OF BLOCK b2k2 WITH FRAME TITLE text-002.
*SELECT-OPTIONS: s_var FOR disvariant-variant.
PARAMETERS: p_disva1 LIKE disvariant-variant.
SELECTION-SCREEN END OF BLOCK b2k2.
Type Definition *
TYPES :
BEGIN OF ty_pa0001_pa0002,
pernr TYPE pa0001-pernr , " Personnel no.
endda TYPE pa0001-endda , " end date
begda TYPE pa0001-begda , " start date
bukrs TYPE pa0001-bukrs , " company code
werks TYPE pa0001-werks , " Personnnel area
persg TYPE pa0001-persg , " Employee group
persk TYPE pa0001-persk , " Employee subgroup
btrtl TYPE pa0001-btrtl , " Personnnel subarea
abkrs TYPE pa0001-abkrs , " Payroll area
kostl TYPE pa0001-kostl , " cost center
orgeh TYPE pa0001-orgeh , " Organizational Unit
plans TYPE pa0001-plans , " Position
nachn TYPE pa0002-nachn , " Last name
vorna TYPE pa0002-vorna , " First name
midnm TYPE pa0002-midnm , " Middle name
END OF ty_pa0001_pa0002 ,
BEGIN OF ty_pa0315,
pernr TYPE pa0315-pernr , " Personnel no.
kostl TYPE pa0315-kostl , " Sending cost center
lstar TYPE pa0315-lstar , " Activity type
werks TYPE pa0315-werks , " Plant
lifnr TYPE pa0315-lifnr , " Vendor number
ebeln TYPE pa0315-ebeln , " Sending pruchase ord
ebelp TYPE pa0315-ebelp , " Sending PO item
lstnr TYPE pa0315-lstnr , " Activity number
END OF ty_pa0315,
BEGIN OF ty_pa0007,
pernr TYPE pa0007-pernr,
schkz TYPE pa0007-schkz,
END OF ty_pa0007.
*BEGIN OF ty_pa0002,
pernr TYPE pa0002-pernr,
nachn TYPE pa0002-nachn,
vorna TYPE pa0002-vorna,
midnm TYPE pa0002-midnm,
*END OF ty_pa0002.
Data Declaration *
DATA :
t_pa0001_pa0002 TYPE STANDARD TABLE OF ty_pa0001_pa0002 ,
w_pa0001_pa0002 TYPE ty_pa0001_pa0002 ,
t_pa0315 TYPE STANDARD TABLE OF ty_pa0315 ,
w_pa0315 TYPE ty_pa0315 ,
t_pa0007 TYPE STANDARD TABLE OF ty_pa0007 ,
w_pa0007 TYPE ty_pa0007 .
t_pa0002 TYPE STANDARD TABLE OF ty_pa0002 ,
w_pa0002 TYPE ty_pa0002 .
START-OF-SELECTION .
SELECT a~pernr
a~endda
a~begda
a~bukrs
a~werks
a~persg
a~persk
a~btrtl
a~abkrs
a~kostl
a~orgeh
a~plans
b~nachn
b~vorna
b~midnm
INTO TABLE t_pa0001_pa0002
FROM pa0001 AS a INNER JOIN pa0002 AS b
ON apernr = bpernr
WHERE a~pernr IN s_pernr
AND a~werks IN s_werks
AND a~orgeh IN s_orgeh
AND a~plans IN s_plans.
SORT t_pa0001_pa0002 BY pernr .
IF NOT t_pa0001_pa0002[] IS INITIAL .
SELECT pernr
kostl
lstar
werks
lifnr
ebeln
ebelp
lstnr
FROM pa0315
INTO TABLE t_pa0315
FOR ALL ENTRIES IN t_pa0001_pa0002
WHERE pernr = t_pa0001_pa0002-pernr
AND kostl = t_pa0001_pa0002-kostl
AND ebeln IN s_ebeln.
SELECT pernr
schkz
FROM pa0007
INTO TABLE t_pa0007
FOR ALL ENTRIES IN t_pa0001_pa0002
WHERE pernr = t_pa0001_pa0002-pernr.
SELECT pernr
nachn
vorna
midnm
FROM pa0002
INTO TABLE t_pa0002
FOR ALL ENTRIES IN t_pa0001
WHERE pernr = t_pa0001-pernr .
ENDIF.
PERFORM f_display_data.
FORM f_display_data.
DATA:
ls_fieldcat TYPE slis_fieldcat_alv,
lt_fieldcat TYPE slis_t_fieldcat_alv.
Build the field catalog
m_fieldcat 'PERNR' 'PA0001'.
m_fieldcat 'NACHN' 'PA0002'.
m_fieldcat 'VORNA' 'PA0002'.
m_fieldcat 'MIDNM' 'PA0002'.
m_fieldcat 'BUKRS' 'PA0001'.
m_fieldcat 'WERKS' 'PA0001'.
m_fieldcat 'PERSG' 'PA0001'.
m_fieldcat 'PERSK' 'PA0001'.
m_fieldcat 'BTRTL' 'PA0001'.
m_fieldcat 'ABKRS' 'PA0001'.
m_fieldcat 'ORGEH' 'PA0001'.
m_fieldcat 'PLANS' 'PA0001'.
m_fieldcat 'SCHKZ' 'PA0007'.
m_fieldcat 'KOSTL' 'PA0315'.
m_fieldcat 'LSTAR' 'PA0315'.
m_fieldcat 'WERKS' 'PA0315'.
m_fieldcat 'LIFNR' 'PA0315'.
m_fieldcat 'EBELN' 'PA0315'.
m_fieldcat 'EBELP' 'PA0315'.
m_fieldcat 'LSTNR' 'PA0315'.
m_fieldcat 'BEGDA' 'PA0001'.
m_fieldcat 'ENDDA' 'PA0001'.
Display the list
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-cprog
i_callback_user_command = 'USER_COMMAND'
it_fieldcat = lt_fieldcat
TABLES
t_outtab = t_pa0001_pa0002.
ENDFORM. " F_DISPLAY_DATA_VBAK
FORM USER_COMMAND *
FORM user_command USING u_ucomm TYPE syucomm
us_selfield TYPE slis_selfield. "#EC CALLED
CASE u_ucomm.
WHEN '&IC1'.
READ TABLE t_pa0001_pa0002 INDEX us_selfield-tabindex INTO
w_pa0001_pa0002.
CHECK sy-subrc EQ 0.
ENDCASE.
ENDFORM. " USER_COMMANDHey,
Look at ur code.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-cprog
i_callback_user_command = 'USER_COMMAND'
it_fieldcat = lt_fieldcat
TABLES
t_outtab = <b>t_pa0001_pa0002</b>.
Here you're passing only the join table t_pa0001_pa0002. If you want to display the other tables as well, then u must have an internal table that has the columns of all the 3 tables. Then u need to buil;d the fieldcatalog accordingly and then display that table,
Cheers,
Sam -
How to deal with table.Field/sum(table.Field) BIEE
I have a question with this table.Field/sum(table.Field),
and another case is: one field of table /another field of a table, but these two tables not directly relation, such as: one day sales(one table)/the last day sales(another table)The way to go is hierarchical field names, as it has been said.
What would give you more flexibility, would be to give your element page's fields logical names. This would lead to building blocks, which can be freely combined. Any logic within the building blocks would not change at all, and logic going beyond a block would be straightforward to set up.
Hope this can help.
Max Wyss. -
How to Transfer Database Table Field to Data Type in XI
Dear All,
Dear All,
I am working on scenario to transfer data(Database Table) from Non SAP System to SAP system through XI.
While Defining "Data Type" in XI i want to create Data Type as of Database table in my(Oracle Database).There is any direct method to import Database Table field into "Data Type" in XI.
thanks,
RPHi;
Edit plus is a tool using which you can edit your file and make changes to it.
You can download it from net ,just search for it on google.
this will help you to get in the field names of the table by editing the file .
Mudit -
Add fields to maintenance view and update then using events
Hi experts:
I've created a table with 4 fields, one of them is userid. Also, there is a maintenance view to add new entries.
I want to display user name when typing userid using events (1 or 21). I know how to do it if username is one of the fields of the table, but there is a requirement to not store username in the table, just userid.
My question is: is possible to add a field into the maintenance view and update it using events but not store the value in DB?.
Thanks in advance for your help.
Regards,
Carlos.In the save event just clear the entries of the field(user name) in the internal table.
-
Add a field in maintenance view V_FMC_B
i want to add a field SORTL from LFA1 table in maintenance view V_FMC_B for checking the duplicate vendor name and search term. how it is possible?
Hi,
Copy the view V_FMC_B into ZV_FMC_B and the you will be able to add new fields to that standard view V_FMC_B
OR
Just request for the access key from your Basis Admin so that you will be able to add that new field in the standard view V_FMC_B.
Regards,
koolspy. -
Adding Field to maintenance view
Hi
I have added a field to Z Table wich has already created a maintenance view (SM30) , but this field does not appears in maintenance view even the table is active. (This is a basic Z table with one key field, the new field is not key field)
I go to Maintenance Table Generator in SE11 and there is its Function Group but i do not know how to regenerate the Function Group and Function Module for make the new field appears in SM30.
Can somebody please help me , wich step must i do to regenerate the maintenance view in order the new field appears in SM30 ?
Regards
FrankHi,
Hope you have created the table and done the TMG (Table maintenance generator). Then you changed the table.
Now proceed like:
goto se11 & give your table name#
clieck on change
goto utilities-> TMG
In the TMG, just click on the icon - pencil (or press F7).
Just select all the options and press enter
Now the TMG will be regenerated.
After this please check, it will work fine.
Regards,
Selva K.
Maybe you are looking for
-
PC running Windows 7 with Photoshop Elements 7 printing to an EPSON Stylus PHOTO R1800
Please help! I am an amateur photographer. This printer produced excellent photos until my old PC died. I just bought a new Dell XPS 9000 with Adobe Photoshop Elements 7 and connected my printer. The photos look terrible. Clearly, the PC and Printe
-
Helppppp idk how but a few of my songs are stuck on replay!!!!
Helppppp!!! theres a downward arrow next to a few of my song titles(only the titles) and only those songs play on repeat like some sort of shortcut playlist in my full library. idk how it happened and idk how to get rid of it!!! please help meee!!!!
-
IDOC_INBOUND_FROM_FILE
hi, i'm using IDOC_INBOUND_FROM_FILE to read the content of text file, then i want to convert it into idoc. But the idoc generate status is 64 and i want that their status is 51. can anyone help me......this is vey urgent
-
BPC 10.0 - Deletion of Journals - Who, When, Why?
Dear All, At my BPC 10.0 system, lots of journals have been deleted. How can I check the following : who deleted the Journal? when was it deleted? why was it deleted( any text filed indicating this)? Thanks in advance. Regards, Peri
-
Where do i find my free around the country web BT ...
Hi Apologies in advance if its too common a question: But being an owner of too many e-mails / passwords is there anything i can look at / browse to see what my logindetails might be for free BT wirelss around the country - or is it smethign i have t