Copying standard transaction to Z-Transaction

Hi,
I need to copy standard transaction to Z-Transaction,
i.e., MIRO to ZMIRO.
And then I need to insert some code in one of the include program of ZMIRO.
please tell me the various steps involve for copying a standard transaction.

While copying a standard transaction may at first seem the easy way to achieve the functionality you need, there are a number of longer term negatives with this approach.
If you copy major parts of SAP code like this, your copies will not be kept up to date as SAP OSS Notes are applied to the original using SNOTE.  You can manually apply such changes, but this is nearly always forgotten as the person applying the note does not always realise there is a local copy.
This also applies when support packs are loaded - the SAP code can be changed without these changes being reflected in your copy.  In the worst case scenario, the change may result in your copy of the transaction performing invalid updates to data and causing data integrity issues in your system.
When the time comes to upgrade the system, there will be a major amount of work in comparing the Z version of the code with the standard code to identify what is in the new version and to update the Z code - in a lot of cases this will mean a complete rebuild of the Z version is required.
It is far better to use available BADIs, user exits, enhancement points and even repairs using the object key to achieve the desired result so that tools like SNOTE, SPAU, etc can keep the basic code up to date with the latest patches.
Another option for some types of change is to build a custom screen that calls the standard transaction using BDC / Call Transaction or using a BAPI so that the data is presented as desired by the customer, but the updates still use the SAP supplied code.
Andrew

