Batch ABAP uses GET PARAMETER of the user

Dear all,
I have the following curious effect when I start an ABAP in Batch. There are some selection criteria with a GET PARAMETER which are blocked in the variant. In dialog everything works fine. In batch mode the variant in SM37 is also correct. Example code :
select-options:
    p_land1  for kna1-land1 memory id lan, 
    p_kunnr  for kna1-kunnr memory id kun.
But when I switch on the ALV display of the selection the empty fields connected to a GET PARAMETER now have the values of GET PARAMETER of the user who runs the ABAP and the data base selctions get wrong !
I tried to scan OSS but there is either too much information or not the right one.
SAP is ECC6.0 and ABAP/Basis is on 70014
Thank you for your help
Rabanus Diehl

I finally decided to open an OSS call and the result is that there is an inconsistency in the handling of SPA/GPA parameters in batch mode. Those parameters which are on the main screen will not be filled by GPA mechanism but those on Subscreens will be filled !
SAP considers it illogic as well, but they hesitate to correct the error, because batch jobs at customers may be influenced.
My impression is that, if someone has recognized this illogic behaviour at all, he has switched off the GPA handling in his program, which is my workaround as well. But I doubt that there were many people recognizing this problem.
So if someone stumbled over it, please feel free to comment.
Best regards
Rabanus Diehl

