Form Personalization - Validation for an existing field value can be done?
Dear All,
I have a requirement to have a validation on a form value based on its current value.
The field should be editable as well it should check its current value with the newly eneterd value, which should not be less than the originally displayed value.
Can I do this through Form Personalization..?
If Yes how can I do that..? Please update...
Many thanks.....
Hi,
Please see if the examples under the "Validation" section in (Note: 744065.1 - Sample CUSTOM Library Code To Customize Applications) helps.
Not sure if this can be implemented using personalization, but you may review the documents and see if it helps.
Note: 279034.1 - Information About the Oracle Applications Form Personalization Feature in 11i
Note: 468657.1 - How To Do Forms Personalization
Note: 395117.1 - Form Personalizations in Oracle E-Business Suite (Release 12)
Thanks,
Hussein
Similar Messages
-
Display a message in a For Loop with field value
Hello All,
pls,i wanna display a message in a For Loop with field value the code is:
FOR Q1 IN GET_SUM_EXP_QUANTITY LOOP .
INSERT INTO PLN_PLAN_DISTRIBUTION_WAY
(FIN_YEAR_CODE , MONTH_CODE , MATERIAL_CODE , DISTRIBUTION_WAY , EXPECTED_QUANTITY , GROUP_CODE)
VALUES (:PLN_PLAN.FIN_YEAR_CODE , TO_CHAR(V_FROM_DATE,'MM') , Q1.MATERIAL_CODE , 1 , V_MONTHLY_QTY , Q1.GROUP_CODE);
MESSAGE(':PLN_PLAN.FIN_YEAR_CODE'||:PLN_PLAN.FIN_YEAR_CODE ||' '||'V_FROM_DATE = '||TO_CHAR(V_FROM_DATE,'MM'), 'Q1.MATERIAL_CODE'||' '|| Q1.MATERIAL_CODE||' '||'DISTRIBUTION_WAY'||' = 1'||'EXPECTED_QUANTITY'||' = '|| V_MONTHLY_QTY||'GROUP_CODE'|| ' '|| Q1.GROUP_CODE);
FORMS_DDL('COMMIT');
How 2 display a message with the value:
Q1.MATERIAL_CODE
Q1.GROUP_CODE
message(Q1.MATERIAL_CODE)
gave me numeric or value error on run time when pressed on button
Regards,
Abdetu..Thanks 4 reply..
again they r in a For Loop as mentioned above...
INSERT INTO PLN_PLAN_DISTRIBUTION_WAY
(FIN_YEAR_CODE , MONTH_CODE , MATERIAL_CODE , DISTRIBUTION_WAY , EXPECTED_QUANTITY , GROUP_CODE)
VALUES (:PLN_PLAN.FIN_YEAR_CODE , V_REPAIR_MONTH , Q1.MATERIAL_CODE , 1 , V_REPAIR_Qty , Q1.GROUP_CODE);
FORMS_DDL('COMMIT');
The fields in bold r required to be displayed for testing puposes..
this gives me numeric or value error in runtime..
Best regards,
Abdetu.. -
I live in Colombia, my apple ID and iTunes account are set in Colombia, but each time I try to register my Colombian credit card it tells me my credit card is not valid for the store. How can I fix this?
credit card it tells me my credit card is not valid for the store.
Hi Don ...
"Although you can browse the iTunes Store in any country without being signed in, you can only purchase content from the iTunes Store for your own country. This is enforced via the billing address associated with your credit card or other payment method that you use with the iTunes Store, rather than your actual geographic location."
From here > The Complete Guide to Using the iTunes Store | iLounge Article
The iTunes and Mac App Store are one in the same.
And check out this support article here > iTunes Store: My credit card's security code or zip code does not match my bank's records -
can somebody tell me what to do with my iMessage in Ipad 2? before i can send message tru iMessage from my contacts who is having the same applications, for the existing one, i can send message but if i want to send message from a new contact, its not working....
Please Rephrase your query.
-
i am trying to set up iTunes match on my apple tv, but it just keeps showing that it is loading, it has been running for over an hour, what can be done here, it has gone with no problem on my iPhone, iPad but not the tv
Same here and this is driving me crazy. I can buy, but can't upgrade. Grrr.
-
I Can't able to download IOS 7. I n my software update it is giving an error " Unable to check for updates. An error occured while checking for software update". What can be done for this error?
Me too having the same thing what's the solution for this how can I update
-
NULL value not validated for a Required field
Hi,
I have added a MessageLovInput item to the expense header page (/oracle/apps/ap/oie/entry/header/webui/GeneralInformationPG), and have made the Required Value to True. But I do not get any error when I navigate to the next page without populating the field. If I enter in incorrect information, it validates it against the LOV, but not for null values.
Any pointers to make the field validate NULL values?
Thanks,
AshishYeah.. I can see the Required field indicator (*) next to the field. I have tried with all the values (uiOnly, ValidatorOnly, Yes etc.), but it does not validate NULL values.
I'll try to handle this in the controller, but would prefer if this can be done by personalization.
Ashish -
F4 HELP FOR ONLY SELECTED FIELD VALUES
Hi,
I have to display the F4 help for the selection screen field parameter. From the ICON table, I need to display the field ID values. In the ICON table, I have lot of field values for the field ID, but I need to display only 3 field values into F4 help.(like say @07@, @08@, @0A@ only at the F4 help).
Thanks in advance.
Regards
Ramesh mavilla.Hi,
See the follwoing code example
REFRESH: I_DYNPREAD .
CLEAR : I_DYNPREAD .
I_DYNPREAD-FIELDNAME = 'P_KAPPL'.
APPEND I_DYNPREAD.
CLEAR I_DYNPREAD.
L_REPID = SY-REPID .
L_DYNNR = '1000' .
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
DYNAME = L_REPID
DYNUMB = L_DYNNR
TABLES
DYNPFIELDS = I_DYNPREAD.
IF SY-SUBRC EQ 0.
READ TABLE I_DYNPREAD INDEX 1.
P_KAPPL = I_DYNPREAD-FIELDVALUE.
ENDIF.
REFRESH: I_DYNPREAD .
CLEAR : I_DYNPREAD .
REFRESH: I_KSCHL.
TRANSLATE P_KAPPL TO UPPER CASE.
TRANSLATE P_KVEWE TO UPPER CASE.
SELECT KAPPL KVEWE KSCHL VTEXT FROM T685T
INTO CORRESPONDING FIELDS OF TABLE I_KSCHL
WHERE KAPPL = P_KAPPL
AND KVEWE = P_KVEWE
AND SPRAS = 'EN'.
IF SY-SUBRC <> 0.
MESSAGE E001(ZZ) WITH 'No Condition Type exist for Application'.
*p_kappl ' and Usage' p_kvewe.
ELSE.
REFRESH: I_FIELDS.
I_FIELDS-TABNAME = 'T685T'.
I_FIELDS-FIELDNAME = 'KAPPL'.
I_FIELDS-SELECTFLAG = ''.
APPEND I_FIELDS.
I_FIELDS-TABNAME = 'T685T'.
I_FIELDS-FIELDNAME = 'KVEWE'.
I_FIELDS-SELECTFLAG = ''.
APPEND I_FIELDS.
I_FIELDS-TABNAME = 'T685T'.
I_FIELDS-FIELDNAME = 'KSCHL'.
I_FIELDS-SELECTFLAG = 'X'.
APPEND I_FIELDS.
I_FIELDS-TABNAME = 'T685T'.
I_FIELDS-FIELDNAME = 'VTEXT'.
I_FIELDS-SELECTFLAG = ' '.
APPEND I_FIELDS.
CLEAR: V_SEL.
CALL FUNCTION 'HELP_VALUES_GET_NO_DD_NAME'
EXPORTING
CUCOL = 0
CUROW = 0
DISPLAY = ' '
SELECTFIELD = 'KSCHL'
TITEL = 'Cond Type'
IMPORTING
IND =
SELECT_VALUE = V_SEL
TABLES
FIELDS = I_FIELDS
FULL_TABLE = I_KSCHL
IF SY-SUBRC = 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF. "SY-SUBRC.
And also go throw the link which it clears more about F4
Check the link below for creating collective search help
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee86446011d189700000e8322d00/content.htm
Check the ink below for creating elementary search help
http://help.sap.com/saphelp_erp2005/helpdata/en/cf/21ee5f446011d189700000e8322d00/content.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/3d/e53642e2a3ab04e10000000a1550b0/content.htm
<b>Reward with points if helpful.</b>
Regards,
Vijay -
Hi,
I am working on an in terface for upload of data in journal ledger(FB50)
Actually i need to validate a field which has been included in transaction FB50 as an enhancement based on customer need .
a function module was created as suggested in note 487722 earlier but now we require to validate that field(transaction type) as i am using this BAPI in an interface for journal ledger posting FB50 for data validation of the file data.
this field has been populated as a part of the extension parameter in the bapi -
(( BAPI_ACC_DOCUMENT_CHECK)
field values for this field have been passed in the business transaction.
but i am not sure where to code the validation for this field .
could anybody suggest if we need to do it in include ZXACCU15 .
if so then how do we populate the values for the return parameter.
i am post ing document using IDOC and need to generate the for the errors generated.
it already shows for all the standard fields of the transaction.
Its a bit urgent,
help wud be appreciated
jyHello Jy
The following coding shows how to evaluate the existence of the transaction type in table T856 and how to create the corresponding BAPI message (using function module <b>BALW_BAPIRETURN_GET2</b>):
*& Report ZUS_SDN_BAPIRETURN_GET2
REPORT zus_sdn_bapireturn_get2.
START-OF-SELECTION.
" Call BTE function within BAPI (actually OPEN_FI_PERFORM_RWBAPI01_P
" calls the z-function module)
** CALL FUNCTION 'Z_FI_INTERFACE_RWBAPI01'
** TABLES
** c_accit =
** c_acccr =
** c_return =
** c_extension =
** c_accwt =
** changing
** c_acchd =
" Coding within your BTE function module:
DATA:
ls_return TYPE bapiret2.
* transaction type
READ TABLE it_accit INTO ls_accit
WITH KEY posnr = ld_posnr.
CHECK ( sy-subrc EQ 0 ).
ld_tabix = sy-tabix.
ls_accit-posnr = ld_posnr.
ls_accit-rmvct = ls_bapi_extension-field3.
MODIFY it_accit FROM ls_accit INDEX ld_tabix.
" Validate existence of transaction type
SELECT SINGLE * FROM t856 into ls_t856
WHERE trtyp = ls_accit-rmvct.
if ( syst-subrc ne 0 ).
" Note: the following IF condition looks apparently strange yet its primary
" use is to ensure that the Where-Used-List for message 014(GC)
" will find our function module
if 1 = 2. MESSAGE e014(gc) WITH ls_accit-rmvct. endif.
* Transaction type & is not defined
clear: ls_return.
ls_return-message_v1 = ls_accit-rmvct. " type conversion
CALL FUNCTION 'BALW_BAPIRETURN_GET2'
EXPORTING
type = 'E'
cl = 'GC'
number = '814'
PAR1 = ls_return-message_v1
* PAR2 = ' '
* PAR3 = ' '
* PAR4 = ' '
* LOG_NO = ' '
* LOG_MSG_NO = ' '
* PARAMETER = ' '
* ROW = 0 " ld_tabix
* FIELD = ' ' " RMVCT
IMPORTING
RETURN = ls_return.
APPEND ls_return TO c_return.
ENDIF.
END-OF-SELECTION.
The advantage of using the function module over directly filling the BAPIRET2 message variable is that the function module generated the message text (field BAPIRET2-message = 'Transaction type '<type>' is not defined').
Regards
Uwe -
Forms Personalization -document for different 'Property Name' on Action tab
Hi,
I am trying to find document which contains meaning of different 'Property Name' in Action tab, while in form personalization screen. I had searched for document but no luck.
Please let me know the link for such document.
Thanks,
AtulHi Sandeep,
I am looking for default value only but INITIAL_VALUE does not work in EBS. Here property name VALUE is working for default value. Hence, the confusion for usage of INITIAL_VALUE in EBS.
Although I know INITIAL_VALUE works on Oracle Forms but same does not apply in EBS forms personalization.
Regards,
Atul -
Creating an SQL Query for Project Custom Fields Values
Hello:
I'm currently trying to create an SQL Query to show all of the server's Project Custom Fields Values, along with the modification date.
So far, I've managed to display correctly all of the data for all of the Projects' text value Custom Fields (those not based on a LookUp Table) with this query:
SELECT
MSP_PROJECTS.PROJ_NAME,
MSP_CUSTOM_FIELDS.MD_PROP_NAME,
MSP_PROJ_CUSTOM_FIELD_VALUES.CODE_VALUE,
MSP_PROJ_CUSTOM_FIELD_VALUES.TEXT_VALUE,
MSP_PROJ_CUSTOM_FIELD_VALUES.MOD_DATE
FROM
MSP_PROJ_CUSTOM_FIELD_VALUES
INNER JOIN
MSP_CUSTOM_FIELDS
ON MSP_CUSTOM_FIELDS.MD_PROP_UID = MSP_PROJ_CUSTOM_FIELD_VALUES.MD_PROP_UID
INNER JOIN
MSP_PROJECTS
ON MSP_PROJECTS.PROJ_UID = MSP_PROJ_CUSTOM_FIELD_VALUES.PROJ_UID
WHERE
MSP_PROJ_CUSTOM_FIELD_VALUES.CODE_VALUE IS NULL
ORDER BY
MSP_PROJ_CUSTOM_FIELD_VALUES.PROJ_UID,
MSP_PROJ_CUSTOM_FIELD_VALUES.MD_PROP_UID
However, when I try a new Query to obtain the actual values for the Projects Custom Fields that do use a LookUp Table, I can't seem to find what table in the model I'm supposed to link to the MSP_PROJ_CUSTOM_FIELD_VALUES.CODE_VALUE field (the TEXT_VALUE
field has NULL value when CODE_VALUE field isn't NULL)
Any suggestions on how to obtain the actual Projects' custom fields values instead of the Code Value, for Metadata that do use a LookUp Table?
Also, I'm able to run this query only in the Published Database, since the MSP_CUSTOM_FIELDS table is empy in the Draft Database. Why is that?
Awaiting your kind reply,
Sebastián Armas PMO Project ManagerHi Sebastián, rather than directly accessing the database it would be better to use the PSI to get this data. Take a look at the ProjTool sample in the SDK whcih gets this data.
Best regards,
Brian.
Blog |
Facebook | Twitter | Posting is provided "AS IS" with no warranties, and confers no rights.
Project Server TechCenter |
Project Developer Center |
Project Server Help | Project Product Page -
PO Form Personalization affecting for False condition.
Hello All,
I have done with PO(Enter PO) form personalization to disable the Cancel functionality from tools Menu for 'Goods' Line Type.
The condition am using for personalization is (:PO_LINES.LINE_TYPE= 'Goods') AND (:PO_HEADERS.DOC_TYPE_NAME = 'Standard Purchase Order')
For True status showing one Error message " You Cant Cancel PO"
Personalization is working fine for True Condition but for False condition the normal process has to happen means other than 'Goods' Line Type, User should able to Cancel PO.
But whenever am trying to Cancel Po other than Goods line Type its not working, Cancel PO form is not opening at all.
For this personalization I have followed the (Doc ID 1316584.1) Metalink document. I Also tried personalization with Trigger Special13 still same problem persisted.
If anyone knows Please help.
Thanks
Ravi Raj.Oracle Forms Personalization is a feature of the Oracle Enterprise Business Suite (EBS) not a feature of Oracle Forms. Please post your question in the EBS General Discussion.
Craig... -
ISA order.jsp; message and validation for "Your reference" field
Hi Everyone,
I am new to ISA and working on java program to add message to "Your Reference" field in order.jsp page if this field is empty and clicked on "Check Out" button and user need to remain in the same page until user enters information in this field.
Message is available in .xlf file.
Please suggest me where to write this code for both message and validation for this field.
Thanks in advance
PrasadI fixed the requirement
thanks
Prasad -
UDF for Checking the field value
Hi
I want to check the whether the fiels conatins any value or not in mapping ... if not i want to raise the exception using the UDF
DO any one have sample code for writing the UDF
SVHi SV
what is your requirement first that should br clear.
i am giving you two UDF
1) i have written this uDF for string and comparing the field value XYZ
2) i am entering a string and its returning aa string which starts from the index of your input fixed length
int len = a.length();
String res = "";
String temp = "";
if ( len >= 10)
temp = a.substring(0,10);
if ( temp.equals("XYZ"))
res = temp;
else
res = "";
return res;
=======================================
String fixed = "ABCD";
String res = "";
int index = -1;
index = a.indexOf(fixed);
if (index == -1)
res = "NO INDEX FOUND";// or if u wanna set it as null res = "";
else
res = b.substring(index4,index12);
return res;
===
hope these may solve your problem
Thanks
Sandeep sharma
If helpful reward points -
Is there any user exit for changing V1 field value?
Hello Expert,
Is there any user exit for changing V1 update value?
For example, sales order number will populate 2LIS_11_VAHDR-VBELN. If other value need to populate 2LIS_11_VAHDR-VBELN, can we use any user exit to customize the V1 routine?
Please forget the enhancement for 2LIS_11_VAHDR. Just populate the system field VBELN.
Thanks
F-B-IHi,
Use the 'usual' user-exit for transactional data in R/3 EXIT_SAPLRSAP_001 (CMOD). Here your can overwrite VBELN for each extracted record with the value you want.
Hope this helps.
Grtx
Marco
Maybe you are looking for
-
How to define ranges for a keyfigure
Hi Frnds, I have two keyfigures for employee experience. One for present company experience and the second for previouse experience. And I have created a calculated keyfigure for calculating the total employee experience by adding the those two keyfi
-
Restiction of material types based on the industry sector?
I have developed specific industry sector for my client and also developed specific material types (Z*) for them. But then i cannot prevent my user from creating the material master with the incorrect industry sector and also they are able
-
Exporting webpages as pdfs? Losing pages?
Okay, I often open webpages on my Mac in Safari, and either export or print them to pdf to read on an e-reader, a Story HD. The pdfs look fine on my Mac in Preview, but they sometimes get cut off partway through, leaving blank pages thereafter, on th
-
Pesky problem: prints too dark and colors lack saturation. Have been printing on an Epson Artisan 50 with good results. Have added a new R2880. Both print with the same poor results NOW. Use OS Mavericks, a 2-year-old iMac calibrated with Color Munki
-
JDev 10g 10.1.2.1.0 - Diagram View Flicker
I'm new at this so bear with me... I installed JDev on my laptop last week. It was working fine until yesterday when the .bpel)'s diagram view began to flicker significantly whenever the mouse was dragged over it. Additionally, the edit menus for the