How to make attachment mandatory in E-Separation ?
How to make attachment mandatory in E-Separation in ESS screen while submitting the resignation?
Hello,
Apologies for delayed response. Please find the below steps :
1) Extend ReviewCO (pkg - oracle.apps.per.selfservice.review.webui.ReviewCO)
2) In PFR – check button event is Submit then call function ( that check whether doc is attached or not )
3) Funtion returns True and False. If false display message.
Pls. let me know if you need any more information.
Thanks,
Sudhakar
Similar Messages
-
Make attachment mandatory in IExpense page by using workflow
Hi All,
I have one requirement in which need to make attachment mandatory in IExpense page.
how do I achieve that. Which process or function,packge do I need to modify to complete the requirement.
Please Guide.
Thanks,
PriyankaHi,
Take the help of ABPer to get solution for your requirement. before posting PR try to check document is attached or not with BADI "ME_REQ_POSTED".
May be this will help you...
Thanks... -
i am trying to make attachment mandatory in iSupplier (in a flow train page) ( /oracle/apps/ap/invoice/request/webui/MatchedInvoicePG )
following other threads, i tried below in process Form request but always get null object for line1 and line2 will result in exception. I tried with name "Attachmen" "Attachments" and "AttachmentLink" nothing is working. i need to make attachments manadatory in order to proceed to next page
line 1 OAMessageAttachmentLinkBean attbean= (OAMessageAttachmentLinkBean)webBean.findChildRecursive("AttachmentLink");
line2 String ssdn = (String)attbean.getAttributeValue(pageContext.getRenderingContext(), TEXT_ATTR);
i cannot figure out how to get around this. please help.Understand below code, may help. make neccessary changes as required. Below code allows maximum (4) number of attachments.
--Check attachments
public void checkAttachment(com.sun.java.util.collections.HashMap hsMap)
OAPageContext oapagecontext = (OAPageContext)hsMap.get("PageContextObject");
OAWebBean oawebbean = (OAWebBean)hsMap.get("WebBeanObject");
OAApplicationModule am = oapagecontext.getApplicationModule(oawebbean);
String amName = "";
String objectivesAMName = "OAAttachmentsAM"; //-- Standard attachment AM
String objectiveVOName = "FndAttachedDocumentsDomExtensionVO"; //-- Attachment VO
String nestedAMArray[] = am.getApplicationModuleNames();
OAApplicationModule currentAM = null;
OAViewObject vo = null;
currentAM = am;
for(int i = 0; i < nestedAMArray.length; i++)
amName = nestedAMArray.toString();
oapagecontext.writeDiagnostics(this,"Nested AM Name=>"+amName + "and amName.indexOf(objectivesAMName) "+amName.indexOf(objectivesAMName),1);
currentAM = (OAApplicationModule)am.findApplicationModule(amName);
if(!(amName.indexOf(objectivesAMName)==-1))
String[] viewNames = currentAM.getViewObjectNames();
for (int j =0 ;j<viewNames.length ;j++ )
if(viewNames[j].indexOf(objectiveVOName) > 0)
vo = (OAViewObject)currentAM.findViewObject(viewNames[j]);
int attchcount = vo.getFetchedRowCount();
if(attchcount>4)
throw new OAException("XXC","XXC_MAX_ATTACHMENTS");
//return isAttachmentFound; -
How to make fields mandatory in cost center
Hi Sap Experts,
How to make fields mandatory in cost center.
Please give me advise.
Regards,
RajIf you want to make "Profit Center" field as mandatory, then OBA5 transaction code
Application Area - KS
Number 096
make this as error for online and batch input. Then profit center will become mandatory. -
How To make attachment as mandatory
HI,
I have One requirement to make attachment link as mandatory. I used below code and it is not at all effecting. Pls check below code and suggest.
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
OAApplicationModule oam = pageContext.getApplicationModule(webBean);
if (pageContext.getParameter("HrSubmit")!= null)
OAMessageAttachmentLinkBean uploadBean = (OAMessageAttachmentLinkBean)webBean.findChildRecursive("AttachmentLink");
String ssdn = (String)uploadBean.getAttributeValue(pageContext.getRenderingContext(), TEXT_ATTR);
if ("None".equals(ssdn.trim()))
throw new OAException("There is no attachment kindly click on add button and browse your attachment",OAException.ERROR);
else
//throw new OAException("link val = " + ssdn);
super.processFormRequest(pageContext, webBean);
else
//System.out.println("There exists an attachment to the expense claim. The process will now continue");
super.processFormRequest(pageContext, webBean);
}Hi Roopesh,
Thanks for your quick reply..
I extended Review Co only, but after clicking submit it is not showing
any message, it is going to next page.
Pls find below code....
package xxoa.oracle.apps.per.selfservice.review.webui;
import oracle.apps.per.dor.common.DocsOfRecordUtilities;
import oracle.apps.fnd.framework.OAViewObject;
import oracle.apps.fnd.framework.OAApplicationModule;
import com.sun.java.util.collections.HashMap;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Hashtable;
import oracle.apps.fnd.framework.webui.beans.message.OAMessageChoiceBean;
import oracle.apps.per.selfservice.review.webui.ReviewCO;
import java.util.StringTokenizer;
import oracle.apps.fnd.framework.webui.OANavigation;
import oracle.apps.per.common.CommonUtils;
import oracle.apps.per.selfservice.review.common.ReviewParams;
import oracle.apps.fnd.common.VersionInfo;
import oracle.apps.fnd.framework.OAException;
import oracle.apps.fnd.framework.OARow;
import oracle.apps.fnd.framework.server.OADBTransaction;
import oracle.apps.fnd.framework.webui.OADialogPage;
import oracle.apps.fnd.framework.webui.OAPageContext;
import oracle.apps.fnd.framework.webui.TransactionUnitHelper;
import oracle.apps.fnd.framework.webui.beans.OAWebBean;
import oracle.apps.fnd.framework.webui.beans.form.OAFormValueBean;
import oracle.apps.fnd.framework.webui.beans.form.OASubmitButtonBean;
import oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean;
import oracle.apps.fnd.framework.webui.beans.message.OAMessageLovInputBean;
import oracle.apps.fnd.framework.webui.beans.nav.OAPageButtonBarBean;
import oracle.apps.fnd.framework.webui.OAControllerImpl;
import oracle.apps.fnd.framework.webui.beans.message.OAMessageTextInputBean;
import oracle.apps.fnd.framework.webui.beans.OAImageBean ;
import oracle.apps.fnd.framework.webui.beans.message.OAMessageFileUploadBean;
import oracle.apps.fnd.framework.webui.beans.message.OAMessageAttachmentLinkBean;
import oracle.apps.fnd.framework.webui.OAInnerDataObjectEnumerator;
import oracle.apps.fnd.framework.webui.beans.table.OAAdvancedTableBean;
import oracle.apps.fnd.framework.webui.beans.message.OAMessageStyledTextBean;
import oracle.apps.per.selfservice.workflowservice.server.WFUtility;
import oracle.cabo.ui.data.DataObject;
import oracle.jbo.ViewObject;
import oracle.apps.per.selfservice.common.SSHRParams;
import oracle.apps.per.selfservice.workflowservice.server.WFUtility;
import oracle.jbo.domain.Date;
public class xxReviewCO extends ReviewCO
public static final String RCS_ID = "$Header: ZensarReviewCO.java 120.8.12010000.11 2010/05/28 10:36:58 tkghosh ship $";
public static final boolean RCS_ID_RECORDED = VersionInfo.recordClassVersion("$Header: ZensarReviewCO.java 120.8.12010000.11 2010/05/28 10:36:58 tkghosh ship
$", "%packagename%");
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
OAApplicationModule oam = pageContext.getApplicationModule(webBean);
if (pageContext.getParameter("HrSubmit")!= null)
OAMessageAttachmentLinkBean uploadBean = (OAMessageAttachmentLinkBean)webBean.findChildRecursive("AttachmentLink");
String ssdn = (String)uploadBean.getAttributeValue(pageContext.getRenderingContext(), TEXT_ATTR);
//TEXT_ATTR
// String s1 = new String("None");
// string s2 = new String(""View);
if ("None".equals(ssdn.trim()))
throw new OAException("There is no attachment kindly click on add button and browse your attachment",OAException.ERROR);
else
//throw new OAException("link val = " + ssdn);
super.processFormRequest(pageContext, webBean);
else
//System.out.println("There exists an attachment to the expense claim. The process will now continue");
super.processFormRequest(pageContext, webBean);
} -
How to make DFF mandatory in forms personalization based on another field
how to make DFF field mandatory in forms personalization based on another field ,and also user can put values in the DFF field.
Edited by: SinghP on Mar 14, 2012 12:16 AMHi,
4 DFFs are enabled.
CASE1: when payment is voided DFF4 should be mandatory feild
CASE2: when user queries the voided payment , above DFF4 should be readonly or not editable
Unable to acheive both the cases with Forms Personalization.
When trying case2 error pops up saying null canvas.
Can you please provide some examples if you have any.
I can find any customizations on this form
Thanks
Edited by: user11344029 on Mar 15, 2012 11:28 AM -
How to make it mandatory for a call off order to reference a contract.
Hi,
How do I make it mandatory for my call-off orders to reference contracts?
Thanks.Hi,
Make the field: "Outline Agreement" in the field selection group assigned to your calloff PO document type.
Umakanth R -
How ot make classifications mandatory in service order
Hi,
We are using classifications configured through category modeler in interaction center for service orders. How can we make classifications mandatory for the service orders. We are using SAP CRM 7.0.
Thanks
DanHi.
The fields are on the service order details screen?
If so, you may set each of the categorization fields as required using the UI configuration tool.
Regards. -
HELP!! - HOW TO MAKE SEGMENT MANDATORY IN PROFIT CENTER
HELLO,
WE ARE IMPLEMENTING CONTROLLING, FINANCIAL AND NEW GENERAL LEDGER, I NEED TO KNOW HOW TO MAKE THAT THE FIELD SEGMENT IS MANDATORY IN THE PROFIT CENTER CREATION PROCESS,
COULD YOU HELP ME WITH THIS??
THANKS IN ADVANCE.Hello again and thanks a lot for your quick answers,
but what i can not understand very well is why I do not have this problem in another client, since i am not be able to create a cost centre without filling in the corresponding profit centre and I can not create a profit centre without filling in the corrresponding segment.
However in the client where i need to customize this, by default this fields are not mandatory, so there must be a customizing table or whatever to change this fields. I know the transaction OKEG, i do not know if this problem can be related to this issue.
So, i need to know the customizing tables to change the fields status in cost centre and profit centre. I am sure that this issue there must be related with the activation of New General Ledger, because the method that we are using is the inheritance by segment...
Any comments will be appreciated.
Thank you. -
How to make it mandatory to enter a value in a collection?
Is it possible in Wave 7 CLM - Contract Management to make it mandatory for a collection to have at least one record?
We have created a custom collection and placed it on the Supplier tab of agreements and we would now like to make it mandatory for at least one record to be entered into this collection.
So far, I have tried setting the UI_override on the field name of one of the fields in the collection to mandatory but that did not work.
In WYSIWYG for Master Agreements, collections are uneditable.
I have thought of creating an additional simple hidden field, making that mandatory and then developing a script to copy that field into the first field of the collection, but that seems to be an unnecessarily complex solution.Hello Chris,
I think this can be acheived by writing a script that checks the size of the collection. If the size = 0, then raise an exception. This script can be made to execute On Validate target.
Hope this helps.
Thanks
Devesh -
How to make plant mandatory field in Sales order thru standard SAP process
Hello,
There is requirement in business that User wants to make plant field Mandatory in Sales order line item once material number is entered. Can you please guide me how I can make Plant field mandatory thru Standard SAP process.
I had checked it thru Incompletion process & Order type incompletion messages but still Plant field is not becoming mandatory in Sales order. It only gives incompletion log while saving the SO. Please suggest how to do it thru Standard SAP process.
Thanks & Regards,
SaurabhHI
Plant will determine based on Customer-material Info Record, Customer Master data & material Master
If plant is not mandatory in customer Master and Customer material no problem
but at the time of creating the material master Plant Mandatory as per my knowledge, so system will pick plant from Material master that is the case why you required plant Mandatory in Sale order level
and you need to do Shipping Point Determination for that plant
Did you check by using User Exit ? if not try once what i have suggested
Try with User Exit
MV45AFZZ , FORM USEREXIT_SAVE_DOCUMENT
VBAP - WERKS = " "
if VBAP - MATNR , POSNR = not initial
Error Messgae "E"
Check and Revert
Regards,
Prasanna
Edited by: prasanna_sap on Feb 14, 2012 11:41 AM -
How to make Fields mandatory in service entry sheet
Dear Experts,
I need to make "Quality of Service" and "Service Timeliness" fields mandatory for user entry in VENDOR EVALN tab during Service Entry Sheet.
Kindly help..Check the note attached to the configuration node.
+ for required (mandatory) field
. for optional field
- for hide
for display
Double click on the line showing ...+++...
It will open up a list of fields grouped logically and you now have a radiobutton style way of changing status. -
How to make field mandatory in Sales Order Item level?
Hi SDN's,
I need to make Shipping type field(Item level) mandatory in Sales order.
Can any one tell me what is the user-exit to achieve this?
Thanks in advance..
Regards,
RahulRahul,
U can check the BADI 'BADI_SD_SALES_ITEM'
othewise u can check
Exit Program MV45AFZZ.
Check the program SAPMV45A
V45W0001
V46H0001 -
Hi all,
i want to make price ,tax code and ware house code in purchase order rows mandatory.
i have designed following Stored procedure..
IF @transaction_type IN (N'A', N'U') AND
(@Object_type = N'22')
BEGIN
if exists (SELECT T0.docnum FROM [dbo].[OPOR] T0 INNER
JOIN [dbo].[POR1] T1 ON T1.DOCENTRY =
T0.docENTRY
WHERE T1.[Price] = 0
and T1.DOCENTRY = @list_of_cols_val_tab_del)
select @Error = 1, @error_message =
'Enter Price'
else
if exists (SELECT T0.docnum FROM [dbo].[OPOR] T0 INNER
JOIN [dbo].[POR1] T1 ON T1.DOCENTRY =
T0.docENTRY
WHERE T1.[TaxCode] is null
and T1.DOCENTRY = @list_of_cols_val_tab_del)
begin
select @Error = 2, @error_message =
'Enter Tax Code'
end
else if exists (SELECT T0.docnum FROM [dbo].[OPOR] T0 INNER
JOIN [dbo].[POR1] T1 ON T1.DOCENTRY =
T0.docENTRY
WHERE T1.[WhsCode] is null
and T1.DOCENTRY = @list_of_cols_val_tab_del)
begin
select @Error = 3, @error_message =
'Enter Warehouse Code'
end
END
but system checks only for price and not for other two validation .
kindly suggest me way where system will check for all the validation defind in the Stored Procedure.Hi Chetan
Try this, This should definitely work
if @object_type = '22' and @transaction_type in ('A','U')
begin
select @Total = (select T1.Price from OPOR T0 join POR1 T1 on T0.docentry = T1.docentry
where T0.docentry=cast(@list_of_cols_val_tab_del as int))
Select @comm = (select T1.TaxCode from OPOR T0 join POR1 T1 on T0.docentry = T1.docentry
where T0.docentry=cast(@list_of_cols_val_tab_del as int))
Select @venref = (select T1.TaxCode from OPOR T0 join POR1 T1 on T0.docentry = T1.docentry
where T0.docentry=cast(@list_of_cols_val_tab_del as int))
if @Total = 0
begin
set @Error =11
set @Error_Message = 'Cannot have Zero Price'
end
else
if @comm is null
begin
set @Error =12
set @Error_Message = 'Select Tax'
end
else
if @venref is null
begin
set @Error =13
set @Error_Message = 'Select Warehouse'
end
end
Regards
Reno -
How to make FCH5 mandatory after F-53
Dear All,
Our client uses Non sequential check lots.
After posting vendor payment with F-53, he needs to enter FCH5 for assigning loose (Manual) check to that document. But no body is doing the same.
They are entering check number manualy in the assignment field during F-53, without doing FCH5. So they are not able to track the check register in the above situation.
We want to make FCH5 as mandatory entry for F-53.
Note: House banks and Account ID were configured.
Do we have fields like House Bank, Account ID and Check number fields during F-53 to create manual check automatically.
Can anyone suggest me to fullfil the requirement.
Thanks,
SrinuHi Ramesh,
Only for few banks, we do have sequential check lots and F-58 being used for that. And this scenario is OK.
Please remember that we are using Non Sequential check lots for some payments.(Loose Check books).
And these cannot be used while doing F-58......
Anyother workaround for this?
Thanks,
Srinu
Maybe you are looking for
-
Field not present in the Field Catalog also getting displayed in the ALV
Hi Experts, I am trying to display some to an ALV grid. But since i don't need all the fields from the internal table, i have deleted those fields from the field catalog. But in-spite of doing this the field heading is still getting displayed. I am n
-
Windows 8 RT and printing to PDF
Hi! I need to print from Internet Explorer a page to PDF file. Normally I would do this for example with Cute PDF etc. PDF printing application but I am unable to find one from Windows Store. Does anyone have any ideas on how to print PDF from IE? Th
-
I am a salesforce.com veteran user who is trying to get Dynamics CRM up and running for a small business. This software was purchased several years ago and never implemented because no one could figure out how to do it. I wanted to run a very simp
-
A script to batch rename and relink images?
Hello, everyone! First of all, I did search for this before asking and found many similar scripts for this, but as I don't know how to make or edit scripts, I couldn't use them... I work at a company that makes school books. Each InDesign file we mak
-
Some of the Titles are Poor Quailty... HELP!!
Hey, I did my opening titles and all the White titles seem crisp and clear, except for one Red Title, which seems to look poor like the old Atari video games. What did I do wrong? Almost like it rendered poor quailty on the Red title, except they wer