Other ways to simulate a Transaction?

Hi everyones, I'm facing a difficult problem that I cannot solve.
We need to modify a SAP Transaction (for example: "XK01"). So far, we have 2 ways to meet our requirement:
1. Copy Module Pool SAPMF02K to ZSAPMF02K, then edit right on the copy.
2. Create a wrapper screen. it means that we will create a screen similar to screen 100 of SAPMF02K, then we get the information which users entered, pass it to XK01 by using this piece of Code:
PERFORM dynpro USING:
        'X'   'SAPMF02K'        '0100',
        ' '   'RF02K-LIFNR'     rf02k-lifnr,
        ' '   'RF02K-BUKRS'     rf02k-bukrs,
        ' '   'RF02K-EKORG'     rf02k-ekorg,
        ' '   'RF02K-KTOKK'     rf02k-ktokk,
        ' '   'RF02K-REF_LIFNR' rf02k-ref_lifnr,
        ' '   'RF02K-REF_BUKRS' rf02k-ref_bukrs,
        ' '   'RF02K-REF_EKORG' rf02k-ref_ekorg,
        ' '   'USE_ZAV'         use_zav,
        ' '   'BDC_OKCODE'      '/00'.  "Enter
  opt-dismode = 'N'.  "Do not show
  opt-defsize = 'X'.
  CALL TRANSACTION 'XK01' USING bdc_tab MESSAGES INTO messtab OPTIONS FROM opt.
FORM dynpro USING    dynbegin name value.
  IF dynbegin = 'X'.
    CLEAR bdc_tab.
    MOVE:  name TO bdc_tab-program,
           value TO bdc_tab-dynpro,
           'X'  TO bdc_tab-dynbegin.
    APPEND bdc_tab.
  ELSE.
    CLEAR bdc_tab.
    MOVE:  name TO bdc_tab-fnam,
           value TO bdc_tab-fval.
    APPEND bdc_tab.
  ENDIF.
ENDFORM.
Our customer didn't accept 1st method with those reason:
1. If we copy&modify SAP standard module pool, it may cause some issues when an SAP note is issued with the module pool
2. If we copy&modify SAP standard module pool, it will increase the testing efforts because it is mandatory to test all the functions/menus in all the screens individually.
Then they prefer the second method.
with the second method, we can create a screen with fields and pass data to transaction XK01 successfully, but our problem is that the creation of Menu, Button of XK01 is very difficult and take a lot of effort.
I want to ask if there are any other ways to do the requirement, instead of those 2 methods.
If not, what is the simple way which help me create a wrapper screen that simulate the XK01 screen.
Thankyou very much!!
Regards,
Long
Edited by: dragonking88 on Sep 7, 2010 9:29 AM

> Unfortunately, our customers don't accept modifying.
This is not so smart, at least as a dogma. My main criteria for acceptable modifications is:
- no standard enhancement technique is available/feasible
- it is low complexity and locally, for example just injecting a call to a Z-method or form where the actual party takes place
- it is being well documented so there is no confusion during the next SPAU
Thomas

