Transaction ME21n (Will not run as a BACKGROUND SESSION)

The requirement is to generate Purchase Orders (Stock Transport Orders to be precise).
The RFC has to create a session which will be executed...say...before midnight to generate the sto (TC -> SM35).
I have used BDC inside my RFC calling the transaction ME21n. It runs fine as a foreground session, but will give a error if the session is run as a background session (Due to the dropdown lists in ME21n I guess).
The solution I figured out is to use ME21. This does execute in the background successfully.
But given the fact that ME21 is the OLD transaction and ME21n (enjoy sap transaction, right?) to be the one to be used now, my dilemma is in choosing ME21 and risk the scenario of this transaction being obsolete and not supported the SAP for technical support in the future.
Can any body please help me on this.
Thank you.
Message was edited by: Sai Sanathan

hello,
with transaction VL10BATCH you can create new variants, and shedule background jobs. This should work.
However, you need another user role. (on the last tab of the selection screen of VL10B)
It is the F code profile you have to change. With this profile you can choose whether a list needs to be shown, or whether the deliveries have to be created right away (without showing the list). The second option should work in background. After delivery creation, you can check the   log using transaction V_SA.
So you need to create a selection variant with changed user-role for the backround job.
You can maintain user-roles via transaction VL10CUA.
You can input-enable user-role via transaction VL10CUV.
If you don't want the users to be able to run VL10B without showing the list, you have to create your own scenario, and use VL10X to start this scenario. Although this is not really necessary.
I hope this makes things more clear for you.
regards,
Joris.
Here is a copy of the OSS-note (310022) I was talking about:
Symptom                                                                               
o  For regular planning, you want to transfer the delivery creation
       in a job to the system administration. Here, you have           
       difficulties.                                                                               
o  Background processing of Transaction VL10* does not generate    
       deliveries but only a list in the spool.                                                                               
Additional key words                                                   
VL10BATCH, VL10A, VL10B, VL10C, VL10D, VL10E                                                                               
Cause and prerequisites                                                
Solution                                                               
For planning the delivery creation in background processing you must                                                                               
o  activate a user role for immediate creation of deliveries (in the
       standard system, the immediate delivery creation is deactivated 
       for all user roles for reasons of safety),                                                                               
o  create a selection variant for one of Transactions VL10*.                                                                               
Activation of the user role for background processing                  
The user role controls the entire processing of the delivery list.     
Within Transactions VL10*, you can display and maintain the user role on
the "User role" tab page. You can carry out the maintenance also via   
Transaction VL10CUA. Note 301578 describes how to make a user role ready
for input.                                                             
An F-code profile is linked to the user role. The F-code profile       
controls the internal process of the transaction. Two F-code profiles  
are provided in the standard system:                                                                               
o  0001 Display delivery list                                                                               
o  5001 Supply delivery list                                                                               
In the user role you want to use for background processing, you have to
replace F-code profile (not "AllowedDialogFCodes") 0001 with profile   
5001:                                                                               
1.  Call Transaction VL10CUA for maintenance of the user roles.                                                                               
2.  You might want to copy one of standard user roles 5001 to 5103 that
    is planned for processing in the background to a separate role in 
    the customer namespace, for example, 9001 or Z***.                                                                               
3.  Branch to the detail view of the user role and change the entry for
    the F-code profile from "Display delivery list" to "Supply delivery
    list".                                                                               
Creation of the selection variant                                                                               
1.  Call the desired Transaction VL10* and branch to the "User role" ta
    page. Do not use Transaction SE38 or VL10BATCH for variant        
    maintenance of VL10*.                                                                               
2.  Here, enter the user role that you have maintained for background 
    processing.                                                       
    Caution! If you use a user role with an F-code profile for the    
    immediate creation of deliveries, you receive no dialog with a    
    shipping due list but the deliveries are created immediately at the
    start of the selection!                                                                               
3.  Enter the remaining selection criteria on the various other tab   
    pages.                                                                               
