User exit for ME21N (Not functional or customer exit)
Hi Guys,
I want to get a user exit for PO as my requirement is to call custom screen before the PO is getting saved.
I have the functional exits and badi's list which will not fulfill my requirement as because on my custom screen i have cancel button.
On clicking the control needs to come back to the me21n second screen with the data entered with out order getting created.
The screen number for the second screen in ME21N is 14.
if i call screen 14 it will work in a user exit where as in customer exit(functional exit) we have limitations with the exporting and importing as so the screen number will not be recognised.
I am able to do the same calling of cust screen in Sales order creation and is sucessfull, the same should happen with PO also.
Probably if the user exit triggers at the time of syntax check i can achive my requirement rather than at save as the call back to the screen will not harm and database commits will not take place.
I also tried with all most of the enahancement points but the call screen statement is not working at any point of time which worked with Sales order exits. So i tried with making the validation fail but still by that time the PO number is getting generated and so if i try to cancel the PO before save and trying to get PO in edit mode but the sequence number is getting missed by by 1.
Please help.
Regards,
Amar.
Edited by: amar srinivas on Feb 11, 2011 10:16 AM
Edited by: amar srinivas on Feb 14, 2011 4:56 PM
Hi,
You can try it this way.
Check badi ME_PROCESS_PO_CUST , method - CHECK.
This badi/method gets triggered when the "CHeck" button and "SAVE" button is pressed.
It consists of a changing parameter CH_FAILED . Pass X to it when cancel button is hit in your custom screen.
Donot use any commit in this method. Read the documentation before doing it.
Similar Messages
-
User presets for copy/paste function.
User presets for copy/paste function?
During an edit session, I am constantly switching to, and from copying: crop (only), and copying everything except "local adjustments" and "basic tone". I use a few other combinations as well. Switching between these involve a lot of tedious (& error prone) checking and unchecking of boxes. A preset option of some sort would help here.
What I do is edit one photo (in a string of similar photos), then copy it. Then select similar photos and auto sync them with the paste command, In an action sequence, the crop often needs to be done separate. Also the lens profile & calibration needs to be pasted separate if I happened to be switching between two camera/lenses.Hi Per,
The below article will be helpful
Copy And Paste Data Between Excel Sheets Does Not Work When Smart View Add-In Enabled (Doc ID 1313584.1)
Thank you,
Charles Babu J -
User Authentication for subfolder not working in Web Browser
We are using Oracle Application Server 10.1.2.3 and Database Server 10.2.0.5 for our application.
One of the functionalities of the Application is to send emails with attachments.
The logic is that the Application would generate the attachment file on the Application Server.
Then a database package uses Oracle's utl_http package/procedures(more specifically utl_http.request_pieces where the single argument is a URL) to pick up the file from the Application Server via URL, attach the file and send the email.
Exchange and Relay Server is also set in the Application.
The problem is that the folder containing the folder which stores the attachments is having user authentication set.
Example : The main folder is /apps/interface, this folder requires a valid user when it is accessed via URL on a web browser.
Alias created in httpd.conf
Alias /int-dir/ "/apps/interface/"
The folder /apps/interface/email/ is the folder where the attachment files are generated and stored.
Application Server : 10.12.213.21
Database Server : 10.12.213.22
Email Server : 10.12.213.44
Configuration as per httpd.conf
Alias /int-dir/ "/apps/interface/"
<Location /int-dir/>
AuthName "Interface folder"
AuthType Basic
AuthUserFile "/u01/app/oracle/as10g/oasmid/Apache/Apache/conf/.htpasswd"
require user scott
</Location>
<Location /int-dir/email>
Options Indexes Multiviews IncludesNoExec
Order deny,allow
Deny from all
Allow from 10.12.213.21
Allow from 10.12.213.22
Allow from 10.12.213.44
</Location>
Using the above configuration the Application is able to attach the files and send the email, however, when we access the following URL :
http://10.12.213.21:7778/int-dir/ - it prompts for user authentication
However if we use the following URL :
http://10.12.213.21:7778/int-dir/email/ - it does not prompt for user authentication, and all the files in the folder are displayed in the browser.
I have tried so many things including AllowOverride, .htaccess, but i am not able to get user authentication for the email folder.
Please help me if you can.
Thanking you in advance,
GLad to give any more information that i can.
dxbrockyThanks for your response. I fixed the problem by selecting "full site" or "full website" at bottom of the web page. After making this selection the zoom function returned. Thanks again for your interest.
-
USER Hook for Changer Manager function
Dear All,
I need to know that is there any user hook for Manager Self Service -- Change Manager function for employee.
If yes then please give me the module name/id for the user hook.
If no then how can I set custom validations on this page.
Regards.You should look for the update assignment api.
select * from hr_api_modules
where module_name like '%UPDATE%ASG%'
Depending on the legislation, you will have different modules/packages/procedures. -
Users group for View not for publish
Hi guys,
Does anybody can tell me how can I creat users group for view
and not for publication?
It's something like to create Contribute roles, but is not
related with the permission levels to publish, but with the
visualization permissions for exclusivy content, for ex.:
Home (open for all users)-------- IT Dept--------Directory
Dept ---------Support Dept
- Johny - Johny - Joseph - Isaac
- Jack - Jack - JJ - Jason
- Rose - Rose - Robert
- Joseph - Lisa
- JJ
- Isaac
- Jason
- Robert
- Lisa
Please somebody help me, It's very, very important!!!
Thanks in advance for who can help me.
San.Sandra Bercke wrote:
> Hi guys,
> Does anybody can tell me how can I creat users group for
view and not for
> publication?
> It's something like to create Contribute roles, but is
not related with the
> permission levels to publish, but with the visualization
permissions for
> exclusivy content, for ex.:
>
> Home (open for all users)-------- IT
Dept--------Directory Dept
> ---------Support Dept
> - Johny - Johny - Joseph
> - Isaac
> - Jack - Jack - JJ
> - Jason
> - Rose - Rose
> - Robert
> - Joseph
> - Lisa
> - JJ
> - Isaac
> - Jason
> - Robert
> - Lisa
>
> Please somebody help me, It's very, very important!!!
>
> Thanks in advance for who can help me.
>
> San.
>
You cannot restrict on the users to view a particular folder
(say IT
dept) using contribute. Infact there is a setting in IIS
Webserver which
allows you to set an Authentication mechanism where users
when browsed
to any site on your webserver will be prompted for username
and password.
But you might want to try something like this.. not sure if
this will
help you...
1. Create 4 connections in contribute
a) first connection to "Open for all users" directory on
your webserver.
b) second connection to "IT Department" directory on your
webserver.
c) third connection to "Directory dept"... etc
2. This way you can administer 4 sites and send connection
keys to them
accordingly...
Hope this helps. -
New Tool to Automatically Search for SAP Notes and detect Customer Code.
Dear Gurus,
Please check this interesenting blog with a completely new approach to the note search for bugs and more:
/people/carlos.martinezescribano/blog/2010/12/16/automated-note-search-and-customer-code-detection
And feel free to post your comments on the blog.
Thanks a lot,
Carlos Martinez Escribano.Now Automated Note Search Tool is a standard application:
http://service.sap.com/sap/support/notes/1818192
Regards,
Carlos. -
Disable Fast User Switching for RDP (NOT HIDE ENTRY POINTS!)
Windows 7 Pro.
I do virtually all my administration of 150 workstations (various domains and workgroups) remotely via RDP, and with Windows 7, I am finding more and more complications with Fast User Switching. Anything running under another user account may well
interfere with what I need to do: it may slow me down by consuming system resources, or it may, in fact, lock files that I need to remove or update.
When I log on remotely via RDP, I am notified that another user is logged on, but I have no option to log the other user off. If I then attempt to update a program that the other user has open, it may not update correctly because the other user has files
in use. I have been told I can use WMI to force another user logoff. I could probably run shutdown -i and force the user off (but, of course, that might log me off as well). However, this is not a good approach; when I run updates, I typically connect to anywhere
from five to 30 workstations simultaneously, and by the time I get logged onto all of them, I have no idea which had other users logged on and which did not. I would have to repeat on each of 30 workstations just to find out. I need a way to force-logoff the
other user during my logon process.
In the middle of running software installation, I may disconnect (NOT LOGOFF) from a workstation, take it to another site, then reconnect to the station to finish the installation. I may even just walk away from my computer for 15 minutes while updates are
running. If a non-administrative user attempts to logon, it asks me for permission, but allows the user to logon if I do not manually deny it. All non-administrators must be automatically denied logon when I am logged on.
It seems that disabling Fast User Switching would do this, but every time I have posted anywhere on the issue, I get another set of instructions on how to hide the entry points for Fast User Switching. That may work well for managing local logons
but fails miserably to protect my administrative environment.Hi Brian,
Base on the KB article 279765
How To Use the Fast User Switching Feature in Windows XP, when not using Fast User Switching (FUS) and a non-administrator is logged on, a member of the Administrators
group can establish a remote desktop connection and has the ability to logon to the machine locally and gets a prompt to logoff previous logged on user. When an administrator is logged, any member of the Administrators group may establish a remote desktop
connection. If a non-administrator attempts to connect, you may receive the following error message:
“The user <Domain or Computer Name>\<username> is currently logged on to this computer. Only the current user or an administrator can
log on to this computer.”
In Windows 7, if the Fast User Switching is turned off, the Administrator cannot attempt to login locally. Administrator can do a Remote Desktop Session
to the Windows 7 machine and put his credentials. Once he attempts to login, he gets a prompt that looks like below.
“Once Administrator clicks on Yes, the User1’s session is disconnected.”
After logging in, Administrator can launch the Task Manager, click on “Users” tab and logoff User1. The prerequisite for the Administrator
to be able to do a Remote desktop session to the Windows 7 machine is to enable Remote Desktop services on the Windows7 machine.
In the interim, when the Administrator is logged in and has not attempted to logoff User1 yet, if User2 tries to login, the Administrator will get a
prompt that looks like below.
“If the Administrator clicks OK, User2 will be allowed to login and the Administrator’s session will be disconnected.”
This is a known issue.
Regards,
Sabrina
This posting is provided "AS IS" with no warranties or guarantees, and confers no rights. |Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.
This can be beneficial to other community members reading the thread. -
User status for establishing release functionality for new activity.
Hi Experts
My intention is to stop business transactions to a newly included activity in a released project.
I wish a release for the specific activity before allowing business transactions.
For this purpose i have created an user status z0001 as shown below:
10 new New 10 20 1 1
20 rel Released 20 20 1 1
But, i am unable to trigger this for only activity that is newly assigned for the newly included activity.
Is there any means to get thje desired functionality?
warm regards
ramSivaHello,
Get help from your abaper on this.
Vinay -
Illustrator CS2 "Save for Web" not functioning properly.
Illustrator CS2, OS X 10.4.11.
I am creating graphics for the Web with Illustrator CS2. When I go to Save for Web, the Save for Web window opens properly but the original graphics and type (even though the type is converted to outlines), become pixelated therefore my Web images are pixelated.
Attached is an example of a jpeg saved at maximum 100 quality.
I am not umderstanding why my originals become pixelated when doing Save for Web. It used to work until yesterday.
Does anyone have any suggestions? Can anyone help?
Much appreciated and thanks in advance.Mom,
I figured there's nothing wrong with my native file as a co-worker did the same and Save for Web worked.So why is it that when I do Save for Web, the native file pixelates when previewing the "original"?
That's what I can't figure out. One minute it worked fine, the next... bang!
That, and gprobst also being save correctly, imply that there is something wrong with your preferences.
No time to wait for the server. Here is an extract of the most important part:
THE CURE:
Up to Illustrator 10, almost all the preference settings were included in the aiprefs file, and almost all issues with corrupted settings could be solved by deleting or moving it; in some rare cases, moving or deleting the folder holding the settings was required.
From Illustrator CS on, the preference settings have been spread over a number of files/subfolders so in many cases deleting the aiprefs file is not enough: the easy solution is to move the whole folder rather than trying to figure out which file(s) may be corrupted; just deleting the folder without moving it first has proved fruitless in some cases.
Therefore, the cure all consists of the following steps:
1. Close Illustrator.
2. Make a Windows search including hidden files and folders and including subfolders for the folder holding the preference files; the name of the folder depends on the Illustrator version, and the position of the folder depends on the OS version. There is one folder for each version and for each user so it is important to find the relevant one.
Up to version 10, the name of the folder is Adobe Illustrator [X],
From version CS on, the name of the folder is Adobe Illustrator [X] Settings.
[X] is the version number; as standalone versions, CS (Creative Suite) is called 11, CS2 is called 12, and CS3 is called 13, but the version numbers with CS are used in the folder name.
3. Either:
a) Create a subfolder and move all the contents into it; or
b) Move the whole folder to the Desktop.
With both you may recover the contents of the folder by moving it back if the issue is not solved and get your preference settings back.
a) requires creation of the subfolder, but it makes recovery easier, especially if you create a shortcut to the preference settings folder, and you can skip the search if/when corruption occurs again.
You may delete the folder/contents subsequently.
4. If you have Windows Vista, restart Windows. If not, continue to 5 without delay.
5. Restart Illustrator, and see whether the issue is solved. -
User settings for Webmail, not from a POP users account?
Perhaps I do not have this webmail deal set up correctly, but whenever a new user starts using our webmail, they always have to go in and set their Name, Email Address, and Reply-To address. How come these aren't set automatically? Shouldn't webmail pull this info from the WGM?
Why should it? Because the Webmail system (squirrel mail) comes with OSX server, and a squirrel mail login is based on WGM settings. I don't see why squirrel mail can't know a logged in person's name and email address, since it is pulling the login information from the same place those other settings are at.
Let me rephrase my original post:
Is there a way to integrate the WGM settings into squirrel mail? The user's name, email address, etc? -
Help mr please myBlackBerry world for bbz10 not functioning
Whenever I try getting access to my BlackBerry World it says "an error has occurred and BlackBerry World will be closed....." on top of that it does not appear in music and when I try signing in for games the phone says "SC -HTTP- SERVER -ERROR" Argent help please
poniks wrote:
Whenever I try getting access to my BlackBerry World it says "an error has occurred and BlackBerry World will be closed....." on top of that it does not appear in music and when I try signing in for games the phone says "SC -HTTP- SERVER -ERROR" Argent help please
Hi @poniks! Welcome to the BlackBerry Support Community Forums!
I suggest you reinstall the BlackBerry World Apps using the BlackBerry World Recovery Tool
Goodluck!
Click if you want to Thank someone. If Problem is resolved, so that others can make use of it. -
Equivalent for Outlook Notes?
Hi,
What is the equivalent application for the notes functionality in Outlook.
Just a collection of notes where I can edit or group them and search them.
Thx.Try the Stickies application.
A Notes feature will be added to the Mail application with Leopard.
http://www.apple.com/macosx/leopard/mail.html -
Crystalreports Viewer - Buttun Export Not Function on W7 64Bit
Hi,
When I start my software (realized with Vistualstudio 2008) on W764Bit machine the button,in the CristalReportViewer, for export not function. (The dialog for format choose is not showed and the program is locked)
The same program on the W7/XP/Vista 32bit run correctly.
The program is compiled for x86 platform.
How I can resolve the problem?
Thanks
Martino LuccarelliWeb or win app? - If web, make sure the app pools is running as 32 bit...
What version of CR?
-Ludek -
Search for SAP notes is very poor
I find the "Search for SAP notes" functionality very poor
I was searching for a setting from a web.xml file
<param-name>SMTPFrom</param-name>
in application area BOJ* and it came up with nothing
I even searched for
SMTPFrom
and it still came up with nothing
but if I searched for
email from
then it came up with note number 1308076 which has an extract from the web.xml file I was interested in and even had the very line I searched for but it failed to find
is this very poor search functionality or am I doing something wrong?I need a few tries to find a note too.
Especially the "Did you mean: ..." function is not working very well.
For example this one. I searched for "registered serverprogram" and it didn´t find anything.
But there was: "Did you mean: registered serverprogrammmmmmmmmm"
erm... yes. Very helpfull.
regards Tobias -
User exit for ME21N for displaying the tax code from custom table
Hi,
I have a requirement, in our system, the inforecord is not maintain for all the material and vendor combination, we have a custom table in which we have maintain the
Compnay code, Pur. Org., Vendor code Tax code, juridiction code
now we want that when a Po is created with ME21 or ME21N the tax code and jurisdiction code should be come from this table and if entry not found in this table then it should search as per the regular process like from last Po or info record. then which user exit we can use for this.
regards,
zafarCLOSE
Maybe you are looking for
-
I have recently got an iPhone 4 out of no where it has decided to think that my headphones are in and they are not but does work with headphones in. Then later on within the same day it after turning my phone on and putting it on charge it comes to t
-
SAP Report of Invoice Approver
Our company has recently implemented SAP, and not many people are familiar with the system and how to run reports. I would like to run a report that consists of the following fields: Invoice Number Invoice Date Invoice Amount Vendor Number Vendor Na
-
I just downloaded JDK1.1.8. I tried using some methods from the swing package, so I can display output in a simple GUI. When I compiled the program, I got the following error: Welcome2.java:3: Package javax.swing not found in import. import javax.swi
-
Script for Preprinted continues label print
Hi All, I am developing one script in that the stationary was preprinted one with label dimensions of 10 CM width 7 CM height. For this dimensions I had created new page format and assign to device type EPESCP. Problem: I am printing my label on dot
-
Fetching email with attachments in Tomcat
I'm trying to process emails with attachments using following code and it works fine in standalone java application, but when I run this code on Tomcat it treates all messages as not multipart. Class of all contents got from messages is SharedByteArr