Similar Messages

  • How to simulate asset transaction in future

    Hi Friends,
    can someone advise how to simulate posting of transaction i.e. in next year? I mean in asset explorer simulation is not possible unless you have the period opened for posting in FI.
    Is it possible without opening the period i.e. for year 2010 ? Or is there any other way how to calculate future depreciation amount for example for year 2010 with subseq. acquisition in 11/2009. Do hope there is some program in SAP, or do you know some external tool i.e. via Excel...?
    Thank you for answers!

    Hi,
    Go to AWO1N. Give your asset details. Then on the top click on "Swithon Simulation" (Icon with three blue dots and two red dots). Then in the planned values tab, down you can find the same type of icon "Trans.Simulation" Click on that. It will take you to Simulate asset transaction. There you can give the details and simulate the depreciation.
    Regards
    shankar

  • What does the open file dialog do 'under the hood' and is there a way to simulate it

    What does the open file dialog do 'under the hood' and is there a way to simulate it?
    I have a bug in my code (that I've posted about before, here) which I can't fix at the moment, but I do have a workaround.
    Briefly, the bug:
    I call a dll from a function node, to initialise and run a spectrometer. If I start up the PC, LabVIEW and run my vi the code runs without complaint, the first call to the dll to initialise the spectrometer doesn;t return an error but the spectrometer is not detected either.
    I've tried various solutions, see the link above, and none work
    The workaround:
    If, at any time before running the code containing the function node I open an 'open file' dialog window, select the dll and click ok/hit enter then everything is fine. When I run the main code the spectrometer is detected.
    I use an express vi to open the file dialog, I specify the start path and file name as constant inputs and just click ok/hit return when the dialog pops up. I don't do anything with the dialog outputs. In fact the vi that contains the open file dialog can be run before the project containing the bug is even open.
    I have to do this everytime I turn the PC on.
    So, either
    1) Can somewone suggest a fix for the original bug?
    2) What is the easiest way to simulate the enter keypress when the open file dialog pops up
    or
    3) Can someone tell me what the open file dialog does under the hood that somehow causes the dll to work and can it be simulated in straight LabVIEW
    I suspect that the dll itself is dodgy ( I have in the past talked to the supplier but not got very far, and I will try again but I would like a quick, temporary solution too). I'm guessing that the file dialog is making some kind of check on the file, and possibly registering its presence with the OS (winXP). I tried using the file/folder exists vi to see if checking the file like that worked but no luck.
    Any help greatly appreciated.
    Dave

    Hi David
    I am very conscious about thread hijacking but this sounded like my issue so I hope you dont mind me asking about your issue. I am hoping that you have a spectrometer from the same vendor as me and its not just me seeing an Error 1097 issue. My spectrometer is from a company called Stellarnet.
    So far I have unable to get it to work with other VIs. There is one condition where I can get it to work but its no good for me.
    Case 1
    I open the VI in a fresh labview environment with no other VIs in memory. The code runs with no issue.
    Case 2
    Labview is not opened. I double click the spectrometer VI in windows explorer.  The VI opens but it fails to run resulting in Error 1097. Personally, I dont see the difference between this and Case 1 above and yet it fails.
    Case 3
    If I already have other VI's in memory and try to load the spectrometer VI and run it fails with Error 1097. This case is the one that most important to me. I have a test executive that will load test VIs dynamically and I can't get this to work. Same problem Error 1097.
    I wanted to share what I have seen with you and to let you know that maybe somebody else has the same issue. I am convinced its the DLL but the vendor dis-agreed saying it was LabVIEW. I couldn't convince him otherwise.
    Thanks in advance
    David

  • BAPI :   simulate IN  TRANSACTION MIRO

    Can anyone tell me a bapi  
    that can do the same work as the button   "simulate"
    IN  TRANSACTION MIRO   ?
    Edited by: liwei zhuang on Jan 18, 2008 12:15 AM

    Hi,
    Try the following:
    BAPI_INCOMINGINVOICE_CANCEL    Invoice Verification: reverse invoice
    BAPI_INCOMINGINVOICE_CHANGE    Invoice Verification: Change Provisional Invoice
    BAPI_INCOMINGINVOICE_CREATE    Invoice Verification: Post Invoice
    BAPI_INCOMINGINVOICE_DELETE    Invoice Verification: Delete Provisional Invoice
    BAPI_INCOMINGINVOICE_GETDETAIL Invoice Verification: display invoice
    BAPI_INCOMINGINVOICE_GETLIST   Invoice Verification: List Invoices
    BAPI_INCOMINGINVOICE_PARK      Invoice Verification: Park Invoice
    BAPI_INCOMINGINVOICE_POST      Invoice Verification: Post Provisional Invoice
    BAPI_INCOMINGINVOICE_RELEASE   Invoice Verification: release invoice
    BAPI_INCOMINGINVOICE_SAVE      Invoice Verification: Flag Invoice for Background Processing
    Please reward points if useful.
    Regards,
    Renjith Michael.

  • HELP!   SQL Query:  Other ways to reorder column display?

    I have a SQL query report with a large number of columns (users can hide/show columns as desired). It would be great if the column display order could be changed by changing the order of the columns in the SELECT list in the Report Definition, but that doesn't work -- it puts changed or added columns at the end regardless of the order in the SELECT list of the query.
    Is there some other way to reorder the columns displayed without using the Report Attributes page? It's extremely tedious to move columns around using the up/down arrows which redisplays the page each time. Am I missing a way to change display order, or does anyone have a "trick" to do this? It's so painful....
    When defining forms you can reoder columns by specifying a sequence number for each column. Just curious as to why reports were not done the same way, and are there any plans to address this in a future release?
    Karen

    Yes, reordering columns is extremely painful.
    It is supposed to be much improved in the next version.
    See
    Re: Re-ordering columns on reports
    Moving columns up/down in Report  Attributes
    See my example at
    http://htmldb.oracle.com/pls/otn/f?p=24317:141
    Basically, let the users move columns around until they are blue in the face, provide a Save button to save the column order in a user preference and reorder the columns when the page reloads.
    Or you can use Carl's PL/SQL shuttle as the widget to specify the columns shown and their order. The shuttle is at http://htmldb.oracle.com/pls/otn/f?p=11933:27
    Hope this helps.
    Message was edited by:
    Vikas

  • Any other ways to get parameters of a URL in a window method ?

    Hi,
    In SDN, i find the below two ways to extract the URL parameters, when i pass them while opening a new window. But, unfortunately they dont work for me. so, would like to know, if any other ways are existing to extract the URL parameters.
    1)
    HANDLEDEFAULT method of the window:
    DATA: lt_url_parameters TYPE tihttpnvp.
    wdevent->get_data(
    EXPORTING
    name = if_wd_application=>all_url_parameters
    IMPORTING
    value = lt_url_parameters ).
    2) In HANDLEDEFAULT method, have the URL parameter names as importing parameters and use them normally.
    If there is no other ways, can some one help me in pointing the issue that i face ?
    Note: I have wdevent (CL_WD_CUSTOM_EVENT) importing parameter in place.
    Thanks in advance,
    Gaurav.

    Hi,
    How you are trying to pass your parameters ? I believe you are using some SAP provided template (like for XSS) and relying on passing of some standard parameters. These parameters may be absorbed by the standard component and may not be passed to your WebDynpro Component. You can try passing them as application parameters.
    Thanks
    Prashant

  • I have an older ipod shuffle that will not continue to charge when i plug it into my laptop.  is there any other way to charge an ipod shuffle?

    my older ipod shuffle will not charge on my laptop.  it starts and then stops after the light blinks four or five times.  is there any other way to charge a shuffle?

    Hello there, gallo2432.
    The following Knowledge Base article offers up some great  information on how to charge your iPod shuffle:
    iPod shuffle: How to charge the battery
    http://support.apple.com/kb/HT1477
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • How do I make my Iphone add to iCal-not the other way round

    Sorry, if I am dumb.
    Very simply, I do all my entries on my iPhone. Calendars, Contacts etc.
    How can I ensure that my iPhone updates my MacBookPro but not the other way around?
    Some of the old email addresses in my contacts are just that, email addresses. I have updated those in my phone with phone numbers and then when I sync I get them all back.
    Thanks in advance for helping.

    Do you use the Address Book application on your Mac when not accessing the iPhone for the same?
    If so, you can delete all contacts from the Address Book application as you can with any other data on your computer. Select the Address Book's All Group which is where all contacts are stored. You can edit each contact or you can delete each contact - with a contact selected at the menu bar go to Edit > Delete Card.
    Address Book data is stored somewhere - all Address Book data on your Mac is stored in a single data file located at Home > Library > Application Support > AddressBook > AddressBook.data. If you delete contact information from the Address Book, the data is removed from this data file which is what the Address Book application accesses for this data.
    Or you can delete the entire AddressBook folder with the Address Book application quit before doing so and all Address Book data will be deleted in one swoop but if you do this, all current contact information available on your iPhone will be put back in the Address Book application on your Mac during the next sync function.
    I think it is faster and easier to edit all contact information in the Address Book application on your Mac and there is also a preference setting for your iPhone sync preferences to replace all contact information on the iPhone with the Address Book information on your Mac which will revert to the standard sync process for this data during the next sync.
    Calendar events in iCal are stored in a separate iCal data file apart from the Address Book data file. Although integrated, these are separate applications with their own data file.

  • My iPhone 4s notified me that I had to manage my storage  so I deleted  apps that used a lot of space I deleted almost all my picture and it still keeps telling me  I don't have enough storage  is there any other way I can make room on my phone ?

    My iPhone 4s notified me that I had to manage my storage  so I deleted  apps that used a lot of space I deleted almost all my picture and it still keeps telling me  I don't have enough storage  is there any other way I can make room on my phone ?  Were it shows how much storage  I have available it still says 9.9 even after all that I have done so I don't know if I need to change my storage plan or what but anything will help I guess

    Check for 'others' in iTunes against your iPhone.
    Restore from a previous backup to reclaim some of it.
    Still want more, Restore in iTunes, setup as New.

  • How to connect my iPad 2 to Sony Bavaria wirless? Any other way than apple tv?

    How to connect my iPad 2 to Sony Bavaria wirless? Any other way than apple tv?

    http://store.apple.com/us/product/MD098ZM/A/apple-digital-av-adapter
    this one? if i connect it to the tv, will it work  if audio system is connected to the tv?

  • How can I transfer photos from an IPhone 5 to an IPad 2 using a cable.  I have tried using the lightning to firewire adapter with my current lead but this only seems to allow a download from the Ipad to the Iphone and not the other way around.

    How can I transfer photos from an IPhone 5 to an IPad 2 using a cable.  I have tried using the lightning to firewire adapter with my current lead but this only seems to allow a download from the IPad to the IPhone and not the other way around.

    The devices are not designed for transfer of that kind.  Use Photo Stream as suggested by another poster, or transfer photos to your computer (a good idea anyway since they will be lost if your device needs to be reset), then use iTunes to sync them to the other devices.

  • I have a Mac OSX version 10.75 with just one Thunderbolt port. and it has been my Thunderbolt port to connect with Blackmagic wear my intensity. and I no longer can use the port for mini-DVI adapter to connect with me. I do not want to ask any other way f

    i have a Mac OSX version 10.75 with just one Thunderbolt port. and it has been my Thunderbolt port to connect with Blackmagic wear my intensity. and I no longer can use the port for mini-DVI adapter to connect with me. I do not want to ask any other way for me to use to use my monitor. I monitor LG FLATRON E2041 brand .. PLEASE Helpp ME

    i have a Mac OSX version 10.75 with just one Thunderbolt port. and it has been my Thunderbolt port to connect with Blackmagic wear my intensity. and I no longer can use the port for mini-DVI adapter to connect with me. I do not want to ask any other way for me to use to use my monitor. I monitor LG FLATRON E2041 brand .. PLEASE Helpp ME

  • I recently downloaded Supernatural season seven, and cannot download it onto my iPod, qnd cannot find any other way to watch it. We have iTunes, but on a Dell, not a Mac or PC. Any suggestions?

    I recently downloaded Supernatural season seven, and cannot download it onto my 4th generation iPod touch, and cannot find any other way to watch it. I have iTunes on Window XP, but not a Mac or PC. The show will come up, but not completely load. Any suggestions?

    1. No.
    2. Click here and follow the instructions.
    (100305)

  • HT1848 How do I transfer the songs from my desktop to my iPad using the same iTunes account? I can only sync the other way. Thanks

    How do I transfer the songs from my desktop to my iPad using the same iTunes account? I can only sync the other way. Thanks

    DaisyDoodle,
    The songs on your Shuffle should still be in your iTunes library.  That means you should just be able to connect your Nano to the same iTunes library and sync it just as you would with your Shuffle. There is no limit to the number of iPods, iPads, or iPhones you can sync to one computer, iTunes library, or account.
    As for preparing the Shuffle for your husband, just restore it via iTunes and then let him sync it to his own iTunes library or if its the same iTunes library, let him configure it to sync only his content.
    Here are instructions on how to restore the Shuffle if need be.
    http://support.apple.com/kb/ht1481
    B-rock

  • When i take a picture with my ipad 2 lets say im looking to the right and i take the picture and when i go to the gallery my face is looking the other way(left)

    when i take a picture with my ipad 2 lets say im looking to the right and i take the picture and when i go to the gallery my face is looking the other way(left)

    The picture in the gallery is correct. The picture you are looking at before you capture it is a mirror image such as you are used to looking at, otherwise you would not be able to handle it.  Look at More Like This >>>>>>>

Maybe you are looking for