How to populate values into DFF
hi all
kindly tell me how to create a LOV for a DFF field based on some other field in the form?
for ex:
i created a DFF to catch supplier site based on supplier name entered in the form , how to correlate both?
kindly answer
--regards
--raj
Hi Ghattamaneni,
Issue resolved?
if not, try with this.
Create a Value set based on suppplier name to get supplier site.
then go to DFF.
either Sys Admin/Application/DFF or AP/Set-up/DFF.
Then create DFF with Context Prompt or with context.
add the attributes and add Value set to each attribute.
try with this.
--Basava.S
Similar Messages
-
How to populate values into a Listbox on selection screen
Hi All,
Please any one let me know how to populate values (for ex.01,02 and 03) in a list box of selection screen..
Thanks,
VijayTry this code ...
REPORT ZLISTBOX.
TYPE-POOLS: VRM.
TABLES SPFLI.
TABLES SSCRFIELDS.
DATA flag.
DATA: NAME TYPE VRM_ID,
LIST TYPE VRM_VALUES,
VALUE LIKE LINE OF LIST.
PARAMETERS PS_PARM LIKE SPFLI-CARRID AS LISTBOX VISIBLE LENGTH 5
USER-COMMAND fcodex.
data: i_spfli type spfli occurs 0 with header line.
PARAMETERS PQ_PARAM LIKE SPFLI-connid AS LISTBOX VISIBLE LENGTH 15
USER-COMMAND
fcodey.
*DS AS CHECKBOX USER-COMMAND FLAG.
INITIALIZATION.
NAME = 'PS_PARM'.
DATA T TYPE I VALUE 0.
SELECT DISTINCT carrid into corresponding fields of table i_spfli FROM
SPFLI.
loop at i_spfli.
VALUE-KEY = i_spfli-CARRID.
VALUE-TEXT = i_spfli-CARRID.
APPEND VALUE TO LIST.
endloop.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
ID = NAME
VALUES = LIST.
AT SELECTION-SCREEN.
if sy-ucomm eq 'FCODEX'.
REFRESH LIST.
CLEAR LIST.
PQ_PARAM = ' '.
NAME = 'PQ_PARAM'.
SELECT * FROM SPFLI WHERE CARRID = PS_PARM.
VALUE-KEY = SPFLI-connid.
VALUE-TEXT = SPFLI-connid.
APPEND VALUE TO LIST.
ENDSELECT.
endif.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF SY-UCOMM NE 'FCODEX' OR SY-UCOMM NE 'FCODEY'.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
ID = NAME
VALUES = LIST.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
START-OF-SELECTION.
clear i_spfli.
refresh i_spfli.
select * into table i_spfli from spfli where carrid = ps_parm and connid
= pq_param.
loop at i_spfli.
WRITE: / 'CITY FROM:', I_SPFLI-CITYFROM, 'CITY TO :',I_SPFLI-CITYTO,
'DEPARTURE TIME :', I_SPFLI-DEPTIME.
ENDLOOP. -
How to populate value into textboxes
Hi,
I'm working with oracle forms for portlet and need help populating a certain value into textboxes. There are 40 textboxes, 40 checkboxes, and a textbox for a user to enter a value. When a user checks the preferred checkboxes then enters the value into the textbox, I want this value to be populated into those 40 textboxes.
Please help...
Thx in advance,
Thuly2Hi Adi
If ZVal is your value node then,
DATA: lref_entity TYPE REF TO cl_bsp_wd_value_node,
lref_bo_coll TYPE REF TO if_bol_bo_col,
lref_data TYPE REF TO <<your ZStructure>>,
ls_data type <<your ZStructure>>.
ls_data-<<field1>> = 'XYZ'
ls_data-<<field2>> = 'XYZ'
CREATE OBJECT lref_bo_coll TYPE cl_crm_bol_bo_col.
CREATE DATA lref_data.
CREATE OBJECT lref_entity
EXPORTING
iv_data_ref = lref_data.
lref_entity->set_properties( ls_data ).
lref_bo_coll->add( lref_entity ).
typed_context->ZVal->set_collection( lref_bo_coll ).
Hope this was helpful.
Best Regards,
Lakshminarayana -
How to use CrossReference and DVM in ODI &how to populate data into Xref
Can any one tell how to use Domain Value Maps and Cross Referencing in ODI?
DVM or Domain Value Map are created and used in ESB console of SOA suite.
My actual requirement is as follows:
The below steps describe loading data from ERP Application 1 to ERP Application 2.
1. The Source Application ERP APP1, populates the interface table using their native technology.
2. A job scheduler invokes the Source side ODI Package.
3. ODI then extracts the data from Source Interface table and populates the Target Interface table.
4. After populating the Target interface table the ODI populates the X-ref table with App 1 ID and generated common ID.
5. The ODI either deletes or updates the rows that were processed from the Source interface table.
6. On the Target Application ERP APP2, the native application extracts data from target interface table and populates target database there by generating ERP Application 2 ID.
7. A job scheduler on the Target application invokes the ODI package to populate the Application 2 ID onto the Xref table matching on the Common ID.
I just want to know :
1. How to populate data into the Xref table from Source datastore
2. And if data is successfully laoded from target datastore to actual base table of target then how to populate the target id into the cross reference table.can anyone suggest me some answer, then it would be of great help?
-
How to populate value node with values?
Hi Experts,
I have created a new view with a vlaue node of table type.
How can I populate values into the value node?
Which method will be useful?
Is there any material for Web UI Programing?
Please help me in this.
Thanks,
Adi.Hi Adi
If ZVal is your value node then,
DATA: lref_entity TYPE REF TO cl_bsp_wd_value_node,
lref_bo_coll TYPE REF TO if_bol_bo_col,
lref_data TYPE REF TO <<your ZStructure>>,
ls_data type <<your ZStructure>>.
ls_data-<<field1>> = 'XYZ'
ls_data-<<field2>> = 'XYZ'
CREATE OBJECT lref_bo_coll TYPE cl_crm_bol_bo_col.
CREATE DATA lref_data.
CREATE OBJECT lref_entity
EXPORTING
iv_data_ref = lref_data.
lref_entity->set_properties( ls_data ).
lref_bo_coll->add( lref_entity ).
typed_context->ZVal->set_collection( lref_bo_coll ).
Hope this was helpful.
Best Regards,
Lakshminarayana -
To populate values into single field in an internal table
Hi Friends,
How we need to populate values into single field in an internal table.
E.g itab consits of single field ( name)
i need to assign values to this field name .like
peter,
john,
abrahm,
daneyal
Pls tell me i how i need to code for this
Thanks ,
ParnithHi,
Please look at the below code :
DATA : BEGIN OF itab OCCURS 0 ,
name(20) TYPE c,
END OF itab.
START-OF-SELECTION.
itab-name = 'Peter'.
APPEND itab.
CLEAR itab.
itab-name = 'John'.
APPEND itab.
CLEAR itab.
itab-name = 'Abrahm'.
APPEND itab.
CLEAR itab.
itab-name = 'Daneyal'.
APPEND itab.
CLEAR itab.
LOOP AT itab.
WRITE : / itab.
ENDLOOP.
Thanks,
Sriram Ponna. -
How to populate values in List Box in Adobe form
Hi,
How to populate values in List box in adobe forms?
Thanks
RBif you want to display a fixed values in the dropdown you can use list box ui and can specify values there
or if u want to display values from the context node of the webdynpro
1. Drag and drop a Value Help Drop-down List element from the Web Dynpro Library tab to the Body Pages pane.
2. Drag and drop your node from the Data View tab onto it. This action binds the layout element to the corresponding node.
with regards
shanto aloor -
How to populate values for a new field in target infoprovider
Hi Experts,
am new to BI. i would like to know on how to populate values for a new field in the target cube with start rotuine.In my case, i have a source infoprovider, which has 3 fields and a target infoprovider, which has 5 fields. i need to populate the new 2 fields in start routine. i dont want to populate using Field routine and am using 3.5 version. please assist with code on how to solve this issue.
Thank you,
Chitra.
Edited by: Chitra_BI on Jun 13, 2011 10:23 AMDebug the standard code and see where the other fields are getting update. you can use the similar approach and area to code for the new field.
Regards,
Lalit Mohan Gupta. -
How to passing value into Captivate from html?
How to passing value into Captivate from html?
Or
How to communicate between objects in one slides?Hi czhao0378 and welcome to the forums!
Captivate does not natively allow you to communicate your own
data, either internally or externally. The only way to make this
happen is to create your own functionality, either via custom-built
Flash objects or JavaScript code executed in the browser or a
combination of both.
The only example I've seen of any "data passing" inside
Captivate is a custom text input/output solution that was posted on
the Captivate Developer Exchange:
http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&loc=en_us&extid=1253 021
This solution consists of an input box that takes information
from the user on one slide and a second box that displays that
information on another slide. The functionality was built in Flash
and is embedded in Captivate as a Flash "animation". Unfortunately,
since this is a custom functionality, the information is not
included in the user completion results Captivate can pass to a
Learning Management System.
Since the solution mentioned above relies on a Flash
Actionscript variable to hold the information that is displayed,
you can also pass the information from HTML to Captivate using the
"SetVariable" command in JavaScript. This would at least allow you
to display your own HTML-based data inside Captivate.
Beyond that, I'm not aware of any other way to gather and
pass data in Captivate. -
Populate value into dropdownlist
Is it possible to populate value of a dropdownlist?
I will want what is inside my dropdownlist to have values according to this SQL statement.
Select distinct PROGRAM_ID from ZPROGRAM_TABLE
How am I suppose to do this? Any codes example?I got an error when I put this codes:
data: itab type standard table of ZPROGRAM_TABLE WITH HEADER LINE,
wa_itab type ZPROGRAM_TABLE.
DATA : K TYPE I VALUE 1.
START-OF-SELECTION.
CALL SCREEN 1000.
MODULE STATUS_1000 OUTPUT
MODULE STATUS_1000 OUTPUT.
SET PF-STATUS 'SCREEN_1000'.
SET TITLEBAR 'TITLE_1000'.
select DISTINCT PROGRAM_ID from ZPROGRAM_TABLE
into table itab.
loop at itab.
clear wa_itab.
wa_itab-PROGRAM_ID = K .
wa_itab-PROGRAM_CODE = itab-PROGRAM_CODE.
append wa_itab to itab.
K = K + 1.
endloop.
call function 'VRM_SET_VALUES'
exporting
id = 'ZDROPDOWNLIST' "Here use your input box name in which you need dropdown
values = itab
exceptions
id_illegal_name = 1
others = 2.
ENDMODULE. "STATUS_1000 OUTPUT
Here is the link of how the error look like:
http://img529.imageshack.us/img529/9650/screenee6.png
Can someone tell me how to solve it and where is the error? -
How to Populate Values in Report for Fields
Hi Experts,
I have a Report requirement where in I need to Populate values for FROM Period & TO Period based on the user i/p for Quarter variable.
For Eg;
Fiscal year : 2009
Quarter : 3
Mat Year From period ToPeriod QTY
A 2009 07 09 1
B 2009 07 09 22
C 2009 07 09 44
There are no fields FROM Period or TO Period in Cube.I need to populate them in the report directly.
Please give some inputs to goahead.
Thanks
Ravve
Edited by: ravve king on Jun 4, 2009 4:38 PM
Edited by: ravve king on Jun 4, 2009 4:39 PMYou're going to need to create a User Exit in your query. Here's a link to a helpful document on how to do that:
[Using Customer Exit Variables in BW/BI Reports Part - 1|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20f119d9-922d-2c10-88af-8c016638bd90] -
How to populate values of field symbols?
HI,
I need to pass values into a field-symbol (defined as a dynamic Work Area) and append the values later on into another field-symbol (defined as a dynamic Table) by inserting the work area to the table. The insert statement in the screen shot below is syntetically correct but when I uncomment
* <gw_itab>-tplnr = 'TPLNR'.
* <gw_itab>-pmsog = 'PMSOG'.
* <gw_itab>-k_pro = 'K_PRO'.
I get a syntax error. During debugging if I pass the values of the work area, they are properly appended into the table.
Could somebody show me the code on how to atain this programatically?
Thanks for your help
CarlFrom the short dump:
"<GT_ITAB> has line type "v" and the length 24, but the work area has line type "g" and the length 8".
The code you included in your first screenshot is not the code that it dumped on... Looking at the shortdump here's what you have.
lv_fieldname = '<GW_ITAB>-TPLNR'.
assign (lv_fieldname) to <gw_itab>.
<gw_itab> = 'TPLNR'.
insert <gw_itab> into table <gt_itab>.
This code doesn't make any sense...
What you're saying is:
<gw_itab> points to <gw_itab>-tplnr. So now it points to just a field of the structure, not the whole structure.... Then you say that field is set to 'TPLNR'. So you set the field of the original structure called TPLNR to be the string "TPLNR"...
If that's really what you're trying to do then try changing it to:
field-symbols: <field> type any.
lv_fieldname = '<GW_ITAB>-TPLNR'.
assign (lv_fieldname) to <field>.
<field> = 'TPLNR'.
insert <gw_itab> into table <gt_itab>. -
How to populate USERNAME into a text field [SOLVED]
Hi all,
Forms 10g(10.1.2.0.2), Windows XP
In my form I have 2 blocks.
Block 1 with only one item, where we enter some value and hit enter(this will navigate to block2 and execute the query).
Block 2(tabular) will fetch the records. Now this block2 have 3 columns(caseid, userid, date).
Now when I insert a new record, I just need to enter the caseid only. And userid and date have to be automatically populated.
I'm able to populate date by setting Initial Value property to *$$DATETIME$$* for the date column.
And I tried many ways to populate USERNAME into userid column without any success.
I tired something like this
In *When-New-Item-Instance*
if :System.Cursor_Item is null then
:BLOCK2.userid := Get_Application_Property(USERNAME);
else
null;
end if;
/*In this case, I can navigate to to the last recrord w/o any changes in the fetced records
and while inserting the new record, USERNAME doesn't populate.*/
In *When-New-Record-Instance*
declare
v_dummy varchar2(15) := null;
begin
v_dummy := nvl(:system.cursor_value, null);
Copy(to_char(v_dummy), :System.Cursor_Item);
if :System.Cursor_Item is null then
Copy(null, :System.Cursor_Item);
:BLOCK2.userid := Get_Application_Property(USERNAME);
else
null;
end if;
end;
/* Nothing populates into the userid item while inserting new record */Any help please...Hi Ammad,
It is populating number 73 (which is not my username) into the field.
And when I changed it to :BLOCK2.userid:=GET_APPLICATION_PROPERTY('USERNAME');
I get FRM-40735 WHEN-CREATE-RECORD trigger raised unhandled exception ORA-06502
Also when the new record is inserting, the user shouldn't be able to edit userid and date fields. But this is also not working...
Edited by: Charan on Sep 20, 2011 11:26 AM -
How to populate data into view object
Hi all,
I am quite new with ViewObject.
I have one data table which is binding with view object.
I want to populate data into view object from my managed bean.
how can i achieve this kind of scenario?
actually i try to get view object as in the following. but i get only null.
ViewObject viewobject = DCIteratorBinding.getViewObject();
With Regards,
Wai PhyoHi,
You could use the following code snippet to get handle to view object from the iterator.
FacesContext fc = FacesContext.getCurrentInstance();
BindingContainer bindings =
(BindingContainer)fc.getApplication().evaluateExpressionGet(fc,
"#{bindings}",
BindingContainer.class);
DCBindingContainer bc = (DCBindingContainer)bindings;
DCIteratorBinding iterator =
bc.findIteratorBinding("<ITERATOR_ID>");
ViewObject viewObject = iterator.getViewObject();
// Perform operations on the view objectThanks,
Navaneeth -
How to populate values in to dropdown in table ui element
Hi,
according to my scenario i have atable with five records ...andi have acolumn name DATE and it contains 5 dropdowns with some values i.e dates from jan 1 2008-dec 31 2008.user needs to select only those values which are in dropdown. can u tell me the code to populate values in to dropdown in table UI element.
Thanks
RajuHi,
you can go for two drop downs like DropDown by Key or Drop Down by Index as per requirment.
Create context Node for the table UI, in that one will be for ur drop down. Create element for the Context node and add thses to the conetxt.
Code example for DropDownBy Key:-
ISimpleType simpleType = wdContext .nodeProjEstiTable().getNodeInfo()
.getAttribute("projphasname") .getModifiableSimpleType();
IModifiableSimpleValueSet svs1 =
simpleType.getSVServices().getModifiableSimpleValueSet();
svs1.clear();
for (int j = 0; j < projphasname.length; j++) {
svs1.put(projphasname[j][1], projphasname[j][1]);
for DropDownBy Index you can work in normal way means try to create element for the respective context attribute.
Hope this may help you...
Deepak
Maybe you are looking for
-
Skip first screen & ECC 6 syntax error
Hi, I have program that is in ECC 6 giving syntax error call transaction v_tcode using i_bdc options from i_options messages into i_message and skip first screen. I am gett
-
Does LR at any stage save an edited copy of a picture in the library taking up extra disk space when applying changes (like iPhoto does) or does it always just reference the original file and apply the set of editing instructions to it, not taking up
-
Application manager show that Acrobat X Pro is installed on my computer but it's not
Application manager show that Acrobat X Pro is installed on my computer but it's not, what is the action to resolve this issue??
-
Hi, i've connected my arch linux box to my TV with HDMI sometime the screen became green and not black as it should be, it happen in tty but also in gnome. the only way I have to bring back the coloro is to reboot, but if I leave it alone for a while
-
Modify parameter file ORACLE RAC 11G
Dear all I have a production ORACLE RAC 11G database. i want to modify shared spfile parameter file in RAC .But spfile is shared file which is on ASM. how to achive it using pfile, actually i want to change in pfile and then make a spfile in ASM whic