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 AM
Debug 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.
Similar Messages
-
How to enter values for newly inserted field for maintenace view table
Hi ,
I have inserted new field for custom table which consits of maintance view..
I want to put some values in to this newly inserted field..
When i try to insert values bu useing se16,iam unable to view this newely inserted field..
Can you please let me know how can i insert values to this newely created field
Thanx,
ParnithHi Parnith,
It is easy to use a table maintainance to enter values to a database table....
if you have a table maintainace generator and you are not able to see the newly added field here is the reason
Everytime you add a new field , the table maintainance needs to be regenerated..The reason is that the screen you are using in the table maintainance is created within a program with respect to the fucntion group and not directly linked to the table..whenever you change the table,the function group is not affected and changes are not reflected in the table maintainance , so you have to regenerate by utilities-> table maintainance generator in sell for that table..once you do it , the function group assigned to the table automatically creates a new one with the latest fields added
Reward if helpful
Regards
Byju -
How to populate first 2Chars into new field in report
Hi All,
I have report requirement like to populate the first 2chars of a characteristic in the report.
Eg: I have ASM code with characteristic values A1200,B2300........now i need to populate only first 2chars like A1,B2...in the new object (name it as Region.)
So finally my report will be
ASM Region Kf1
A1200 A1 100
B2300 B2 200
Thanks in advance.Hi Pravender,
Thanks for ur reply .Is it the only way or any other way to do?
Please provide sample code if possible.
Thanks
Srini. -
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 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 prepopulate value in webapps input fields or for any custom fields in for any other forms?
What do you want to populate the form with?
-
How do I set a NULL value for the parameter field
Hi
I've another question. I'm going to set single values for parameter fields.
// e.g. set today for StartDate parameter field
fc.setCurrentValue("", "StartDate", new Date());
It should be possible to set a NULL value for date parameter fields.
fc.setCurrentValue("", "StartDate", (Date)null);
But this do not work. How do I set a NULL value correctly?
Thank you in advance.
Best regards,
ThomasFirst question - is it a stored procedure parameter?
You can't set a regular parameter field value to a null value.
There was an issue with old version of the JRC, where it was allowing null to go through, but had unexpected behavior at times.
Sincerely,
Ted Ueda -
How to assign values for more than one field
Hi,
I have written following code
constants: fieldname(30) value '(SAPMF02D)KNA1-AUFSD'.
constants: fieldname1(30) value '(SAPMF02D)KNA1-LISFD'.
constants: fieldname2(30) value '(SAPMF02D)KNA1-FAKSD'.
field-symbols: <L_FIELD> TYPE ANY.
field-symbols: <L_FIELD1> TYPE ANY.
field-symbols: <L_FIELD2> TYPE ANY.
Assign (fieldname) to <l_field>.
<L_FIELD> = 'ZB'. " value according to your requirement
Assign (fieldname1) to <l_field1>.
<L_FIELD1> = 'ZB'.
while debugging <l_field1> is not assinging (fieldname1).
Im able to assing for (fieldname).
how to assign value for (fieldname1).
plz suggest me to assign values for more than one field.
Regards,
BrahmajiHello,
Because there is no field name called LISFD in KNA1. Actually you misspelled the field name.
It is KNA1-LIFSD -
How to get the value for the LIT_Withheld field in the city tax form?
I am trying to get the value for the LIT_Withheld field on the city tax form , PAYUSEET.. This is not a database column but is generated based on some conditions.. Appreciate the help. Thanks, Suguna
Hi Abhmanyu,
Thanks for your response.
Search Help Name : ZZ_MG_MARITAL_VH
Selection Method : T502T
Search help parameters are SPRSL, FAMST, FTEXT,
Can u provide me a sample code to fetch the value of corresponding text.
Thanks,
Hari -
How to use JavaScript to supply a value for a MessageTextInput field
With the text attribute you can supply a deafult value for text field. Is it possible to supply this field with a default value determined by javascript ?
<messageTextInput name="startDate" text="..." ...Marcel,
If you want to dynamically set a value for a text field, there are two approaches you can use:
1. use javascript (the browser language) and then for your <body> element's onload handler, invoke a javascript method that sets your form value.
2. use java (the compiled language) and databind the "text" attribute of messageTextInput to a dataobject that gives the current date. If all you're looking to do is bind to the current date, I'd recommend this approach.
Hope this helps,
Ryan -
"You must specify a value for this required field" in SharePoint list
HI All,
I have a couple of taxonomy fields in my content type. When I try to add a new item with my content type and save, I'm getting an error message "You must specify a value for this required field" against each taxonomy field. I'm not sure what am
I missing. I deleted the content type and added that again to my list but still no luck. Can someone please help me out? Thanks.
Regards,
SC Vinodhi
it depends how you updated existing field. We faced with the problem that update of taxonomy site column was not propagated to the lists. In Sharepoint when content type is bound to the list, new hidden content type is created for that list - you may check
it if will enumerate
SPList.ContentTypes property. And when you try to update site column changes may not be propagated to these list content types. In order to update it you need to get reference on a field from list content type and update if explicitly.
Blog - http://sadomovalex.blogspot.com
Dynamic CAML queries via C# - http://camlex.codeplex.com -
Setting values for non-displayed fields on a Tabular Form
I'm having a problem setting non-displayed fields on the same table as displayed fields like last_update_date, last_updated_by, id's and other fields when creating new records or updating existing records in a Tabular form.
What is the best and easiest way to set these values without using database triggers?Hi Jes,
I'm a little reluctant to use database triggers as I used this product a couple of years ago and I'm fairly sure I handled this problem in HTML DB without the use of triggers. I am therefore I'm getting a touch frustrated that I can't remember how to do it now !!
Do you know of any way of setting values for non-displayed fields on a Tabular Form without using database triggers?
Also, you seem to be suggesting that database triggers is the best way to do this?
Thanks -
Passing multiple values for a single field in URL to call sap Transaction
Hi All,
I need to pass multiple values for a single field to SAP transaction .
means if i have say a field "Date" which can contain more than one value, <b>but its not a range which has two fields</b> . How is it possible.
Let me know pls.
Regards,
Sirisha.R.S.Hi Satyajit,
I need to call a transaction with multiple values which gives me the report based on those values.
So I need to pass multiple values for a single parameter.
I hope u got it.
Regards,
Sirisha.R.S. -
How to provide hyperlink for a particular field in ALV
Hi,
How to provide hyperlink for a particular field in alv report.
Regards,
Ramu.Yes you can do that. using the fieldcatalog there is an option for that. give HOT_SPOT = 'X'. for the column you want.
wa_field-hotspot = 'X'.
REPORT ztest_alv.
TYPE-POOLS:slis.
DATA:it_fieldcat TYPE slis_t_fieldcat_alv,
wa_field LIKE LINE OF it_fieldcat.
DATA: BEGIN OF it_likp OCCURS 0,
vbeln TYPE likp-vbeln,
END OF it_likp.
DATA: layout TYPE slis_layout_alv.
wa_field-fieldname = 'VBELN'.
wa_field-tabname = 'IT_LIKP'.
wa_field-hotspot = 'X'.
wa_field-outputlen = 10.
wa_field-no_zero = 'X'.
wa_field-seltext_l = 'Sales'.
APPEND wa_field TO it_fieldcat.
SELECT vbeln FROM likp
UP TO 10 ROWS
INTO TABLE it_likp.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid
is_layout = layout
i_callback_user_command = 'USER_COMMAND'
it_fieldcat = it_fieldcat
TABLES
t_outtab = it_likp
EXCEPTIONS
program_error = 1.
*& Form user_Command
* text
* -->UCOMM text
* -->SELFIELD text
FORM user_command USING ucomm TYPE sy-ucomm
selfield TYPE slis_selfield.
CASE ucomm.
WHEN '&IC1'.
SET PARAMETER ID 'VL' FIELD selfield-value.
CALL TRANSACTION 'VL02N' AND SKIP FIRST SCREEN.
ENDCASE.
ENDFORM. "user_Command -
Hi
How to populate data for 2LIS_40_REVAL, 2LIS_43_POSCAS and 2LIS_44_POSREC datasources at RSA3?
I'm very new to retail BI.
I think there is no setup tables for Retail infosources.
Any IDoc or BAPI activation is required or other procedure?
We are in BI-700 SAPKW70015 support pack R/3 side
and SAP_BW 700 Support pack SAPKW70016 &
BI_CONT 703 Support pack SAPKIBIIP9 BI side
Can anyone guide me how to load data?
Points assured
Thanks in advance
Ramana PDear Ramana,
There is no setup table for POSCAS and POSREC.This has to be popuated with a BADI Implementation.
As of PlugIns 2002_1_470 and 2002_2_470, POS data is update into BW the 2LIS_44_POSREC and 2LIS_43_POSCAS extractors using a BADI. To be able to update data into BW, the relevant implementation for the BADI must be activated in each case. You can activate the implementation in transaction SE19. The implementations are as follows:
POS_EX_REC_PI2003_1 for extractor 2LIS_44_POSREC
POS_EX_CAS_PI2003_1 for extractor 2LIS_44_POSCAS
Once the activation of BADI , create the back ground jobs for the 44 application and the data is pushed into Delta queue and it can be loaded into BI .
Hope this helps you.
Thanks,
Krishna Charan
Maybe you are looking for
-
Wipe Hard Drive/Fried Logic Board
How do I wipe Hard Drive clean when G4 Powerbook will not start up due to fried logic board? I can wait 3 weeks, and One to One will tell me at Apple...lol...
-
Oracle apps 12i pre install checks fails in cl; command not found
Hi guyz, Im trying to install 12i on external hard drive (windows xp), I followed the steps from http://forums.oracle.com/forums/thread.jspa?threadID=447193&tstart=60&start=0 The installation fails in command: cmd.exe /c D:\stage12\startCD\Disk1\rapi
-
Help on Report !!!!
I am working on a report...where I need to get the document number from table BKPF and then I need to get the line item data from table BSEG such as Net amount, then I need to sum up the net amount of one header and need to display it. ... My scenar
-
SSIS excel connection datatype issue
HI Please find data below ColA ColB 74378 11213 312 21312 34 234 7329 27924 23423 224353 42342 13243 54245 32321 25423 6483 5234
-
I receives this error message when trying to dequeue a message in the log of my webapp. If i connect to another database...it's working. Could you help me to understand what could be wrong in my oracle intall, want parameter should be set to allow th