How to provide F1 & F4 helps for a newly created field.
I have to create a <b>currency field</b> in 0100 screen like skb1-waers.
I have to provide F1 & F4 helps for that field.
Shall I give screen name as SKB1-WAERS ?
I have given as above .
But the problem is when the Processor is processing a that screen , the currency on the screen gets overwritten by another the reference account field in one of the subroutine. Since the screen uses fieldname skb1-waers, it gets overwritten when my code read skb1 table.
Was it right that I used screen name as SKB1-WAERS ( in my screen attributes for that field ) ???
If not suggest me what to do and how to proceed ?
YOUR HELP IS APPRECIATED.
Hi,
I would suggest creating a new structure in the DDIC..Then give the field WAERS and give the foreign key table as TCURC..
Steps
GO to SE11...select the radio button ..data type... give the structure name...Z_SCREEN_0100.
Press create ..
Then give the column name WAERS..
Give the data element as TCURC.
Place the cursor on the waers field and press the foreign key button..
It would automatically propose the table TCURC..
copy and generate the structure..
use the structure-fieldname to define the currency field..
Go to the input field attributes..
give Z_SCREEN_0100-WAERS..Press enter..It will ask whether the field should be dictionary reference..Press yes to continue..
In the PBO..
Move the value from the SKB1 table to the screen structure Z_SCREEN_0100-WAERS
Thanks,
Naren
Similar Messages
-
Hi ,i want provide a input help for a Selection input field
Hi Experts,
I want to provide a input help for field in selection-screen ,
this field is non primary key Custom Table(Z) selection input field .
how we can get ,f4 help for this field.
how to get f4 help Suppose field Link s_mtart-low,s_mtart-high,
What are the function moduled available for this >
Thanks in Advance.
Regards,
Hitu.Hi,
refer to below code.
*AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_usnam-low.
**//To provide F4 help to S_USNAM-LOW
PERFORM f_f4help_usnam USING 'S_USNAM-LOW'.
*AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_usnam-high.
**//To provide F4 help to S_USNAM-HIGH
PERFORM f_f4help_usnam USING 'S_USNAM-HIGH'.
*AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_wbs-low.
**//To provide F4 help to S_WBS-LOW
PERFORM f_f4help_wbs USING 'S_WBS-LOW'.
*AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_wbs-high.
**//To provide F4 help to S_WBS-HIGH
PERFORM f_f4help_wbs USING 'S_WBS-HIGH'.
*& Form f_f4help_usnam
To provide F4 help to username
-->P_0019 text
*FORM f_f4help_usnam USING value(p_0019) TYPE any.
**// To retrieve username from mkpf.
SELECT bname
FROM usr01
INTO TABLE it_usnam.
SORT: it_usnam BY usnam.
DELETE ADJACENT DUPLICATES FROM it_usnam COMPARING usnam.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
DDIC_STRUCTURE = ' '
retfield = c_retusnam
PVALKEY = ' '
dynpprog = c_dynpprog
dynpnr = c_dynpnr
dynprofield = p_0019
STEPL = 0
WINDOW_TITLE =
VALUE = ' '
value_org = c_s
MULTIPLE_CHOICE = ' '
DISPLAY = ' '
CALLBACK_PROGRAM = ' '
CALLBACK_FORM = ' '
MARK_TAB =
IMPORTING
USER_RESET =
TABLES
value_tab = it_usnam
field_tab = it_usnam.
return_tab = l_it_ret
DYNPFLD_MAPPING =
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3
*ENDFORM. " f_f4help_usnam
*& Form f_f4help_wbs
To create F4 help for wbs element
-->P_0039 text
*FORM f_f4help_wbs USING value(p_0039) TYPE any.
**// To retrive wbs element from mseg
SELECT pspel
FROM pspl
INTO TABLE it_wbs.
SORT:it_wbs BY wbs.
DELETE ADJACENT DUPLICATES FROM it_wbs COMPARING wbs.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
DDIC_STRUCTURE = ' '
retfield = c_retwbs
PVALKEY = ' '
dynpprog = c_dynpprog
dynpnr = c_dynpnr
dynprofield = p_0039
STEPL = 0
WINDOW_TITLE =
VALUE = ' '
value_org = c_s
MULTIPLE_CHOICE = ' '
DISPLAY = ' '
CALLBACK_PROGRAM = ' '
CALLBACK_FORM = ' '
MARK_TAB =
IMPORTING
USER_RESET =
TABLES
value_tab = it_wbs
FIELD_TAB =
return_tab = l_it_ret1
DYNPFLD_MAPPING =
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3
*ENDFORM. " f_f4help_wbs -
How to set the Model Class for a newly created Model Node ?
Hello All,
I am trying to map a Model node from SourceA to DestinationB.
To do so, I created a model node for Destination B in the interface controller (set the isInputElement to true). However why I try to map the node, I get an error saying that "Both context nodes have to be bound to a model class". Upon a closer look, I realised that the model node that I created in DestinationB has no entries under the properties.
Does anyone knows/advise how I can add the model class entry to the model node that I have created as I am not able to do so. Or otherwise, is there a way to map a model node to another model node across different components ? Thank you very much.
from
Kwok Wei
from
Kwok WeiHello Pascal
The instructioons that you gave are for mapping the model between the view controller and the component controller within the same component is that right ?
I am tryng to map a model node in the component controller of SourceA to another model node that belongs to another Component. I do believe that in this case I will need to create a model node in the interface controller of DestinationB and map that to the component controller of SourceA. However, by creating my own model node, how do I change the property modelClass in the context ?
Thanks !
from
Kwok Wei -
How to get the inbound idoc for the newly created inbound Idoc FM
Hi,
I have created a new function module to process the Inbound idoc. I need to have a idoc to check my function module, whether it is working fine or not. How I can get the data. Do I need to have the idoc from the partner ? Please help me ASAP.
Thanks,
sreenivas.Hi Sreenivas,
Go to WE19 and get any of the your present idoc with the idoc type
then go to BD20...execute the same idoc...and there you can create the IDoc, and process the same with the Inbound function module tab..( give the FM you are using as the process code.)
from there you can do the debugging aswell of that FM
Thanks -
Hoe to provide a download help for the user
hi all
How to provide a download help for users, i.e. if i select download radia button and
if i place cursor on file path it should provide the user to select what ever the drive and folder he needs can any body help asap.
regards
reddy.Check this..
parameters : p_file like rlgrap-filename .
at selection-screen on value-request for p_file.
perform f4_on_filename using p_file .
*& Form F4_ON_FILENAME
text
-->P_P_FILE text
form f4_on_filename using i_file .
data:l_maske(100) type c, l_subrc type sy-subrc ,
w_fileinfo type ocs_f_info .
data:t_fileinfo type table of ocs_f_info .
concatenate 'Text Files (.prn;.txt;*.csv)'(006)
'|.prn;.txt;*.csv|'
into l_maske.
call function 'OCS_FILENAME_GET'
exporting
pi_mask = l_maske
tables
pt_fileinfo = t_fileinfo
exceptions
others = 6.
l_subrc = sy-subrc.
if l_subrc is initial.
read table t_fileinfo into w_fileinfo index 1.
concatenate w_fileinfo-file_path w_fileinfo-file_name into i_file.
else.
clear i_file.
message id sy-msgid type 'S' number sy-msgno with sy-msgv1 sy-msgv2
sy-msgv3 sy-msgv4.
endif.
endform. " F4_ON_FILENAME
it will come on F4 help... not by placing cursor. that is not possible. One thing you can do is.. you can disable this file name parameter.. when the radio-button for file load is unchecked. -
To implement search help for date and time fields details
how can i implement search help for date and time fields in screen painter
Hi
Declare the variables as sy-datum and sy-uzeit or any other pre-defined data typ of date and ime types. Serach help will automatically comes.
Aditya -
How to provide different plor series for plot chart
How to provide different plot series for a Plot Chart.
The IDs of the series are given in a ComboBox controlSeries are stored in an array. If there is only one series, then you can change it simply by "pushing" a series into a new array, and then assigning that series array to the chart. If you are replacing one series in the chart series array, then you have to figure out which to remove and put the new one in.
This LiveDocs link may help:
http://livedocs.adobe.com/flex/3/html/help.html?content=charts_intro_7.html
If this post answers your question or helps, please mark it as such. -
How to add a search help for a field in Screen Personas?
I just started learning to use a Screen Personas, and I want to know how to add a search help for a field.
I found a property in the help document named "IsLookupSupported". Is it the key? But I saw it was gray in the field I created, and its value is "false". I could not change it.Hi, Tamas,
I found the reason. The function Z_WEBRFC_READ_DATA_SH had a string concatenation error.
CONCATENATE '{"results":[{"key": "shlpname", "value": "' l_shlp '"},"key": "fieldname", "value": "' l_field '"}]}' INTO htmldoc-line.
The correct code is like:
CONCATENATE '{"results":[{"key": "shlpname", "value": "' l_shlp '"},{"key": "fieldname", "value": "' l_field '"}]}' INTO htmldoc-line.
Another question is, I can't get any words in Chinese from WebRFC. It returns error when I try it. How can I configure it?
Xin -
How to find the search help for the parameters stmt in a report
hi
how to find the search help for the parameters stmt in a report , that is using which addition to the parameters statementI am not sure if I understood the question,but if you meant how to attach a search help to parameter for which a default search help is not available,you can do that by using addition "Matchcode Object"
Parameter: a type i matchcode object 'Search Help Name'
Search Help name should be in single quotes.
Regards,
Anubhav.
P.S: Award Points if useful. -
How do I get tech help for export pdf during Australian business hours?
How do I get tech help for export pdf during Australian business hours?
You can post your issues in this forum or send your questions to DL-exportpdf_feedback.
Jyh-Jiun Liou -
How to get the F4 help for table columns ..
Dear All,
Here I have created table with cell editors of INPUT FIELD .
And I would like to provide the f4 help for those columns .
Here I have checked the node , which i have binded to the table, there input help mode is set to Automatic and search helps are also attached for that node .
But in the table I am not getting the F4 help . Where as if i create the input fields invidually i am able to see the F4 help .
But for table column I am unable to find..
Help me regard this...
Thanks & regards,
Veerednra NathHi,
In debugging , the I have seen the node info attributes list ( VALUE_HELP_ID and VALUE_HELP_MODE ) .
For you understanding, Here I am giving the values which contains ,
VALUE_HELP_ID contains the AUTO:VBUK
AUTO:VBUP
AUTO:MAT1
AUTO:H_T023
and
VALUE_HELP_MODE contains the all Zeros for all the four attributes .
Hope I have given correct inputs .
Thanks & Regards,
Veerendra Nath -
How to provide Tab Name programatically for the new Tab created in Tabstrip
Is it possible to customise the name of the tab for a newly created tab in the tabstrip?
Yes, it is.
Declare a global data with the same name as your tab, type c, with the same length (look at the tab attributes in the screen painter).
Change that in your PBO.
You're done. -
Search help for Custom Item level field
Hi All,
I have two custom fields at Item level. Both of them has fixed values defined at domain. The fixed values have a short text also given with them.
The problem I am facing is when SRM provides default search help for these custom fields, for first field the 'Value' and 'Description' comes in the search result screen, but for second, only 'Value' comes in the search result.
When I try to debug, it shows the SHLPTYPE as 'SH' for first one and for the second as 'FV'.
What does this indicate?
My requirement is to display both value and description in the search result screen.
Please suggest.
Thanks
NandalalHi
Sorry for the delay. My User got locked for some time.
I have seen the document you sent me on my email id.
<b> I noticed in the case where the Search help is working fine, there is no space in between the contents of the Fixed values and their short text under the value range tab of the Domain element.
But in the case, where there is a problem with the search help. There both the Fixed values and their short description is having a space in between the words.
Try maintaining COND_A instead of "COND A". Also with the short description use "COND_A" instead of "COND A".</b>
<u>I hope this will resolve the issue.</u>
<b>Update me once you have any issues.</b>
Please reward suitable points, incase it suits your requirements.
Regards
- Atul -
F4 help for Customizing Transport Request Field....
Hi,
I need a Function Module for F4 help for Customizing Transport Request field. I have used the below FM but I ma able to get only Customizing TR for only Login User Name only but not other Users. How to get the Customizing TR which are created by other Users(Owner is diferent from Login Owner).
PARAMETERS: p_cts TYPE e070-trkorr OBLIGATORY.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_cts.
PERFORM get_cts CHANGING p_cts.
*& Form get_cts
FORM get_cts CHANGING p_cts.
TYPE-POOLS trwbo.
DATA: lv_cts TYPE trwbo_request_header.
To Get only custimzing requests
CALL FUNCTION 'TR_REQUEST_CHOICE'
EXPORTING
iv_request_types = 'W'
IMPORTING
es_request = lv_cts
EXCEPTIONS
invalid_request = 1
invalid_request_type = 2
user_not_owner = 3
no_objects_appended = 4
enqueue_error = 5
cancelled_by_user = 6
recursive_call = 7
OTHERS = 8.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
CALL FUNCTION 'POPUP_DISPLAY_MESSAGE'
EXPORTING
titel = 'Transport'
msgid = sy-msgid
msgty = sy-msgty
msgno = sy-msgno
msgv1 = sy-msgv1
msgv2 = sy-msgv2
msgv3 = sy-msgv3
msgv4 = sy-msgv4.
ENDIF.
Pass the selected TR to selection screen
IF sy-subrc = 0.
MOVE lv_cts-trkorr TO p_cts.
ENDIF.
ENDFORM. " get_cts
Regards,
Deepthi.Instead of using FM 'TR_REQUEST_CHOICE', you can have direct database select on table E070 and E071.
In E070, the field TRFUNCTION determine the customizing and workbench request.
K-> Workbench Request
W-> Customizing Request -
Need help for getBindingContext() after Creating Entry.
Hi Developers,
I am Creating a entry using Model.create() method in my 1st View.
oModel.create('/ProspectSet', oEntry, null, function(oData,oResponse){
oEvent.getSource().getParent().close();
sap.m.MessageBox.alert("Prospect No " + oData.Partner + " created successfully");
},function(oError){
oEvent.getSource().getParent().close();
sap.m.MessageBox.alert("Failed to create Prospect");});
Now after successfully creating the entry here I need to navigate to my 2nd view and display the Entity which was just created. I don't know how to get the binding context of the newly created Entry.
I am using this.nav.to("Detail", context); for Navigation.Hi Amit,
You can use the function drill down ,if you want to drilldown based on product then based on location ,then the logic should be like this
Drill Down on Product
DRILL_DOWN( '9AMATNR' )
Drill Down on Location
DRILL_DOWN( '9ALOCNO' )
Scheduling the job in background
1)Create activity using the transaction /n/sapapo/mc8t,there you define the macro which you going to execute in background and planning book and dataview which having the macro.
2)Create background job using /n/sapapo/mc8d,there you can define the activity which you created recently and select the aggregation on which you are going to execute the job.
3) Go to SM36 ,there you the program as /SAPAPO/TS_BATCH_RUN then give the background job name as variant.
Execute the job,it can be immidiate or periodic.
Please let me know if you need more information.
Regards,
Prabhu
Maybe you are looking for
-
Crystal Reports 2008 and Sharepoint Services in 64bit
Hi, I have searched and post questions about the problems with the fact that thera are no great support for 64 bit. And still no solution. Why? Why? Why? Now to my question. I have Crystal Reports 2008 in a Windows 2008 64 bit. Yes, I have got it run
-
I had to install a new hard drive. How do I get Lion to reinstall w/o paying $29.95 again?
-
My iphone is reading disabled, what do i do?
my iphone is reading disabled after my kids were playing with it. It says connect to itunes, but itunes won't open because the phone is locked. what do i do?
-
Selection screen variant for report
Hi, Can we restrict the selection screen variants for reports by user? For example my report is ZREPORT. Different users can save variants for the report. When they choose a variant for executing the report, they would like to see only the variants t
-
Change documnet name for BOR object DEVICE.
Hi expert, Could You please tell me Change document object name of BOR object DEVICE for creating new entries in SWEC transaction.