How to default the values in BP screen with BDT?
Hi all,
I am working in BDT enhancement for BP for Grants mangement. Therefore there are some screen fields in BP transaction should directly get saved in GMSPONSOR table. I mean to say user would give some values in BP screen(One can get it at the runtime by calling the FM BUP_BUPA_BUT000_GET) and the relevant values will autometically goes to GMSPONSOR table if the BP is saved.
As per my knowlwdge there are many events under BUPT transaction and there also I found the entry of GMSPONSOR table. Can anyone tell me in which event I have to default these screen values and redirect these to GMSPONSOR table?
Thnaks & Regards
Dibyendu.
Dear Smita,
Thanks for your reply. The fact is that if I could default it in the screen text box then it would autometically goes to the corresponding table at save event.
So could you help me to identify the event by which one can keep default values in screen.
May be ISDAT or ISSTA event to default the valuesfor BP.
I have done to some extent for the fields belonging to BUT000 with the help of FM BUP_BUPA_FIELDVALUES_SET. I have placed a Z FM in ISDAT event. But the problem lies with the fields belonging to other tables.
Waiting for your update.
Similar Messages
-
How to default the value in Parameter ?
Hi all,
How am I going to default the paramenter say I have the From Item >= '0' and To Item <= '99999999', I will like system to be defaulted back the value in the parameter everytime when the refresh is being pressed ?
Currently, I have set the default value in the parameter, it work fine for the very first time, but after I have put the search value in the refresh button, the system still showing the old value which I have keyed in earlier. I want system to be defaulted the value that I keyed in the parameter. How to do that ?
Rgds
LimHi Lim
Are you using Discoverer Plus?
If so, there is a preference in pref.txt that controls whether the parameter values are saved with the workbook. It is called SaveLastUsedParamValue. This has two settings as follows:
0 - Use the default value as set by the report writer
1 - Save the value the user just entered and use that as the default the next time
Best wishes
Michael -
How to default date values in Selection Screen
Hi everyone,
I would like to display the 1st day of the previous month into the I_GSTRP-LOW field and the last day of the current month into the I_GSTRP-HIGH field.
For example, this in the 5th month of the year (May), therefore, in the selection screen it should appear like this:
Basic Date: <u>01.04.2006</u> to <u>31.05.2006</u>
How do i do it?
*& SELECTION-SCREEN *
SELECTION-SCREEN BEGIN OF BLOCK 1 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS:
I_AUFNR FOR AFIH-AUFNR, "ORDER NUMBER
I_GSTRP FOR AFKO-GSTRP, "BASIC DATE
I_BUDAT FOR AUFM-BUDAT, "POSTING DATE
I_IWERK FOR AFIH-IWERK DEFAULT '6010' OBLIGATORY, "PLANNING PLANT
I_ARBPL FOR CRHD-ARBPL, "WORK CENTER
I_ERNAM FOR AUFK-ERNAM, "CREATED BY
I_MATNR FOR RESB-MATNR, "MATERIAL
I_KTEXT FOR AUFK-KTEXT. "EQUIPMENT
SELECTION-SCREEN END OF BLOCK 1.Here is the code to populate default values,as per your requirement.
data : V_date type sy-datum,
v_month(2) type c,
v_low_value(8) type c,
v_high_value(8) type c,
v_month1(2) type n,
V_NO_OF_DAYS type T009B-BUTAG,
v_curr_month type T009B-BUMON,
v_curr_year type T009B-BDATJ.
select-options : i_gstrp for sy-datum.
initialization.
v_date = sy-datum.
v_month1 = v_date+4(2) - 1.
write v_month1 to v_month.
concatenate v_date+0(4)
v_month
'01'
into v_low_value.
I_GSTRP-LOW = v_low_value.
v_curr_month = sy-datum+4(2).
v_curr_year = sy-datum+0(4).
CALL FUNCTION 'NUMBER_OF_DAYS_PER_MONTH_GET'
EXPORTING
par_month = v_curr_month
par_year = v_curr_year
IMPORTING
PAR_DAYS = V_NO_OF_DAYS
concatenate sy-datum+0(6)
V_NO_OF_DAYS
into v_high_value.
I_GSTRP-HIGH = v_high_value.
I_GSTRP-sign = 'I'.
I_GSTRP-OPTION = 'EQ'.
APPEND I_GSTRP.
regards
srikanth -
Ship Confirm Tab: How to default the values?
Hi!
I am trying to determine if there is a way for me to default the various options on the Ship Confirm screen. ie When I ship confirm a window opens and I can choose if I want to backorder any quantity and what to do with left over quantity? Can I default these values?
Thanks muchYes, you can do this thru the SYSTEM ADMINISTRATOR responsibilities. Query the Ship Confrim concurrent program and use the parameter window to default a values.
-
How to pass the values from one screen to another
HI,
consider me21n,
po is created with the item category L,so components tab is enabled.that u all know.
i have added the custom tab in the item details with netwt,gross wt,no of pieces and one more field.
those fields are also in component structure of material data.
i need to pass the matnr,maktx,quantity,ntwt,grosswt from the component to be displayed in the subscreen.
i used import mdpm to xmdpm from memory id 'subcon', where it is exported from the function module 'me_components-maintain'.
how to pass all the values from component of structure MDPM to the subscreen of custom tab in the item details.
help me pls........................'hi everyone,
MODULE status_0111 OUTPUT.
data : fill type i.
SET PF-STATUS 'xxxxxxxx'.
SET TITLEBAR 'xxx'.,
DESCRIBE TABLE lt_zzmm_po_comp LINES fill.
ctrl_0111-lines = fill.
ENDMODULE. " STATUS_0111 OUTPUT
MODULE fetch_data OUTPUT.
ctrl_0111-lines = 2.
import xmdpm to lt_xmdpm from memory id 'SUBCON'.
IF not sy-subrc eq 0.
CLEAR lt_zzmm_po_comp[].
LOOP AT lt_xmdpm.
MOVE-CORRESPONDING lt_xmdpm TO lt_zzmm_po_comp.
APPEND lt_zzmm_po_comp.
ENDLOOP.
MOVE-CORRESPONDING lt_zzmm_po_comp TO ctrl_0111.
read table ctrl_0111-cols into col where index = 3.
ENDIF.
ENDMODULE. " FETCH_DATA OUTPUT
MODULE pass_line OUTPUT.
READ TABLE lt_zzmm_po_comp INDEX ctrl_0111-current_line.
MOVE-CORRESPONDING lt_zzmm_po_comp TO ctrl_0111.
ENDMODULE. " PASS_LINE OUTPUT
flow logic
PROCESS BEFORE OUTPUT.
MODULE status_0111.
MODULE FETCH_DATA.
loop at lt_zzmm_po_comp WITH CONTROL ctrl_0111 cursor
ctrl_0111-current_line.
module pass_line.
endloop.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0111.
loop.
*module read_data.
endloop.
but i cant see my fields in the table control .....i dont know y it is not coming?can anyone help me with code... -
How to pass the value between two screen in dialog programming.
hi everybody,
In case of dialog programming I have two screens 200 & 300.I want to get the value of textfield in screen 200 in scrren 300 in a label or in textfield.
Thanks
byeeAashish,
Welcome to SDN!!!!
SAP does automatic data transfer when u have the variable defined in the Program and same variable(name) being used in any number of screens in the same program.
U donot want to worry abt Data Transfers!!!
If this does not solve ur requirement, let us know.
Thanks
Kam -
How to get the value in a hashmap with a key of expression "123-456"?
Hi all,
I new to java and having a problem with getting values from a hashmap.here is the code which i wrote
Map map = new HashMap();
int m = 123;
int n = 456;
String key = String.valueOf(m) + "-" + String.valueOf(n);
map.put(key, true);
Now i am trying to get the value and i get an exception
boolean b = map.get(String.valueOf(m) + "-" + String.valueOf(n));Can someone help me how to pass this expression as key in the hashampHi corlettk,
Thanks for your reply. I have defined my map as Map<String, Boolean> selectedIds = new HashMap<String, Boolean>();
selectedIds.put("123-456", true);
int m=123; int n=456;
selectedIds.put(String.valueOf(m) + "-" + String.valueOf(n),true);
boolean viv = selectedIds.get("String.valueOf(m)-String.valueOf(n)");
System.out.println(viv);
My problem is the hashmap key must be set dynamically ("123-456" is just an example) and when i get the value i should be able to pass those varibales in an expression correctly. Please let me know how can i pass an expression like the one above as a hashmap key. Please advise. -
How To display the value of outer loop with inner loop fields
Hi All
I have a issue that i have to display the values flexfield wise ,like i have 3 DFF values in xmlp layout ,each will have some list of records which will be displayed under the DFF values,so it means
DFF values will be in outer loop with its group
while related records of DFF will comes in inner loop with its group
my problem is that i have to display the DFF values also with respective inner records ,
Would somebody please suggest how can we achieve this ,please let me know if my question is not clear.
Thanks
PratapI think you will be having xml structure like this:
<G_HEADER>
<LIST_G_LINES>
<G_LINES>
</G_LINES>
</LIST_G_LINES>
</G_HEADER>
So in this case, if you want to refer G_HEADER details in G_LINES then, you should navigate 2 levels above.
It will be <?../../element_name?> -
Help. How to link the value on other spreadsheet with different path
The data is in the spreadsheet on path: Macintosh HD/Users/fridayge/work/list.xls
I want to link the value to Numbers sheet.
If in ecxel, I can express ='Macintosh HD:Users:fridayge:work:[list.xls]list'!A1, then get value of A1
In numbers, how can I get this?Friday,
If you can't combine documents for some reason, there are ways to mitigate the effects of having them separate.
I would give the Source and Receiving documents similar names such that reside next to each other in the Finder window when organized by FileName. Also, position the data you need to retrieve at the top of the Sheet that the Source document will display when opened - you could have a small summary table there.
Now when you are going to do edits, Select both files in Finder, Right-Click ond Select Open, opening both at once. Copy the source data from the convenient cells in the source document then close the Source document and Paste into the Receiving document. Now continue as though the data had transferred by formula.
Jerry -
How to concatenate the values in single row with images or colours
hi all,
i am apex 4.2,
i tried to execute a plsql query for the values concatenate two values into same column
example in my table
i am having teachers list one can teach two or three subjects
in table i am saving like
teacher_id teacher_name salary subjects
1 ram 5000 science,maths
2 gang 4000 maths,science,english
but my report should come like
teacher_id teacher_name salary subjects
1 ram 5000 science maths i have to highlighting these subjects with images or with different colors
2 gang 4000 maths english science
can any one help me please
thanks & regards
pavan
Edited by: Pavan on Apr 9, 2012 4:15 AM
Edited by: Pavan on Apr 9, 2012 4:22 AMFirst of all, i would split the subjects column.
If you for sure only need up to 3 subjects, you could make three columns subject1, subject2, subject3.
If you may have an indefinite number of subjects for each teacher, you might create a detail-table with the subjects for each teacher.
I also would create a list of values for the subjects, either based on static values or based on another table with the subjects allowed.
Now that the subject-names are fixed you could create a subject-image for each subject, named as the subject itself. Then you "construct" the image for each subject as
<img src="#APP_IMAGES##SUBJECT_NAME#.png"/> -
How to get the values of selection screen.
Hi experts..
Using call transaction i just called one screen where two input fields are there eid and ename...after giving the input
i want to get the eid value using get parameter id..how it is possible...
CALL TRANSACTION 'ZT11'.
GET PARAMETER ID 'ZEID' FIELD EID.
but i did'nt get value in EID..can any one please help me....
Regards,
Veena.Hi,
In call transaction function module you must set parametr id value in function module 'ZT11'
then it will accesible to you program using get parameter.
Rgds
Ravi Lanjewar
Edited by: Ravishankar Lanjewar on May 25, 2010 12:42 PM
Edited by: Ravishankar Lanjewar on May 25, 2010 12:43 PM -
How to default the value of a selectOneChoice when adding a row to a table
I have a table where one of the fields is a selectOneChoice. When adding a row to the table, the new row to be added displays the selectoneChoice field blank. I would like to have this field default to a specific value within the selectoneChoice when clicking the add button. Any suggestion on the code I need to add in the backing bean? Thanks in advance.
After some studying I figured out how to do this... code below for anyone interested:
DCIteratorBinding dcib = (DCIteratorBinding) bindings.get("someIterator");
RowSetIterator iter = dcib.getRowSetIterator();
Row newRow = iter.createRow();
newRow.setAttribute("yourFieldName",fieldDefaultValue);
iter.insertRowAtRangeIndex(0, newRow);
iter.closeRowSetIterator(); -
How gray out the fields in selection screen with parameters
Hi,
Can any one help me how to gray out the selection screen fields
Start-of-selection----
Parameters : p_status TYPE edids-status MODIF ID xyz DEFAULT co_51.
End-of-selection----
i want to grayed out the field p_status.
except At selection-screeen output, can any one suggest the other method of gray out the above field.
Thank u
B Ravi Kumar -
How to clear the value of variable declared with STATICS keyword in FM?
Hi All,
I am using a standard CRM FM:CRM_CLA_RES_UPDATE_FM in that a STATICS variable is declared. In my code this STATICS varible value is populating. Iam to clear that Varible.
How to do that.
Thanks and Regards,
Shabeer Ahmed,If you have 6.0 or up version then you will have a spiral button for your ABAP editor in you application toolbar. this is to find enhancements provided to you for standard programs. if you click on this you will get the enhancement points which you can identify and use accordingly to change/edit your STATICS variable content.
if not, then you'll probably have to write to OSS , if you can open the code and do the required correction. -
How we can get the values from one screen to another screen?
hi guru's.
how we can get the values from one screen to another screen?
we get values where cusor is placed but in my requirement i want to get to field values from one screen to another screen.
regards.
satheesh.Just think of dynpros as windows into the global memory of your program... so if you want the value of a field on dynpro 1234 to appear on dynpro 2345, then just pop the value into a global variable (i.e. one defined in your top include), and you will be able to see it in your second dynpro (assuming you make the field formats etc the same on both screens!).
Maybe you are looking for
-
HP Officejet 6500 e709a, printer offline
Hello, In our office, several computers are able to print, through the network, from this printer. However, our manager's laptop, (Gateway with 1.6g processor, xp 2002 w/ service pack3) is now not printing from this wirelessly. Problem has persisted
-
Getting Blank Rows and Good Rows in the same bound table
Hi, a little brief here I am a developer at Oracle and am trying to use ADF and Oracle BC's on my webpages. I am using Oracle TopLink and ADF to display the contents of several tables. The issue I encounter is that TopLink for some reason (I hypothes
-
While executing ObjectTag in flash.htm, a javascript error occurred
I'm attempting to place a SWF file in an editable region on a page created from a template. I get the error: While executing ObjectTag in flash.htm, a javascript error occurred. I saw on another sight that someone found the problem which was editab
-
ITunes cannot run because it has detected a problem. . .
I have used iTunes for years but now when I open it up I get the following error message: "iTunes cannot run because it has detected a problem with you audio configuration" My sound works with every application so I'm a bit confused as to why it won'
-
Use of Infoview for BI Queries
We are in the early stages of deciding how to position BOBJ in relation to our existing BI 7.0 installation. We have developed a number of queries through Business Explorer Query Designer. Is it possible to access these through Infoview? Or do we nee