Call a BAPI with different user ID

Hi All,
Here is my scenario:
                                                  CALL  BAPI
System 1 -
>   System 2
               <----
                                            TRANSFER DATA
What I want to do is when I call the BAPI in System 2 with a different user ID than is actually logged into System 1
executing the BAPI.
Is this possible?
thanks.
JB

Hello,
I suppose you use a Trusted RFC connection in your BAPI call and not an RFC destination with a dedicated user in it.
What you can do in the source system is calling your BAPI from a background process (job).
You can change the user ID in the step of the job.
In this case trusted RFC will make sure that the BAPI is called in the target system with the user specified in the step.
If trusted RFC is not an option you can use an RFC destination with a dedicated user ID in it.
I hope this helps.
Wim

Similar Messages

  • Call transaction BDC with different user id

    Hello,
    We have a BDC program for creating Invoice using "CALL TRANSACTION VF01" method. But there are are few user IDs accessing this program who do not have authorisation to VF01. So requirement is to create Invoice with a common user id.
    Please help if it is possible to call transaction with different user id. Please also provide you inputs if you can suggest some other way to fulfill this requirement.
    Thanks & Regards,
    Rohit

    Hi Rohit,
    if users are not authorized to post invoice, why is it required to surpass the checks?
    A Question the business should answer.
    It should not be the consultants obligation to find doubtable ways.
    Regards
    Clemens

  • HT204053 i RECENTLY PURCHASED ANOTHER IPHONE.  MY INTERNET IS NOT WORKING.  I JUST CREATED AN APPLE ID.  WHAT'S NEXT?  I NOW HAVE TWO DIFFERENT ACCOUNTS WITH DIFFERENT USER NAMES.  HOW CAN I USE ONLY ONE ACCOUNT FOR ITUNES, ICLOUD APPLE ID ETC???

    I RECENTLY PURCHASED ANOTHER IPHONE.  MY INTERNET IS NOT WORKING.  I JUST CREATED AN APPLE ID.  WHAT'S NEXT?  I NOW HAVE TWO DIFFERENT ACCOUNTS WITH DIFFERENT USER NAMES.  HOW CAN I USE ONLY ONE ACCOUNT FOR ITUNES, ICLOUD APPLE ID ETC???

    Welcome to the Apple community.
    iTunes and iCloud and different accounts, you will need to delete both accounts from your device before adding the new details in their place.
    For iCloud go to settings > iCloud, scroll down and hit the delete button. You can then sign back in using your correct details. For iTunes go to settings >store, tap your account ID and then sign out, you can then sign back in using your correct Apple ID.

  • Is it possible to share an aperture library with different users using osx server.

    is it possible to share an aperture library with different users using osx server.

    Not really.  You should not be sharing an Aperture library over a network.  It's not designed for that and you'll likely corrupt your library at some point.

  • Sharing itunes with different user accounts

    I just got Windows Vista. I have the latest version of Itunes. I'm trying to set it up so that my wife and I can share songs with different user accounts in Windows. I followed all the instructions. I moved the iTunes music folder to a public folder. But everytime I log off my account and return, itunes can't find the song files. Any suggestions?

    They can be transferred to another iTunes library but not another iTunes account.
    Just copy them.

  • How can i share documents with different users on the same mac?

    How can i share documents with different users on the same mac?

    Shared how? The other users can read the documents or you all can read and write the documents?
    The first is easy just place the documents in /Users/Shared anyone can access the files there and the other users will be able to read them.
    The second is a bit trickier.

  • Can I sync two iPads with different users and email addresses on the same computer

    Can I sync two IPads with different users and email addresses on the same computer.

    yes, just make sure you turn off auto-sync to keep everything organized before you try syncing
    on a pc
    edit > preferences > devices - 'prevent ipads, iphones, and ipods from syncing automatically' needs to be checked

  • ORA-04062 error when running forms with different users

    ORA-04062 error when running forms with different users
    I have a form that has a block that should display some data from another users tables. (The other user's name is dynamic, it's selected from a list box)
    I wrote a stored procedure to get the data from other user's tables.
    When I compile the form and run it with the same user I compiled, it works without any error. But when I run the compiled form with another user I get the ORA-04062 (signature of procedure has been changed) error.
    I tried setting REMOTE_DEPENDENCIES_MODE to SIGNATURE in init.ora but it didn't help.
    My Forms version is 6i with Patch 15.
    Database version is 9.
    Here is my stored procedure:
    TYPE Scenario_Tab IS TABLE OF NUMBER(34) INDEX BY BINARY INTEGER;
    TYPE Open_Curs IS REF CURSOR;
    PROCEDURE Get_Scenarios(User_Name IN VARCHAR2, Scen_Table OUT Scenario_Tab) IS
    Curs Open_Curs;
    i NUMBER;
    BEGIN
    OPEN Curs FOR
    'SELECT Seq_No FROM '|| User_Name ||'.scenario';
    i := 1;
    LOOP
    FETCH Curs INTO Scen_Table(i);
    EXIT WHEN Curs%NOTFOUND;
    i := i + 1;
    END LOOP;
    END Get_Senarios;
    I would be happy to solve this problem. It's really important.
    Maybe somebody can tell me another way to do what I want to do. (getting a list of values from another users tables)

    I think it should be a better solution to create a package,
    and put your own TYPES and procedure into it.
    CREATE OR REPLACE PACKAGE PKG_XXX IS
    TYPE TYP_TAB_CHAR IS TABLE OF .... ;
    PROCEDURE P_XX ( Var1 IN VARCHAR2, var2 IN OUT TYP_TAB_CHAR );
    END ;
    Then in your Form :
    Declare
    var PKG_XXX.TYP_TAB_CHAR ;
    Begin
    PKG_XXX.P_XX( 'user_name', var ) ;
    End ;

  • How to login with different User in Portal

    Hi Experts,
    My requirment is quite different here, I want to login with different user in single login.
    My senario is like this for your understading...
    First I have loged in with one user and go to the one customized screens where I have list of all the portal users in a drop down.
    Here I am selecting one User from the list and Click on Submit button...then new window should open with this(selected) user login...
    Can anybody suggest me that what I suppose to do this to achieve this.
    what are parameters new user expects for login?
    what 'll be my approach for this?
    Thanks in Advance,
    Vikas

    Hi Prem,
    Thanks for your answer...
    The URL..
    http://server:50000/irj/portal?j_user=QAEmEsLAComR&j_password=Pa$$word
    it works only when, do this on fresh browser .. if someone has already Logged in and then try to open with different user name then it won't work.
    if I'll change URL with other user in the same browser like this..
    http://server:50000/irj/portal?j_user=demouser&j_password=Pa$$word
    then shows only previous page.
    But my requirement is to open different user page from the already logon user.
    Thanks, Vikas

  • JCA IConnection call to BAPI with table in table as import and export param

    Is it possible to call a BAPI with a table in table as import and export data?
    Please give small code example if this is possible.
    Thanks in advance.

    Inner tables can be handled with:
    IRecordSet innerTable = (IRecordSet)outerTable.getObject("INNER_TABLE");

  • Install CRS and RAC with different users

    I' m tring to install CRS and RAC with different users.
    It is supported but I don't find documentation.
    Have someone experience with this configuration ?
    My question are related to permission/own of voting and ocr file.
    in this configuration is CRS owner or DB owner that run srvctl commands ?
    Thanks !

    Yes it is ... check out the RAC FAQ on metalink, and just as Chris metioned the users will need to have the oinstall group as their primary..
    "Is it supported to install CRS and RAC as different users.
    Yes, CRS and RAC can be installed as different users. The CRS user and the RAC user must both have "oinstall" as their primary group, and the RAC user should be a member of the OSDBA group.
    Modified: 09-SEP-04 Ref #: ID-5769 "

  • Open a new peoplesoft session with different user id and password.

    I am already logged in a peoplesoft session. From here i want to open another peoplesoft session (in different window) with different user and password.
    Can anybody help...?

    The problem you're going to have with this is that in PeopleSoft there are some memory-resident cookies in your browser session that identify your session (jsessionid) to the web server and your identity (PSTOKEN) to the PeopleSoft servlets. With tabbed browsers (Firefox, IE7+) you have to do some "special" things to get them to create multiple browser sessions with distinct cookies.
    For Firefox, you have to create a distinct profile. Do this by closing down firefox and running "firefox -ProfileManager" from the command line. Then you can create a second firefox profile (note: it won't inherit any of your bookmarks or add-ins from the existing profile). Then after starting firefox with your default profile, you can start a second instance of firefox with the command line "firefox -p <mynewprofile> -no-remote. This will start a second instance of firefox with it's own cookies that can independently log in to a second PeopleSoft system
    For IE7 or IE8, it's a little easier. Start your first browser session as normal, and then to start the second session, use the commandline "C:\Program Files\Internet Explorer\iexplore.exe" -new. This will start your second browser instance with a new set of cookies.
    Hope it helps.

  • Execute crs_stat –t with different user

    Hi Xperts
    I am trying to do a monitoring script and I want to execute crs_stat –t with different user than Oracle (DB and Grid owner), I receive:
        CRS-0245:  User doesn't have enough privilege to perform the operation
        CRS-0202: No resources are registered.
    I already register User2 to Oinstall group and I am able to connect to sqlplus with User2.
    This monitoring scripts is going to be part of one monitoring tool, I already integrate other DB monitoring scripts.
    DB: Oracle RAC 11gR2(11.2.0.3) with OEL 5.9
    Thank you for your time
    Regards

    can you try to execute crsctl stat res -t -init using user2 .
    crs_stat command  is deprecated  in 11gR2.
    Thanks,
    http://gssdba.wordpress.com

  • Posting Idocs with different users

    Hi folks,
    I have a simple scenario, File -> PI (7.0) -> ECC (Idoc)
    I would like to know if there is a way to post the Idocs with different users, for example, in the source file a field contains the user that has to post the Idoc, so I'd like to map that user as the one that posted the Idoc.
    Is it possible?
    Thanks in advance!
    Juan

    Thanx Ivan, but you mean Outbound Idocs, or Inbound Idocs?
    Prateek, the issue here is that this is a part of a whole process where are involved many handhelds.
    With this handhelds, first there is an authentication of the users (via RFC) to see if that user has permission or not, and after that, if successful, when PI posts the data fetched from the handheld, they want to know the user that posted that info in ECC (IDOCS); supposing that it was the same user that did the validation before.
    regards,
                 Juan

  • Netweaver SSO with different user id's

    Hi All,
    In our case the Network/portal user id is different from HR system user id and these 2 user id's are different from the FI system user id.
    Current the FI system is outside SSO as we can only have 2 user id's in the logon ticket.
    Can NW SSO 2.0 help in this case(3 different SAP ID's), to enable SSO between the 3 different systems.
    I can see a line in the SSO 2.0 master guide saying "Can be used for SSO even with different user id's", but can't see how. Can you please help me understand if SSO 2.0 would help in my case.
    Thanks,
    Anand

    Hi Samuli,
    Since the 3 systems Portal, HR and FI have different user id. When the user authenticates against the identity provider which of these id's will be store in the X.509 certificate.
    If all 3 id's are stored in the certificate, how can the systems(portal, hr and fi) identify which user id to use to display the user content in the systems.
    Thanks,
    Anand

Maybe you are looking for

  • Error when starting Adobe Muse CC

    Has anybody encountered this error? Adobe Muse CC has encountered an error and will now exit. Please report the last few actions you took leading up to this error to the Adobe Muse CC team. String 'Home' does not appear to be correct format to transl

  • HT4972 I updated to my iPad and now my apps won't open. What can I do?

    I updated my iPad operating system and now my apps won't open. How can I fix this?

  • Iphoto won't open after new upload

    After uploading a new batch of photos, my iPhoto won't open.  I have to force quit and I am given this error report.  Thanks for your help Build Version:   2 Project Name:    iPhotoProject Source Version:  670063000000000 App Item ID:     408981381 A

  • Relationships used in class diagrams

    What are the different relationship used in class diagram

  • Trouble accessing the web page outside of the US

    In PAris having trouble accessing my Iweb pages, They published successfully because some friends (But not all) in the US and UK can access the site. I can not locate it in my browser nor can anyone else in France. I sent everyone the same initial pu