How to get the perious values in Module pool by pressing the space or back
Hi All,
I want to see the already entered values in the screen when ever pressing the backspace or space bar buttons..
For example in TCODE SE38 in program when i press the backspace or space bar , it is showing the perious opend programs, the same senario i want to implement . Could you please provide me with some example for this..
Thanks in advance
Regards,
Bharani
HI Rob,
Thanks for the reply...
history is turned on but for one field is coming and not for the other field in the same screen....
Regards,
Bharani
Similar Messages
-
How to capture the selected values from module pool dialog list box !
Hi experts,
Can anyone help me out in capturing the values from the list box.
i am able to set the values in the list box.But i am not able to capture the selected value from the list box. Always the list box name is getting as "space"
I also tried in using the FM "VRM_GET_VALUES" but it is retireving all the values. Is there is any flag for filttering out the selected value.
Your inputs are appreciated.
Thanks,
Vijay.Along with the PBO and PAI event, add a POV event in the flow logic of the screen
DEMO_DROPDOWN_LIST_BOX -is a good demo example.
PROCESS ON VALUE-REQUEST.
FIELD structure_name-field_name MODULE create_dropdown_box.
In the report :
MODULE create_dropdown_box INPUT.
SELECT carrid carrname
FROM scarr
INTO CORRESPONDING FIELDS OF TABLE itab_carrid.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'CARRID'
value_org = 'S'
TABLES
value_tab = itab_carrid
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
IF sy-subrc <> 0.
ENDIF.
ENDMODULE.
In the layout, assign a Function Code , for eg : 'SELECTED' to the listbox and lets say name of the field is SDYN_CONN-CARRID. So in the PAI module,
MODULE user_command_0100 INPUT.
CASE ok_code.
WHEN 'SELECTED'.
MESSAGE i888(sabapdocu) WITH sdyn_conn-carrid.
ENDCASE.
ENDMODULE.
sdyb_conn-carrid will contain your selected field -
How to pass the field value from module pool program to smartform using submit?
// AT pai of module pool pgm i entered the following: here gv_orderid is my value to be available at smart form(driver pgm) & zmusic_store_smf is the driver program of my smartform.
gv_orderid= wa-itemid./
SUBMIT ZMUSIC_STORE_SMF VIA SELECTION-SCREEN
WITH p_order = gv_orderid
AND RETURN.
//AT driver pgm(zmusic_store_smf):
START-OF-SELECTION.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZMUSIC_SMARTFORM1'
* VARIANT = ' '
* DIRECT_CALL = ' '
IMPORTING
fm_name = lv_form
EXCEPTIONS
no_form = 1
no_function_module = 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.
CALL FUNCTION lv_form
EXPORTING
* iv_orderid = is_purchase_item-zorder_id.
iv_orderid = gv_orderid.
// here i'm trying to call my smartform('ZMUSIC_SMARTFORM1') from this driver pgm but unable to access the value of gv_orderid please help me out with this.Declare the gv_orderid in modulepool program.
And Declare the parameter as import parameter in smartform.
CALL FUNCTION lv_form
EXPORTING
* ARCHIVE_INDEX =
* ARCHIVE_INDEX_TAB =
* ARCHIVE_PARAMETERS =
* CONTROL_PARAMETERS =
* MAIL_APPL_OBJ =
* MAIL_RECIPIENT =
* MAIL_SENDER =
* OUTPUT_OPTIONS =
* USER_SETTINGS = 'X'
i_input = gv_orderid
* IMPORTING
* DOCUMENT_OUTPUT_INFO =
* JOB_OUTPUT_INFO =
* JOB_OUTPUT_OPTIONS =
* EXCEPTIONS
* FORMATTING_ERROR = 1
* INTERNAL_ERROR = 2
* SEND_ERROR = 3
* USER_CANCELED = 4
* OTHERS = 5 -
How to validate the field values in module pool program?
Hi Guys
I am working with module pool programming.
Here I want to validate the fields like below.
with out filling all the fields if I click SAVE option it has to show a message that all fields has to be filled. This can be done by checking all the fields individually.
I think it can be done through <b>LOOP AT SCREEN ......ENDLOOP</b>. sequence.
If it is possible, can anyone help me?You need to write the Module in between the CHAIN and ENDCHAIN statment in SE51
If you send a warning or error message from a module <mod> that you called using a FIELD statement as follows:
CHAIN.
FIELD: <f1>, <f 2>,...
MODULE <mod1>.
FIELD: <g1>, <g 2>,...
MODULE <mod2>.
ENDCHAIN.
all of the fields on the screen that belong to the processing chain (all of the fields listed in the field statements) are made ready for input again. Other fields are not ready for input. Whenever the MODULE statement appears within a processing chain, even if there is only one FIELD attached to it, all of the fields in the chain (not only the affected field) are made ready for input again, allowing the user to enter new values. If the fields in the processing chain are only checked once, the PAI processing continues directly after the FIELD statement, and the preceding modules are not called again.
Look at the DEMO program DEMO_DYNPRO_FIELD_CHAIN.
ashish -
How to get tree structure navigation in module pool program
please send me a sample code for getting tree structure navigation in a screen in module pool program.
ex.
masters
itemsdo a chain and endchain on the fields.Then insert the fields in to the required database.
-
How to get the Grand Total in Module pool Screen
Hi Frds.
How to get the Grand Total in Module pool Screen
Example i have 10 different materials
for each matarial has different moving . But in my case matarials is doesnt matter here
10 material Moving Average price to do Frand total and display in one column...
Please Help me out Frds.
Regards,
KabilHi
You need to calculate the total in a module of PAI (or PBO) event:
PROCESS PAI.
LOOP.....
ENDLOOP.
MODULE CALCULATE_TOTAL.
MODULE CALCULATE_TOTAL.
GRAND_TOTAL = 0.
LOOP AT ITAB,
GRAND_TOTAL = GRAND_TOTAL + ITAB-PWB.
ENDLOOP.
ENDMODULE.
In this way the grand total will be calculated as soon as the user presses enter or another command.
You can't insert the calculation in the loop of table control, because this loop runs the visible lines only, so it's better to calculate the total out of those loop, -
How to get STPOV structure values using BOM number and Plant number
hello All,
could you please help me out
'How to get STPOV structure values using BOM number and Plant number'
is there any function module where can i give input as bom and plant number .
waiting for your response.
regards
srinivasI did a quick where-used lookup in SE11 on the structure STPOV in function module interfaces and came up with the following:
Function Module Short Description
CK_F_TOTALCOST_COMPUTE
CS_ALT_SELECT_COUPLED_PRODUCT
CS_WHERE_USED_CLA Bills of material; class use
CS_WHERE_USED_CLA_ANY Bills of material; direct class use or via other class
CS_WHERE_USED_CLA_VIA_CLA Bills of material; class use via classes
CS_WHERE_USED_COP
CS_WHERE_USED_DOC Bills of material; document use
CS_WHERE_USED_DOC_ANY:Bills of material; direct and (indirectly) document use via
CS_WHERE_USED_DOC_VIA_CLA Bills of material; document use via classes
CS_WHERE_USED_KNO Bills of material; use object dependency
CS_WHERE_USED_MAT Bills of material; where-used list
CS_WHERE_USED_MAT_ANY:Bills of material; where-used list as article or class item
CS_WHERE_USED_MAT_VIA_CLA Bills of material; where-used list via classes
EXIT_SAPMC29M_001 BOM; Article Where-Used List
It appears that this structure is primarily used for where-used look-ups for components within the BOM. I don't know if any of these are what you're in need of.
Hope this helps,
Mark Schwendinger -
How to get a kerning value in JavaScript
How to get a kerning value(distance between two characters) using javascript?
@Raykor11:
It would be best to move that question to scripting forum for InDesign.
But one solution could be:
1. Read out the property kerningValue from the insertion point between the two characters:
//if two characters are selected:
var _kerningValue = app.selection[0].insertionPoints[1].kerningValue;
2. Measure the exact distance between the characters, so you can decide if you want to increase or decrease the distance
//Two characters are selected:
var _twoCharacters = app.selection[0];
var _charLeft = _twoCharacters.characters[0];
var _charRight = _twoCharacters.characters[1];
var _temp1 = _charLeft.createOutlines(false) //false = does NOT delete original
var _bounds1 = _temp1[0].visibleBounds;
var _temp2 = _charRight.createOutlines(false) //false = does NOT delete original
var _bounds2 = _temp2[0].visibleBounds;
var _distance = _bounds2[1]-_bounds1[3];
_temp1[0].remove();
_temp2[0].remove();
alert("Distance between: "+_distance);
Be aware that there are a lot of other factors that will apply to character distance if you change the kerning value (like tracking, kerning method, composer, desiredGlyphScaling, desiredLetterSpacing, horizontalScale … just to mention a few), especially if the paragraph justification is set to JUSTIFIED or FULLY_JUSTIFIED.
Uwe -
How to create a Drop down with values in Module Pool for a screen field.
Hi all,
I have created a Screen on which one field is created Say Bank Name. I would like to give some spcific value for this fileld where user can select only seeing in drop down cann't enter.
Can anyone tell how can we do it ?Hi,
The selected value key will be stored in the parameter.
eg: Refer below code. Here if i select Vinod then po_name will be 1. After this read i_values WITH this key and get the actual value.
PARAMETERS: po_name(30) TYPE c VISIBLE LENGTH 20 AS LISTBOX.
TYPE-POOLS: VRM.
DATA: i_values TYPE vrm_values,
wa_values LIKE LINE OF i_values.
AT SELECTION-SCREEN OUTPUT.
wa_values-key = '1'.
wa_values-text = 'Vinod'.
APPEND wa_values TO i_values.
wa_values-key = '2'.
wa_values-text = 'Kumar'.
APPEND wa_values TO i_values.
wa_values-key = '3'.
wa_values-text = 'Reddy'.
APPEND wa_values TO i_values.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = 'PO_NAME'
values = i_values
EXCEPTIONS
id_illegal_name = 1
OTHERS = 2.
START-OF-SELECTION.
READ TABLE i_values INTO wa_values WITH KEY key = po_name.
MOVE wa_values-text TO w_name. " This will be ur actual value.
Thanks,
Vinod.
Edited by: Vinod Reddy Vemuru on Jul 8, 2008 4:16 PM -
How to get DocSet property values in a SharePoint library into a CSV file using Powershell
Hi,
How to get DocSet property values in a SharePoint library into a CSV file using Powershell?
Any help would be greatly appreciated.
Thank you.
AA.Hi AOK,
Would you please post your current script and the issue for more effcient support.
In addition, to manage document set in sharepoint please refer to this script to start:
### Load SharePoint SnapIn
2.if ((Get-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue) -eq $null)
3.{
4. Add-PSSnapin Microsoft.SharePoint.PowerShell
5.}
6.### Load SharePoint Object Model
7.[System.Reflection.Assembly]::LoadWithPartialName(“Microsoft.SharePoint”)
8.
9.### Get web and list
10.$web = Get-SPWeb http://myweb
11.$list = $web.Lists["List with Document Sets"]
12.
13.### Get Document Set Content Type from list
14.$cType = $list.ContentTypes["Document Set Content Type Name"]
15.
16.### Create Document Set Properties Hashtable
17.[Hashtable]$docsetProperties = @{"DocumentSetDescription"="A Document Set"}
18.$docsetProperties = @{"CustomColumn1"="Value 1"}
19.$docsetProperties = @{"CustomColum2"="Value2"}
20. ### Add all your Columns for your Document Set
21.
22.### Create new Document Set
23.$newDocumentSet = [Microsoft.Office.DocumentManagement.DocumentSets.DocumentSet]::Create($list.RootFolder,"Document Set Title",$cType.Id,$docsetProperties)
24.$web.Dispose()
http://www.letssharepoint.com/2011/06/document-sets-und-powershell.html
If there is anything else regarding this issue, please feel free to post back.
Best Regards,
Anna Wang
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
How to get Invoice status value in oracle payable
Hi guys,
I am new in oracle apps plz tell me how to get invoice status value of prepayment invoice type in payable.
Navigation ->Payables->Oracle Payables ->Invoices->Inquiry->Invoices ->go to Invoice status block and open to Status LOV
plz provide me sql query to find those status lov values and accounted values for any supplier & invoice num.
it's urgent plz .......................
Thanks guys.......The invoice approval status does not come from any table / lookup.
Instead, Oracle builds it by calling the ap_invoices_pkg.get_approval_status function.
You can also call it by passing invoice_id, payment_status_flag and invoice_type_lookup_code.
All these 4 columns are present on the ap_invoices_all record.
Hope this helps
Sandeep Gandhi
Independent Consultant -
how to get text verable value
Scenaior
IN a query designer ,I had create a formula, this formual use two selection ,and this formula description must use text variable ,
this variable must get current system time and make a offset like+1 or +2,how can i do this I know SAP have stander text variable 0cmontht can get current system time ,but It is can not offset
any one can help me
regard
wenlongHi Wenlong,
U can create a text variable of type 'user exit' and wirte code in backend to offset the value.
Regards,
Rathy -
How to get updated table values from objectlistdataproviders
how to get updated table values from objectlistdataproviders
Hi,
Here is a sample code
start-of-selection.
*Select the data you need into an internal table
loop at it_mara into wa_mara.
data that needs to be displayed in the output list
write:/ box as checkbox,
wa_mara-matnr under text-001,
wa_mara-maktx under text-002,
wa_mara-lgort under text-003.
Hide the data that needs to moved to internal table
hide:wa_mara-matnr, wa_mara-maktx, wa_mara-lgort.
endloop.
clear wa_mara.
end-of-selection.
lines = sy-linno.
at line-selection.
clear:it_matnr.
do lines times.
check sy-index > 1.
box = space.
read line sy-index field value box.
if box = 'X'.
*data selected using check box is moved to internal table
append wa_mara to it_matnr.
endif.
enddo.
Regards,
Jisha. -
How to get item field values for old versions?
I need to be able to query old field values from previous versions of items in a SharePoint list. I can't execute code on the server (it needs to work with SharePoint Online/O365 for a start).
So far the ONLY API I've that lets me do this is the lists.asmx GetVersionCollection SOAP call.
This lets me specify a single field name and returns an XML structure with the values for the various versions, along with the modification time and who made the change - but NO reliable way of actually identifying *which* version (i.e. an ID or label). That
is, if I know I need to fetch the Title value from version 512 ("1.0") of item 1 in list "Documents", I don't see how to reliably parse the results to determine which entry is version 512. While they may be returned in order, in many cases
the entries are actually missing when there was no field value present (or perhaps when the field hadn't been created yet). I've tried comparing the Modified date to the Created date of the corresponding FileVersion item (which I can get via CSOM or REST),
and while it works some of the time, it's not reliable. I've also looked at the output from the lists.asmx GetVersion API but I don't see how that's useful either, as the Created property for all versions always seems to be just the date the file was originally
created.
It does seem odd to me that there's not a neat way of doing this - if I need to return information for several fields but just for a single version, I have to make a whole lot of requests that return far more info than I need, and then I need to figure out
how to parse the returned text in the case of, say, multiple-value taxonomy fields etc.
Anyone tried doing anything similar here?
Thanks
Dylantry these links:
https://support.office.microsoft.com/en-us/article/Track-and-view-version-information-for-SharePoint-list-items-2d69d936-fb0b-4c84-830e-11708e6ec317?CorrelationId=f87cf6ea-8cbf-446a-a4a0-e2c3a86b3425&ui=en-US&rs=en-US&ad=US
https://social.technet.microsoft.com/Forums/en-US/e48ff216-7ed1-4b20-9f21-d496b1583eea/how-to-get-item-field-values-for-old-versions?forum=sharepointdevelopment
http://sharepoint.stackexchange.com/questions/20019/get-meta-data-from-a-previous-version-of-a-document-through-webservice-in-moss-2
http://sharepoint.stackexchange.com/questions/121594/getting-information-from-previous-versions-of-a-sp-list-using-csom
Please mark answer as correct if it is correct else vote for it if you find it useful Happy SharePointing -
Hi
How to get least date value if my data is like this,
order_id date
121 03-mar-12
232 30-jan-10
343 14-may-11
I want to pic least date value(i.e. 03-mar-12) from the list
can any one help me on this
Thanks,
Lakshman
Edited by: kolipaka on Jun 29, 2012 4:21 PMHi, Lakshman,
kolipaka wrote:
Hi
How to get least date value if my data is like this,
order_id date
121 03-mar-12
232 30-jan-10
343 14-may-11
I want to pic least date value(i.e. 03-mar-12) from the list
can any one help me on this
Thanks,
Lakshman
Edited by: kolipaka on Jun 29, 2012 4:21 PM30-Jan-2010 is the earliest (least) date in that data (assuming that's a DATE column, and all the dates are in the same century). To find the earliest date, you could say:
SELECT MIN (dt) AS first_date
FROM table_x
;DATE is not a good column name, so I used DT instead.
03-Mar-2012 is the date related to the least order_id. To find that, you could say
SELECT MIN (dt) KEEP (DENSE_RANK FIRST ORDER BY order_id) AS dt_or_least_order_id
FROM table_x;If you wanted to find several columns from the row with the earliest order_id, you could do a Top-N Query , like this:
WITH got_r_num AS
SELECT x.*
, ROW_NUMBER () OVER (ORDER BY order_dt) AS r_num
FROM table_x x
SELECT * -- or list all columns except r_num
FROM got_r_num
WHERE r_num = 1
I hope this answers your question.
If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all the tables involved, and the results you want from that data.
Explain, using specific examples, how you get those results from that data.
Always say what version of Oracle you're using.
See the forum FAQ {message:id=9360002}
Maybe you are looking for
-
Credit Blocked 3rd Party Sales Order confirm quantity change discrepancy
Hi, I am facing the below 3rd party SO qty change issue. Please check and advise me. Step 1: Created one 3rd Party SO for item A - 10 qty. Step 2: PO is created with reference of PR number (item A- 10 qty). Setp 3: Again I am changing the
-
I tested Adobe CC then bought an educational license with another ID. I cannot use Lightroom Mobile. Message "Evaluation version has expired is displayed" and information in Preferences showing the old ID, not the new one. Disappointing support from
-
How to suppress Duplicates in oracle reports?
My database has a list of actions with numerous dates. My query lists something like this: ACTION Dates Hold consultation Forum Jan-Feb Hold consultation Forum Apr-Mar Hold consultation Forum Nov-Dec Is it possible to restrict the repitition of the s
-
Need to calculate values of A & B Formula -> A = Round down [A_TIME - A_STD] B = Round up [A_TIME) - 10 minute + A_STD] where A_TIME VARCHAR2(8) N Time (Format" HH:MM AM/PM") eg "3:50 PM" A_STD VARCHAR2(5) N Sta
-
Photoshop CS4 did not install???
I just installed CS4 on my MAC. everything went fine and I got no error messages. but when I look into my applications I see that Photoshop isn't there! the others are all there. Is this because I had the PS4 trail version? I had totally removed it f