DISPLAYING VALUES ON SCREEN
HOW TO WRITE BACK THE VALUES IN THE SCREEN WHEN WE ARE IN MODULE POOL,LIKE IF AFTER EXECTUING SOME FUNCTION AND I WANT TO DISPLAY THE VALUE FROM THAT FUNCTION ON THE SCREEN BACK WHAT SHOULD BE DONE.
Hi Nandan,
Please explain your question properly.
As i understood your question, I think you want to display value returned by any function module in any textbox on the screen.
Is it right???
You can set value of that screen field value in one PBO module. Also define the variable with the same name as the name of the screen field in the TOP include.
I hope it works.
Please reward this and close this thread it it solves your problem.
Regards,
Bhavik
Similar Messages
-
Display medium text in value selection screen.
Hello Experts,
i have an infoObject called Customer in an ODS.Its master data contains the short text, medium length text and long text.i want to display its medium text(which contains First name n last name) in the value selection screen (F4) while executing the web report.
It is an urgent requirement.
Please help.
I promise to return and reward lots of points
Thankyou soo much
Regards,
PriyaVishvesh,
Thanks for ur quick reply.
i have set those properties but it is still not working.
Arun,
are u trying to say that i can show Long text but not medium text ??whr did u change the description to long text and key?
Do Reply,
I will award points ..
Thankyou soo much
Priya -
How can I get dataTable to display values from the java layer?
When I use the dataTAble in my JSP page it will only display values from my java layer if the facets tag has it's name set to "header". Why is this happening?
If I set it to "header" and I look at the page source it actually has created the correct number of rows but it doesn't put the values between the <td> tags? It see's the length of my list but it doesn't pick the values out of the list.
<h:dataTable var="data" value="#{NameBean.test}" border="1">
<h:column>
<f:facet name="header">
<h:outputText value="Name"/>
</f:facet>
</h:column>
<h:column>
<f:facet name="header">
<!-- <h:outputFormat styleClass="outputFormat" id="format1" value="#{NameBean.test}"></h:outputFormat>-->
<h:outputText styleClass="outputText" value="#{NameBean.test}" style="" rendered="true" escape="false"/>
</f:facet>
</h:column>
</h:dataTable>
public List gettest()
List li = new LinkedList();
Object Developers[] = {"M@n00j", "sdsadas"};
for( int i = 0; i < Developers.length; i++ )
li.add(Developers);
return li;
Thanks in advance to anyone that can help.
-ls6vI've been able to get it working with some of those changes along with changes in the JSP. I think it's a setting or two in the JSP that'll allow the program to run correctly.
I have a list and it's returned like what you suggested. A day or two ago I tried to move the outputtext outside of the facet tag but nothing would print, I know believe that's related to the following setting in the JSP:
rows="0" in the <h:dataTAble tag
Unfortunately the dataTAble isn't displaying the values correctly. It prints all of the values (Strings) in the list on each row and it make a new row for the number of items in the list.......... ???
Here's what it's printing to the screen (the table):
===================
== [asdasd], [sddfdfd] ==
===================
===================
== [asdasd], [sddfdfd]==
===================
what it should print:
============
== [asdasd] ==
============
============
== [sddfdfd] ==
============
My code:
public List gettest()
List li = new ArrayList();
li.add("asdasd");
li.add("affffd");
return li;
}JSP
<h:dataTable border="1" columnClasses="list-column-left"
headerClass="list-header"
rowClasses="list-row-odd"
id="table"
rows="0"
value="#{NameBean.test}"
var="data">
<h:column>
<f:facet name="header">
<h:outputText value="test"/>
</f:facet>
<h:outputText value="#{NameBean.test}" style="" rendered="true" escape="false"/>
</h:column>
</h:dataTable> -
Clearing the displayed value for a SELECT-OPTION
How do I clear the displayed value of a SELECT-OPTION?
I have 2 SELECT-OPTIONs on my screen (standard basic report program screen). I use code like this to populate the drop-down boxes for each one.
=====
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_prgrp-low.
PERFORM fill_prgrp_values.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_prctr-low.
PERFORM fill_prctr_values.
=====
The value the user picks for the first SELECT-OPTION will affect what values I put in the drop-down list for the second SELECT-OPTION.
If a user enters a value for the second SELECT-OPTION, and then goes back and changes the value of the first SELECT-OPTION, then I want to do two things:
1. Create a new set of values for the drop-down list for the second SELECT-OPTION (no problem; working fine);
2. Clear the displayed value from the second SELECT-OPTION that the user entered previously. That value became invalid when the user picked a new value for the first SELECT-OPTION.
How do I clear that second displayed value?
I have tried CLEAR and REFRESH for the second variable using the formats s_prctr, s_prctr[], and s_prctr-low. They will erase the values of the internal table or part(s) of it, but the displayed value stays on the screen.
I need to clear out the displayed value so the user will either leave it blank or enter or select a new value.
I am using F4IF_INT_TABLE_VALUE_REQUEST to build the drop-down lists, and it works fine, but I do not see any function module to clear the displayed value off the screen.
Thanks for your help.Sorry, but calling DYNP_VALUES_UPDATE did not work. This is how I coded it.
fld_reset_rcd-fieldname = 'S_PRCTR'.
fld_reset_rcd-stepl = sy-stepl.
CLEAR fld_reset_rcd-fieldvalue. " re-initialize s_prctr
CLEAR fld_reset_rcd-fieldinp. " what goes in here?
APPEND fld_reset_rcd TO fld_reset_tbl.
CALL FUNCTION 'DYNP_VALUES_UPDATE'
EXPORTING
dyname = 'ZFI_GL_BALANCE_NGL'
dynumb = '1000'
TABLES
dynpfields = fld_reset_tbl
<Added code tags>
I have discovered that CLEAR and REFRESH of s_prctr will clear it somewhat. If I enter multiple values, ranges, etc., they will all be cleared, EXCEPT for the one single value that is displayed on the main screen. It is not cleared and it remains if you push the button to display the pop-up to enter ranges, etc.
To devrath.sampat -- Thanks for your example for building the drop-down list, but that is not the problem I am having. I am already able to build it just fine.
To repeat my problem, if I:
1. first enter / select a value for the first SELECT-OPTION s_prgrp
2. then enter / select a value for the second SELECT-OPTION s_prctr
3. And finally go back and select a new value of the first SELECT-OPTION s_prgrp from its drop-down list,
when I do, the program needs to clear the value displayed on the main screen for the second SELECT-OPTION s_prctr (any additional values, ranges, etc., are cleared by CLEAR and REFRESH, if I go look; but not the value shown on the main screen).
Edited by: Scott Crosby on Feb 14, 2012 4:20 PM
Edited by: Suhas Saha on Feb 15, 2012 12:03 PM -
How to Restrict Master data in value help screen for a user???URGENT
Hello Gurus,
I have a requirement.When a authorized user logins to view the report, he should see only list of customers assigned to that user in the value help screen, instead of displaying whole master data.and the data is displayed perfectly fine for the authorized sales rep. By default, Value help screen displaying all the customer numbers.
How can I restrict in the value help screen?
Any help appreciated with points.
Regards,
PNKHi Chandran,
I got that Idea too. I created a authorized customer, I created a authorized Object and assigned to a role.But in the role, when I am changing the object to generate profile, it is asking to select list of customers from the customer table.If the customers are always constant then this would work, but in my scenario, customers for the sales rep changes over time and when I ever reps open the query, they should see updated list of customers assigned to them only, as we update the master data everyday from source system and that shud reflect in the value help.
I am trying User Exit to achieve this, but I am not getting proper ideas how to do this.
Any Help on this issue with user exit code???
Thanks in Advance
regards,
PNK -
Problem in the code while fetching records and displaying in the screen
Hi,
I have developed a screen which is having various fields, all the records are stored in a ztable,when i enter the records into various i/o fields and press submit pushbutton they are stored in the table now, what i wont is when i enter one record the (primary one) and press enter the corresponding records of that record should be shown in the i/o fields means they should be fetched back from the d/b table and displayed on the screen. For this i Have written a code please see it once.
TABLES : ZFISALDT.
DATA ITAB LIKE ZFISALDT OCCURS 0 WITH HEADER LINE.
ZFISALDT-BILLINGDOCU = ITAB-BILLINGDOCU.
ZFISALDT-SALESDOCU = ITAB-SALESDOCU.
ZFISALDT-FORM402 = ITAB-FORM402.
ZFISALDT-SALESTAXFORM = ITAB-SALESTAXFORM.
ZFISALDT-FREIGHTDOCNO = ITAB-FREIGHTDOCNO.
ZFISALDT-FPARTYNAME = ITAB-FPARTYNAME.
*& Module STATUS_5555 OUTPUT
text
MODULE STATUS_5555 OUTPUT.
SET PF-STATUS 'SALALL'.
SET TITLEBAR 'SAL'.
ENDMODULE. " STATUS_5555 OUTPUT
*& Module USER_COMMAND_5555 INPUT
text
MODULE USER_COMMAND_5555 INPUT.
CASE SY-UCOMM.
WHEN 'BACK'.
LEAVE TO SCREEN 0.
WHEN 'SUB'.
IF ZFISALDT-BILLINGDOCU = ' '
OR ZFISALDT-SALESDOCU = ' '.
MESSAGE 'PLEASE FIRST SUBMIT THE BILLING DOCUMENT NO AND SALES DOCUMENT NO' TYPE 'E'.
ENDIF.
ZFISALDT-BILLINGDOCU = ZFISALDT-BILLINGDOCU.
ZFISALDT-SALESDOCU = ZFISALDT-SALESDOCU.
ZFISALDT-FORM402 = ZFISALDT-FORM402.
ZFISALDT-SALESTAXFORM = ZFISALDT-SALESTAXFORM.
*ZFISALDT-FREIGHTDOCNO = ZFISALDT-FREIGHTDOCNO.
*ZFISALDT-FPARTYNAME = ZFISALDT-FPARTYNAME.
*SUBMIT ITAB.
WHEN ' '. (THIS THE PART OF CODE WHICH IS NOT WORKING)
SELECT * FROM ZFISALDT INTO corresponding fields of TABLE ITAB WHERE BILLINGDOCU = ZFISALDT-BILLINGDOCU.
ITAB-BILLINGDOCU = ZFISALDT-BILLINGDOCU.
ITAB-SALESDOCU = ZFISALDT-SALESDOCU.
ITAB-FORM402 = ZFISALDT-FORM402.
*ZFISALDT-BILLINGDOCU = ITAB-BILLINGDOCU.
*ZFISALDT-BILLINGDOCU = ITAB-BILLINGDOCU.
*ZFISALDT-SALESDOCU = ITAB-SALESDOCU.
*ZFISALDT-FORM402 = ITAB-FORM402.
*ZFISALDT-SALESTAXFORM = ITAB-SALESTAXFORM.
append ITAB. (ALSO USED INSERT BUT NOT WORKING)
WHEN 'ENTER'.
IF ZFISALDT-BILLINGDOCU = ' '
OR ZFISALDT-SALESDOCU = ' '.
MESSAGE 'PLEASE FIRST SUBMIT THE BILLING DOCUMENT NO AND SALES DOCUMENT NO' TYPE 'E'.
ENDIF.
ZFISALDT-FREIGHTDOCNO = ZFISALDT-FREIGHTDOCNO.
ZFISALDT-FPARTYNAME = ZFISALDT-FPARTYNAME.
ZFISALDT-FREIGHTBILLNO = ZFISALDT-FREIGHTBILLNO.
ZFISALDT-FREIGHTDATE = ZFISALDT-FREIGHTDATE.
ZFISALDT-TRUCKNO = ZFISALDT-TRUCKNO.
ZFISALDT-FREIGHTAMOUNT = ZFISALDT-FREIGHTAMOUNT.
ZFISALDT-COMNAGBILL = ZFISALDT-COMNAGBILL.
ZFISALDT-AGENTNAME = ZFISALDT-AGENTNAME.
ZFISALDT-CAGDATE = ZFISALDT-CAGDATE.
ZFISALDT-CMNAGAMOUNT = ZFISALDT-CMNAGAMOUNT.
ZFISALDT-SHIPMENTNAME = ZFISALDT-SHIPMENTNAME.
ZFISALDT-SHIPDOCUNO = ZFISALDT-SHIPDOCUNO.
ZFISALDT-SHIPBILLNO = ZFISALDT-SHIPBILLNO.
ZFISALDT-SHIPBILLDATE = ZFISALDT-SHIPBILLDATE.
ZFISALDT-BLNOGOV = ZFISALDT-BLNOGOV.
ZFISALDT-CHAAGENTNAME = ZFISALDT-CHAAGENTNAME.
ZFISALDT-CHABILL = ZFISALDT-CHABILL.
ZFISALDT-CHADATE = ZFISALDT-CHADATE.
ZFISALDT-CHAAMOUNT = ZFISALDT-CHAAMOUNT.
ZFISALDT-B_L_NO = ZFISALDT-B_L_NO.
ZFISALDT-B_L_NODATE = ZFISALDT-B_L_NODATE.
ZFISALDT-DEPBLICNO = ZFISALDT-DEPBLICNO.
ZFISALDT-LICENCE_DATE = ZFISALDT-LICENCE_DATE.
ZFISALDT-FOC_VALUE = ZFISALDT-FOC_VALUE.
ZFISALDT-DEPB_VALUE = ZFISALDT-DEPB_VALUE.
INSERT ZFISALDT.
CLEAR ZFISALDT.
ENDCASE.
ENDMODULE. " USER_COMMAND_5555 INPUT
This is the code please check it once.
Thanks in advance.Hi Sumeet.
WHEN ' '. " (THIS THE PART OF CODE WHICH IS NOT WORKING)
SELECT * FROM ZFISALDT INTO corresponding fields of TABLE ITAB WHERE BILLINGDOCU = ZFISALDT-BILLINGDOCU.
" here in where condition u r checking with ZFISALDT-BILLINGDOCU, i guess there is no value in that, Once check in debugging mode and proceed further.
Regards,
Aby -
How to display value in memory
How to display value in memory, except call function 'LIST_FROM_MEMORY' .
Thanks.Hi
See this
may be useful
SAP memory is a memory area to which all main sessions within a SAPgui have access. You can use SAP memory either to pass data from one program to another within a session, or to pass data from one session to another. Application programs that use SAP memory must do so using SPA/GPA parameters (also known as SET/GET parameters). These parameters can be set either for a particular user or for a particular program using the SET PARAMETER statement. Other ABAP programs can then retrieve the set parameters using the GET PARAMETER statement. The most frequent use of SPA/GPA parameters is to fill input fields on screens
SAP global memory retains field value through out session.
set parameter id 'MAT' field v_matnr.
get parameter id 'MAT' field v_matnr.
They are stored in table TPARA.
ABAP memory is a memory area that all ABAP programs within the same internal session can access using the EXPORT and IMPORT statements. Data within this area remains intact during a whole sequence of program calls. To pass data
to a program which you are calling, the data needs to be placed in ABAP memory before the call is made. The internal session of the called program then replaces that of the calling program. The program called can then read from the ABAP memory. If control is then returned to the program which made the initial call, the same process operates in reverse.
ABAP memory is temporary and values are retained in same LUW.
export itab to memory id 'TEST'.
import itab from memory Id 'TEST'.
Here itab should be declared of same type and length.
http://www.sap-img.com/abap/difference-between-sap-and-abap-memory.htm
ABAP Memmory & SAP Memmory
http://www.sap-img.com/abap/difference-between-sap-and-abap-memory.htm
http://www.sap-img.com/abap/type-and-uses-of-lock-objects-in-sap.htm
Reward points for useful Answers
Regards
Anji -
To display the selection screen variant name in WAD report output.
Hello experts,
I have a requirement which is to display the selection screen variant description in the output of the WAD report.
I managed halfway, by using the object "Information field", which displays all the values which are selected by the variant.
Example:I have created a cost center report created using WAD, since I need some graphical displays..
In the selection screen, I have the characteristic "cost center" as input field. I have created a variant " GM - IT" which will include few cost centers managed by GM. In the output, I want the dispaly to be "Cost center - GM IT". Currently it displays "Cost Center - a,b,c,d" as the values a,b,c,d are the values from the variant name "GM-IT"
Please let me know if this required any java script. I am not familiar with java / html codes and any help would be much appreciated (and rewarded)
Thanks in advance
KSHi,
Try this.
If you want to include your variables in your WAD means you have to choose "Force Variable Screen" option to be in enabled condition.
TO enable this,in WAD select your Template(New Template1) click the WEBITEM , it'll shows all generic properties , here you can enable this "Force variable screen"
Save and execute your WAD now you can get your variable screen.
Thanks,
JituK -
J1IEX Item Level data Duty values Tab Screen
Hallow Experts,
In J1IEX - Capture / Post / Cancel Excise invoices transaction > Item Level data > duty values tab screen,
System displays following information
Excise duty Base Amount Basic material Amount on which excise tax amount is calculated. (Pls. correct if I am wrong)
Then information displays individually for BED, AED, NCCD, SED, ECESS This information is displayed in following four rows.
Total Duty
Credit available
Credit availed
Credit due
Inventorized duties
I want to know the description of above mentioned entries (e.g. what is Credit available? What is credit availed? And what is credit due?) And at what level, which row entry is displayed, that mean while capturing excise invoice entry will be displayed in which row? After posting excise invoice entry will be displayed in which row?
And after posting vendor invoice entry will be displayed in which row?
Also please explain - What is Inventorized duty? And when it is to be displayed?
Thanks in advance!!!!Hallow Experts,
In J1IEX - Capture / Post / Cancel Excise invoices transaction > Item Level data > duty values tab screen,
System displays following information
Excise duty Base Amount Basic material Amount on which excise tax amount is calculated. (Pls. correct if I am wrong)
Then information displays individually for BED, AED, NCCD, SED, ECESS This information is displayed in following four rows.
Total Duty
Credit available
Credit availed
Credit due
Inventorized duties
I want to know the description of above mentioned entries (e.g. what is Credit available? What is credit availed? And what is credit due?) And at what level, which row entry is displayed, that mean while capturing excise invoice entry will be displayed in which row? After posting excise invoice entry will be displayed in which row?
And after posting vendor invoice entry will be displayed in which row?
Also please explain - What is Inventorized duty? And when it is to be displayed?
Thanks in advance!!!! -
Can't display values from memory
Hi, all experts
i am having trouble displaying the value that i have imported to memory.
EXPORT keyfgr FROM p_keyfgr TO MEMORY ID 'CM_KEYFGR'.
EXPORT fcst_filedata FROM gt_fcst_filedata[] TO MEMORY ID 'CM_FCST_FILEDATA'.
SUBMIT (g_hlp_progname) WITH fpath = p_fname
WITH vrsioz = p_vrsioz
VIA SELECTION-SCREEN
AND RETURN
When i want to use this value in my other tcode is doesn't display value. pls, help
IMPORT keyfgr TO D FROM MEMORY ID 'CM_KEYFGR'.
IMPORT fcst_filedata TO GTA_fcst_filedata FROM MEMORY ID 'CM_FCST_FILEDATA'.
LOOP AT GTA_fcst_filedata INTO WA_fcst_filedata.
WRITE: / WA_fcst_filedata-FIELD1.
ENDLOOP.Hi sophanith,
please go through the code below.
export p_keyfgr to MEMORY id 'XYZ' .
EXPORT gt_fcst_filedata[] TO MEMORY ID 'ABC'.
SUBMIT (g_hlp_progname) WITH fpath = p_fname
WITH vrsioz = p_vrsioz
VIA SELECTION-SCREEN
AND RETURN.
in Import program u should declare the gt_fcst_filedata[] and keyfgr same as export program.
DATA :gt_fcst_filedata[] TYPE TABLE OF ................
DATA:keyfgr type ...........
IMPORT keyfgr FROM MEMORY ID 'XYZ'.
IMPORT gt_fcst_filedata[] FROM MEMORY ID ' ABC'.
the you can loop the internal table in to work area.
regards Ashwin kv -
Selection screen / how to clear values in screen parameters parameters
Hello ,
I am developing report . It is simple one with standard screen 1000 ( Not Dynpro ).
On the screen I have several parameters and select options . When I run program , display list
and press the "Back" Button from tool bar ,entered values still remain in screen parameters.
I code I did 'clear' of parameters , so after pressing "back" button and before selection screen
is displayed the parameters show up as initial ( empty ) but once selection screen is displayed
the values are in parameters again .
Can you advice how I can clean up the values from screen parameters .
Thank youHi,
Try the below code....
DATA: executed TYPE n.
SELECT-OPTIONS : selop1 FOR sy-datum.
INITIALIZATION.
executed = 1.
AT SELECTION-SCREEN OUTPUT.
BREAK-POINT.
IF executed = 1.
executed = 0.
REFRESH: selop1.
CLEAR : selop1.
ENDIF.
Regards
Arbind -
Hi!
PFA below. Its regarding the screen shot of 3D Graph.
As we can see in the picture that the values are not accurate to view. So its better to display values(numbers) on top of each tower in 3D Graph.
How to display that? Kindly suggest me any solution.
With Regards,
Yarnagula Sudhir.Hi Ethan,
Find Screen Shots and the Code below.
1. Input Screen:
2. Code:
*Graph Internal Tables
DATA: BEGIN OF itab OCCURS 0,
text(30) TYPE c,
value TYPE z2d_value,
END OF itab,
BEGIN OF opts OCCURS 0,
c(80) TYPE c,
END OF opts,
BEGIN OF tyear OCCURS 0,
c(20) TYPE c,
END OF tyear.
*Selection Screen
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: p1 TYPE z2d_value,
p2 TYPE z2d_value,
p3 TYPE z2d_value,
p4 TYPE z2d_value,
p5 TYPE z2d_value,
p6 TYPE z2d_value,
p7 TYPE z2d_value,
p8 TYPE z2d_value.
SELECTION-SCREEN END OF BLOCK b1.
START-OF-SELECTION.
* Changing User Input Internal Table to 2D Graph Format Internal Table
itab-text = 'A Diagnostic'.
itab-value = p1.
APPEND itab.
itab-text = 'B Dis-Assemble'.
itab-value = p2.
APPEND itab.
itab-text = 'C Decision Making'.
itab-value = p3.
APPEND itab.
itab-text = 'D Modification'.
itab-value = p4.
APPEND itab.
itab-text = 'E Spare Replacement'.
itab-value = p5.
APPEND itab.
itab-text = 'F Forklift Arranging'.
itab-value = p6.
APPEND itab.
itab-text = 'G Tool Room Work'.
itab-value = p7.
APPEND itab.
itab-text = 'H Machine Trial'.
itab-value = p8.
APPEND itab.
*2D Graphics: HB: Horizontal Bar
opts-c = 'P2TYPE = HB'.
APPEND opts.
*FM to Create 2D Graph
CALL FUNCTION 'GRAPH_MATRIX_2D'
EXPORTING
titl = 'HMSI - MNSR - Maintenance Engine Time Analysis in Minutes'
TABLES
data = itab
opts = opts
TCOL = tyear
EXCEPTIONS
col_invalid = 1
opt_invalid = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
3. Output:
Now Let me know how to get the Values on top of the above bars.
With Regards,
Sudhir. -
Logical foreign key display values
I have a schema in which the primary keys are auto generated numbers. Foreign keys exist from child tables to the primary key of the parent.
I have figured out how to change auto generated forms to display a dropdown list of display/values to the user on insert or update instead of the meaningless number.
What I can't figure out how to do is have the generated report show the display that I am looking for without losing the ability to edit the child record. As soon as I manipulate the query to include another table I lose the icon in the application to edit the row.
Is it possible to keep the edit icon on the report while showing logical values instead of actual ones?
Thanks in advance,
Chris S.We'll use a football analogy because it's time for the ployoffs.
Let's create a TEAMS table and a DIVISIONS table.
TEAMS consists of:
TEAM_ID NUMBER -> PK
LOCATION VARCHAR2(35)
TEAM_NAME VARCHAR2(35)
and DIVISIONS consists of:
DIVISION_ID NUMBER -> PK
DIV_NAME VARCHAR2(35)
Now there can't just be a link from a team to a division because they move around a bit. The Detroit Lions used to be in the NFC Central. That doesn't exist anymore and now they are in the NFC North. (Please set aside the fact that the NFC should be a part of the conferences table).
This means that I would create a table to link the TEAM record to a DIVISION record with the season that the team became a part of the division and potentially the last season that they were in that division. This table will be called DIVISION_TEAM_XREF and looks like this:
LINK_ID NUMBER -> PK
DIVISION_ID NUMBER -> FK(DIVISIONS.DIVISION_ID)
TEAM_ID NUMBER -> FK(TEAMS.TEAM_ID)
SEASON_EFF NUMBER(4) (actually a year maybe a VARCHAR2 would be better)
SEASON_TERM NUMBER(4) (nullable)
Now I created all of that through HTML DB with foreign keys from the XREF table to the teams and divisions tables. Then I create an application throught the application builder. I choose report and form and the application type like the demo. for each of the three tables. Choose a theme and walah there is an application with all three tables. If I add data to TEAMS or DIVISIONS I can see them in the report page that is created and there is an icon to the left of each row which when clicked will allow me to edit the row.
The problem comes with my XREF table. The creation screen is just a form which expects me to know the auto generated number that was created for my division and team. I have figured out how to change this in the application builder so that it is a drop down list built from a query of the respective table.
Once I create a record I can see it in the report page for the XREF table. This page has the option to edit the record but the values on the screen are the auto generated numbers that don't mean anything to a user. When I change this page to use display values from the parent tables I lose the edit icon.
Here is the original query that the application builder used:
select
"LINK_ID",
"DIVISION_ID",
"TEAM_ID",
"SEASON_EFF",
"SEASON_TERM"
from "DIVISION_TEAM_XREF"
and here is what I would like to change it to:
select
XREF.LINK_ID "LINK_ID",
DIV.DIV_NAME "DIVISION",
TEAM.TEAM_NAME "TEAM",
XREF.SEASON_EFF "SEASON_EFF",
XREF.SEASON_TERM "SEASON_TERM"
from "DIVISION_TEAM_XREF" XREF, DIVISIONS DIV, TEAMS TEAM
where XREF.DIVISION_ID = DIV.DIVISION_ID
and XREF.TEAM_ID = TEAM.TEAM_ID
Sorry for the long post. Hope that clarifies.
Chris S. -
Dislpay Default value on screen
Hello Experts,
I am doing Module Programminmg, There i have some issue, I want to display default cale on screen, when user enter tcode, I have written code like this in PBO :
PROCESS BEFORE OUTPUT.
module set_value.
MODULE STATUS_0100.
MODULE SET_VALUE OUTPUT.
RM60X-ENTLU = 'D'.
RM60X-DATVE = sy-datum.
ENDMODULE. " SET_VALUE OUTPUT
but it is not showing these value on screen, Please guide me how i can display these values on screen.
Waiting for a positive response....Hi,
check if the screen fields in screen painter has the same names or not??
if not create a internal table in top include or directly put the fields from database into the screen fields.
it will solve your problem.
Regards,
Rajesh Kumar -
Hello Guyz,
In the WAD report, for a field slection when we open the value selection screen to choose the value we find key and field value, as per our requirement we need description also in the value selection screen, please let me know whet setting changes need to be done.
Example
For a field status : when we open the value selection screen we find values for selection like RELP 1000
APPR 1200 but we are not getting description, what changes need to be done to even get the decription for the status.
Regards,
RaviHi,
Check this out
Re: displaying Medium Text in Variable screen (WAD)
Regards
Maybe you are looking for
-
how to restore my lost photo on mac book air
-
Hierarchy display child and parent nodes -- Urgent Please
Sorry wrong forum Message was edited by: Shree Sunder
-
WAD - Possible to embed RRI commands in CSS style menu?
I'm not content with the standard web item options in WAD and was hoping I could create my own menu using CSS style commands and then embed the BI:ACTIONs within the list links. Is this possible? I've got the list created within WAD, but can't find
-
Need help from expert urgently - Can't boot my U460 laptop
I want to reboot my U460 laptop to factory setting so I use the One Key Recovery function. After I have press the button then it shut down and restart the come to the One Key recovery screen. I choose the rocovery to initial state then it run for a w
-
In our current setup, we have a few brokers clustered together without a master broker. These brokers serve the same client applications and therefore should have the same set of topics/destinations. My question is should I create these topics on eac