4.  Select function "Goto -> Variants -> Save as variant..." and save 
    the selection criteria entered as a variant. You might classify the
    variant as "Only for background processing", in order to avoid a  
    start of the delivery creation in the dialog by mistake.                                                                               
5.  Make sure that the objects of selection screen 1060 have been saved
    and that checkboxes "Save field without values" are not filled with
    all objects (in particular in Release 4.6B) for the desired       
    settings.                                                                               
You can schedule the selection variant via Transaction VL10BATCH for  
regular use in the batch.                                             
And also the OSS-note (301578) about input-enabling user-role:
SAP Note No. 301578                          22.08.2005           Page 1
Number              301578                                              
Version             4 from 08.05.2000                                   
Status              Released for Customer                               
Set on              08.05.2000                                                                               
Language            EN                                                  
Master language     DE                                                  
Short text          VL10: Ready to input status of user role                                                                               
Responsible         SAP AG                                              
Component           LE-SHP-DL                                           
                    Delivery Processing                                 
Long text                                                                               
Symptom                                                                 
On the selection screen of transaction family VL10*, the selection      
criteria in the 'user role' tab are no longer ready for input of Release
4.6C.                                                                               
They are delivered in the standard SAP system not ready for input.                                                                               
Additional key words                                                                               
Cause and prerequisites                                                 
As of Release 4.6C, the ready for input status in the 'user role' tab is
linked to settings in the scenario and the user role.                                                                               
1.  In order to get the ready for input status for the "Role" field, set
    "Allow assignment" to 'X' in the scenario that you are using        
    (Transaction VL10CUV or SM31, V_T186V, T186V-ALLOW_USER_ROLE = 'X').                                                                               
The system administrator (Customizing authorization) can then       
    determine whether only the user role preset in the system is allowed
    or whether any number of other user roles may also be used for this 
    scenario.                                                                               
2.  For the check box "Use list profile" and therefore all possible                                                                               
settings for the "user role" tab, the ready for input status in the
    user role can be allowed in "Chang. attrbute" (changeability of the
    attributes).                                                       
    Set this field with Transaction VL10CUA for the used user role to  
    'X' (Transaction VL10CUA, or SM31, V_T186, t186-CHANGE_ALLOW = 'X').
Background:                                                                               
The settings in the scenario and user role have in the course of time  
become so wide-ranging and far-reaching that an additional feature had 
to be implemented: a system administrator must be able restrict the    
changes by the end user at different levels .                                                                               
You now have the option of determining for every user role whether that
settings determined on the selection screen may be changed again.      
You also have the option of determining in every scenario in which this
user role is used whether the change is allowed for another user role.                                                                               
In the context of the fixed link of the scenario to a transaction and  
therefore to the authorization concept of mySAP.com - user-roles can be
controlled at user level - whether the settings for the user role tab of
the selection screen of VL10* may be changed by a user or not.                                                                               
Solution                                                               
Maintain setting in scenario (VL10CUV) and user role (VL10CU)          
(Customizing authorization required).

