Adding Parameter Field
Post Author: scd07
CA Forum: Formula
Hi, I'm trying to add my "first ever" paramter field. I want to add Customer ID so users can select the appropriate Customer ID. If I add a static parameter, and insert into the report without selecting anything else, I can manually type in any Customer ID and it will come up. However, if I try to "Append all database values" to create a drop-down, I only get the first 1/3 of our customers. Is this a limitation in the number of values? I wanted to be able to allow users to select multiple customers, and the drop down would make it much easier than having to look up Customer IDs.
Any and all help is GREATLY appreciated! Thanks,
SCD07
Post Author: SKodidine
CA Forum: Formula
see this kbase article:
http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=c2006602&sliceId=&dialogID=596571&stateId=1%200%20598247
Similar Messages
-
Error while adding Parameter Field to CrossTab report in CR 2008
Hello Experts,
I'm getting an error - "Not supported" while I'm trying to add a paremeter to the Crosstab report. It is a simple report with no further complications.
Is there any special way to add a parameter field to Crosstab? Any help appreciated.
TIA
arjunHi,
What version of Crystal Report are you using?
Kindly refer SAP Note 1376117 & 1454192 and verify if you are on the approriate patch.
Regards,
Nakul -
Adding f4-help to selection screen parameter field
Hi all.
I need to add search help to a parameter field on selection screen:
PARAMETERS:
p_reciv LIKE soos7-recnam.
What is the easiest way?
tia, regardsYou can give F4 help by two ways:
1. Using internal table
2. Refering db table field.
Following are e.gs:
F4 help using internal table example:
DATA: BEGIN OF LI_FABGRP OCCURS 0,
FABGRP LIKE ZAPO_FABGRP-FABGRP,
BEGDA LIKE ZAPO_FABGRP-BEGDA,
END OF LI_FABGRP.
DATA : T_RETURN TYPE STANDARD TABLE OF DDSHRETVAL WITH HEADER LINE,
L_RETFIELD TYPE DFIES-FIELDNAME.
parameters : S_FABGR like ZAPO_FABGRP-FABGRP.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_FABGR.
SELECT FABGRP BEGDA FROM ZAPO_FABGRP INTO table LI_FABGRP.
SORT LI_FABGRP BY FABGRP ASCENDING BEGDA DESCENDING.
Henter de mulige fabriksgrupper med nyeste BEGDA *indenfor hver
DELETE ADJACENT DUPLICATES FROM LI_FABGRP COMPARING FABGRP.
L_RETFIELD = 'FABGRP'.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = L_RETFIELD
DYNPPROG = SY-REPID
DYNPNR = '1000'
DYNPROFIELD = 'S_FABGR'
VALUE_ORG = 'S'
MULTIPLE_CHOICE = ' '
TABLES
VALUE_TAB = LI_FABGRP
RETURN_TAB = T_RETURN
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3.
F4 help using field example:
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_FABGR.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
tabname = mara
fieldname = matnr
SEARCHHELP = ' '
SHLPPARAM = ' '
DYNPPROG = ' '
DYNPNR = ' '
DYNPROFIELD = ' '
STEPL = 0
VALUE = ' '
MULTIPLE_CHOICE = ' '
DISPLAY = ' '
SUPPRESS_RECORDLIST = ' '
CALLBACK_PROGRAM = ' '
CALLBACK_FORM = ' '
SELECTION_SCREEN = ' '
IMPORTING
USER_RESET =
TABLES
RETURN_TAB =
EXCEPTIONS
FIELD_NOT_FOUND = 1
NO_HELP_FOR_FIELD = 2
INCONSISTENT_HELP = 3
NO_VALUES_FOUND = 4
OTHERS = 5
Select-options: s_rcode FOR g_grund . "Reason code
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_rcode-low.
Validation for Reasoncode
PERFORM sub_get_F4_rcodehelp .
FORM sub_get_f4_rcodehelp .
STRUCTURES Declarations
TYPES: BEGIN OF ty_rcode ,
grund TYPE mb_grbew,
grtxt TYPE grtxt,
END OF ty_rcode.
*Internal Table declaration
DATA : li_rcode TYPE STANDARD TABLE OF ty_rcode WITH HEADER LINE.
SELECT grund grtxt
INTO TABLE li_rcode
FROM t157e
WHERE spras = sy-langu .
*Help functions for external use
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'fieldname'
dynpprog = 'programname
dynpnr = '1000'
dynprofield = 'S_PCODE'
value_org = 'S'
TABLES
value_tab = li_rcode
EXCEPTIONS
parameter_error = 1
no_values_found = 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.
ENDFORM. " sub_get_F4_rcodehelp -
Passing a value to a Parameter Field From a VB Form
Post Author: as1971
CA Forum: General
Hello everyone
I'm using Visual Basic 6.0 and Crystal Report 9.0
I built a report using Crystal Report and named it Player_Statement.rpt. I then included it to my VB project and named it Player_Statement.Dsr
In this report I have a Parameter Field called P_Player_ID which I'm using in Record Selection Formula.
I'm using the following code to pass a value to the parameter:
Dim Report As CRAXDRT.ReportSet Report = New Player_StatementReport.ParameterFields.GetItemByName("P_Player_ID").AddCurrentValue CLng(cmbPlayerNB.BoundText)
When I execute the application I get the error message "The value or range you are adding has already existed" at the last line of code (Where I'm assigning the parameter a value)
Could anybody help me pleasePost Author: VinoTinto
CA Forum: General
Dim Report As CRAXDRT.ReportSet Report = New Player_StatementReport.GetItemByName("P_Player_ID").ClearCurrentValueAndRange Report.ParameterFields.GetItemByName("P_Player_ID").AddCurrentValue = CLng(cmbPlayerNB.Boundtext) -
Adding a field to an sql statement in Oracle Reports error ORA-00933
We have been requested to add a field that already exists in the table referred to by the sql statement in Oracle Reports Builder. The report was set up by a consultant about 3 yrs ago and we don't really have much skill in this area. What is happening when I try to modify the SQL statement, either adding a field or deleting a field to the SELECT statement, causes an error message preventing the statement from being saved. The only way out of the error message is to click Cancel. The error message is
ORA-00933:SQL command not properly ended
ORDER BY Program ==> NAME
Even adding or deleting a space anywhere in the SQL statement causes the error (not adding any new fields). A coworker found that if we comment out the ORDER BY, the statement will accept the new field in the SELECT section, however then we lose the order by functionality. I would like to add one additional field before the FROM. Not sure if any additional data are needed. Thank you.
SELECT p.person_uid PIDM_KEY, p.id_number ID,
p.full_name_lfmi name,
p.BIRTH_DATE, p.GENDER Sex,
Decode(a.residency,'D',p.Primary_ethnicity,'F') Ethn,
a.academic_period TERM,
CASE WHEN :p_group_by = 'PROGRAM' THEN a.program
ELSE ' '
END AS Program,
a.COLLEGE, a.degree, a.major, ' ' rule,
a.STUDENT_POPULATION,a.STUDENT_LEVEL, a.application_status Status, a.application_status_date app_sts_dte,
ad.decision_date1 Last_Dec_Date,
ad.decision1||' '||ad.decision2||' '|| ad.decision3||' '|| ad.decision4||' '|| ad.decision5 Decisions,
/* Deposit Date uses the last term entered in :p_term parameter string */
(SELECT MAX(deposit_effective_date) FROM usf_as_deposit WHERE account_uid = a.person_uid &term_clause group by account_uid) AS "DEPOSIT DATE",
ph.phone as PHONE,
CASE WHEN PS.FIRST_CONTACT IN ('NET','PAP','COM','COP') THEN PS.First_Contact
ELSE CASE WHEN ps.latest_contact IN ('NET','PAP','COM','COP') THEN PS.Latest_Contact
ELSE ' '
END
END AS FIRST_CONTACT,
DECODE(:p_address,'Y',REPLACE(adr.street1||' '||adr.street2||' '||adr.street3||' '||adr.city||','||adr.state||' '||adr.nation||' '||adr.zip,' ',' '),' ') as address, adr.nation, adr.state,
goremal_email_address email, a.residency, a.application_date, p.primary_ethnicity, c.cohort
FROM MST_ADMISSIONS_APPLICATION A,
MST_PERSON p,mst_pre_student PS, Admissions_Cohort c, usf_v_phone_pr_ma ph,
MST_admissions_decision_slot AD, usf_v_email, usf_v_address_dr_lr_ma_pr adr
WHERE a.PERSON_UID = p.person_uid
AND a.curriculum_priority = 1
AND a.person_uid = ps.person_uid
AND a.person_uid = ad.person_Uid(+)
AND a.person_uid = goremal_pidm(+)
AND a.person_uid = adr.pidm(+)
AND a.person_uid = ph.pidm(+)
AND ph.rnum(+) = 1
AND a.person_uid = c.person_uid(+)
AND a.academic_period = c.academic_period(+)
&Where_Clause
/* TAKE OUT FOLLOWING LINE AFTER DATA IS CLEANED UP */
AND NOT(p.id_number = '00000000' OR SUBSTR(p.id_number,1,1) = 'B' OR UPPER(p.full_name_lfmi) LIKE '%TESTING%')
AND a.application_status_date >= NVL(:p_as_of_date,sysdate-8000)
AND a.academic_period = ad.academic_period(+)
AND a.application_number = ad.application_number(+)
AND a.degree <> 'ND' /* AND a.college <> 'LW' -- Does not need non-degree and law students */
&Cohort_Clause
ORDER BY Program &ORDER_CLAUSEHi Denis,
I tried your suggestion. The good thing is that adding the comma allowed me to be able to add a.campus to the select statement, unfortunately, another error message happened.
ORA-00936: missing expression SELECT p . person_uid PIDM_KEY ,
p . id_number , p . full_name_lfmi name , p . BIRTH_DATE , p . GENDER Sex ,
Decode ( a . residency , 'D' , p . Primary_Ethnicity , 'F' ) Ethn , a . academic_period TERM ,
CASE WHEN : P_group_by = 'PROGRAM THEN a I started over and tried only putting in the comma and get the same message even though I didn't add campus. After that, removed the comma which led to the ORA-00933 error message. So once again, I had to close the file without saving, in order for the report to run at all. -
Work Manager 6.1: Adding custom field for notification creation
Hi,
I already added new fields in the past, and also in WM6.1 for fetch BAPIs, but now I'm trying to do it for the NotificationAdd Transaction and I'm not able to make it work. I guess I forgot some step but I don't know which, so I will describe what I did:
Agentry:
Added new field to the Notification object
Added new field to the NotificationAdd Transaction
Added new field to the NotificationAdd Detail Screen
Java:
Created class Notification.java extending com.syclo.sap.component.lam.notification.object.Notification
Added new field to the new Notifciation class
Copied constructors calling super method.
Override method setProperties(User u, NotificationPostBAPI bapi). Now is calling the super method and afterwards setting the new field. Here is where I have the error when I debug, the u.getString("transaction.Z_NewField")) i returning an empty string because it's not finding the value when reading from the transaction.
Created class NotificaitonPostBAPI extending from com.syclo.sap.component.lam.notification.bapi.NotificationPostBAPI.Override method setHeaderParameters to set the value in the ABAP structure for the new field after calling the super method.
Configuration Portal:
Changed global parameter to assign the customer NotificationPostBAPI class
Created global parameter to assign a BAPI wrapper to the new customer NotificationPostBAPI class
Change the global parameter to assign the class for Notification object in order to use the new customer class
Do you know why during the setProperties method created in Java, Step1 the transaction value for the Z field is empty? It seems I'm forgetting something quite simple here.
Thanks in advance.Hi,
May be the setter and getter methods, the value from transaction is not captured in the properties
public void setProperties(User u, NotificationPostBAPI bapi)
throws Exception
setABC(u.getString("transaction.notification.ABC"));
public String getABC()
return this.ABC;
public void setABC(String ABC)
this.ABC= ABC;
Regards,
Sravanthi -
Adding New Field and Passing Values Between Screens
In the Oracle Projects Create Project screen, I've been asked to add a new LOV for Organization (LOV copied from a subsequent page) - and then pass the selected value to the next page and default in the value based on the selection on the first page.
I understand I'll be modifying the first page's XML to add the new LOV, but how can I get the second page to recognize the value selected on the first page? Do I need to pass this as a parameter?
Thanks in advance for your help!Thanks - I understand that the CO should not be extended, and other posts in this forum mention that the AM should not be extended either.
What is the recommended extension path in a scenario like the one I describe above (adding a field to a seeded page and trying to pass it to the second page)?
Sorry for all the questions - I couldn't find this scenario described elsewhere in the forums! -
Adding Custom Field to Shopping Cart and PO, Classic Scenario
We are running SRM 7.0 with ECC 6.0 as the backend and using the Classic scenario. I want to add a custom field to the shopping cart and have the data transfer over to a custom field (of the same name) on the purchase order to the ECC side. I have already added the field to the shopping cart and have the data saving successfully there on the SRM side. What I am having trouble with is getting the data from the custom field to go over to ECC on the purchase order.
I have extended the Shopping Cart and Purchase Order item structures through configuration on SRM. This has added the fields to the INCL_EEW_PD_ITEM_CSF_SC and INCL_EEW_PD_ITEM_CSF_PO structures, as described in note 672960 (do i need to extend the PO structure on SRM if using the Classic scenario?). I have also extended the CI_EKPODB and CI_EKPODBX structures on ECC as described in note 458591. So the placeholders are there.
I feel like there must be something I am missing. The OSS note 458591 suggests that just adding the fields to the needed structures will cause the data to transfer, but this does not appear to be the case.
I have an implementation of BBP_CREATE_BE_PO_NEW that I can use, but do not see where to add the data in the output parameters of that BADI. Is there a BADI I need to implement on the ECC side?
Any help in this issue would be greatly appreciated.Dug around a little bit more and stumbled onto this article which solved it for me: [How to transfer custom fields from SRM to ECC|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20b36c12-685f-2c10-4fb4-ba2e0b969c27?quicklink=index&overridelayout=true]
In BADI BBP_CREATE_BE_PO_NEW I had to add some code to fill in the CS_PO1_DOCUMENT-EXTENSIONIN parameter table with the structure for the BAPI_TE_MEPOITEM structure on the ECC side. The tricky part is creating a string representation of that structure with the correct offset. And it isn't as easy as just counting up the number of characters in SE12. For example, looking at my BAPI_TE_MEPOITEM structure in SE12, my custom field appears to start on character 157, but in reality, I had to offset the writing of my value to character 143. I guess it depends on what types are in there.
But once that gets figured out, it works well. As long as the custom field is added correctly to the CI_EKPODB append structure (which is appended to BAPI_TE_MEPOITEM), the data gets tranferred over in the ExtensionIn table, and SAP automatically knows what to do with the data as long as you have everything in ExtensionIn aligned correctly.
Thanks for the help everyone! -
Adding a field to a form based on a table
Hi
I am unable to make the following scenario work.
I have a form which is called from a report. The report passes in an ID parameter. This form field then displays the text associated with this ID because it has a LOV attached to it.
However, the user is able to select other values from the LOV, which then renders the form useless.
Is there a way of:
- disabling the LOV?
- adding a separate text field to the form where I can display the value I want with no LOV?
ThanksAs part of my attempts to make this work, I added a field to a form, with the intention of passing a value into it using the link to the form. But the field does not appear in the list of parameters available to the link.
why is that? -
1. I am using the Crystal Reports XI IDE and I have created a report with a subreport that reads an Access database. I have added a record selector from the Selector Expert for a Survey Number. When I hard code a number into the expert and run the report it works fine. When I want to use a parameter field {?Survey Number} that is where my problems start. The dialog box doesn't look right as soon as it opens, instead of the OK and Cancel buttons I get: XOKX XCancelX. Then as soon as I enter a character in the text box I get this error: "A Runtime Error has occurred. Do you wish to debug? Line: 30 Error: Object expected
Do a Repair instlal of Crystal
-
Added new field to cube but data not passed from DSO
Hope someone can help.
(BI 7.0) We added new fields into a cube. The fields already existed in the DSO. When we ran the process chain in development for the first time after making this change, we notice that the 'historical' data for these fields is populated in the cube. When we do this in our quality system only new data passed to the cube is updated. In development in the sub-chain DTP request we see all previous requests listed under selections. In quality it is only the latest request. The only difference is that the DeltaInit flag in the DTP request in development is ticked (extraction mode) - but not in quality. Does anyone know whyb this is?hi peter,
Adding fields to cube doesn't affect delta status...The delta DTP should be able to handle delta requests automatically.
I guess in you quality system, the cube already got all requests updated from ODS before you importing the change request. And in develop system none of the requests in ODS were updated before the change.
Regards,
Frank -
Adding new field to data source -can not see them
Experts,
I have added 4 fields to the data source 0FI_AA_11 .
I can able to see these fields in the append structure or in RSA2,but i can not able to see in RSA6.I reactivated append structure ,still i can not see these fields in RSA6.
Please advice me how can i see them in RSA6.Hi Manoj,
Have a look, similar post:
Re: not able to see new fields in datasource
Hope it Helps
Srini -
Added new field to ALV but not displaying the ouput
Hi guys,
I'm adding one more column to be displayed on an old existing program that uses REUSE_ALV_FIELDCATALOG_MERGE to generate the ALV fieldcat.
DATA : BEGIN OF itab OCCURS 0,
matnr LIKE eina-matnr,
extwg LIKE mara-extw,
matkl LIKE mara-matkl,
mtart LIKE mara-mtart,
maktx LIKE makt-maktx,
lifnr LIKE eina-lifnr,
wglif LIKE eina-wglif,
<span style="color:red">idnlf like eina-idnlf, " <----
new field</span>
name1 LIKE lfa1-name1,
profl LIKE mara-profl,
END OF itab.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = sy-cprog
i_internal_tabname = 'ITAB'
i_client_never_display = ''
i_inclname = sy-cprog
i_bypassing_buffer = 'X'
CHANGING
ct_fieldcat = t_cat
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
I've added in a new field inside the ITAB internal table, but it wouldn't appear in the t_cat, only all the old fields will appear. What have i done wrong?Hi
Facing similar kind of issue.. added one field to the existing internal table. This is not getting populted by the field catalog merge FM. Tried with the suggested solution also of running programs BALVBUFDEL,
BCALV_BUFFER_DEL_SHARED then logging off and logging in..
But the newly added field is not getting populated. Any suggestions would be of great help.
Regards,
sridevi S -
Adding new field to Remote Cube
Hello,
We have an existing remote cube that we are trying to add a new field to in 7.0. I've already added the field to the datasource, unhidden it, and tested it in RSA3. Now i'm trying to bring it into BW and add it to the remote cube. I right clicked on the source system under the data target and chose Replicate Metadata however the new field does not show up anywhere. What am i doing wrong? Does a remote cube work differently? How do i get my new field over from R3?
Regards,
TMSThat's the problem. The R3 field does not show up in the datasource in BW so it can be moved over to the transfer structure. As you know when you replicate metadata, the new datasource fields appear and can be mapped into the transfer structure. That is not the case for this remote cube. The new field is not there.
-
Adding new field to Customer master sales data area sales tab
Hello everyone,
I am new to module pool so seeking some help from experts here.
I have a requirement were in I have to add a new field to the customer master (VB02) sales area data sales tab.
I found that there is no screen exit.Is there any other way of doing it?
could you please provide me with a step by step procedure of doing it.
With Regards,
Karishma.Hi,
How did you look for screen exit? Have you also tried it in BADI? 'Coz normally, adding custom fields to a standard screen has to be implemented in exits.
I haven't worked with VB* screens yet so I can not give you a some possible exits. But you can do some debugging. I think there's an available code in the net that searches for exits/screen exit (ask Mr.Google). You can also ask him how to search BADI in debugging mode. I remember it's TCode SE24 then look for cl_exithandler class, get_instance method. Then look for exit_name variable.
Hope this helps.
Maybe you are looking for
-
I have the new iTunes and it has gone completely haywire in the past few days. Previously it was not responding to my keyboard at all, not even typing in the search bar and now it will not connect to iTunes Store stating different error messages, the
-
What exists to do an application auto-update
I begin to construct a application and dont wanna send to clients that they have to do himselfs a update of software. I wanna that my application connect in someware and update in automatic mode. What tecnologs, projects or codes exists to help do it
-
Trying to invoke Apache SOAP 2.3.1 RPC services
I have several legacy apache SOAP 2.3.1 RPC services I am trying to invoke using a synchronous BPEL process. The services are invoked (confirmed by tailing the log on the machine hosting the service) , however, the return value is null in all cases.
-
Problem with EMDP0001 customer field es60
Hi everybody. I added a new field (ci_evbs) in the t-code es60 using EMDP0001. The new field is showed in the t-code. the problem is that the data is not saved in the field, either in the table. my new fied is called "zzpsumintxt01" I have filled th
-
Looking at Softwares, Can someone answer some quesitons about Captivate?
Hey all, I am looking at training software for a pretty big project and wanded to check with those who actually use it to see if Captivate would fit my needs as wel as what I found using the website: Is the UI Developer friendly? Does it have Multime