In ALV report.The user wants to hide specfic fields
Hi
In ALV report.The user wants to hide specfic fields but the user must be able to add these fields to the report:
can any one give the suggestions
in reuse alv list display or grid
i_save = 'A'.
now user can choose the layout.
for hiding
in fieldcat
wfieldcat-No_out = 'X'.
regards
shiba dutta
Similar Messages
-
In the report level user wants two persons against each work center.
Hi Experts,
Please let me know the solution, I have provided scenario below.
check the query which the user is referring to report:
Example
Work center Person
KNE33102 44003850
According to the user, the names for the Work centers should be as follows:
Work center Person
KNE33102 44003850,
KNE33102 44003603
I have check the data in T-code-CR03, each work center getting two persons, as can be shown below.
Work center Person
KNE33102 44003850,
KNE33102 44003603
In RSA3 it can be seen that both the records are being extracted
Work center Start date End date Person
KNE33102 09.02.2009 31.12.2009 44003850
KNE33102 09.02.2009 31.12.2009 44003603
In BI , when checking in PSA, it can be seen that the data is also being loaded to BI (Two persons loaded against Work center-KNE33102)
Work center Start date End date Person
KNE33102 09.02.2009 31.12.2009 44003850
KNE33102 09.02.2009 31.12.2009 44003603
But when loading to the Info Object, one person has deleted. Because of this, in the report level displaying one person.
Note:-Please let me know what is the procedure, in the report level user wants two persons against each work center.Hi,
As you said in your post the data has mentioned up to 2009. can you try execute the query till to date .
Regards
sivaraju -
Question on how to Hide the User Name, Password, and Domain fields in the MDT Wizard
MDT 2012 U1
Deploying Windows 7 via Offline Media (ISO) to MS Virtual PC's
I am looking on how to Hide the User Name, Password, and Domain fields which are prepopulated in the MDT wizard via the CS.ini (Not so concerned about the Domain field as I am User Name and Password)
We do need the Computer Name and OU fields to be seen, so skipping the wizard is not a option
The client just does not want these fields to be seen by the end users, they dont want them to even know the account name used for adding the machine to the domain, of course the password is not displayed but it must not be displayed either.
But since we use the fields they must still be fuctional just not seen.
Thanks.....
If this post is helpful please click "Mark for answer", thanks! Kind regardsYou shouldn't have to edit DeployWiz_Definition_ENU.xml. You should only need to add "SkipAdminPassword=YES" to the CS.ini file and your authentication information.
Example:
[Settings]
Priority=Default
Properties=MyCustomProperty
[Default]
OSInstall=Y
SkipCapture=NO
SkipAdminPassword=YES
UserID=<MyUserID>
UserPassword=<MyPassword>
UserDomain=<MyDomain.com>
SkipProductKey=NO
SkipComputerBackup=YES
SkipBitLocker=NO
-Nick O.
Nick,
SkipAdminPassword=YES is for:
You can skip the Administrator Password wizard page by using this property in the
customsettings.ini.
I am hidding the Username/Password/and domain field in the computer name Wizard pane which is read from the cs.iniDomainAdmin=xxxxx
DomainAdminPassword=xxxxx
DomainAdminDomain=xxxxxx
JoinDomain=xxxxxx
If this post is helpful please click "Mark for answer", thanks! Kind regards -
How to make the Results row a toggle when the user wants/does not want see
The user wants to toggle between seeing/not seeing the Results row at the bottom of each row. How to make it like a toggle checkbox/selection on the screen so that the user can decide on seeing/not seeing it in the report. If not possible to do such a thing, then how do I totally prevent it from showing in the report. Version is 3.5 BW.
Thanks
RamFor each characteristics in the query designer, right-click and go to properties....
then in the 'Display of Results' section in the 'Suppress Result Rows' option, select: "Always".
This will suppress the result rows.
Good luck,
AT -
Jump from alv report to qa03 screen based on PRUEFLOS field
Hi experts,
I developed one alv report ,in that one field name is PRUEFLOS (inspection lot number).I want to jump from alv report
to QA03 screen based on PRUEFLOS field.I wrote in this way but i didn't get.
FORM USER_COMMAND USING UCOMM LIKE SY-UCOMM SELFIELD TYPE SLIS_SELFIELD.
CASE SELFIELD-FIELDNAME.
WHEN 'PRUEFLOS'.
READ TABLE T_FINAL INDEX SELFIELD-TABINDEX.
SET PARAMETER ID 'QLS' FIELD T_FINAL-PRUEFLOS.
CALL TRANSACTION 'QA03' AND SKIP FIRST SCREEN.
ENDCASE.
ENDFORM.
what is the problem ?pls help me in this.Hi Ram,
Recheck:
1) You have passed 'FORM USER_COMMAND' in 'I_CALLBACK_USER_COMMAND' while calling f.m. for ALV displa, and
2) You have checked the value of user command, i.e.
FORM USER_COMMAND USING UCOMM LIKE SY-UCOMM SELFIELD TYPE SLIS_SELFIELD.
CASE SY-UCOMM.
WHEN '&IC1'.
CASE SELFIELD-FIELDNAME.
WHEN 'PRUEFLOS'.
READ TABLE T_FINAL INDEX SELFIELD-TABINDEX.
SET PARAMETER ID 'QLS' FIELD T_FINAL-PRUEFLOS.
CALL TRANSACTION 'QA03' AND SKIP FIRST SCREEN.
ENDCASE.
ENDCASE.
ENDFORM.
Regards,
Birendra -
How do u handle the user parameters for a currency field.
How do u handle the user parameters for a currency field.
Decimal saperator and a hundreds saperator. (depending upon the user parametes set for the user the saperators may differ)
Eg: currency field: 13.896,01 (In this case u2018,u2019 is a thousand saperator and u2018.u2019 is a decimal saperator) How to handle this one.
Regards,
Ram.Hi,
Try this code....
DATA: V_KURSF1 TYPE c LENGTH 10,
v_kursf2 type c LENGTH 10,
v_dcpfm TYPE xudcpfm, "Decimal or Thousand Notation
v_thousand TYPE char1, "Thousands Notation
v_decimal TYPE char1. "Decimal Notation
CONSTANTS: c_x TYPE char1 VALUE 'X',
c_y TYPE char1 VALUE 'Y', "Value Y
c_comma TYPE char1 VALUE ',', "Comma
c_point TYPE char1 VALUE '.', "point
c_blank TYPE char1 VALUE ' '. "Blank
IF v_dcpfm IS INITIAL.
SELECT SINGLE dcpfm
FROM usr01
INTO v_dcpfm
WHERE bname = sy-uname .
IF sy-subrc = 0.
CASE v_dcpfm.
WHEN c_x.
v_decimal = c_point.
v_thousand = c_comma.
WHEN c_blank.
v_decimal = c_comma.
v_thousand = c_point.
WHEN c_y.
v_decimal = c_comma.
v_thousand = c_blank.
ENDCASE.
ENDIF.
ENDIF.
Find c_point in wa_segment-exchange_rate. ( Eg:ield)
if sy-subrc = 0.
replace c_point in wa_segment-exchange_rate with v_decimal.
endif. -
How to capture the user change in an input field on a selection screen?
I am coding a selection screen in which there are two input fields. The first field takes a Unix directory from the user input. Based on the input value, the second field will be populated with a the name of a file under the corresponding directory.
My question is how I can make the program capture the user input without having to make the user press ENTER after they enter the value in the first field?
Any help will be greatly appreciated.Venkat,
Actually you led me to the real solution! It's the function module DYNP_VALUES_READ that does the trick for me. This function enables the program to capture dynamic user changes without recourse to PAI. Please refer to the code below:
REPORT zreiabsintf MESSAGE-ID zreiabsintfmc.
*<HGDC------------------------------------------------------------------
* Selection screen for the conversion program
*HGDC>------------------------------------------------------------------
SELECTION-SCREEN BEGIN OF BLOCK input WITH FRAME TITLE text-001.
PARAMETERS: p_indir LIKE epsf-epsdirnam OBLIGATORY, " Inbound file directory
p_infile LIKE epsf-epsfilnam DEFAULT gc_infile OBLIGATORY, " Inbound file name
SELECTION-SCREEN END OF BLOCK input.
*<HGDC------------------------------------------------------------------
* Displays a file-open dialog when the user clicks the search
* help button next to the inbound file text field. The user
* can select the inbound file visually.
*HGDC>------------------------------------------------------------------
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_infile.
* Capture any user change to the directory.
PERFORM check_dir_change.
* Display the file open dialog
PERFORM file_open_dialog CHANGING p_infile.
*<HGDC------------------------------------------------------------------
* Global constants
*HGDC>------------------------------------------------------------------
CONSTANTS:
gc_indir LIKE epsf-epsdirnam
VALUE '/interfaces/<SID>/inbound/', " Default inbound directory template
gc_infile LIKE epsf-epsfilnam VALUE 'input'. " Default inbound file name
*<HGDC------------------------------------------------------------------
* Global data
*HGDC>------------------------------------------------------------------
DATA:
gs_dynpfields TYPE dynpread, " Fields of the current screen
gt_dynpfields LIKE STANDARD TABLE OF gs_dynpfields. " Table of the screen fields
*& Form file_open_dialog
* Opens a dialog window for the user to choose a file in
* the specified Unix directory.
* <--P_FILE is the file to be selected.
FORM file_open_dialog CHANGING p_file.
* Validate the directory.
OPEN DATASET p_indir FOR INPUT IN BINARY MODE.
IF sy-subrc NE 0.
MESSAGE i001(zreiabsintfmc) WITH p_indir. " Unable to open the given directory
EXIT.
ENDIF.
CLOSE DATASET p_indir.
* Call the dialog window to open a file in the directory.
CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
EXPORTING
directory = p_indir
IMPORTING
serverfile = p_file
EXCEPTIONS
canceled_by_user = 1
OTHERS = 2.
IF sy-subrc NE 0.
MESSAGE i002(zreiabsintfmc). " Failed to open the file.
EXIT.
ENDIF.
ENDFORM. " file_open_dialog
*& Form check_dir_change
* text
* --> p1 text
* <-- p2 text
FORM check_dir_change .
CLEAR gs_dynpfields.
CLEAR gt_dynpfields.
gs_dynpfields-fieldname = 'P_INDIR'.
gs_dynpfields-fieldvalue = p_indir.
APPEND gs_dynpfields TO gt_dynpfields.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = sy-repid
dynumb = sy-dynnr
TABLES
dynpfields = gt_dynpfields
EXCEPTIONS
invalid_abapworkarea = 1
invalid_dynprofield = 2
invalid_dynproname = 3
invalid_dynpronummer = 4
invalid_request = 5
no_fielddescription = 6
invalid_parameter = 7
undefind_error = 8
double_conversion = 9
stepl_not_found = 10
OTHERS = 11.
IF sy-subrc NE 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
READ TABLE gt_dynpfields INTO gs_dynpfields INDEX 1.
p_indir = gs_dynpfields-fieldvalue.
ENDFORM. " check_dir_change
Thanks for all your answers! The problem is now solved.
Edited by: Ning Hu on Apr 9, 2008 11:32 AM
Edited by: Ning Hu on Apr 9, 2008 11:34 AM -
How to find the user who has changed a field in a table
Hello
Someone has changed a field cost center in my table so i need to find the user who hav changed it.Can anyone tel me how to find it.
RegardsHI ,
Create a Z test program using the particular table and filed .
Now goto SE38 and execute the program " RSDEPEND "
give the ur test program and then execute . u will get the list of the last change of ur program
( table and fields used inthis program)
Another way :
for data element :
refer table
DD04L and get the user name
for domain
DD01L
Edited by: shambhu sharan pandey on Nov 13, 2009 5:49 AM -
Want to hide a field in the last page of report
Hi All
I have an issue .. can anyone of the oracle techies give me a solution for this ..? pleeaassee
The issue is that let us say i have a report for 5 pages. I have placed a field on the margin of a report to display CONTINUE.. . Now we dont want this field to be displayed when the report is on the last page. We tried of setting property of the field Print on to All but last page but it is not accepting that
can anybody provide a solution for that ..?
Thanx in advance
HariThe problem you're hitting is that the margin area is formatted before the body area in the report. Since this is the case, you don't know if you are on the last page since the body has yet to be printed when you print your "continue" column.
There are a several ways to accomplish what you want:
- Guess whether it is the last page and print based on your "guess"
Normally you'd use a running count along with a total count to see if you've printed the last instance of the repeating frame and are hence on the last page. Since your object is in the margin rather than the body, you'd need to estimate how many records will fit on the page and if there are less then these many records left then you shouldn't print the "continue" field.
This can be tricky to do if your frame is variable sized so you don't really know how many instances of the repeating frame will be on each page.
- Place the "continue" field in the body rather than the margin
To do this, you need to create a fixed sized frame that all your normal layout goes into. This should be sized to your typical page size. Then create the "continue" field after the fixed sized frame (you may need to re-size the body area - do this in "margin" mode). Set the print condition to "all pages" against the "continue" field so that it prints on every page. You can then use the running count/total count method to determine if the last repeating frame has been printed when you come to print your "continue" field. -
also I like the look of the lightbox but don't want the thumbnails. why, in this mode, is the thumbnail box uncheckable to make it go off?
1. Use menu "File/AddFiles for Upload" to upload an image of whatever size.
2. Place a smaller version of this Image or an icon of your choice on your page.
3. Use the hyperlink command in the upper command strip to link the small image to the uploaded file ("Link to file …")
4. If someone clicks onto the places image, the big version is loaded into an extra browser window and allows scaling..
Your second question: How should one trigger a lightbox, it there is no thumbnail to do it?
Alternative: Use the lightbox display composition and delete all triggers but one. Place into the lightbox a basic slideshow without any thumbnail. This way you have one trigger to start a slideshow within a lightbox -
Looping until the user wants to stop
Hey everyone. I have been racking my brain around this and cannot find the problem. I want this following loops to run as long as the use enters 'yes' at the end of it. This loops worked fine once before, I don't understand why it isn't working now. I need an outsiders view to help me out!! =)
do
System.out.println("Please enter a sentence with end punctuation: ");
oneLineInput = keyboard.nextLine();
inputLength = oneLineInput.length();
endPunctuation1 = oneLineInput.indexOf("?");
endPunctuation2 = oneLineInput.indexOf("!");
evenOrOdd = inputLength % 2;
if (endPunctuation1 != -1 || endPunctuation2 != -1)
if (endPunctuation2 != -1)
System.out.println("Wow");
System.out.print("Do you want to run the program again? ");
repeat = keyboard.next();
else
if (evenOrOdd == 0)
if (endPunctuation1 != -1)
System.out.println("Yes");
System.out.print("Do you want to run the program"
+ "again? ");
repeat = keyboard.next();
else
if (endPunctuation1 != -1)
System.out.println("No");
System.out.print("Do you want to run the program"
+ "again? ");
repeat = keyboard.next();
else
System.out.println("You always say " + "\"" + oneLineInput + "\"");
System.out.print("Do you want to run the program again? ");
repeat = keyboard.next();
while (repeat.equalsIgnoreCase("yes"));With all due respect I was referring to the the input working not the loops repeating itself. The way that I had it I could get the input, but it would not loop. The input is what I was referring to as working. Just because it was messy meant nothing. But here is the revised code
import java.util.*;
public class OneLineSentence
public static void main(String[] args)
Scanner keyboard = new Scanner(System.in);
String oneLineInput, repeat;
int inputLength, endPunctuation1, endPunctuation2, evenOrOdd;
do
System.out.println("Please enter a sentence with end punctuation: ");
oneLineInput = keyboard.nextLine();
inputLength = oneLineInput.length();
endPunctuation1 = oneLineInput.indexOf("?");
endPunctuation2 = oneLineInput.indexOf("!");
evenOrOdd = inputLength % 2;
if (endPunctuation1 != -1 || endPunctuation2 != -1)
if (endPunctuation2 != -1)
System.out.println("Wow");
System.out.print("Do you want to run the program again? ");
repeat = keyboard.next();
else
if (evenOrOdd == 0)
if (endPunctuation1 != -1)
System.out.println("Yes");
else
if (endPunctuation1 != -1)
System.out.println("No");
else
System.out.println("You always say " + "\"" + oneLineInput + "\"");
System.out.print("Do you want to run the program again? ");
repeat = keyboard.next();
while (repeat.equalsIgnoreCase("yes"));
}} -
Accept data only if the user wants to
Hello,
I am trying to acquire impact hammer data for modal analysis using NI cRIO USB 9233 and Sound and Vibration Assistant. I am trying to average the data over 15 hits and I want to look at the current hit, its coherence and FRF and only then select it for futher processing. Can I set a condition or loop where the next acquisition os started only after looking at the previous hit and reading.
I want to accept only good hits and data to average. I tried conditional repeat but that did not work.. Is there a way to set this capability in Sound and Vibration assistant.
Thank you.Hello,
Jason that is actually a great idea. StuMtu, you can add a sequence step to the end of all your steps and configure it to display a message. When this message comes up you can create a snap shot of the data from that loop if you want or you can ignore it and go on to the next loop iteration. Let us know if this is what you were looking for and take a look at some screen shots below!
Cheers!
Corby_B
http://www.ni.com/support
Attachments:
Sequence.jpg 143 KB
Sequenc 2.jpg 173 KB -
How to restrict the users to make sorting on Field in query analyzer(Excel)
i want to know that is it possible to put restiction for user to make sorting for posting date or any other Field in Query analyzer(Ms Excel ) after excuting the queryy ? i want restiction on sorting option of Ms excel . pls reply me soon.
viral
it depend upon different companies and how they are maintianing securities in that...
for e.g.
after discussing iwth ur senior member u will decide to publish a new folder in ur production system...
let say name of folder is BW Financial Accounting
Now u will publish ur report in this folder.
go to query designer
hit Query in menu
hit publish and select the BW FINANCIAL ACCOUNTING
now u interact with Security administrator at ur firm
he will create proper Authorization object for this Folder BW FINANCIAL ACCOUNTING
once he/she does that then he will add this authorization object to ur user id
this way u can test that
u can acess that folder and query link in that folder.....
similarly they will add the newly created authorization objects to ur specific user ids and they will then have acess to this .....
if u want to check authorization objects currently assigned to ur user id
enter t code /su01
enter ur user id
and u can see several authorization objects -
Name
Social Security
Child 1
Social 1
Child 2
Social 2Hi blabla12345,
(untested and without warranty)
replace this line:
const sSaveCUBE = "CUBE";
with this:
const sSaveCUBE = "cube";
Have fun -
Hi all
In ALV Report .The user must be able to adapt the result list (add hidden fields, remove columns) and save the layout as layout. The user must be able to select this layout when executing the selection.
the user must hide the fields and can diplay when ever he needs in ALV reportU have to use no_out = 'X'.
fieldcatalog-fieldname = 'EBELN'.
fieldcatalog-seltext_m = 'Purchase Order'.
fieldcatalog-col_pos = 0.
fieldcatalog-outputlen = 10.
fieldcatalog-no_out = 'X'.
fieldcatalog-key = 'X'.
gd_repid = sy-repid.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = gd_repid
i_callback_top_of_page = 'TOP-OF-PAGE' "see FORM
i_callback_user_command = 'USER_COMMAND'
* i_grid_title = outtext
is_layout = gd_layout
it_fieldcat = fieldcatalog[]
* it_special_groups = gd_tabgroup
it_events = gt_events
is_print = gd_prntparams
<b> i_save = 'X'</b>
is_variant = z_template
tables
t_outtab = it_ekko
exceptions
program_error = 1
others = 2.
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_enhanced.htm
Maybe you are looking for
-
How to print from PC to Mac???
I have my printer connected to iMac and want to share this printer with a PC notebook. Can anyone tell me how to do this? info Mac: iMac G5 running Mac OS X 10.4.3 Printer: HP PSC 1510 PC: HP notebook running Windows XP Thank you in advance aaron555p
-
Email Send/Receive causes slow access to website host server. Any Suggestions?
Hello Community. "Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth." I have a bit of a weird problem and though it sounds silly, I'm 99% certain of the cause. My business migrated our five different sit
-
With large .fla files I often can't get Flash to output .swf files. Usually I get the message "Error creating Flash movie. There was not enough memory available." Sometimes though Flash looks as if it has finished publishing (although slightly too
-
DEAR SIR WHAT IS MEANING OF T CODE SP12 AND WHAT IS THE FUNCTION OF THIS TCODE. AMIT SRIVASTAVA
-
Reserved quant. exceeded by qty
Hi, While corfirming the order backflush for components I am getting the below error RE Reserved quant. exceeded by 5.000 MT : Material number plant storage location The stock is available in the storage location. thanks and regards muru