Similar Messages

  • Firefox will not run after System restore or running in compatibility mode for windows 98. How do I fix this? I already tried all other solutions on this site.

    I was running Firefox fine just yesterday. I screwed up the registry a litle while removing an installed program completely, so I restored the system and everything appeared to work fine. I then decided to play an old video game, Return to Krondor, which was made back in 1998, so I ran the program with no other programs running in compatibility for windows 98. After finishing the game, I closed it and put the computer in hibernation mode. I come back today and firefox will not run at all. It is not running in the background and there are no programs running. There are no services running which could interfere with it. I think somehow Firefox may think I'm in compatibility mode still, but I have no idea.
    I'm running windows Vista 32 - bit with an AMD 2.4ghz processor, 4gb ram on an Emachine computer. I have already tried system restore, restart, processes etc. Nothing works. I can still run Internet explorer and all other programs.

    The person that I was assisting, has Windows 7 which has 64 bit system. Her browser was IE 10.
    Was IE11 ever offered (or installed) via Windows Update?
    Is her computer currently fully-patched at Windows Update?
    Is Adobe Shockwave Player v12.1 (or higher) installed on her computer?
    Is Adobe Flash Player v15.0.0.189 (or higher) installed on her computer?
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Troubleshoot Shockwave Player installation for Windows
    http://kb2.adobe.com/cps/403/kb403264.html
    You will find support for Shockwave Player in this forum:
    http://forums.adobe.com/community/webplayers/webplayers_shockwave
    ~Robear Dyer (PA Bear) MS MVP-Windows Client since 2002 Disclaimer: MS MVPs neither represent nor work for Microsoft

  • I uninstalled Firefox once, reinstalled it and it ran. I had a problem so I did it again. Now it will not run and I get an error message saying that firefox is running and you can only run one at a time. I can't figure out what is running.

    Because of a problem, I uninstalled Firefox once, reinstalled it and it ran. I had a problem so I uninstalled/reinstalled it again. Now it will not run. I get an error message saying that firefox is running and you can only run one at a time. I have uninstalled multiple times and can't figure out what is running. The is only one Firefox installed and it is not open. What does this mean and how do I fix it?

    If you use ZoneAlarm Extreme Security then try to disable Virtualization.
    *http://kb.mozillazine.org/Browser_will_not_start_up#XULRunner_error_after_an_update
    See also:
    *[[/questions/880050]]

  • Downloaded safari 6.0.4 but it will not run on 10.6.8 on

    I downloaded safair 6.0.4 to a macbook running 10.6.8 but Safari will not run the new verstion, only the 5.9.1??

    For 10.6.8 you need Safari 5.1.10.
    Ideally, you'd now install a system backup made before you got 6.0.4 on there... if that's not possible, download Safari 5.1.10 for Snow Leopard & use Pacifist to 'force' the install, then restart. Backup first, if you haven't already.

  • Office 2013 applications will not run as a domain users

    I have a windows 7 64-bit pc with 2013 office home and and business installed. When trying to access Office as a domain user the programs will not run. Is there a fix for this other than making the users local admins?

    Hi,
    Which version of Office 2013 did you deployed, Windows Installer-based version or the Click-to-Run version?
    Did you install the Office product with local administrator account? I notice that the users must be local administrators on their computers to install Office:
    http://technet.microsoft.com/en-us/library/ee624360.aspx
    If we add the local admin right to the user, can the Office programs be launched? If so, repair the Office programs and then remove the local admin right. See if it can work.
    Best regards,
    Rex Zhang
    TechNet Community Support

  • I recently purchased the iPhone 5 and my itunes account on my iMac 7,1 will not recognize it as a device. My imac has stopped downloading new updates, it says it is up to date with iTunes 9.2.1. My imac will not run the newest 10.7 itunes either. HELP!!

    I recently purchased the iPhone 5 and my itunes account on my iMac 7,1 will not recognize it as a device. My imac has stopped downloading new updates, it says it is up to date with iTunes 9.2.1. My imac will not run the newest 10.7 itunes either. All I want to do is put my music from itunes on my computer to my new phone. HELP please!!

    i called apple and they are sending me snow leopard so i should, *fingers crossed, be able to run the newer version of itunes. we'll find out for sure in a few days when it arrives

  • ITunes 10 will not run on Windows 7, 64 bit

    I have upgraded to itunes 10 and now it will not run. In task manager the process is running but no programme. i uninstalled all itunes, quick step, bonjour and apple folders. Then tried a clean instal of itunes 10. Still didn't work. Uninstalled again and reloaded v 9.2 and it works. Tried disabling bonjour and ran the instal of 10 again and it still doesn't work. This is becoming a major pain as I am stuck on v9.2.

    Try installing the version 10 again so we can check on a few other characteristics of the problem, seeoh.
    (1) Does your QuickTime Player launch, or do you get an error message of some kind when you try to launch that?
    (2) Try (by way of experiment) disabling the BonJour Service.
    In your Start Menu, right-click Computer and select "Manage".
    Expand "Services & Applications".
    Open "Services". (Maximise the window to better see what's going on.)
    Right-click the BonJour Service and select "Properties". In the "General" tab, set Start-up type to "Disabled".
    Restart the PC, and try launching iTunes again. Does it launch this time?

  • HT1925 After failed update of itunes yesterday, now will not run with error message "MSVCR80.dll can't be found, APSDaemon.exe not running".  Windows 7.

    After failed update of itunes yesterday, now will not run with error message "MSVCR80.dll not found" APSDaemon.exe will not run.  itunes will not now run.

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • Premiere Elements 12 will not run after installing on my HP laptop with Windows 7.

    Premiere Elements 12 will not run after installing on my HP laptop with Windows 7. HOWEVER, PE11, PE10 & PE 9 all run without a problem. I contacted HP, and there are NO NEW or ADDITIONAL video drivers available from HP.
    I have NEVER had a problem running ANY software on this laptop -- except for PREMIERE ELEMENTS 12!

    Premiere Elements 12 will not run after installing on my HP laptop with Windows 7. HOWEVER, PE11, PE10 & PE 9 all run without a problem. I contacted HP, and there are NO NEW or ADDITIONAL video drivers available from HP.
    I have NEVER had a problem running ANY software on this laptop -- except for PREMIERE ELEMENTS 12!

  • Windows 8.1 will not run my install CD for Photoshop 5.0. What can I do ?

    Windows 8.1 will not run my install CD for Photoshop 5.0. What can I do ?

    i'm not sure your expectations are realistic.  ps 5 was designed for win95.
    you can't fault adobe for failing to design ps 5 so it would be compatibile with an os that wasn't in existance when ps 5 was released. 
    to be sure, adobe did not  warrant their software would work with all future operating systems.  and no other software company can or does make such a claim.

  • BB Desktop Software 6.1 will not run on Windows 7 64-Bit

    I wrote to the forum of my problem, and a nice person here told me that I may be having the same problem as others and to repost my question to this link
    http://supportforums.blackberry.com/t5/Desktop-Software-for-PC/BB-Desktop-Software-6-1-will-not-run-...
    I went there and cannot find a button to tick to post to that page, so I went one back and posted my problem in hopes of finding help. BB4matt even told me what my laptop is.  A Genuine Windows 7 home Premium 64 bit Operating System, and that Desktop 6.1 will not run on this system, to copy my problen to the above link, (which I couldn't figure out how to do) or start a new one under the heading I used, that I MIGHT attract a guru of sorts, BB Tech Advisor, ViciousFerret. MR FERRET, please help!
    Thank you all so much in advance once again! (Below is my original plea for help.)
    P  
    Hi. 
    I have read in these forums and am still lost.  I know my answer should be in hre somewhere, but if it is I am unable to understand it, so be patient as I may be reasking an already answered question.
    I try to be a good lil girl and follow forum rules, but am lost here.
    I bought a new laptop, a Dell 17R  It runs Win 7 I think. Lots of ROM/RAM.  I dowloaded the desktop program from bb dot com and cannot get it to work.  First it asked me to trouble shoot, and reconfigured the DT prog for Win XP.
    It then acknowledged my Torch and dld my photos.  Then it decided I didn't have space and undid whatever it did.
    NOW I cannot get the program, once it opens to recognise my phone at all! ACK!!
    I need someone who understands this gobbltygook to explain to me what to do.  I need to unload my photos, as I use my phone to take pix more than I would have thought.
    I am a photog, and it's better than my first digital this Torch 9800 is, and video quality, OMG, but the vids are too big to upload from the phone..........(IDK why cuz it did at Christmas?)
    Anyway, please help me here, as I can use a computer, e-mail, Facebook, Picassa, other than that, IDK too much about them.  (It took my YEARS to spring for this laptop)
    Thank you in advance for your patience.
    P  

    I have the same issue.  It gets to a desktop manager picture and just freezes.

  • Firefox 4.0 will not find update to 4.0.1, add-ons for 4.0.1 will not run

    30 May 2011, 18:22h UTC
    Downloaded 4.0 UK-edition on my laptop, the 4.0 US-edition on my desktop, and the 4.0 UK-edition on a 2nd laptop.
    On mine, updates to 4.0.1 are not found, some add-ons were taken off, as incompatible, that ran on the 4.0 on my desktop (and weren't on the 2nd laptop). Add-ons, now already even compatible with 4.0.1 (running on the 2nd laptop) will not run as 'incompatible' with 4.0 (though listed on the add-ons site as compatible.
    It has stopped telling me that 'something' is pretending to be an update from Firefox (whatever that 'something' be?) since setting the browser to updating manually, but asking me first what to do. All currently installed add-ons have not asked me for some time (though on other computers), and also report as fully up-t0-date.
    Ergo: Neither Firefox 4.0 nor any installed add-ons update correctly.
    Didn't crash, though it 'likes' doing that after printing (always Badly! with dreadful printing options/previews), leaving two tabs (rather than the one before), both of which only can be shut from their context menus. Crash reports have been sent with same email address, but not been answered. This browser has all the qualities of a Beta-release and needs some serious overhauls (it's also not very new or much safer!).
    Example for an add-on that won't install on 4.0, but will under 4.0.1: CookieMonster - which is desperately needed, given your browser still suffers from minimal, insufficient cookie management, incl. lists of domains that wish to set 'another' cookie when no cookies are as yet, allegedly, sitting on the computer.

    I've since updated manually to 4.0.1, but haven't yet tried the full uninstall version, because I have to export plenty of settings first (and/or manually copy them). Also means I'd have to start from scratch with many customizations in No Script.
    That said, I'll try the 'Safe Mode' option tonight, thank you :-)!
    If I have to uninstall the whole shebang, I'd be more tempted to go back to 3.6.x until a few more of 4's teething problems (e.g. the messy print dialogues, particularly preview, which regularly doesn't even work) have been tackled.
    Thanks-1M! for now - keep you posted.

  • I was going to upgrade from 10.6.8 to mavericks 10.9.2, but the installer program notified me stating my appleworks 6 app will not run on the new set up. is there a procedure to keep or switch my documents in order to obtain the mavericks upgrade?

    i was going to upgrade from 10.6.8 to mavericks 10.9.2, but the installer program notified me stating my appleworks 6 app will not run on the new set up. is there a procedure to keep or switch my documents in order to obtain the mavericks upgrade?

    I can't say personally since I never used AW, but see if these articles help:
    http://www.macworld.com/article/1166370/open_old_docs.html
    http://www.cultofmac.com/248546/convert-system-os-9-appleworks-6-files-to-os-x-p ages-files-os-x-tips/
    I suggest that you clone your current drive with 10.6.8 to an external drive. If you have any issues after upgrading to Mavericks, you can boot back into 10.6.8.
    Both of these applications can be used to create a clone. If you need help creating your clone, let us know.
    SuperDuper! http://www.shirt-pocket.com/
    CCC http://www.bombich.com/download.html

  • It will not run on Mac OSX 10.5.8, on a G% dual 2.0ghz, now my older version of Firefox is gone...

    I downloaded Firefox 4.0 and It will not run on Mac OSX 10.5.8, on a Mac G5 dual 2.0ghz. Now my older version of Firefox is gone...Why won't it work, the download page says it is for OSX and does not say it will not work on any particular OSX. Can your clarify. And can I get the old Firefox 3 back or should I continue using Safari....?

    Yes I've read every one of them, none of them provide solutions whatsoever, I have spent about ten hours on this site in the past two days to no avail, none of the "resolved" threads provided any sort of solution for me, I have tried everything suggested on this website so far, multiple times, to no avail.

  • CC installs in Win 8.1  but will not run?

    Have reinstalled repeatedly over past 3 days - sometimes completes install but will not run, sometimes does not complete install and quits, sometimes gives Error 50.  Have run CC uninstaller multiple times and it always leaves behind CoreSync_x64.dll which will not delete manually.  Hat to try next?

    "Failed to install" | Creative Cloud Desktop : https://helpx.adobe.com/creative-cloud/kb/failed-install-creative-cloud-desktop.html

Maybe you are looking for