Similar Messages

  • Copying standard report transaction selection screen

    Hi  everybody,
    How can we copy standard report transaction's VI05 selection screen to my custom report transaction's selection screen some zprogram . The problem is that when i am copying the selection screen into my programs screen, it is getting copied, but not as selection screen rather as normal screen. I have defined a transaction code for the same with the custom screen no as the selection screen but its giving a message that selection screen 9001 doesn't exist. However if i keep the selection screen as 1000 the screen in the standard transaction VI05 the transaction is executing fine.
    But again the problem was that although it seems that the screen 1000 of the standard program for VI05 has been copied to my custom program but its not showing in the object list of my custom program. so I cannot do any changes which i require.
    If anybody requires any clarification u can raise your doubts i will try to make it more clear.
    Can any body help me with this?
    Your help will be deeply appreciated.
    Thanks a lot!
    Best Wishes!
    Regards
    Prem

    Hi Prem,
    Even if the GUI Status is active, you cannot see two components of Standard Selection Screen.
    1. All Selections - Push Button
    2. Categories - Screen Block in the first with two options
         2.1. OI_STAND
         2.2. OI_BULK
    This is becoz, there are enhancement spots included in the Standard program and the enhancement spots will not be copied, unless you copy them manually.
    Check the same.
    Regards,
    -Syed.

  • Copy standard transaction

    Hi,
    I want to copy standard transaction CO02.But its a function pool program. I am getting a dump after copying can anyone guide me on this??
    <REMOVED BY MODERATOR>
    Regards,
    Sowmya.
    Edited by: Alvaro Tejada Galindo on Jun 12, 2008 2:23 PM

    Hi Sowmya,
    Dump occurs cause the function modules in that function pool u copied with z names.
    those function modules are used again in that copied funtion pool.
    so u need to change the CO02 function pool function modules to Z function modules in that Zfunction pool program.
    paste the dump so we can infoprm u better..
    Regards,
    Syed A

  • View standard tabs in BP transaction

    Hi Experts,
            I have a requirement to view standard tabs on BP transaction which are not visible.
    For Eg:
    While Creating Business partner with role as (BP General) I could see the following tabs :- Address , Address Overview , Identification , Control , payement Transaction , Long text , Marketing Attributes ,Status , Documents tabs respectively.
    But while creting Business partner with role as (Finincial Services BP ) I could see differenet set of tabs.
    My requirement is if there is a tab name Ratings available on (Finincial Services BP ), I want that tab to be visible on ( BP General screen), i.e I want Ratings tab to be also visible on BP creation screen when the role in (BP general).
    Please letme know the respective SPRO settings or is there some other settings which I am supposed to do.
    Help will be appreciated.
    Thanks and regards
    Sourabh Verma

    Hi,
    For thsi go to transaction SPRO. Follow the path Cross application components -> sap business ppartner -> business partner -> basic settings -> define bp roles.
    Here double click  on the role and click on hide flag.
    Smita.

  • FI-STANDARD SCRIPT FOR FBCJ TRANSACTION CODE

    Hi All,
    I need to change the standard script for FBCJ transaction code, Can some one help to get the standard Script name.
    Actually i need to remove IDES and place logo.Where to configure the Custom Script.
    Thanks in Advance.

    this is the path to assign customized Sapscript for cash journal
    Financial Accounting Bank accounting Business transaction  Bill of exchange transaction Bill of exchange receivable Bill of exchange receivable Failed payment transactionMake and check settings for correspondence Define form name for cores pending Printing
    please try this i hope that this will be useful to All.
    assign Customized Sapscript in place of the standard one for CASH JOURNAL
    Edited by: NareshBD on May 12, 2011 3:13 PM

  • Will a Standard program have a  transaction?

    hi,
    Whether all the standard programs will have transactions? How to find it?
    I have tried to find using where used list.
    For Ex:- Program name is rstxpdft4.
    Regards,
    Lijo Joseph

    Hello Lijo,
    I understand your concern. There are quite a lot of programs (of special interest might be the report programs beginning with R*) in SAP which do not have a transaction code.
    Now your concern is that some of these programs are useful and the <i>user</i> may not even know that there is such a report. I shall assume that by <i>user</i>, you indeed mean the end-users of the SAP System, who do not , in general have technical expertise.
    Well I would say it is the customer who has to decide which users should be able to access which programs. And it is the technical consultant's job to find out the reports which are considered <i>useful</i> by the customer and then assign them a transaction-code within the customer name-space. Then the appropriate authorizations would have to be set up before the transaction code is given away to the users.
    As far as the technical consultant's job is concerned, he would have to be able to identify if there are any standard reports available for a particular purpose, as per the requirement of the client. To do that there are excellent search capabilities in SAP which will help you zero-in on the target.
    That is the reason you find a lot of people trying to find out if there's already a standard Function Module / Report / BAPI / Transaction which would help them achieve the requirement. Only when you are convinced that there's none available do you start off with coding your own program from the scratch.
    Hope that makes the point clear. Please revert back if not. If you're happy with it, please close the thread.
    Regards,
    Anand Mandalika.

  • Copy standard cost with Cost Component from another material

    Hi,
    I need to copy standard cost from another material not only total price but also details of cost component split. I try to used transaction CKUC with procedure of "explode material cost estimate" but the reference material use "mixed costing" and isystem stop explosion.
    There is another procedure in order to make this copy? I can not use special procurement because are different codes (material A / Plant XXX copy froma material B /Plant XXX).
    Thanks for your support.
    Mic

    Hi Chandra,
    thanks for your suggestion, it works but only if I explode a level ... material "B" contains two mix codes  that also contain their mixes. So system shows this message "Mixed cost estimate explosion in level 2 for material xxx" and "Mixed cost estimate exists: maximum of 2 explosion level (s) possible".
    So Is not possible to copy and esploded a standard cost with multi level mix?
    Thanks
    Michela

  • How to copy standard SAP list edit tcode IW28 , IW29 to our Z transtions...

    Hi friends,
    Can any one help me on this plz.
    Need two reports for Notifications List Edit, one for change mode and one for display mode.
    These reports need to be copied from the standard SAP list edit transactions IW28 and IW29.
    I. The selection and display variants for the customized notification list edit (ZIW28 & ZIW29) need to include the following custom fields:
    a) SONGS custom Notification attributes include:
    •     Significance level
    •     MRule code
    •     ARC
    •     “Feedback Required? “ checkbox
    b) PPD custom Notification attributes include:
    •     Outage Issue checkbox
    •     “Feedback Required? “ checkbox
    c) Order attributes to be included:
    •     Order Type
    •     Order system statuses
    •     Order users statuses
    •     Order Maint activity type
    •     Order Revision code
    d) Non-Energy Notification custom field attributes include:
    •     Circuit ID
    •     Caller Name
    •     Caller SAP Personnel No
    •     Caller Pax
    •     Caller Alt Phone
    •     Caller email
    •     Caller Company
    •     Caller Bus Unit
    •     Caller Dept
    •     Contact Name
    •     Contact SAP PERNR
    •     Contact PAX
    •     Contact Alt Phone
    •     Contact email
    •     Peregrine #
    •     Created by
    •     Closed by
    e) EAM Notification custom field attributes include:
    •     Location
    •     Elevation
    •     Room
    •     Column
    II. These fields need to be available on both selection and display variant screens. They will be grouped together on the Selection screen (as given in the layout). Also, these fields need to be variant configurable (include/exclude) on the Display screen. Report should make use of the ABAP List Viewer (ALV) functionality to permit standard SAP display results sorting, filtering, etc.
    III. The above requirement specifies that the identified custom fields need to be added to the Custom List Edit Display Variant. In addition, the Order Header Short Text (CAUFVD-KTEXT) and Order Delay Code (WA_COCI_AUFK-ZZDCODES) should only be added to the Custom List Edit Display Variant.
    IV. Delete the standard SAP section for "Selection Using IS-U Objects" and Display Variant fields from the custom list edit report.
    Thanks and regards,
    Ankitha.

    Hi,
    Copy RIQMEL20 program to your Z Program, and insert your custom fields.
    But i think it will be very difficult since it has many enhancement point and it's not recommended. And it also will give you much trouble in upgrading time.
    May be you can find screen exit for this program and add your custom fields, or just create your new z program.
    Regards,

  • Copying Standard SAPScript to ZSapscript...

    Hi,
    I want to copy standard sapscript to zsapscript.
    I go in SE71 and enter the name of Z sapascript form and then create. Now when I go to Menu-> Form-> copy from: I give form name as MR_PRINT and give language as EN.
    It says MR_PRINT LANGUAGE EN is not available in client 120.
    But when I again go to se71, and type MR_PRINT with labguage EN in the same client, it dispalys the form but says MR_PRINT from client 000 dispalyed.
    How do I resolve this ?
    Do I need to copy the script from client 000 to 120 ?
    How do I do this ?
    Thanks.
    Regards,
    Thomas.

    hi Rajesh,
    first of all copy the script from 000 to 120
    here is the procedure
    SAP Script is client dependent.
    So you can use SCOT transaction to copy Transport request of SAP Script from one client to another.
    You can use program RSTXSCRP also to transport SAP Script from one client to another.
    Or from SE71 as SE71-> utlities->copy from client .
    then u can copy from standard to z
    if u find it useful mark the points
    Regards,
    Naveen

  • Copy Standard Text into CRM_ORDERH

    Hello,
    maybe anybody has an idea for my problem: I need an default text in a textscheme in the order-header. I can do this manually, I create a standard text within the textobject "TEXT" with SO10, and in the transaction I can copy the text with help of the sapscripteditor into my text. But, I need this functionality automatised. When I create my transaction, I want to have a default text.
    I tried to manage this with access sequence, but I cannot see any possibility with this. The problem is, that the reference object "TEXT", were you can create standard texts, is not accessable from the order-header.
    Any ideas?
    Best regards and thanks
    Sab

    I think you should be able to solve this using Transaction Templates.
    This allows you to prefill data on the template and saves a lot of effort during business transaction creation.
    You can create templates for different transaction categories such as activities, leads, service orders and so on:
    Explanation for a service order: 
    Definition
    The template for the service order business transaction. As is the case with the service order, the service order template is used to map services in the system. A service order template enables you to define and store reusable service descriptions as a useful set of activities, products, services, and materials.
    Use
    You can use a service order template to reduce the workload involved in creating new business transactions (documents). You create templates for standard service processing tasks, for example. You can:
    ·        Copy templates to create new business transactions with the same object type
    ·        Include templates in an existing business transaction (such as service confirmation or product service letter)
    ·        Create a template as a follow-up document on the basis of an existing service order; business partner data is not transferred
    You can copy a template only if it does not contain any errors, has the status is Released, and is currently valid.
    The service order template can contain a large number of items and subitems. In the template, you can define a large number of values as attributes (conditions, price information, quantities, and so on). If you create a service order template on the basis of an existing service order, all the items that are not required for a general template, such as the sold-to party, are omitted.
    The service order template describes only the scope of services of the planned activities and not the actual execution (when and for whom).
    Structure
    A service order template has the same data structure as the associated operative business transaction, that is, it consists of a header and items (and subitems) with a large number of sets and enhancements that are valid for the business transaction.
    In a service order template, you cannot store any information about the sold-to party. For this reason, not all the functions of the service order transaction are available. You can enter information about the sold-to party in the relevant business transaction.
    Three different views of the service order template are available:
    Fast Entry view
    In the Header Data view, you enter data that is valid for the entire transaction. The top screen area contains the transaction ID, the transaction description, and a pushbutton for changing the status. In the bottom screen area, you can enter an item. You define additional items in the Item Details view.
    Item Details view
    In the Item Details view, you can enter additional items on various tab pages (Overview, Services, and so on). On the tab pages in the bottom screen area, you maintain detailed information about the individual items, such as statuses and prices.
    Transaction Data view
    In the Transaction Data view, you enter detailed information about the header data, such as organizational data, actions, and partner data.
    Example
    -          A service order template is to describe the standard maintenance procedure for a vehicle of a specific type. The catalog for the standard maintenance procedure includes services (filter replacement, oil change, engine check) and materials (1 filter, 12.5 liters of oil).
    -          You use a service order template to plan a recall for a specific automotive category. The catalog for the recall contains the following activities: scheduled appointments with customer, repairs, confirmation to car manufacturer, and invoice for car manufacturer.
    -          An Engine Replacement service order template already exists. When planning a repair in detail, you have to arrange for the engine to be replaced. You include the Engine Replacement order template in the existing service process (in this case, a repair service order). The system then copies the items from the order template to the service process.
    Hope this is usefull for your requirement
    cheers
    davy

  • HOW TO GET  PROPER OUTPUT OF COPIED STANDARD PROGRAM OF  MB51

    I HAVE COPIED THE STANDARD PROGRAM OF MB51 TRANSACTION INTO Z-PROGRAM. NOW, I WANT PLANT, PLANT DESCRIPTION,MATERIAL NO,MATERIAL DESCRIPTION,MOVEMENT TYPE, MOVEMENT TYPE TEXT,QUANTITY,BASE UNIT OF MEASURE, AMOUNT OF CURRENCY AS OUTPUT  IN ALV-GRID FORMAT. I AM ABLE TO DISPLAY THE OUTPUT NORMALLY  IN ALV-GRID FORMAT IN THE FOLLOWING WAY:
    PLANT-NO    PLANT- DESC  MAT-NO    MAT-DES   MOV-TYP      MOV-DES
    1000               YYY                100           UUU           351                 EE        
    QUAN    BA              C
    200       TO               2000
    500                         1500                                        451           
    600                          1500                                       451           
    THE ABOVE IS THE SAMPLE OUTPUT OF THE REQUIRED FIELDS.
    IN THE ABOVE OUTPUT ,
    QUAN                 =                     QUANTITY
    BA                      =                     BASE UNIT OF MEASURE
    C                       =                     AMOUNT IN LOCAL CURRENCY
    MOVE-TYPE       =                     MOVEMENT TYPE.
    MOVE-TYPE       =                     MOVEMENT TYPE TEXT
    MAT-NO              =                     MATERIAL NUMBER.
    MAT-DESC          =                     MATERIAL DESCRIPTION.
    PLANT                =                     PLANT NUMBER.
    PLANT DESC      =                     PLANT DESCRIPTION.
    IN THE ABOVE MENTIONED SAMPLE OUTPUT,
    PLANT NUMBER-1000 HAS TWO MOVEMENT-TYPES 351 AND 451.
    IN THIS ,351- MOVEMENT TYPE HAS QUANTITY-200.
                451 -MOVEMENT TYPE HAS QUANTITY-500,CURRENCY-1500
                451 -MOVEMENT TYPE HAS QUANTITY-600,CURRENCY-1500
    AS OF NOW, DIFFERENT MOVEMENT TYPES ARE DISPLAYED WITH DIFFERENT QUANTITIES IN DIFFERENT ROWS. I WANT THE OUTPUT TO BE DISPLAYED IN SAME ROW. THAT MEANS, IN THE ABOVE EXAMPLE, 451 IS REPEATED 2 TIMES WITH QUANTITIES 500 AND 600  RESPECTIVELY. I WANT THESE QUANITITIES TO BE ADDED  AND DISPLAYED IN THE COMMON LINE AS FOLLOWS:
    PLANT-NO    PLANT- DESC  MAT-NO    MAT-DES   MOV-TYP      MOV-DES
    1000               YYY                100           UUU           351                 EE
    QUAN    BA              C
    200       TO               2000
    1100      TO               3000                                          451
    IN THE ABOVE REQUIRED OUTPUT, 451 MOVEMENT TYPE WHICH IS HAVE HAVING 500,600 AS QUANTITIES AND 1500,1500 AS CURRENCIES ARE ADDED AND DISPLAYED ON THE SAME LINE. I WANT THE OUTPUT IN THIS WAY.
    THAT MEANS, FOR EACH PLANT, FOR EACH MATERIAL NUMBER ,FOR EACH MOVEMENT TYPE THE COREESPONDING QUANTITES AND CURRENCIES HAS TO BE ADDED AND DISPLAYED ON THE SAME LINE.
    I WANT THE REQUIRED OUTPUT IN THE ABOVE SAID FORMAT.
    IF U DON'T UNDERSTAND ANY OF THE PART OF THE ISSUE EXPLAINED , PLEASE REPLY TO ME SO THAT I CAN CLEAR THAT PART BY EXPLAINING TO YOU MORE CLEARLY.
    THIS IS VERY URGENT REQUIREMENT. PLEASE SUGGEST THE SOLUTION AS SOON AS POSSIBLE. POINTS WILL BE AWARDED.
    THANKING U IN ADVANCE.
    SRINIVAS.

    Hi ,
    Create an internal table it_finla1 which has all the fields of  the final internal table say it_final for alv displlay exect movement type (bwart), ,.
    Now before the final alv display,use this code.
    loop at it_final.
    move-corresponding it_final to it_final1.
    collect it_final1.
    endloop.
    Now, it_final1 is the table for alv display.
    Hope this solves ur query.

  • Copying standard script

    Hi ,
        i am copying standard script it is not allowing changes in language EN  and also its not asking request and package . so i am facing after copying script its not allowing changes in windows .
                  how to resolve this problem.

    first of all copy the script from 000 to 120
    here is the procedure
    SAP Script is client dependent.
    So you can use SCOT transaction to copy Transport request of SAP Script from one client to another.
    You can use program RSTXSCRP also to transport SAP Script from one client to another.
    Or from SE71 as SE71-> utlities->copy from client .
    You need to go to transaction NACE and replace standard SAPScript with your custom SAPScript.
    Path: NACE -> Select EF (Application) -> Click Output Types button -> Select NEU (if you use standard one) -> Double click on Processing Routine -> Click Change mode -> Replace Medruck with your custom SAPScript -> Save.

  • Copy standard prog to zprog

    how to copy standard prog to zprog with existing enhancement and includes
    i tried but enhancement and includes not copied...
    please help me to give suitable example...
    Moderator message : Duplicate post locked.
    Edited by: Vinod Kumar on Sep 26, 2011 11:29 AM

    I would check in SE71 to make sure the correct SAPscript layout is there and active.
    You can check transaction SPAD.  Be sure the LETTER in LANDSCAPE mode is supported for the specific device type assigned to the target printer in the test system.
    As a last resort, you can purge the buffer for loaded layout sets with program RSTXDELL.

  • Different Exchange Rate between Daily Transactions and Tax Transactions

    Hi All,
    I would like to ask abount define Exchange Rate for tax calculation. I set our standard exchange rates (For Daily Transactions) by using exchange rate type 'M'. But I want to calculate the tax element using exchange rate type 'T'. It is because there is a different exchange rate which is used for Daily Transaction and Tax Transactions. Does anyone know a way of doing this in config to separate this exchange rate for tax calculation?
    Thanks for any help,
    John

    I think its a bit misleading...The requirement is to post an Invoice with a base taxable amount of  Exchange Rate A and a tax amount of Exchange Rate B. The Base Currency is JPY and the System Currency is SGD. So the Report S_ALR_87012357 should see the amount in SGD there. The Issue is caused by the different exchange rate on the tax amount submitted by the Vendor Invoice.
    Example: Vendor Invoice Amount: 926,413.00 JPY, then we created PO to Invoice with Base Currency JPYalso amounted 926,413.00 JPY. However, in the Vendor Invoice Amount, the Tax Chargeable is 923.00 SGD (based on their exchange rate 65.66 JPY per SGD). But our Exchange Rate (System Rate) is 63.49 JPY per SGD. How can we reflect the Tax Amount as 65.66 JPY but still the correct SGD amount is based on the Vendor Original Invoice Exchange Rate 65.66 and not the System Exchange Rate, 63.49 in the same Invoice Creation (MIRO)?

  • Adding CRM WebUI transactions to the Transactions tab in SOLAR01

    Hello,
    does somebody know if there is a possibility to add direct links to CRM WebUI transactions on the transactions tab in TA SOLAR01. Means, is it possible to link direct to the specific component on the WebUI, like it is possible to open transactions in the SAP GUI.
    Thanks in advance!
    Best regards
    Thorsten

    Hi Andrew,
    The only way to do this currently is via a small modification to standard code.  Of course you will also probably need to include your new fields in your extract to BI for reporting and extend your IDOC if you need to send the extra fields to a POS system.
    Hope this helps,
    David