Similar Messages

  • A small app setting parameter on the user

    Hello
    I have a portal that use an ABAP system as a UME.
    I need to make an webdynpro application that can update a parameter on the user in the ABAP system (parameter CVR set in su01).
    Is this possible done by webdynrpo on the Portal (Java) ? Or should i consider an abap for webdynpro for abap on the system that has the UME (Abap) ?
    Best Regards
    Kristoffer Engh

    Kristoffer,
    that doesn't really matter, as long as the used JCo-Connection (in case of WD for Java) has the proper authorities to change the user settings.
    I think, you can achieve this really easy with BAPI_USER_CHANGE.
    WD/J has the advantage, the application can run on the portal itself.
    kr, achim

  • URL iView Problem - How to Use URL Parameter of Type 'User Information'

    Hello URL iView experts
    I am currently working on integration of backend-functionality with the help of an URL iView.
    I want to use a parameter of type 'User Information'. In SAP Help Library it is said, that it is possible to set the value of a parameter according to a dynamic query on the users attributes. (Link SAP HELP)
    It is also said, that one can retrieve the Logon ID of the users account.(Attribute Name: j_user -> Link SAP HELP Attributes )
    I can choose the type 'User Information' but i don't know what to specify in the field 'Value'.
    I have made a screenshot of the problem.->[Link to screenshot|http://img66.imageshack.us/img66/7782/urliviewproblemfrsdnthrel3.jpg]
    But if i am calling the application this way, he doesn't retrieve the Logon-ID of the account, but he just uses the 'j_user' as value for the parameter.
    Can you tell me, what i need to specify in the field value?
    Best Regards
    Marcus
    Edited by: Marcus Böhm on Jun 2, 2008 1:22 PM

    Hi Marcus,
    > It is also said, that one can retrieve the Logon ID of the users account
    This is not correct; on the help.sap.com-page concerning the URL-iView-Parameters, it is printed that "other attributes (general, account, group, role) are not supported". The j_user attribute is part of the account group, so - not supported.
    For your needs, it may be a better choose to use the AppIntegrator, which offers such a possibility by using "<User.LogonUid>"; see http://help.sap.com/saphelp_nw70/helpdata/EN/36/5e3842134bad04e10000000a1550b0/frameset.htm and https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0cbc309-ff89-2a10-8bad-bcde4c152ecb
    Hope it helps
    Detlev

  • I am trying to back up my mail (5.1) directories but I can no longer locate them. They used to be in the user library. Would be grateful for some assistance.

    I am trying to back up my mail (5.1) directories but I can no longer locate them. They used to be in the user library. Would be grateful for some assistance.

    They're stil there;  Apple decided to hide your Library folder.  Hold the Alt/Option key while selecting Go in a Finder menubar and select Library.
    Do you have other backups, made with a proper backup app?  If not, that's the best way to back up your data, rather than doing it "piecemeal" via drag & drop.
    You might want to review the Time Machine Tutorial, and perhaps browse Time Machine - Frequently Asked Questions.

  • I get an intermittent " Cannot Get Mail. The user name or Password is incorrect" I haven,t touch any settings. Any ideas?

    I get an intermittent " Cannot Get Mail. The user name or Password is incorrect" I haven,t touch any settings. Any ideas?

    That usually means that the mail server is busy and rejects the Mail App's request for a mail update.

  • Why do I get sent to the User Login screen to enter my password after sleep?

    Hi,
    On OSX Lion, 10.7.4. I recently had to reinstall the OS on a new hard drive in my iMac and now have an issue with it that I never had before.
    After prolonged periods of sleep (I haven't determined what the minimum length is before this will happen), when I come to wake the computer it shows me the User Login screen. Under my user icon is an orange checkmark, presumably to show that I am the user logged in. Otherwise it is exactly the same as the User Login screen one gets when the computer boots up. I select my user icon and enter my password and the computer unlocks.
    I haven't got this set up anywhere, that I know of. I don't have the 'Security & Privacy - Require password for sleep and screen saver' option checked, never have. If I do turn that on just to check, it's a very different password screen, a little popup window in the centre of the dimmed screen.
    How do I turn this feature off?
    Thanks,
    Owen

    Sounds like you may have deleted something you shouldn't have. Boot to an OS X DVD or a bootable backup, and using Disk Utility, do a repair disk, and while there repair permissions. Disconnect any peripherals, and reboot. If you get the same startup behavior, do a safe boot, by holding the shift key down when booting. If that works, try a normal boot. If neither step helps, you may need to relaod your operating system.

  • Anyone tried using LDIF file in the User Profile Synchronization Process?

    Microsoft pushied an article recently talking about using LDIF file in the SharePoint's user profile synchronization. 
    Configure profile synchronization using a Lightweight Directory Interchange Format (LDIF) file (SharePoint Server 2010) http://technet.microsoft.com/en-us/library/ff959234.aspx
    Currently I am unable to obtain the required "Replicate Directory Change" permission set up by the AD admin.  So I thought of exploring this alternative since I still have AD search permission right now.
    So far, I was able to set up the MOSSLDAP-LDIFMA, and use an import.ldif file to add, remove and update user profiles.  However, there are some problems that I can't resolve.  One of key problems is, the LDIF-imported records can't be
    sync'd with login-based records.
    In my environment, when a user login SharePoint via Windows authentication, a new profile would be added, under the account name "domain\username".  Meanwhile, when an LDIF record imported, there will be another profile created under the account
    name "domain:domain\username", or "domain:username".  That is, there would be two profiles for each user.
    Based on my understanding, it is very likely the user profile synchronization is based on the user's account name.  But in document and sample files provided, I can't find out any clue how to prepare the ldif file so that it will update the
    matching records, instead of creating new ones.
    Any help?  Thanks in advance.

    Has anyone managed to get this to work?
    It's nice that Microsoft offers the ability to import user profiles via LDIF into SharePoint, but it is useless if the account name is not correct after the import. I have tried multiple imports from the LDIF to get a user account to show up as  "domain\username" but
    it always ends up as "domain:domain\username", or "domain:username".  or a variation
    of these 2 with a colon separating the domain form the username. i see that multiple people have had the same problem, but unfortunetaly can't seem to find a solution. Also I see Bradley mentions that he was able to import accounts using get-QADUser,
    but he doesnt mention what the accounts import as or if it resolved the domain colon issue.
    Thanks in advance for any help or information anyone can provide.
    cheers,
    Zed

  • How to get data from the user for an Insert Trigger ?

    Hi all and thanks in advance, I need to get some values from the user for a child table when a row inserted into the parent table, is that possible to use ampersand inside an "Insert Trigger" to let the user for inserting some values ?
    Edited by: user9942078 on 17-Dec-2008 16:35

    In a different words,
    When a virus attacked your body your blood cells instantly goes into operation. Just like that -> your trigger activated as a result of your DB operation on objects. So, here also you have no option to manually intervene anything.
    Hmm... Looks like some science fiction movies ultimately pays some price... ;)
    So, trigger basically fires implicitly as a result of any database operation on objects or even on user.
    So, that has to be automatic. And, when you are using & it will ask for some input value - which cannot be done in case of triggers.
    For details please refer the oracle docs.
    Regards.
    Satyaki De.

  • Submit batch job and return control to the user

    Hi
    Have a situation where we need to submit a batch report and then return control to the user of the application before the report is finished. What is the best way to do this? The old application is written using Java and the application is using threads to do this. However, the application is being re-written in App Ex.
    Any ideas would be appreciated.
    Thanks

    You need to use package APEX_PLSQL_JOB.
    You can use the APEX_PLSQL_JOB package to run PL/SQL code in the background of
    your application. This is an effective approach for managing long running operations
    that do not need to complete for a user to continue working with your application.
    Just look for it in the help.

  • Can't get hold of the user.waveset.roles in my workflow

    Hey,
    I am developing a workflow process that adds a role to each user during reconsiliation if they don't already have it.
    1. It gets the user view.
    2.. It checks to see if the user has a particular role. (This is where my problem lies, as the user.wavset.roles value returns null).
    3. If the user already has the role the process ends.
    4. If the user doesnt have the role it appends it to user.waveset.roles and then checks in the user view.
    So at the moment the process always thinks the user hasnt got the role because I can't get user.wavset.roles to return a value. Although I can access it when I append!?
    Any ideas anyone why I cant access the user.waveset.roles value in the second step? It prints out that the value is null on the stack trace.
    The Activity code looks like this:
    <Activity id='5' name='Check Roles'>
    <Transition to='end'>
    <match>
    <upcase>
    <block trace='true'>
    <ref>user.waveset.roles</ref>
    </block>
    </upcase>
    <upcase>
    <rule name='Entrust GetAccess Role Name'/>
    </upcase>
    </match>
    </Transition>
    <Transition to='ProcessUser'/>
    <WorkflowEditor x='163' y='9'/>
    </Activity>

    Check once if the variable "user" is holding the user view or not.
    I'm not sure if you have already tried this....
    If we are getting the user view using a workflow service then by default the fetched user view is placed in a variable called "view". So we may have to use 'view.waveset.roles'.
    If we want to store the fetched user view in the variable "user", then in the Action that gets the user view, we may have to return the value from "view" to "user", wherein "user" is a global variable defined at the workflow level.Then we can refer "user" in all the activities throughout the workflow.

  • How to change company logo dynamically using login information of the user in flex4 CSS styl method?

    hi all,
    I am doing mxml flex4 web application. i am using a login in my application. this login for multi user  purpose.
    My need is when a user login using his username and password his company logo should show the top of my application and his copyright details show the bottom of my application
    if another user login means his company logo and copywrights should show in my application.
    This logo and copyrights details should change dynamically based on the login information.
    I want to create this using CSS file (skins and sparks)
    How to do this,i am struck in this place,
    Looking for useful and helpful suggession or snippet code,
    Thanks in advance,
    Cheers,
    B.Venkatesan.

    If the user is logging in, presumably you are having the user hit a back end web-server and database and using something like Blaze to connect? Right?
    I personally would not do this with CSS. I would map the company icons to the users in the DB, retrieve the proper company icon and then pass it down (or embed it in the app) when the user logs in. Then, I would just set the source of the icon to be what I passed down:
    Add your image where you want it to go:
    <s:Image id="emptyImage" x="locationx" y="locationy".../>
    Then in your ActionScript, when the user logs in and you know what company the user belongs you could do this:
    private function loginUserBlazeResponse(resultEvent:ResultEvent):void {
    var bytes:ByteArray = ByteArray(resultEvent.target);
    emptyImage.source = bytes;
    addElement(img);
    img.visible = false;
    img.addEventListener(FlexEvent.UPDATE_COMPLETE, imageLoaded);

  • How do i get input from the user?

    For example if i wanted to ask "Whats your favorite number" and then get the input from the user and assign it to a variable how would i go about doing that?

    hi,
    if you want to get input from your console your should work with io(input and output).The BufferedReader class, InputStreamReader class
    you should import "java.io.BufferedReader" and "java.io.InputStreamReader" package, and do something like this:
    BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
    String favoriteNumber;
    System.out.println("Whats your favorite number ");
    favoriteNumber = input.readLine();
    System.out.println ("Your favorite Number Is " + favoriteNumber);
    if its a gui you should import "javax.swing.JOptionPane" and do the following
    String favoriteNumber = JOptionPane.showInputDialog(null, "Enter your favorite Number", "Favorite Number", JOptionPane.INFORMATION_MESSAGE);
    anjiie([email protected]).

  • HT4798 I have a used mac book with the user id from the old user still on the system, how do I reset it to a new one?

    I have obtained a used MacBook that still has the previous owners User ID associated with it, how do I go about changing it to me so that all the necessary accounts to reflect my user rights?

    If you have a Used Mac that has the old user's account, then you also could have the old user's malware installed, which is collecting all your financial account information. Likely? Probably not. you want to take the chance?
    You should erase the drive completely and re-install the OS.
    If you don't want to do that, create a new user account, give it admin privileges, log into that account, and delete the old user's account.

  • What is to be used to know whether the user has made any changes in alv

    hi all,
           i want to know what is to be used for checking whether a user has done any changes in an editable alv.
    i have used sy-datar but it has nothing in it.
    so kindly help SAP gurus.
    with regards,
    Sindhuja

    Hi Sindhu ,
    If you want to capture the changed data ( rows) use the event : handle_data_changed .
    When the user changes the data , this event will be triggered and the table will have only the changed data.
    Regards,
    Chitra

  • HT1222 Can not get mail . The user name or passwords is incorrect

    Can not get e-mail . It states that the user name is incorrect and pass-word is incorrect

    Did you check your settings and make sure that the information is correct?

Maybe you are looking for

  • IPhone 5 Starts then Shutdowns after main screen?

    So, i have had this phone for about a month and half, and one day my phone died on me then i got my charger and charged it. It showed that it was at 1% charging when youu see the battery symbol red and at 1 bar. I left it alone for about 20 mins, sti

  • Executing PLSQL statements on Oracle SQL Developer

    Hello All, I am trying to execute following PLSQL statements through SQL Developer: DECLARE myvar VARCHAR2(30); BEGIN myvar := 'TEST NAME'; DBMS_OUTPUT.PUT_LINE(myvar); END; But nothing is being displayed. And when I execute the same on SQL*Plus, the

  • Mailing photos from iphoto through mail

    When I mail photos from iphoto through mail, it sends the picture at very low resolution regardless of the setting I choose (small, medium, large, actual). How can I send photos to others at viewing or even printing quality? Can I resize the pictures

  • GeoMap UI Element

    Hi, Can anyone explain me about the GeoMap UI Element. 1. What is the external GIS Server required.for implementing the GeoMap UI Element? 2. How to integrate the GIS Server into the WebDynpro Java Application.? 3. Use of PTV eServer in integrating S

  • Which Imports Faster HDV or AVCHD in FCE and iMovie?

    I'm planning on getting my first HD camcorder and I'm leaning towards the HV-20 or HG-10. I'm leaning towards the HV-20 HDV. Tapes are cheap and a good archive medium and I'm leery of small hard drives being robust. Do AVCHD camcorders use similar dr