How to set more then three items in report with a form
Hello,
I have an interactive report with a form. In the interactive report i want to set the more than three form items, how can i do this.
can anyone help me ot with this.
Thanks,
Orton
More than 1 name/value pair can be entered for each item of the column link: just separate them with commas (','), and ensure that the order of the names and values matches.
(Please change the handle in your forum profile to something better than "user11940294", and in search the forum before posting: this topic has occurred a number of times.)
Similar Messages
-
How to set a new formula to a report with java
Post Author: gionnyDeep
CA Forum: Data Connectivity and SQL
Hi all
I use CR 4 eclipse and i need to set a formula to a reportClientDocument but actually exists just the setRecordSelectionFormula that does not what i need.
Actually i need to define a formula and not a record selection formula.Exists a method in any api of cr4E that does this stuff?
Regards
Sorry for my englishHi,
This functionality is known to be very important and is a key part of the next major release of the JRC planned for the first half of 2008.
Regards,
<p>Blair Wheadon</p>
<p>Product Manager, Crystal Reports</p> -
How to create a service call for more then one item
Hi All,
How to create a service call for more then one item. i.e. the service call should be logged for more then one itemAs you noticed this is not possible by design.
Maybe you could have a dummy item for that purpose and register the real items to be handled in a UDT...
HTH -
Set more then 3 values in link
Hello,
i am using oracle 10g apex 3.2.
I created a interactive report,with shows 5 columns in page 1.
Now 2nd column i made it as link.
On clicking that link it goes to page 3.
When i click the link i want to set few items of page 3 with page 1 values.
But in the column link(report attributes) of the interactive report i could see only 3 items can be set.
What to do if i need to set more then 3 values?
For More info on what i am doing---------
Page 3 is having a form whose values i need to fill from page 1.A user need to click the link i.e. col2 on page 1 and then it goes to page 3 and could be able to see some values in the form of page 3 already filled.I want to send total 6 values.
Thanks
SwapnaHi,
Option 1>>>
When you click link on interactive report , send the primary key to page 3 which contains the form.
In page 3 add a on load , before header process which will populate the other items based on the primary key value..
Option 2>>>
You can enter comma separated item names / values in the link tab of interactive report..
eg. Name Field you can P1_ITEM1 , P1_ITEM2 , P1_ITEM3 and in value field you can enter the corresponding values eg.. #field1# , #field2# , #field3#
Regards,
Shijesh
Please reward the answer if was helpful/correct -
How to pass more that 3 items in Column Link
Hi,
I need to pass 4 items as link values from page 1 to page 2 . Under Report Attributes-> Column
Attributes -> Link I cannot set more than 3 items. Can some please advice the best method of passing more than 3 values from page 1 to page 2.
Thanks in advance
AaliHi,
If you report have unique key/primary key, you can just pass that to another page.
Then computation other items before header e.g. selecting by that key.
Br,Jari -
How to insert more than 12 items using BDC for MB1C
Hi,
When we use LSMW for data transfer of MB1C transaction, more than 12 items can be inserted in a document.
But using BDC only 12 and below is possible, if the flat file system has more that 12 item, then the document is not created.
How to insert more than 12 item in a document.
RegardsHi Gow,
I have uploaded the MB1C through a BDC and it is working fine for n no of items.
Here is the code. May be this will be of your help.
*& Report ZMB1C
report ZMB1C
no standard page heading line-size 255.
type-pools : slis.
tables : t100.
data: begin of record,
MATNR(018),
ERFMG(017),
EXBWR(016),
end of record.
data : itab like table of record with header line.
data : w_bdcdata type bdcdata.
data : t_bdcdata type standard table of bdcdata initial size 1.
data : messtab type standard table of bdcmsgcoll with header line.
data : mstring(300).
data : vf_index type i,
no_lines type i,
count type i value 0.
data : v_bldat(20),
v_budat(20).
*Excel Sheet Data Upload Details
data : vf_start_col type i value '1', "start column
vf_start_row type i value '2', "start row
vf_end_col type i value '100', "maximum column
vf_end_row type i value '10000'. "maximum row
*/ Internal Table For Excel Data
data : it_excel type kcde_cells occurs 0 with header line.
*/ Field symbol
field-symbols : <fs>.
data : begin of it_messtab occurs 0,
plant(10) type c,
status(10) type c,
message(90) type c,
end of it_messtab.
*Data for ALV display
data : wa_fcat type slis_fieldcat_alv,
colcnt type i.
data : it_fieldcat type slis_t_fieldcat_alv,
i_events type slis_t_event.
data : l_title type sychar70.
data : l_repid like sy-repid.
* Selction Screen
selection-screen begin of block b1 with frame title text-000.
parameters : p_file like ibipparms-path obligatory,
p_mode like ctu_params-dismode default 'A'.
selection-screen end of block b1.
selection-screen begin of block b2 with frame title text-001.
parameters : p_bldat like MKPF-BLDAT obligatory,
p_budat like MKPF-BUDAT obligatory,
p_bwart like RM07M-BWARTWA obligatory,
p_werks like RM07M-WERKS obligatory,
p_lgort like RM07M-LGORT obligatory.
selection-screen end of block b2.
* At Selction Screen
at selection-screen on value-request for p_file.
call function 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
field_name = ''
IMPORTING
file_name = p_file.
*Start of Selection Event
start-of-selection.
call function 'KCD_EXCEL_OLE_TO_INT_CONVERT'
EXPORTING
filename = p_file
i_begin_col = vf_start_col
i_begin_row = vf_start_row
i_end_col = vf_end_col
i_end_row = vf_end_row
TABLES
intern = it_excel
EXCEPTIONS
inconsistent_parameters = 1
upload_ole = 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.
if it_excel[] is initial.
MESSAGE I000(ZCL_TCSABAP).
else.
sort it_excel by row col.
loop at it_excel.
move : it_excel-col to vf_index.
assign component vf_index of structure itab to <fs>.
move : it_excel-value to <fs>.
at end of row.
append itab.
clear itab.
endat.
endloop.
endif.
if not itab[] is initial.
DESCRIBE TABLE itab LINES no_lines.
clear messtab.
refresh messtab.
CONCATENATE p_bldat+6(2) '.' p_bldat+4(2) '.' p_bldat(4) into v_bldat.
CONCATENATE p_budat+6(2) '.' p_budat+4(2) '.' p_budat(4) into v_budat.
perform map_rec.
call transaction 'MB1C' using t_bdcdata mode p_mode update 'A'
messages into messtab .
clear t_bdcdata.
refresh t_bdcdata.
loop at messtab where msgtyp = 'E' or msgtyp = 'S' .
select single * from t100 where sprsl = messtab-msgspra
and arbgb = messtab-msgid
and msgnr = messtab-msgnr.
if sy-subrc = 0.
mstring = t100-text.
if mstring cs '&1'.
replace '&1' with messtab-msgv1 into mstring.
replace '&2' with messtab-msgv2 into mstring.
replace '&3' with messtab-msgv3 into mstring.
replace '&4' with messtab-msgv4 into mstring.
else.
replace '&' with messtab-msgv1 into mstring.
replace '&' with messtab-msgv2 into mstring.
replace '&' with messtab-msgv3 into mstring.
replace '&' with messtab-msgv4 into mstring.
endif.
condense mstring.
it_messtab-message = mstring(300).
it_messtab-plant = p_werks.
if messtab-msgtyp = 'E'.
it_messtab-status = 'Error'.
else.
it_messtab-status = 'Success'.
endif.
append it_messtab.
clear it_messtab.
endif.
endloop. "messtab
if not it_messtab[] is initial.
perform buildcatalog.
perform display.
endif.
endif.
*& Form Map_Rec
* text
form map_rec.
perform bdc_dynpro using 'SAPMM07M' '0400'.
perform bdc_field using 'BDC_CURSOR'
'RM07M-WVERS3'.
perform bdc_field using 'BDC_OKCODE'
'NPE'.
perform bdc_field using 'MKPF-BLDAT'
v_bldat.
perform bdc_field using 'MKPF-BUDAT'
v_budat.
perform bdc_field using 'RM07M-BWARTWA'
p_bwart.
perform bdc_field using 'RM07M-WERKS'
p_werks.
perform bdc_field using 'RM07M-LGORT'
p_lgort.
perform bdc_field using 'XFULL'
perform bdc_field using 'RM07M-XNAPR'
'X'.
perform bdc_field using 'RM07M-WVERS2'
perform bdc_field using 'RM07M-WVERS3'
'X'.
loop at itab.
count = count + 1.
perform bdc_dynpro using 'SAPMM07M' '0410'.
perform bdc_field using 'BDC_CURSOR'
'MSEG-EXBWR'.
if count <> no_lines.
perform bdc_field using 'BDC_OKCODE'
'=NPE'.
elseif count = no_lines.
perform bdc_field using 'BDC_OKCODE'
'=BU'.
endif.
perform bdc_field using 'MSEG-MATNR'
itab-MATNR.
perform bdc_field using 'MSEG-ERFMG'
itab-ERFMG.
perform bdc_field using 'MSEG-EXBWR'
itab-EXBWR.
endloop. "itab
endform. "Map_Rec
** Form BDC_DYNPRO
form bdc_dynpro using program dynpro.
clear w_bdcdata.
w_bdcdata-program = program.
w_bdcdata-dynpro = dynpro.
w_bdcdata-dynbegin = 'X'.
append w_bdcdata to t_bdcdata.
endform. "bdc_dynpro
** Form BDC_FIELD
form bdc_field using fnam fval.
if fval <> space.
clear w_bdcdata.
w_bdcdata-fnam = fnam.
w_bdcdata-fval = fval.
append w_bdcdata to t_bdcdata.
else.
clear w_bdcdata.
w_bdcdata-fnam = fnam.
w_bdcdata-fval = fval.
append w_bdcdata to t_bdcdata.
endif.
endform. "bdc_field
* FORM buildcatalog *
form buildcatalog.
clear wa_fcat.
clear it_fieldcat.
colcnt = colcnt + 1.
wa_fcat-col_pos = colcnt.
wa_fcat-fieldname = 'PLANT'.
wa_fcat-tabname = it_messtab.
wa_fcat-seltext_l = 'PLANT'.
wa_fcat-key = 'X'.
wa_fcat-outputlen = '10'.
append wa_fcat to it_fieldcat.
clear wa_fcat.
colcnt = colcnt + 1.
wa_fcat-col_pos = colcnt.
wa_fcat-fieldname = 'STATUS'.
wa_fcat-tabname = it_messtab.
wa_fcat-seltext_l = 'STATUS'.
wa_fcat-outputlen = '10'.
append wa_fcat to it_fieldcat.
clear wa_fcat.
colcnt = colcnt + 1.
wa_fcat-col_pos = colcnt.
wa_fcat-fieldname = 'MESSAGE'.
wa_fcat-tabname = it_messtab.
wa_fcat-seltext_l = 'Message'.
wa_fcat-outputlen = '90'.
append wa_fcat to it_fieldcat.
endform. "buildcatalog
* FORM display *
form display.
l_title = text-002.
l_repid = sy-repid.
call function 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = l_repid
i_grid_title = l_title
it_fieldcat = it_fieldcat
it_events = i_events[]
TABLES
t_outtab = it_messtab
EXCEPTIONS
program_error = 1
others = 2.
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
endform. "display
Regards,
Amit -
Issuing more then one item in free goods
Hi SD gurus,
My client is asking to issue more then two items as free goods along the main item. Example material A is sold along with material B and C as free goods.As far as my trails, I'm able to configure only one item as free goods but not the second one. Can any one suggest to configure the above scenario?Hi Ravi krishna,
Free goods can only be supported on a 1:1 ratio. This means that an order item can lead to a free goods item. if you want to give free goods X & Y for material A, then you need to enter material Y in order, simply change the item category as TANN.
As of my knowledge there is no alternative to it.
these are the constraints for free goods:
Free goods are not supported in combinations with material structures (for example, product selection, BOM, variants with BOM explosion).
Free goods are only supported for sales orders with document category C (for example, not quotations).
Free goods are not supported for deliveries without reference to a sales order.
regards
Sunil -
Can't concatonate more than three items in a portal select statement ?
I'm running a Report from SQL query
as Far as I can tell you can't do;
select 'blah1'||name||'blah3'||'blah3'
from scott.emp
as soon as you put in a 4th item it fails.
It also fails using select concat (,)
I'm trying to run a report which selects a web address stored in a database table ie. http://www.yahoo.com and wrap it in html tags so it will appear as a link.
I've got to do it with more than three items because the only way to display the < in <ahref is to quote it seperately.
ie
'< '||'ahref='||ADDRESS FROM DATABASE||etc.etc.
anyone any ideas?
should i do it another way?Let me explain a bit further.
If I want to display;
www.yahoo.com as a link I need add the html tags
Yahoo
www.yahoo.com is an entry in a database.
I want to select the entry www.yahoo.com from the database and concatonate it with the html tags.
ideally;
select 'Visit
This does not work
To concatonate characters like > in a select statement within portal you need to concat. seperately;
select '< '||'a href="'||ADDRESS FROM DATABASE||'"> '||'Visit< '||'/a> '
This does not work as you can't concat more than three items.
Could I write a trigger to add in the html tags to the data stored in the database, when data is entered via a portal form?
Again my problem is In need to add text to the start and end of the data being stored ie.
user enters www.yahoo.com in a form
a trigger or two converts that into;
Visit -
How to call more then one Function modules at the same time
HI ,
How to call more then one FM at the same time .
Modertor Message: Interview-type Questions are not allowed.
Edited by: kishan P on Jan 2, 2012 2:22 PMThey are a few different models of the MacBook Pro ranging from 15.4" i7's to 17" i7's. I would use the same models together though when imaging them just like I do with PC's. For example I would Ghost 5 Lenovo T420 Thinkpads at the same time which all share the same exact specs and config. Looking to do the same with the MBP. I have .dmg image of OSX 10.8.1 on a firewire drive which I'm using. I image all my MBP's with this drive, the only downside is I have to do each MBP one at a time.
Thanks -
How to handle more then one transaction in bdc
how to handle more then one transaction in bdc
Hi vinod,
Call one BDC after the another, Like if u want to create a sales order and then correspondingly display it as well, u can capture the sales order created afer ur first BDC theu the messages mostly in SYMSGV1 and using this u can do a call txn skip first screne of VA03.
If u are talking about session, get 2 session names and move them to different sessions or if both txn are dependant on each other, move it one after the other thru call txn. It is the same, howmany ever trx u wabnt to post thru BDC.
Award points if this helps. -
Can it possible for more then 2 days statistical records with Terminal ID
Hi
By using ST03N we get 1 month statistical records but we can't find the Terminal-IT. But When we use STAD we get last 2 days information with Terminal ID only
So can it possible for more then 2 days statistical records with Terminal ID by STAD.
Any setting / and background job / any other options. Pls suggest.
Thanks and Advance.
Tapovardhan Singh
Edited by: Tapovardhan Singh on May 24, 2008 11:01 AMHi Tapovardhan,
How can I access statistical records?
Using transaction STAD you can access the statistics files and display the statistical records. Here is a screenshot of the start screen of STAD.
*In Business Transaction Analysis -> In Read Interval ->
Specify the Date and Time (you want to retrieve).*
Statistical Records Part 4: How to read ST03N datasets from DB in NW2004
/people/andreas.vogel/blog/2007/04/08/statistical-records-part-4-how-to-read-st03n-datasets-from-db-in-nw2004
Statistical Records Part 1: Inside STAD
/people/andreas.vogel/blog/2007/01/12/statistical-records-part-1-inside-stad
Reward points if this helps
Regards
Pragathi. -
How to set multiple operating units in before report trigger
hi all
can any one help me out in getting clear in how to set multiple operating units in before report trigger in oracle report.
as we set single operating unit (mo_global.set_policy.context('S',81); as 81 is my operating unit).then who to set for multiple operating unit at run time.Sounds like eBusiness Suite, right? Better ask this in the appropriate forum.
-
How to set default print orientation in oracle reports 6i?
Can anyone please help how to set default print orientation of Oracle Reports 6i? Currently document is printed in Portrait orientation, but I need to print it in Landscape orientation. Is this possible?
It is solved now. Go to Layout Model -> Main Section, Press F4. In the property pallet select the Orientation that is required to be selected when print is taken for that report.
-
How to set different header for different Standard report page
How to set different header for different Standard report page
Hi,
A easy answer would be use the 'set report header text.vi' but maybe you are talking about something else ? -
How to set different color for items in selectManyCheckbox
hi,
I would like to change item text background color for each item on selectManyCheckbox (different for each item).
It is only 5 items so that could be static reference or select.
I know only how to change background for all items
af|selectManyCheckbox::item-text {
background:orange;
How to select concrete item text and change color for only them?
I found similar problem:
css - Set background color of every individual checkbox of p:selectManyCheckbox - Stack Overflow
but this dont work for me because I dont have in adf tr structure
I need somethink like this:
af|selectManyCheckbox::item-text XXXX - select here one of the item by number on list or id {
background:orange;hi,
thanks Alejandro and Federico for answers.
I use JDev 11.1.1.6. I dont write it in previously post because I think that is a more css then adf problem.
I have 5 selectItem based on simple List<String> {"text1", "text2", "text3", "text4". "text5"}:
<af:selectManyCheckbox label="List" id="smc2"
layout="horizontal"
value="#{bean.listInBean}"
autoSubmit="true">
<af:selectItem label="text1" value="text1" id="si47"/>
<af:selectItem label="text2" value="text2" id="si43"/>
<af:selectItem label="text3" value="text3" id="si46"/>
<af:selectItem label="text4" value="text4" id="si45"/>
<af:selectItem label="text5" value="text5" id="si44"/>
</af:selectManyCheckbox>
and I would like to color first selectItem text to orange, second to red.. etc, The list is a static list. Not would be changed.
After Alejandro answer I build simple for each element (anyCollection contains item with two fields: textValue and label {(text1,text1), (text2,text2)...}
<af:forEach items="#{bean.anyCollection}"
var="item">
<af:selectItem id="si48" value="#{item.textValue}" styleClass="yourClassName#{var.index}"
label="#{item.label}"/>
</af:forEach>
And now if I have my var called "item" I can write 5 css style classe yourClassName#{var.index} with different color, but there is a problem:
Attribute styleClass is not defined for af:selectItem
If it will be so simple I will just add 5 style classes for each selectItem
<af:selectItem label="text1" value="text1" id="si47" styleClass="yourClassName0"/>
<af:selectItem label="text2" value="text2" id="si43" styleClass="yourClassName1"/>
Should I use other component then adf facer rich?
Maybe you are looking for
-
My husband has a iphone 4 8Gb, now i have one to. We want to manage our calendar with icloud. We use the apple id that my husband made, but i want to play in the game center with my one name and games. How can i do that?
-
Adobe Acrobat 9 Pro Installation Problem
Hi, I just bought Adobe Acrobat 9 Pro. Cannot install it as I get a message that my serial # is for an upgrade version only of Adobe Acrobat Pro. I also have Adobe Reader 9 in my computer. What is the most economical way to install it without payi
-
Running Workflow step in Background & code inside doing Foreground proceing
Hi all, I am extracting an attachment (file) from DMS (document management services: txn: CV02N) to the presentation server in Background Mode. Again my Function Module is uploading the file in the forground Mode and at this point workflow is giving
-
Some contraints are not displayed in modeler
Hello, I imported a set of tables into the modeler that is in Jdeveloper. There are some foreign key constraints that are not being displayed with a line although the constraint is there if I look at the table's properties.
-
Lenovo vibe x unfortunately, contact manager has stopped
Today after update this message appear "unfortunately, contact manager has stopped" WHY ?????