Maybe you are looking for

  • Problem in BDC for VA01 transaction TEXTS tab(Upgrading from 4.5b to ECC6)

    Hi All, I am working in upgrade project from 4.5b version to ECC6 version. I am facing problem in TEXTS tab of VA01 transaction. In earlier version it is a table control containing of Language, Description & First line but, in ECC6 the screen is modi

  • If PDF document is open in any TAB, scrolling through touch pad in other TABs is disabled?

    I have ACER Aspire 5740G, Firefox 5.0, Windows 7 Ultimate (X32), Adobe Acrobat X Pro. If some online "pdf" document is open in any of the TABs, The scrolling through touch pad in other tabs stop working however it remain active in the PDF document. A

  • Solution Manager best practices about environments

    Hello, we intend to use Solution Manager 4.0. My question : I wonder whether we need to have a single instance a SM (production) or whether we need to have multiple instances (one development SM where developments and customizing will be performed an

  • ^How to show difference between sales in year 2009 and 2010

    Hi experts, I am facing a problem in a BEx Query. I have to show the difference between the sales of two years. Let me be more specific.. I only have one keyfigure sales and only one characteristic year and I need the column difference. year      sal

  • Outlook Sync Error Code 0x80040fb3

    I suddenly am having trouble syncing my contacts on my Storm.  Calendar syncs fine, but I get that error message for my contacts.  I've looked through the Knowledge Base and thus looked at the pttrace log, but I can't tell what contact is causing the