Making Original attachment mandatory in CV01N
Dear All,
What should be done in order to make the original file attachment in DMS compulsory while creating the Document Info Record ?
Thanking You.
- Ravi
hi
By using standerd functionality , you can make compulsion during staorage of original file in server.
Means , once you attached the file and try to save it, without check in, it will ask you to check in. This can be done by
in define doc satus click on check in required and check in.
but for your rquirement , you need some development,
put the pop up, when user try to save the dir without original file atachment.
consult your abaper.
thanks,
regards,
nitin
award point if useful
Similar Messages
-
Mail Adapter: original Attachment filename retrieval in Proxy
Hi,
I have a Sender Mail Adapter, and the receiver is a proxy, where I need to get the attachment and its details.
When I execute
attachment_filename = l_attachment->GET_DOCUMENT_NAME( ).
it simply returns Attachment-1 etc.
How do I get the original attachment filename?
I am on SP16.
Regards,
Puloma.HI
Please refer tihs thread for mail attchments
Re: Handling attachments of mail
Scenario to pick the mail with its attachments into XI\Re: Infrastructure required for Mail Adapter -
Problem: Original Attachment Name from SOAP Sender changes to attachment-1
Hi everybody,
we have a scenario where a SOAP sender receives a xml message describing several documents. Each document has a mime type and a file name, size, md5 checksums etc as attributes.
The documents are send as attachments with the same Web service in SWA(SOAP with attachment style).
The web service calls an ABAP proxy provider class in a R/3 backend.
The ABAP proxy class will save the attached documents for further processing and must use the original document names.
At the soap communication channel monitoring(Java Stack) we still see the original attachment names in the message content tab.
At the Integration Server(sxmb_moni) the attachment name changes to attachment-1, attachment-2 and so on.
Using the method
IF_AI_ATTACHMENT ->GET_DOCUMENT_NAME
in the provider ABAP proxy class returns the name attachment-1.
We can see that there is a mapping of the new attachment-1 name to the old, original name in the manifest section of this message on the Integration server.
Is there a way to access the manifest section at a provider ABAP proxy class? Or otherwise a PI configuration setting to preserve the original attachment names.
Thanks a lot,
Heiko
=> PI 7.1 SP9Hi Stefan,
(I was hoping you would find that thread ...)
I see a good reason why the attachment names are changed as the PI message protocol sends the main document as an attachment as well. So no problem with that because the information of the mapping old to new names still exists in the manifest part and is visible at the sxmb_moni.
We see a manifest part like this (Sorry cant post the whole xml doc as the formatting for longer messages isn't working in the forum)
<SAP:Payload xlink:href="cid:4cc43edd-839f-423f-b7c6-7e44294d663a_sig.p7m">
<SAP:Name>attachment-1</SAP:Name>
<SAP:Description>attachment</SAP:Description>
<SAP:Type>ApplicationAttachment</SAP:Type>
</SAP:Payload>
The (red) cid entry is the original file name. This manifest is from the sxmb_moni in the r/3 backend. So all the information is there.. The question is how to retrieve this information .. Any idea?
Best Regards,
Heiko Bergmann -
MAKING PROFIT CENTRE MANDATORY FIELD IN ECC 6.00 AFTER GOLIVE
Can we activate the Profit centre mandatory field for all the entries after the system gone live?. The details are as under:
1. System : ECC 6.00
2. Document splitting activated without making Profit Centre Mandatory field.
If we are going to activate now, system is throwing a very strong message of Data Inconsistency and informing us not to change the settings now.
Is there any other way where in we can make Profit Centre a mandatory field.
Appreciate if any one who worked on this / has knowledge on this please revert back on the solution.Hi
You should raise an OSS message and take SAP's support...
If you add any new dimension now, all the previous docs where PC was not populated would throw an error during clearing, payments, etc
You might be having PC as a doc spliting char already, but if you did not make it mandatory, then chances are that some docs might have been posted w/o PC
BR,Ajay M -
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 -
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... -
Validation Rule for making Trading Partner mandatory in FB50
Hi,
Validation Rule for making Trading Partner mandatory in FB50
I am trying to make trading field mandatory in FB50. If trading partner is not entered for the line items in FB50, User should get a error
I have tried the follwiong (at the Line Item level) and it does not work:
1)
Prerequiste:
Transaction code = 'FB50'
Check:
Trading Partner = ''
Message:
2)
Prerequiste:
SYST-TCODE = 'FB50'
Check:
Trading Partner = ''
Message:
Any ideas?The message will only be issued when the result of the check is false. If you want to issue an error when a trading partner value is not entered, then your check needs to be Trading partner <> ''. If the user enters a Trading partner value, the check will be true and no message will be issued. If the user does not enter a Trading partner, the check will be false and the message will be issued.
-
Hi all,
I need to make the "Create attach" mandatory for TCode ME51N / ME52N.
Please provide me help.
Regards,
Moshior SohelHi Aamir,
Thanks for your help.
ME_REQ_POSTED is the actual BADi which u told.
Can you please help me with sample code for that badi which will make the attachment mandatory.
Thanks
Moshior -
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; -
Making a field mandatory in additional data tab in sales area data in XD01/XD02
Hi,
Making fields in additional data tab in sales area data in XD01/XD02 as mandatory is not achievable through configuration. Also, user exit SAPMF02D was not helpful in achieving this. Kindly help me on this.Is this a new field you are creating or an existing field you want to mark as mandatory? My impression from your original post was that it was the second. If so then you don't need to create an implementation of CUSTOMER_ADD_DATA as there must already be one, instead you should be looking for the implementation that manages data for the screen you are interested in. This might be why you don't see your BADI get activated when you go to "area data -> extras -> additional data" as it isn't the right implementation.
If you just want the field to be mandatory when the user goes into the additional data tab I would code this in the screen of the customer exit. If you want this field to be mandatory whether or not they enter other additional data then you should try the method of the badi Nabheet suggested but not in your own implementation. -
Error while attaching document in cv01n
Hi,
We are attaching document in transaction cv01n,at the time of saving it gives error massege change is not allowed,but still system is saving saving that documet.can anybody suggest solution to avoid error massege.
Thanks,
Vikas warkeI have checked the img setting ,img setting is ok,still it gives program error as below,can you suggest me whether reccomndations can implemented or not.
Note 964021 -Update Task Fails When New Version Created
Note Language: English Version: 2 Validity: Valid from 07.11.2006
Summary
Symptom
Update task fails when a new version of an old document info record is
created using CV02n transaction.The system throws an update terminate
error.
More Terms
UPDATE TERMINATE, MESSAGE 26 178, CV200_DB_DOC_UPDATE, CV02N
Cause and Prerequisites
Program Error
Solution
Implement the note
Header Data
Release Status: Released for Customer
Released on: 07.11.2006 12:13:26
Priority: Correction with medium priority
Category: Program error
Main Component CA-DMS Document management
Valid Releases
Software Component Release From
Release
To Release and Following
SAP_APPL 500 500 500
SAP_APPL 600 600 600
Support Packages
Support Packages Release Package Name
SAP_APPL 500 SAPKH50016
SAP_APPL 600 SAPKH60008
Attributes
Attribute Value
SAP objects CV200_DB_DOC_UPDATE
Transaction codes CV02N,CV03N
Transaktionscodes - manuell CV02N,CV03N
SAP-Objekte - manuell CV200_DB_DOC_UPDATE
DownPort/UpPort-WF UpPort check done, symptom
repaired
Correction Instructions
19.06.2008 Page 1 of 2
Note 964021 -Update Task Fails When New Version Created
Correction
Instructio
ns
Valid
from
Valid
to
Software
Component
Typ
e
Reference
Correction
Last
Changed
518092 500 500 SAP_APPL C P6DK093226 07.11.2006 17:30:29
807328 600 600 SAP_APPL C P7DK042952 13.07.2006 14:50:41
*) C Correction, B Pre-Implementation, A Post-Implementation, M Undetermined
19.06.2008 Page 2 of 2 -
Making infotype 41 mandatory while hiring...
Hi Experts,
We have a requirement of making 41 IT as mandatory while hiring.
We have added the infotype in the info group, but the user is still able to skip it using the next button while hiring.
Request you to let me know, whether it is possible through any user exit or badi or any other way?
Best Regards
Manas NayakHi All,
Actually the issue is here that IT 41 should be updated with a customized data type Z4 which use union senority date specific to USA employee. And it does not have any logic to determine the value while run time. So we could not place a user exit or dynamic action for it.
Client requires the user should enter it while hiring or rehire and should not be able to skip 41 without entering the date type Z4.
From all the replies I conclude that stoping the user from skipping a infotype is impossible. Only we can initialize the Z4 value or display pop-up information.
Thank you all for the help. -
Attachment mandatory in interactive adobe form
Hi,
As per our scenerio.....our requirement is to send iform to client and client fill this form and add a attachment inside the form
(this is mandatory) if he/she will not attach any attachment this iform do not have attachment client will not be able to send back to us.......
so
1. how we create field for attach browser for attachment or is there any other functionality or class we make sure that the client will attach their attachments.
2. how to make client mandatorily to attach attachment inside the PDF.
AS i am knew for adobe interactive form....plzz suggest me the easiest way..
<Reward offer removed by moderator>
kind regards
rahul
Moderator message : Post the question in appropriate forum. Thread locked.
Edited by: Vinod Kumar on Oct 18, 2011 2:46 PMHi,
Still no response.Is anyone worked on same type of scenario.
Thanks,
Ashutosh -
Making Document attachement as manditary
Dear all,
When we create an oppurtunity,we need to upload some documents.Can we make the document upload as manditory?
Thanks and regards,
AvinashAvinash,
You can make the document upload as "mandatory" in the sense that the document will not be able to be saved without errors unless a document is present.
Your best bet is to use the CRMV_EVENT framework and create a new function module even that checks for presence of documents attached to the transaction in CRM. It will then issue an error if no documents are attached.
You will find threads on how to use CRMV_EVENT if you do a search in the forums.
However keep in mind that it is perfectly valid for a user to leave a document in "error status". It is not recommended or best practice to force a user to perform an action on the screen before saving, and is against application standard flow.
Take care,
Stephen -
hi can any one help in making the field email as a mandatory in su01 t-code and kindly help with process where to go and what are the steps do i take to make the field mandatory
Go to SHD0,
give the transaction as SU01 and give the name of transaction variant for example 'USR1'. click create. Since your requirement is only for email give some dummy name and click on create. In the next screen give some dummy name and enter and continue till you reach the screen with this title "Screen values 0900 Program SAPLSZA5" . In this screen for the field 'Email' check the box under 'required' column. now click exit&save. give some short text in the next screen and save it under appropriate package, Transport requests.
Note : you can default your transaction variant as the standard variant. (SHD0 - standard variants tab-> Activate/Deactivate as standard variant)
Now go to se93 and click on create , give transaction code as for example 'SU01N' (this will be your new transaction for creating user with email as mandatory field) and choose start object as 'Transaction with variant'
In the resultant screen, give the transaction code as SU01 and transaction variant as 'USR1' (the one we created earlier), check on all gui support box's accordingly, and save it under appropriate package and Transport request.
From here on you can use SU01N as the transaction for creating users with email as a mandatory field.
Maybe you are looking for
-
I Installed AirPort Extreme 3 computers work fine. I am trying to use my old sony laptop. It is asking for a network key. I entered wpa2. I also tried my password. What should I do?
-
2008 R2 GPO How to delete the AppleSoftwareUpdate Scheduled Task on Windows 7 clients?
How do you configure a GPO in AD 2008 R2 SP1 that will delete the AppleSoftwareUpdater Scheduled Task. I can't successfully create one. It gives errors wanting a name and an action, even though I have named it (several variations tried). The schedule
-
How do i know which carrier my iphone is locked to?
I bought my iphone 4 off ebay new in box, it is suppose to be for at&t but the box doesnt have any carrier information. an at&t sim card came in the phone but i am still apprihensive of it being locked to at&t. i am trying to unlock it so i just woul
-
Itunes could not back up ipod touch on my windows 7 pc
New Itouch 4th generation able to sync but not back up nor can it update to the latest version 4.3.5 Using a pc with Windows 7 (64bit). Anyone else having this issue?
-
Re: Results of our RFID Online Meet-up [4][What is ALE? ]
The ALE (Application Link Enabling)is a business solution to a very real need emerging in the SAP market. This is the need for businesses to move towards tighter integration between systems, yet, at the same time, provide independence to the various