Is it possible to change user in call transaction ??

Hi experts,
There is a custom RFC FM wich makes some call transacion (for example to ME21N) and is invoked from .NET. The user logged in that moment is 'USER1' but the client wants user 'USER2' to appear in standard tables (EKKO...) and in ME23N. It's not possible that the client loggs on with USER2 as he needs the password and we don't like to share it whith them.
I found this:
l_Fecha = sy-datum - 1.
  CALL FUNCTION 'BDC_OPEN_GROUP'
    EXPORTING
      client   = sy-mandt
      group    = 'maria'
      user     = 'USER2'
      keep     = space
      holddate = l_fecha.
(code for the batch input)
  CALL TRANSACTION 'ME21N' USING i_bdcdata
                           MODE w_mode  UPDATE 'S'
                           MESSAGES INTO i_messtab.
  CALL FUNCTION 'BDC_CLOSE_GROUP'.
  SUBMIT rsbdcsub
  WITH bis = sy-datum
  WITH fehler = space
  WITH logall = space
  WITH mappe = 'maria'
  WITH von = sy-datum
  WITH z_verarb = 'X'
  EXPORTING LIST TO MEMORY
  AND RETURN.
But when the PO is created, the user is still USER1.
Is it possible to change the user at any moment ??
Thanks in advance !!
Regards,
Marí

Hi
You are using ME21n which is and  ENJOY transaction.
To update ENJOY Transactions use BAPIs instead of BDC.
because ENJOY transactions are built on control framework which use ActiveX controls (like Grid).
These new transactions should make life for the end user a bit easier, since SAP transactions not always accelerate in design, logic, etc. That's why SAP has introduced these new transactions which in the end, will have the same result. In these socalled 'Enjoy' transactions, SAP started using these 'new' enjoy sap controls like ALV grid, text editor, HTML viewer etc.
For 'updating' Enjoy transaction (BTW: You are NOT updating the transactions, but rather the purchase order or whatever) you will have to use BAPI's (or FM for that matter) in stead of BDC since Enjoy Controls work with a different framework in which you can not call a certain screen and field. Like in an ALV grid, not every field has it's own screen field name. So you cannot use them in BDC.
Hope this makes any sense for your question. As BDC is not reliable for your tcode.
Thanks DP

