Reg: Help on Link in SAP Screen Programming
Hi Experts,
I have a requirement to display a link in dialog programming. When i click the link then it has to take me to the required page.
Can anyone help me on how to achieve this.
Kindly help.
Hi,
We can do it in Web Dynpro's for ABAP.
In the interactive event of an UI element in Module pool, we need to call the Webdynpro application which inturn calls the web page.
Thanks & Regards,
Chandralekha.
Similar Messages
-
How can I add a new filed to standart SAP Screen
Hi eveybody,
I am using ima11 t-code and I need to add A new screen field to standart SAP screen(program No SAPLAIA1 Screen:1001 ).I have found five user-exits(AAIR0001,AAIR0002A,AIR0003,AAIR0004,AAIR0006) but there is no screen-exit. How can I add a new filed to standart SAP Screen.Is it possible? If it is possible, how can I do that?hi
yes you can add a search help for a filed on the screen
but you need to find out for the USER EXIT available for that T-CODE
because it is a standard T-CODE we can't add code directly to the standard T-code
1st we need to find out for a user exit and then add code in that user exit
reward if usefull -
How to add F1 help on a field for a screen program?
Dear all,
Can you suggest the method / sample code to add F1 help text for a field on a screen program.
what is the methodology to do this!!?
Regards,
VjHi,
if u maintain the doccumentation for the data element of a field(if it is from data dictionary table) which u r refering to create the screen element u don't need to write any doccumentation.otherwise follow this link
Adding F1 help.
rgds,
bharat. -
How to configure edit mode in SAP screen help(F1)
Hi ,
We want to enable customization option in SAP screen.
When i open any screen in SAP , we use F1 option for help, there we will see technical options , application help and all..
In this options we have customization showing in display mode only, we need to change this option to change mode.
Please let me know asap. find screen shot below.Hi Reagan,
You're true, my mistake, thanks for checking.
This might be an orphan thread after all that time... let's hope easwer rao
will still be there.
easwer rao please mark the thread as answered, setting Aleh Mikhniuk's answer as correct
Thanks -
Could you please give me a link to SAP 3.5 help.
I am sorry for such type of questions but its very difficult to find anything in SAP.
I thought its here http://help.sap.com/ NW2004 but looks like its wrong place!
ThanksHi,
Click this http://help.sap.com/saphelp_nw04/helpdata/en/44/b21f98be886a45a4bb7e123e86e4c2/content.htm
You can just expand the left hand side panel by clicking the link adjacent to the title "New Features and Changes in SAP BW 3.5"
Regards,
R.Ravi -
Main entrance link for sap BI 7.0 help
Hello Gurus,
please give me the main entrance link for sap BI 7.0 help?
Many thanks,hii,
http://help.sap.com/saphelp_nw70/helpdata/en/b2/e50138fede083de10000009b38f8cf/frameset.htm
that is the link for SAP BI
hope it helps,
Assigning points is to say thanks.
raghu. -
Send me one link for module pool programming !
Send me the link Where i can get the screen shots step by step to create a simple module pool programming !
hi,
pls Go through this link for module pool programming
http://www.allsaplinks.com/dialog_programming.html
http://sap.mis.cmich.edu/sap-abap/abap09/
http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm
http://sap.mis.cmich.edu/abap-00/
http://www.allsaplinks.com/files/using_table_in_screen.pdf
http://help.sap.com/saphelp_46c/helpdata/en/08/bef2dadb5311d1ad10080009b0fb56/content.htm
http://www.sapgenie.com/links/abap.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm
http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
http://help.sap.com
http://www.sapgenie.com/abap/example_code.htm
http://help.sap.com/saphelp_47x200/helpdata/en/52/670ba2439b11d1896f0000e8322d00/frameset.htm
http://www.allsaplinks.com/dialog_programming.html
http://www.sapbrain.com/TUTORIALS/default.html
http://www.sappoint.com/abap/spmp.pdf
http://sappoint.com/abap.html
http://www.sap-img.com/abap.htm
http://sap.ittoolbox.com/code/archives.asp?i=10&t=450&a=t
http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
http://www.sap-img.com/abap/
http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
http://www.sap-img.com/
http://www.sappoint.com/faq/faqdiapr.pdf
http://www.allsaplinks.com/dialog_programming.html
Reward Points if usefull
Regards
Fareedas -
[How .. ]: Load image to SAP Screen.
Hi All,
I'm having a project where i should display the corresponding picture.
These are questions that i'm going to ask :
1. How can i store the image to SAP Server ? Could you direct me step by step please ..
2. How can i load the picture from the program ? Could it also be directed step by step ..
Many thanks all.
Still need your guidance a lot.
Kindly Regards,
Niel.Niel,
Say thanks to Pavan Praveen who helped me with this sometime back.
To create a logo u have to remember one thing is u have to upload that logo through OAER or SE78
for uploading logo in OAER
Enter class name as PICTURES
Class type as OT
Object key the name of ur logo want to upload
then press F8 or execute
Then it will automatically creates a folder for ur LOGO and upload ur logo in that folder
After that In the left side bottom of the page u can c the following options
1)Detail
2)Document Info
3)Keywords
4)Create
goto Detail in which u can find the Object Id
which u have to paste in the function module of this program
Check this program1
*& Report ZREPORT_LOGO *
REPORT ZREPORT_LOGO.
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 = 100
left = 500
top = 10
width = 300.
CALL METHOD picture_control_1->load_picture_from_url
EXPORTING
url = 'c:/pic.bmp'.
IF sy-subrc NE 0.
ENDIF.
ENDFORM. "show_pic
Check this program 2
program zsap_picture_demo.
set screen 200.
TYPE-POOLS cndp.
CLASS c_event_receiver
DEFINITION
class c_event_receiver definition.
The class is used to test the events raised by the cl_gui_picture
class
public section.
methods event_handler_picture_dblclick
for event picture_dblclick of cl_gui_picture
importing mouse_pos_x mouse_pos_y sender.
methods event_handler_context_menu
for event context_menu of cl_gui_picture
importing sender.
methods event_handler_context_menu_sel
for event context_menu_selected of cl_gui_picture
importing fcode sender.
endclass.
DATA
data function like sy-ucomm. " OK-Code field in screen 200
data url type cndp_url. " URL-field in screen 200
data url2 type cndp_url. " URL-field in screen 200
data picture_control_1 type ref to cl_gui_picture.
data picture_control_2 type ref to cl_gui_picture.
data container_1 type ref to cl_gui_custom_container.
data container_2 type ref to cl_gui_custom_container.
data event_receiver type ref to c_event_receiver.
data event_tab type cntl_simple_events.
data event_tab_line type cntl_simple_event.
data return type i.
PBO
before_output
module before_output output.
set pf-status 'MAIN0001'.
IF PICTURE_CONTROL_1 IS INITIAL.
Create controls
create object container_1
exporting container_name = 'PICTURE_CONTROL_1'.
create object container_2
exporting container_name = 'PICTURE_CONTROL_2'.
CREATE OBJECT PICTURE_CONTROL_1 exporting parent = container_1.
CREATE OBJECT PICTURE_CONTROL_2 exporting parent = container_2.
Register the events
EVENT_TAB_LINE-EVENTID = CL_GUI_PICTURE=>EVENTID_PICTURE_DBLCLICK.
append EVENT_TAB_LINE to EVENT_TAB.
EVENT_TAB_LINE-EVENTID = CL_GUI_PICTURE=>EVENTID_CONTEXT_MENU.
append EVENT_TAB_LINE to EVENT_TAB.
EVENT_TAB_LINE-EVENTID = CL_GUI_PICTURE=>EVENTID_CONTEXT_MENU_SELECTED.
append EVENT_TAB_LINE to EVENT_TAB.
CALL METHOD PICTURE_CONTROL_1->SET_REGISTERED_EVENTS
exporting
EVENTS = event_tab.
CALL METHOD PICTURE_CONTROL_2->SET_REGISTERED_EVENTS
exporting
EVENTS = event_tab.
Create the event_receiver object and set the handlers for the events
of the picture controls
create object event_receiver.
set handler event_receiver->event_handler_picture_dblclick
FOR PICTURE_CONTROL_1.
set handler event_receiver->event_handler_context_menu
FOR PICTURE_CONTROL_1.
set handler event_receiver->event_handler_context_menu_sel
FOR PICTURE_CONTROL_1.
set handler event_receiver->event_handler_picture_dblclick
FOR PICTURE_CONTROL_2.
set handler event_receiver->event_handler_context_menu
FOR PICTURE_CONTROL_2.
set handler event_receiver->event_handler_context_menu_sel
FOR PICTURE_CONTROL_2.
Set the display mode to 'normal' (0)
CALL METHOD PICTURE_CONTROL_1->SET_DISPLAY_MODE
EXPORTING DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_NORMAL.
CALL METHOD PICTURE_CONTROL_2->SET_DISPLAY_MODE
EXPORTING DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_NORMAL.
Set 3D Border
CALL METHOD PICTURE_CONTROL_1->SET_3D_BORDER
exporting border = 1.
CALL METHOD PICTURE_CONTROL_2->SET_3D_BORDER
exporting border = 1.
new async implementation since 4.6C
CALL FUNCTION 'DP_PUBLISH_WWW_URL'
EXPORTING
OBJID = 'HTMLCNTL_TESTHTM2_SAP_AG'
LIFETIME = cndp_lifetime_transaction
IMPORTING
URL = url
EXCEPTIONS
OTHERS = 1.
Load the picture by using the url generated by the data provider.
if sy-subrc = 0.
CALL METHOD PICTURE_CONTROL_1->LOAD_PICTURE_FROM_URL_ASYNC
exporting url = url.
endif.
CALL FUNCTION 'DP_PUBLISH_WWW_URL'
EXPORTING
OBJID = 'DEMOWORD97SAPLOGO'
LIFETIME = cndp_lifetime_transaction
IMPORTING
URL = url2
EXCEPTIONS
OTHERS = 1.
load image
if sy-subrc = 0.
CALL METHOD PICTURE_CONTROL_2->LOAD_PICTURE_FROM_URL_async
exporting url = url2.
endif.
endif.
endmodule.
PAI
after_input
module after_input input.
case function.
At the end of the program destroy the control
when 'BACK'.
CALL METHOD container_1->FREE.
CALL METHOD container_2->FREE.
leave to screen 0.
Change the display mode
when 'NORMAL'.
CALL METHOD PICTURE_CONTROL_1->SET_DISPLAY_MODE
EXPORTING DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_NORMAL.
CALL METHOD PICTURE_CONTROL_2->SET_DISPLAY_MODE
EXPORTING DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_NORMAL.
when 'STRETCH'.
CALL METHOD PICTURE_CONTROL_1->SET_DISPLAY_MODE
EXPORTING DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_STRETCH.
CALL METHOD PICTURE_CONTROL_2->SET_DISPLAY_MODE
EXPORTING DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_STRETCH.
when 'FIT'.
CALL METHOD PICTURE_CONTROL_1->SET_DISPLAY_MODE
EXPORTING DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_FIT.
CALL METHOD PICTURE_CONTROL_2->SET_DISPLAY_MODE
EXPORTING DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_FIT.
when 'NORMAL_CTR'.
CALL METHOD PICTURE_CONTROL_1->SET_DISPLAY_MODE
EXPORTING DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_NORMAL_CENTER.
CALL METHOD PICTURE_CONTROL_2->SET_DISPLAY_MODE
EXPORTING DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_NORMAL_CENTER.
when 'FIT_CTR'.
CALL METHOD PICTURE_CONTROL_1->SET_DISPLAY_MODE
EXPORTING DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_FIT_CENTER.
CALL METHOD PICTURE_CONTROL_2->SET_DISPLAY_MODE
EXPORTING DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_FIT_CENTER.
Clear the picture
when 'CLEAR'.
CALL METHOD PICTURE_CONTROL_1->CLEAR_PICTURE.
Load a new picture
when space.
CALL METHOD PICTURE_CONTROL_1->LOAD_PICTURE_FROM_URL
exporting url = url
importing result = return.
call method cl_gui_cfw=>flush.
if return = 0.
url = text-000.
endif.
endcase.
clear function.
endmodule.
CLASS c_event_receiver
IMPLEMENTATION
CLASS C_event_receiver implementation.
CLASS c_event_receiver
METHOD event_handler_picture_dblclick
METHOD EVENT_HANDLER_PICTURE_DBLCLICK.
for event picture_dblclick of c_picture_control
importing mouse_pos_x mouse_pos_y.
DATA pos_x(5) type c.
DATA pos_y(5) type c.
pos_x = mouse_pos_x.
pos_y = mouse_pos_y.
IF SENDER = PICTURE_CONTROL_1.
MESSAGE I000(0K) WITH
'DoubleClick' 'Upper Picture' POS_X POS_Y. "#EC NOTEXT
else.
MESSAGE I000(0K) WITH
'DoubleClick' 'Lower Picture' POS_X POS_Y. "#EC NOTEXT
endif.
endmethod.
CLASS c_event_receiver
METHOD event_handler_context_menu
METHOD EVENT_HANDLER_CONTEXT_MENU.
data menu type ref to cl_ctmenu.
create object menu.
call method menu->ADD_FUNCTION exporting
fcode = text-001
TEXT = TEXT-001.
call method menu->ADD_FUNCTION exporting
FCODE = TEXT-002
TEXT = TEXT-002.
call method menu->ADD_FUNCTION exporting
FCODE = TEXT-003
TEXT = TEXT-003.
call method menu->ADD_FUNCTION exporting
FCODE = TEXT-004
TEXT = TEXT-004.
call method menu->ADD_FUNCTION exporting
FCODE = TEXT-005
TEXT = TEXT-005.
CALL METHOD SENDER->DISPLAY_CONTEXT_MENU
EXPORTING CONTEXT_MENU = MENU.
endmethod.
CLASS c_event_receiver
METHOD event_handler_context_menu_sel
METHOD EVENT_HANDLER_CONTEXT_MENU_sel.
DATA DISPLAY_MODE TYPE I.
IF FCODE = TEXT-001.
DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_NORMAL.
ENDIF.
IF FCODE = TEXT-002.
DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_STRETCH.
ENDIF.
IF FCODE = TEXT-003.
DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_FIT.
ENDIF.
IF FCODE = TEXT-004.
DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_NORMAL_CENTER.
ENDIF.
IF FCODE = TEXT-005.
DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_FIT_CENTER.
ENDIF.
CALL METHOD SENDER->SET_DISPLAY_MODE
EXPORTING DISPLAY_MODE = DISPLAY_MODE.
endmethod.
endclass.
Note: While creating this program I had observed the thing is it will accepts the logo which was having the URL so try to create a logo of URL but u can display the Standard SAP logo using this program
To upload the the logo image on the right hand side of the SAP screen.
Transaction codeSMW0
X - Binary data for WebRFC application
Hit Enter
Click Execute
Click Settings -> Maintain MIME types
Click the Create button
Fill in :- TYPE : image/gif EXTENSION : .GIF
Click Save
Click Back to the Binary data for WebRFC
Click Create
Fill in :- Obj. name : ZXXXX.GIF Description : Company Logo
Click Import and specify the filename where your GIF file is located.File type is BIN. Finish press the Transfer button.
If successful, your logo will be shown in the Binary data for WebRFC.
Transaction codeSM30 - Table/View - SSM_CUST
Click Maintain
Click New Entries
Name Value to be set
START_IMAGE ZXXXX.GIF
RESIZE_IMAGE NO
Logoff and Login again
Check this link
http://www.sap-img.com/fu002.htm -
Hi
what is SAP screen Capture , What we can do in it ?
When i gave a program name and click the button continue .
It shows the message box - as " No Numeric Data".
Kindly Clarify it.
Thanks & Regards
T.VelmuruganDid you have a look at this link??
http://help.sap.com/saphelp_nw04/helpdata/en/39/cc9e79576911d1896f0000e829fbbd/frameset.htm
Thanks -
What are the SAP standard programs?
Hi PM Guys,
I have a question that is as below:-
We have the following Master Data:
1) Functional Location
2) Equipment
3) Equipment BOM
4) Counter
5) Catalog Profiles
6) Task List
a) General Task List
b) Equipment Task List
7) Maintenance Plans
a) Time Based
b) Performance Based
Can you tell me the SAP standard programs available for the above master data which can be used for data migration of the above master data from the flat files into SAP system.
Thanks in Advance,
Vijaya KrishnaHI
you can find the standard program while executing the T code LSMW itself.
type LSMW ,specify the description in the next screen select the <b>Standard batch or direct input</b> under the heading you can find the in the field <b>object</b> use F4 to find all the standard programs in SAP
0400 Equipment
0410 Message (IH)
0420 Confirmation (IH)
0425 Measuring point
0430 Measurement Documen
0440 Functional location
0450 Object link
0460 Maintenance plan
0470 Equipment task list
0480 FnctnlLoc.TaskList
0490 Gen.task list
regards
thyagarjan -
Input data to the standard SAP screen .
How to input data to the standard SAP screen . ?
i am using BADI HRHAP00_ENHANCE_FREE to add some functionality to the screen of transaction PHAP_CREATE.
=================================
i am calling this FM 'F4IF_INT_TABLE_VALUE_REQUEST'
in the BADI and i have to update the fields in the screen of the main program which is calling this BADI (HRHAP00_ENHANCE_FREE).
This BADI is called at the button click .
ZOBJECT_TABLE is a Z- table with values out which we have to select the value.
and the value should be filled in the screen field as we select the record from the help.
====================================
the screen is SAPLHRHAP_UI_DOCUMENT -
SCREEN 3100
The elements doesnt even have parameter ids .
please suggest me how can it be done
thanks in advance .
Naval BhattHi,
I have solved the problem and my work is done properly. -
How to hide command pront in SAP screen
Hi,
I have a requirment that i need to hide the command pront in SAP screen, it is very very urgent for me, please help me.
Reward for every usefull answer.
Saleem.Hi,
Thanks for your responce...but the problem is i need to do from the program.
Saleem. -
Hello All,
I am technical consultant. I searched SDN for actual process which can help me with end to end soution in bits and pieces. Ultimately i am posting a query here.
We are having requirement for automation of outbound shipping process. We need to develop some custom screens in SAP, integrate them with scanners which client is using. Whenever a user scans the material/anything, it should be captured in SAP screen on scanner.User will perform enter button,and further processing will be done in SAP automatically.
So looking at requirement, i searched in SDN and found that we can use SAP console, can create custom screens in SAP, configure them in mobile data entry in SPRO in sap.
But i want to know how actually this process works. There could be many screens configured at a time in SAP. How would any scanner get the required one screen from SAP for scanning material/anything?
I would really appreciate your immediate help.
Thanks
ManishaHi manisha,
your requirement is very high level, but from what I infer from it is that you want to be able to create a delivery , pick, pack & ship it upon a clik, did I get it right? here's how I'd address it : there's no standard transaction to achieve this.
1. you can automatically create handling units for your finished goods received from manufacturing orders, the HU number will contain all the material related information & will be labelled with HU number.
2. develop a transaction where you can scan in the HU number & automatically perform a pick, pack & ship depending on your requirement, (ofcourse, you can break this into mutiple transactions as you wish or combine)
you can develop RF transactions for the 2nd step (also possible for 1st step if needed) , deploy them onto the mobile devices using ITS mobile or websap console - ITS is probably better. every screen you develop has a screen number, the program will have to call the screen accordingly in your transaction.
cheers
rajki -
Starting with SAP fiori & SAP screen personas ...
Hi all,
Actually i had a requirement from the client and want to start with SAP personas, can anyone tell me how to get started with it,
i saw a lot of links on net but most of them were telling me only benefits of SAP personas. The thing i needed was Tutorials to start with SAP personas means how to start SAP personas, what is the transaction for this, etc.
Please Help ....
Thanks & Regards,
Aayush AggarwalHi Aayush,
Personas is an add-on that needs to be downloaded from Service market place and installed on your system. For system pre-requisites, please refer to master and configuration guides at
SAP Screen Personas 2.0 – SAP Help Portal Page
You can refer to application help on usage:
http://help.sap.com/saphelp_personas200_silverlight/helpdata/en/33/30f15101d9445ee10000000a423f68/frameset.htm
cheers
Chinthan -
Siggestion needed : SAP Certification Program ECC 5.0 versions
hi could you please suggest where i could get good study material for this certification.
SAP Certification Program ECC 5.0 versions
thanks in advance,
Naval BhattHi,
I have answered this query in detail, please view the below link. Have also provided the link to download the required material for WAS 640 certification.
WAS Certification
rewards points if helpful.
Awaiz.
Maybe you are looking for
-
Single Chart Series with multiple color data points
I am developing an application using the flex chart component and I am binding data to 3 different chart series which is pretty intense processing. I was wondering can I use only one chart series and when I bind the data points just to change the col
-
Problem in BAPI_OBJCL_CHANGE / BAPI_OBJCL_CREATE FM
Hi, My requirement is to Create a Batch Recod by using BAPI_BATCH_CREATE and BAPI_OBJCL_CREATE to create data for classification if an entry doesnot exist in MCHA table. If the entry exits in MCHA i need to change the classification for which i am u
-
How to set directory for preview files?
I have my Media Cache folders set to an external hard drive, but Premiere Pro still continues to create hundreds of rendered preview files in the default location of Users/username/Documents/Adobe/Premiere Pro/8.0/Adobe Premiere Preview Files, fillin
-
4 up printing of mac mini with pages
How do you print 4 up from a mac mini using pages. I have a 8.5 x 11 document flyer that I would like to print 4 up on a 8.5 x 11 sheet.
-
Updating Multiple Rows in a DTO
I am trying the edit multiple rows. I followed the instruction in the below link. http://www.oracle.com/technology/products/jdev/tips/mills/JSP_Multi_Row_Edits.html But Instead of using view object i used CMP-DTO-SessionBean for my application. I am