How to get add/edit button in classic report
Hi,
Iam trying to built a classic report,but here i need to have add/edit button.How can i achieve this in classic reports?
I know this add/edit button with a pencil on note will come through the interactive report.
But here iam trying to build a page same as the sample application Orders tab i.e. My Orders page.Here he created a classic report with alternating rows but has an add/edit button to it.How could that be achieved??
Can Anyone help me in this regard to built the My orders page including the add/edit navigation getting to order for items.How can tat sample application of My orders built?
TIA,
Regards,
Kranthi.
Edited by: Kranthi.K on Sep 29, 2009 12:38 AM
One more doubt is
But here iam trying to build a page same as the sample application Orders tab i.e. My Orders page and when we hit add/edit image it directs us to the My orders info and order items.
How can we build that page of My orders info and order items.Can anyone guide me through the steps the sample is created.
I tried many times with master detail,but dint achieve what the default Sample Application has been done.
Thanks in Advance
Edited by: Kranthi.K on Sep 29, 2009 4:54 AM
Similar Messages
-
How to get a LOGO in a classical report?
please say me how to put a logo in a classical report?
Prakash,
IT IS POSSIBL USING OOPS CONCEPT GO FOR THIS CODE:--
REPORT y_pic_show .
DATA:
docking TYPE REF TO cl_gui_docking_container,
picture_control_1 TYPE REF TO cl_gui_picture,
url(256) TYPE c .
DATA : sum(4) , num1(4) , num2(4).
PARAMETERS: p_dummy(4) DEFAULT '4' .
PARAMETERS: p_dummy1(4) DEFAULT '5' .
AT SELECTION-SCREEN OUTPUT.
PERFORM show_pic.
START-OF-SELECTION.
num1 = p_dummy.
num2 = p_dummy1.
sum = num1 + num2.
WRITE : / sum.
*& Form show_pic
FORM show_pic.
DATA: repid LIKE sy-repid.
repid = sy-repid.
CREATE OBJECT picture_control_1 EXPORTING parent = docking.
CHECK sy-subrc = 0.
CALL METHOD picture_control_1->set_3d_border
EXPORTING
border = 5.
CALL METHOD picture_control_1->set_display_mode
EXPORTING
display_mode = cl_gui_picture=>display_mode_stretch.
CALL METHOD picture_control_1->set_position
EXPORTING
height = 150
left = 700
top = 10
width = 138.
CALL METHOD picture_control_1->load_picture_from_url
EXPORTING
url = 'PIX PATHNAME'.
IF sy-subrc NE 0.
Fehlerbehandlung
ENDIF.
ENDFORM. "show_pic
~~Guduri -
How to get updated fields in a classical report
Hi,
After displaying the report using Write, multiple fields are editable. I used INPUT ON for this. My problem is, how does the program recognize the new entered values in all the editable fields? I can not use AT LINE-SELECTION because only the current line that the cursor has focus on is being retrieved.
I've also researched about DYNPRO_FIELD_GET but i requires a DYNPRO. When I checked the report, it doesn't have a screen number?
Kindly Help.Hi,
You can do that in AT USER-COMMAND
Check this program...
*" Field string declarations...........................................
* Field string declaration to hold computation values with operator *
data:
begin of fs_comp,
operand1(10) type c, " Operand1
operator(2) type c, " Operator
operand2(10) type c, " Operand2
result(30) type c, " Result
end of fs_comp.
* Internal table to hold computation values including operator *
data:
t_comp like
standard table
of fs_comp.
*" Data declarations...................................................
* Work variables *
data:
w_operand1(10) type c, " Operand1
w_operator(2) type c, " Operator
w_operand2(10) type c, " Operand2
w_result(30) type n, " Result
w_flag type i. " Temporary Flag
* END-OF-SELECTION EVENT *
end-of-selection.
sy-title = ' '.
perform operations.
* AT-LINE-SELECTION EVENT *
at line-selection.
if sy-lsind ne 1.
message e000(yh1152).
else.
w_flag = 0.
perform display_input.
endif. " IF SY-LSIND NE 1
* AT PF<nn> *
at pf05.
set user-command 'CALC'.
* AT USER-COMMAND EVENT *
at user-command.
if sy-lsind eq 1.
message e008(yh1152).
else.
if w_flag eq 0.
perform calculations.
else.
message e007(yh1152).
endif. " IF W_FLAG EQ 0
endif. " IF SY-LSIND EQ 1
*& Form operations
*This subroutine displays the operations to be performed on basic list
* No interface parameters
form operations .
write:
/10 'Select a line'(008).
skip 2.
format hotspot on.
write:
/10 'ADDITION : +'(002),
/10 'SUBTRACTION : -'(003),
/10 'MULTIPLICATION : *'(004),
/10 'DIVISION : /'(005),
/10 'POWER : ** '(006).
endform. " operations
*& Form calculations
* This subroutine performs the calculation part of detail list
* No interface parameters
form calculations .
data:
lw_line type i value 4, " No of Lines
lw_str type string. " Exception text
data:
lw_ref type ref to cx_root. " Reference Variable
refresh t_comp.
do 3 times.
clear:
w_operand1,
w_operator,
w_operand2.
read line lw_line field value
w_operand1 into w_operand1
w_operator into w_operator
w_operand2 into w_operand2.
fs_comp-operand1 = w_operand1.
fs_comp-operator = w_operator.
fs_comp-operand2 = w_operand2.
try.
case w_operator.
when '+'.
fs_comp-result = fs_comp-operand1 + fs_comp-operand2.
when '-'.
fs_comp-result = fs_comp-operand1 - fs_comp-operand2.
when '*'.
fs_comp-result = fs_comp-operand1 * fs_comp-operand2.
when '/'.
fs_comp-result = fs_comp-operand1 / fs_comp-operand2.
when '**'.
w_result = fs_comp-operand1 ** fs_comp-operand2.
fs_comp-result = w_result.
clear w_result.
endcase. " CASE W_OPERATOR
catch cx_root into lw_ref.
fs_comp-result = 'Cannot Compute'(007).
lw_str = lw_ref->get_text( ).
message lw_str type 'I'.
endtry.
append fs_comp to t_comp.
clear fs_comp.
add 2 to lw_line.
enddo. " DO 3 TIMES
add 1 to w_flag.
perform result.
endform. " calculations
*& Form DISPLAY_INPUT
* This subroutine displays the input on basic list for operations
* No interface parameters
form display_input .
sy-lsind = 1.
clear:
w_operand1,
w_operand2.
case sy-lilli.
when '4'.
w_operator = '+'.
when '5'.
w_operator = '-'.
when '6'.
w_operator = '*'.
when '7'.
w_operator = '/'.
when '8'.
w_operator = '**'.
when others.
stop.
endcase. " CASE SY-LILLI
write:
/10 'Enter values and press F5 to calculate'(009).
skip 2.
do 3 times.
write:
10 w_operand1 no-zero input on color 1,
25 w_operator intensified on color 2,
30 w_operand2 no-zero input on,
45 ' = ' ,
w_result no-zero input off.
skip.
enddo. " D0 3 TIMES.
endform. " DISPLAY_INPUT
*& Form RESULT
* This subroutine displays the caculated result for selected operator
* No interface parameters
form result .
sy-lsind = 1.
write: /08 'The result of operation processed is'(001).
skip 2.
do 3 times.
read table t_comp into fs_comp index sy-index.
write:
10 fs_comp-operand1 no-zero input off color 1,
fs_comp-operator no-zero intensified on color 7.
if fs_comp-operand2 eq '' or fs_comp-operand2 eq '0'.
write: fs_comp-operand2 no-zero input off color 6.
else.
write: fs_comp-operand2 no-zero input off color 1.
endif. " IF FS_COMP-OPERAND2 NE 0
write:' = ' color 3.
write:
fs_comp-result no-zero intensified on input off color 5.
skip.
enddo. " DO 3 TIMES
endform. " RESULT
* End Of Program *
Execute the above program and run in debugging mode after selecting a line in the basic list.
Hope this would help you.
Regards
Narin Nandivada -
How to get add-on manager to stop reporting an addon as out of date.!
With update of Firefox v35 & now v36... The add-on manager is reporting that my flash player is out of date (See screenshot : Add-onMngr-1), I have followup with clicking on the "update now" link I get instead yet the following : plug in check & update page, ( https://www.mozilla.org/en-US/plugincheck/ ) I get the following back from there. (See screenshot : Plugincheck-n-update-1)
As you can see, it is up to date...
I have no idea of how many others, who have Firefox, have ran into this same issue.. but I feel that I speak for all of them in this... Get this fixed.! It is a major pain, when sites you go to fail to work as they should.. (case in point, SilentHunterOnline.com, I go to their main sign in page, enter my log in ID & password, get signed in an taken to play now page, click on the link there, an have game start loading... I get several messages about the flash player, I click on continue, it starts to load an then bam.!, I get dropped right back to the page for play now... repeatedly) with your add-on manager erroneously reporting that your flash is out of date, when it is not.
In addition to that, kindly restore to us USERS... the right to choose.. or to NOT choose.. to allow flash to operate.. I, for one, do NOT appreciate the high handed mentality behind only the choices of "Ask to activate" or " Never activate" only...Hello James,
Just some other info.. I recently did a wipe & reformat on my computer (12/31/14, to be exact..) an did a complete reinstall of all things needed afterwards..
1 other thing, that I did not get to also post initially.. is the manager, is also stating that I have "Java Development Toolkit", which to the best of my knowledge, i don't.. the only thing in relation to "Java" that I know of, is the recent Java 8 update 40... unless that has the Development Toolkit included..
I also have included a screenshot of my uninstaller that I use, as a just in case more info is needed on that, as well...
In the meantime, I will be shortly after posting this reply, going to a different browser & follow up with " https://helpx.adobe.com/flash-player/kb/uninstall-flash-player-windows.html ", an then to " https://www.adobe.com/products/flashplayer/distribution3.html " to reinstall the flash.. hopefully this will resolve the issues I am having.. if not, then I will be back to further post on this topic, either on success.. or failure.. like McArthur.. I shall return.. : ) -
I have 2 email accounts Gmail and Bell mail. I can add mailboxes to gmail but when I try the same procedure with Bell mail I don't get an edit button so can't add any mailboxes.
Mailboxes can be added only to IMAP accounts. Is Bell setup as IMPAP or POP?
-
How to set the field non-editable in the classical report..
Hi..
How to set the field non-editable in the classical report..Hi experts,
For the component 'ICCMP_EMP_SRCH' there is a view 'BUPAEMPSEARCH' , which has 2 context nodes 'CUSTOMER' AND 'SEARCHEMPLOYEE' , i need to add the field 'NICKNAME' which is part of the 'CUSTOMER' context node on the search screen. Currrently all the fields on the screen screen are from the 'SEARCHEMPLOYEE' context node. when i did the configuration , the 'NICKNAME' field is greyed out . I have already generated the Getter ,Setter , GET_I, GET_M methods for the 'NICKNAME' field and the context node and controller class and context class are all active .
on debugging the GET_I method, i see that rv_disabled = 'TRUE' and the current = collection_wrapper->get_current( ) is returning empty value .
for this rv_disabled to be set false , the code below is not triggered since there is no value in current.
IF current->is_property_readonly(
'NICKNAME' ) = abap_false. "#EC NOTEXT
rv_disabled = 'FALSE'.
ENDIF.
when i check for other search fields of context node 'SEARCHEMPLOYEE' , all the fields are set to rv_disabled = 'FALSE'.
can anyone suggest how to approch this. iam i missing any binding between context nodes or any activations ?
The field properties are set as Input field and the display checkbox is not checked. -
How to add a button as a report column
Hi everyone,
I am trying to add a button in a report as a column, thus, as the button press, one of column at current row of the report will be filled. Does anyone know how to do it?
I knew I can do check box as a report column and create a button to process it But request hopes just one button for each row as result.
Thanks!
XWI am not sure what you are trying to do exactly. Adding a button is something you can do for sure in a report ( make the PK column a link and define the link image as a button ), but am not sur what you want the button to do, is it something like <edit> that when you click on it it takes you to another page (form) to edit that record info ? if yes then this is also doable for sure....let me know
Sam -
How do I add a button to insert a picture to a PDF form?
I have a layout for a form that I use constantly. Each form has a person's picture, or at least it's supposed to, along with their information.
How can I add a button or something so that every time I fill out a form I can easily insert that person's picture?
I have Adobe Acrobat Pro on a mac.
Thanks!See: https://answers.acrobatusers.com/Is-create-form-users-upload-photos-form-q195128.aspx
-
How to get list of buttons count
how to get list of buttons count in the oracle web page (similar to child objects concept in QTP for getting buttons count in a page)
Hi Rakesh,
I think you are looking for something like this:
Using Powershell to list all users that had completed
a password reset within the last 30 days
If you found my post helpful, please give it a Helpful vote. If it answered your question, remember to mark it as an Answer. -
PSE 8 how to get add-in for NEF photos
How to get Add-in to process NEF photo
thanks
DougCheck out -http://bit.ly/LgQouA
Adobe Camera Raw Plugin by Adobe supports different cameras. -
How can I add "Edit with Photoshop CS5" to the Edit With options?
How can I add "Edit with Photoshop CS5" to the Edit With options?
I think it has something to do with the order in which the PSE and PS are installed on your machine.
For me, I can see option for editing in photoshop both in edit menu and from the action bar. I probably had Photoshop installed on my system before PSE -
How we can add custom field in standard report 2kee.
Hi,
How we can add custom field in standard report 2kee.
I need one extra field to add in 2kee report for the same is there any customization req.
Regards
RaviRavi,
Which extra field do you want to add or see? Without specifying the field, it is difficult for one to tell you precisely whether you need a custom field or just change the layout to get the standard one.
There are so many fields which exists but are not displayed when you execute 2KEE. You need to change the layout selections to your preference.
Nonetheless, if the field you want to add does not already exist, then yes you can do customization. Is there a customization requirement? No. But remember, you are making changes to SAP Standard program which will no longer be supported by SAP should in the case an issue arise in the future related to this very program.
Have your abaper add the said field in the program or why not just create a query to pull the report?
Elias
Edited by: Elias Akorli on Sep 18, 2009 9:02 PM -
How to get the actual data in ALV report
I am doing some upgradation work in that i am using Submit & And return and also i am using some function modules like LIST FROM MEMORY , LIST TO TXT wnd WRITE LIST , it gives output in normal list format , But i need to print in ALV report .
With the use of set table for 1st display i got the ALV report but not with actual data, (some junk value is showing) , So can any 1 suggest me how to get the actual data in ALV report, With the use of Any Function Module or with Coding,
with regards,Hi Saravana
I am sure you must be getting the values in tables of table parameters from every FM.
consolidate the values from tables of all FMs in one table and built ALV for that table only.
I hope this way you can show the actual data in ALV.
thanks
Lalit -
How to create user defined button in alv report
how to create user defined button in alv report
thnks in advance.Hi,
U can define it the the PF-STATUS ( Menu for ALV ).
For that u have to define it in the EVENTCAT.
form z_eventcat using p_i_eventcat type slis_t_event.
data: i_event type slis_alv_event.
call function 'REUSE_ALV_EVENTS_GET'
exporting
i_list_type = 0
importing
et_events = p_i_eventcat
exceptions
list_type_wrong = 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.
clear i_event.
read table p_i_eventcat with key name = slis_ev_top_of_page into
i_event.
if sy-subrc = 0.
move 'TOP_OF_PAGE' to i_event-form.
append i_event to p_i_eventcat.
endif.
read table p_i_eventcat with key name = slis_ev_pf_status_set into i_event.
if sy-subrc = 0.
move 'SET_PF_STATUS' to i_event-form.
append i_event to p_i_eventcat.
endif.
clear i_event.
read table p_i_eventcat into i_event with key name = slis_ev_user_command .
if sy-subrc = 0.
move 'USER_COMMAND' to i_event-form.
append i_event to p_i_eventcat.
endif.
And in the DISPLAY
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = v_progname
i_callback_pf_status_set = 'SET_PF_STATUS'
i_callback_user_command = 'USER_COMMAND'
i_callback_top_of_page = 'TOP_OF_PAGE'
i_grid_title = v_gridtitle
i_save = 'A'
is_layout = i_layout
it_fieldcat = i_fieldcat[]
it_sort = i_sortinfo
it_events = i_eventcat
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
tables
t_outtab = it_final
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.
*MENU SETTINGS.
form set_pf_status using rt_extab type slis_t_extab.
set pf-status 'ALV_MENU'.
endform. "SET_PF_STATUS
endform. " Z_EVENTCAT
Now double click on ALV MENU nad u can create a button in the application bar.
Regards,
Pritha. -
How to Get Navigational attributes of dso in Report ...
Hi i have a dso with many fields ,
In the report i need to get some navgational attributes which are in dso..
How to Get Navigational attributes of dso in Report ..??
Thanks All..hai naiduz,
in the dso u find folder with navigational attributes, there select the Navigation check box the fields which u need in the report.
and further if ur dso through multiprovider and also identify them at multi provider level.
then u will be able to see the fields at query designer level, then u can use the nav. fields u need in the report.
regards,
Vj
Maybe you are looking for
-
HI All , I have a requirement to add and delete files from MDS , and with this WLST command i am able to delete the file from MDS deleteMetadata(application,server,docs) , and also i am able to add the file with this WLST command importMetadata(appli
-
FM SD_SALESDOCUMENT_CREATE on creating a sales order using reference
I create a sales order using a reference order number.On displaying it in VA02, and giving document flow, the reference document which I used to create the sales order gets displayed. A program/fm u2018Xu2019 is called on giving document flow (which
-
can i access pics from my pc using my iphone using icloud?
-
Hi I am calling a Remote Function Module from a web dynpro application in BW system but somehow it is not functioning properly. I want to find out if the control has actually reached the Function Module in BW system and then some error is happening
-
Copy/paste address in Contacts
Hi all, Might be a very stupid question ... I am building my contact list in the app "Contacts" (so far, so good). Evidently, for some members of my family, 2-3-4 or more people can share the same (physical) address (street, city, etc). Though this s