Similar Messages

  • Changing user who calls Enterprise Service dynamically

    Hello all,
    I'd like to call Enterprise Service as Portal logon user.
    As you know Enterprise Service is implemented on ECC, it always requires ECC's user/password when I access it.
    Off the top of my head I may use logon ticket, but it does not work well for Enterprise Service.
    I've already done the system configuration to use logon ticket - setting profile parameters of ECC, importing client certification and so on.
    What I tried:
    1. Create Destination at "Web Services Configuration: WS Destination"with following parameters:
      Destination Type: WSDL
      URL: http://<hostname>:<port>/sap/bc/srt/xip/sap/ECC_SALESORDERCRTRC?sap-client=800&wsdl=1.1
      Authentication: HTTP Authentication, Logon Ticket
    2. Try to test ES at "WS Navigator"
      -> When I search ES in destination which I created, the following error occurred:
    Invalid Response Code: (401) Unauthorized. The requested URL was:"http://<hostname>:<port>/sap/bc/srt/xip/sap/ECC_SALESORDERCRTRC?sap-client=800&wsdl=1.1"
    When I changed destination's settings as follows, testing ES at "WS Navigator" succeeded.
      Authentication: HTTP Authentication, User ID/Password(Basic), apply fixed user
    But I'd like to change user who calls ES dynamically, because I want to set the user who creates sales order to Portal logon user.
    Could you give me any advice?
    Ikue

    hi lkue,
    Please see my weblog @ https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/7891. [original link is broken] [original link is broken] [original link is broken]  When you create SM59 HTTP destination, select "send logon ticket" or "logged in user id /password" . This will automatically use logged in user id dynamically.
    Hope it helps you and solves your problem.
    Regards,
    Arul

  • Possible to change user name on apple ID?

    My sister is now using my mac, and i am at my work station desktop.
    Is it possible to change the name on the ID to her name? and add her credit card for purchase?

    Sounds a bit exploitable but....
    How to change the name you use for your Apple ID
              http://support.apple.com/kb/HE40

  • Screen no change in BDC call transaction method

    Hi experts
    Greetings!
    I have a BDC created in call transaction method for t-code FB01.
    Data passed successfully to the first screen but when it navigates to the second screen I am not able to pass any data.
    After debugging I found that the issue was because of the DYNPRO value.
    It was 8500 when I created this recording but now the screen number shows 350.
    Is is possible that screen nos change because of any support stack or OSS notes implementation.
    In run time i tried to change the value to 350 and it works fine..
    Thanks
    Jay

    Hi,
    LSMW Direct input method is better for your quiry. Becasuse i wrote BDC for FB01 but not working properly.
    So i used LSMW, helped me a lot. Progmra name is RFBIBL00. Or else i will export and send you if you want. It can handle multiple line items upto 950.
    Thanks,
    Sriram

  • SolMan 4.0 CHaRM / CRMD_ORDER: Authorize Change Request by CALL TRANSACTION

    After creating a Change Request I need to execute the <b>action "Authorize"</b> by some kind of CALL TRANSACTION but until now I have not found a solution for this. There are a few forum questions similar to this one but all I've seen are still not answered.
    The problem is caused by the <b>Toolbar Control</b> in screen "Edit: Normal Correction nnn": the dropdown and select actions are not recorded by the Batch Input Recorder and are not executed, the following function code "SAVE" therefore does not work as needed (thus creating the CRM service process and Task List).
    To find out what the <b>event handling</b> really does in order to make SAVE work is handicapted by this: I have not been successful in debugging the execution of the event handler.
    Before I start to search for more details (which might turn out as a very time consuming advanture) I would like to ask for some help of you. If you have any idea on how to solve the problem, sharing your expertise would be appreciated. Thank you.

    No further interest in this topic

  • Change User Code

    hi all,
    Is it possible to change user code ?
    User has done more than a year transactions.
    Jeyakanthan

    Hi,
    You will be no problem to lock user code & remove license tick in license administration &
    create new user code & apply license.
    What is your real issue?
    Thanks,
    Gordon

  • Call Transaction Through RFC

    Hi ,
    I am trying to do a call transaction through RFC call from a Middleware which is a CPIC user (only communication Non dialog User ) . 
    Call  transaction does gets executed without any error but it does not update any data.But when I run it through my user id it works absolutely fine .
    I am not sure what is causing the issue
    Security authorization?
    RFC through Non Dialog user ?
    Paramters missing in RFC  ?
    Paramatertes missing in call transaction option?
    If anyone of you has faced a similiar issue then please let me know the path forward.
    Thanks
    Vikas

    Hi Vikas,
        The problem is in Authorization? And check the mode of Process Synchoronus or asynchoronous? Both the RFC and CALL transaction should be Same /
    Thanks
    MAnju

  • BRFPlus - Possible for business users to change the rules ?

    Hi,
    1) Is it possible for business users to change the rules in decision table, tree, formula etc?
    2) If yes, what are the steps to achieve it?
    Thanks.
    - julius

    Hi Julius,
    do you know the BRFplus knowledge center:
    Business Rule Framework plus [original link is broken]
    There is a video called Bonus Determination that shows the steps for a developer and a business user.
    The developer may create the function, data objects and maybe the initial decision table. The business user then can create the lines in a decision table.
    In the 701 version this should work fine. The 701 trail version is a pre-release CD which contains some bugs that should be gone in the latest SP of 701.
    BR,
    Carsten

  • Is it possible to change the user status of a TECO Order

    Hello Folks
    Is it possible to changes the user status of a TECO Order?
    I have tried to change it using the FM 'STATUS_CHANGE_EXTERN'. Its working fine for NON TECO Orders but not for TECO Orders.
    On the other hand I was able to manually change the user status for a TECO Order in transaction IW32.
    I need to change the user status from NFBK to FBK.
    Please provide some inputs for the same.
    Thanks n Regards
    Ramesh

    The simple way is via the Internationalization settings via ARD or RDP or Screen Sharing, either via System Preferences or (if enabled) via the menu bar. If you're looking for a lower-level approach, there's not AFAIK a direct command for this. As for one possible approach, might [threadID=2106201|http://discussions.apple.com/thread.jspa?threadID=2106201] help?

  • I recently lost my iphone 4 and have an iphone3 on loan until I get upgrade in Aug.  I want to sync my data - contacts most important  - from my itunes account...is this possible?  Is it possible to change the user ID on the borrowed phone to my ID?

    I recently lost my iphone 4 and have an iphone3 on loan until I get upgrade in Aug.  I want to sync my data - contacts most important  - from my itunes account...is this possible?  Is it possible to change the user ID on the borrowed phone to my ID?

    There are no contacts in itunes.
    Your contact should be on your computer in whatever program you have selected to sync.  Just sync them to the new one.
    Click Support at the top of this page, then click manuals
    Changing the itunes account on nthe iphone is covered there as is restoring the iphone as new or from backup.

  • Is it possible to change your nokia account user n...

    i'm starting this post here because i didn't find anywhere else, so don't get me wrong.
    i just want to know if its possible to change you nokia account username, or at least the username on nokia discussions .
    thanks.
    Elie ( i want to change my name to ZeroGravity )
    Reality is wrong....dreams are for real... 2pac .
    don't forget to hit that green kudos
    Solved!
    Go to Solution.

    You are welcome..
    You may write to
     [email protected]
    to check if they can change the user name .. or suggest how you can do.. Since this is a user-to-user forum the actual action can only be taken by Nokia..
    --------------------------------------------------​--------------------------------------------------​--------------------------------------------------​--If you find this helpful, pl. hit the White Star in Green Box...

  • Dispite I downloaded app video calling for facebook from appStore, my safari on my MacBook don't work, instead app wants to change browser. If I do this (changing user-agent) what will happen with my safari???

    Dispite I downloaded app video calling for facebook from appStore, my safari on my MacBook don't work, instead app wants to change browser. If I do this (changing user-agent) what will happen with my safari??? I have new (updated 10.7.1) OSX, Lion !!!
    Kind regards!
    Petar

    Dispite I downloaded app video calling for facebook from appStore, my safari on my MacBook don't work, instead app wants to change browser. If I do this (changing user-agent) what will happen with my safari??? I have new (updated 10.7.1) OSX, Lion !!!
    Kind regards!
    Petar

  • Best way to create a "change user password" site?

    Hi,
    I want to provide my users with a page where they can change their password. I thought that I could just use the one from the system application (changepw.htm). But it doesn't feature the design2003 and my application has to have a consistent look and feel.
    So I copied it and tried to get it working but that wasn't possible because it relies on an application class which I can't get working (it relies on the IF_BSP_APPLICATION_EVENTS) because I don't want to use it as a general application-class and so some methods will not be called.
    It seems that the only choice left is to start my own site which will reuse most of the code from the system application class. But before I start reinventing the wheel I would like to know: How have you implemented this functionality?

    Hi Deepak,
    My approach was the following. I created a new controller and a new view for the password site. Then I extracted all the useful methods from the CL_BSP_LOGIN_APPLICATION class and put it in my controller class. I recycled all the translation stuff so that the page is available in different languages and I also used a lot code from the CHANGE_PW_PROCESSING method. I think it took me nearly a day to get everything working. The most annoying part was testing it because our sap system didn't allow you to change your password twice a day so I had to use lots of test user accounts
    Regarding your other question. I have never worked with the BW but from a technical standpoint I am sure that it's possible to change your password when https/SSO is not enabled. But I would never allow my users to change their password when they are not using https.

  • Is it possible to change file name policy in the JRE cache folder?

    We are getting calls from our clients complaining of slowdowns in loading our Java applet. The reason is a virusscanner. If a virusscanner is in the middle, it can drastically slow down the download process, and therefore cause some high delay before the user can work on the our product as expected.
    On this csutomer's side, it may take up to 10 min (the first time it is ran) instead of 1 min. JRE 1.6 is in use.
    They dont want to exclude from antivirus scan all files from Sun\Java\Deployment\cache folder.
    Question:
    Is it possible to change file name policy in the JRE cache to make it less unique?
    Thanks,
    -Dima

    dgomel wrote:
    We are getting calls from our clients complaining of slowdowns in loading our Java applet. The reason is a virusscanner. If a virusscanner is in the middle, it can drastically slow down the download process, and therefore cause some high delay before the user can work on the our product as expected.
    On this csutomer's side, it may take up to 10 min (the first time it is ran) instead of 1 min. JRE 1.6 is in use.
    They dont want to exclude from antivirus scan all files from Sun\Java\Deployment\cache folder.
    Question:
    Is it possible to change file name policy in the JRE cache to make it less unique?
    I suggest you solve the real problem - big files.
    There are two scenarios
    1. Initial download
    2. Updates.
    The first takes as long as it takes. No way around it.
    The second means that you can't use one jar. Otherwise every single update requires downloading the entire application every time. Multiple jars means only the one that changed is downloaded.

  • ***How to use Java to change user password in *mdw file?

    Hi,
    Is it possible to use java to change user's password in the MS Access workgroup file(*mdw)? I have been searching for this topic for a long time, but no discoveries yet. Anyone has any idea?
    Sincerely,
    nonameisname

    There is probably a windows API call that does it.
    Once you find it, you wrap it in C code and then use JNI to call it from Java.

Maybe you are looking for

  • PO Exchange rate date

    Hi, I've an issue. Imagine that: The group currency is CHF Company Currency is GBP Document Currency is EUR The exchange rate of the PO is from EUR to GBP. Now I need to get the correct PO Price in group currency CHF. The PO date is 01.02.2011. If I

  • Application cannot create needed files

    I have searched under this heading but Firefox brought up 1000 articles and I gave up after going through 10 pages, as none seemed relevant. I was trying to open my GIO "Virtual Safe" file, which allows me to list all my contents for insurance purpos

  • Fx-background-image and rounded borders

    Hi, I am trying to use a simple image as background image for an HBox through repetition, but I have found a problem. The HBox has got rounded borders (using fx-background-radius) and when I set the background image with fx-background-image it does n

  • HT203167 yet again failed iTunes update has removed my purchased music

    latest update has removed some of my purchased tunes update stalle part way!

  • Solstice Backup and Solaris 8 Upgrade

    I currently have Solstice Backup v5.0.1, patched with 105658-05 on Solaris 2.6. When I upgrade to Solaris 8, do I reinstall Solstice Backup v5.0.1 or will I have to upgrade it too? Thanks