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.

Similar Messages

  • Copying standard prog to custome program with includes that includes hd inc

    Hi gurus,
    i got one requirement,
    I have to copy standard program to custome program with includes ,that includes con tain few more includes. so how can i copy all the includes into the custome progam.
    please tel me.

    Hi Vijayam,
    In SE38, give the name of the standard program, in menubar goto program -> copy, which will take you to a pop up, check the checkbox for 'INCLUDES' to copy all the standard includes.  But this will not copy the custom includes(starting with Z). To copy the custom include, you need to create new include in your copy program.To create a new include, click on icon 'Display Object List' which will display the objects list for your program, now right click on your program name in this list and select CREATE-> INCLUDE. Give the name of include and now copy the code from standard program include to your include.
    I hope your problem is solved now.
    Regards,
    Pranjali

  • How to add new fields in sap copied standard form using itcsy structure

    hi guys,
      i want add some fields in sap script copied standard form using itcsy structure.
    let me know the procedure with any example.
    thanks,
    anitha.

    Hii anitha
    plz c code below
    Syntax goes like this
    /: PERFORM <form> IN PROGRAM <prog>
    /: USING &INVAR1&
    /: USING &INVAR2&
    /: CHANGING &OUTVAR1&
    /: CHANGING &OUTVAR2&
    /: ENDPERFORM
    INVAR1 and INVAR2 are variable symbols and may be of any of the four SAPscript symbol types.
    OUTVAR1 and OUTVAR2 are local text symbols and must therefore be character strings.
    Example:
    In script form
    /: PERFORM READ_TEXTS IN PROGRAM 'Z08M1_FORM_EKFORM1'
    /: USING &EKKO-EKORG&
    /: USING &EKPO-WERKS&
    /: USING &EKKO-EKGRP&
    /: USING &EKKO-BSTYP&
    /: CHANGING &COMPNAME&
    /: CHANGING &SENDADR&
    /: CHANGING &INVCADR&
    /: CHANGING &COMPADR&
    /: CHANGING &COVERLTR&
    /: CHANGING &SHIPADR&
    /: CHANGING &REMINDER&
    /: CHANGING &REJECTION&
    /: CHANGING &POSTADR&
    /: CHANGING &LOGO&
    /: ENDPERFORM
    In program
    FORM Read_texts - To extract the standard texts from the table *
    FORM READ_TEXTS TABLES IN_PAR STRUCTURE ITCSY
    OUT_PAR STRUCTURE ITCSY.
    DATA : L_EKORG TYPE EKORG,
    L_WERKS TYPE WERKS_D,
    L_BSTYP TYPE BSTYP,
    L_EKGRP TYPE BKGRP.
    READ TABLE IN_PAR WITH KEY 'EKKO-EKORG' .
    CHECK SY-SUBRC = 0.
    L_EKORG = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY 'EKPO-WERKS' .
    CHECK SY-SUBRC = 0.
    L_WERKS = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY 'EKKO-EKGRP' .
    CHECK SY-SUBRC = 0.
    L_EKGRP = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY 'EKKO-BSTYP' .
    CHECK SY-SUBRC = 0.
    L_BSTYP = IN_PAR-VALUE.
    CLEAR Z08M1_ORG_TEXTS.
    SELECT SINGLE * FROM Z08M1_ORG_TEXTS WHERE EKORG = L_EKORG
    AND WERKS = L_WERKS
    AND EKGRP = L_EKGRP
    AND BSTYP = L_BSTYP.
    IF SY-SUBRC NE 0.
    SELECT SINGLE * FROM Z08M1_ORG_TEXTS WHERE EKORG = L_EKORG
    AND WERKS = L_WERKS
    AND EKGRP = L_EKGRP
    AND BSTYP = SPACE.
    ENDIF.
    READ TABLE OUT_PAR WITH KEY 'COMPNAME'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_COMP.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'SENDADR'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_ADRS.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'INVCADR'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_INVC.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'COMPADR'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_CPAD.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'COVERLTR'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_COVR.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'SHIPADR'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_SHIP.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'REMINDER'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_RMDR.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'REJECTION'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_RJCT.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'POSTADR'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_POST.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'LOGO'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_LOGO.
    MODIFY OUT_PAR INDEX SY-TABIX.
    ENDFORM.
    reward points if useful
    regards
    Jaipal

  • 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

  • Which option to choose:idoc user exit or copy standard idoc?

    Hi gurus,
    We are using idoc technolody to implement the interface between R3 and 3rd party system.
    Most of idocs are inbound processing, and it seems standard idoc can't meet our all requirements.
    So we are considering the option:i choose doc user exit or create new idoc by copying standard idoc.
    Which way do you like better?What are the advantages and disadvantages of them?
    Any help will be appreciated.
    BTW, our customer will upgrade their R3 4.7 system to ECC6.0 after this project the next year.

    Hi,
    By making changes in the User-Exits, if you can achieve what you are looking for then I would recommend to use user-exits. SAP programs are not bug free and SAP keeps on updating them by releasing hundreds of notes every day. If customer is upgrading to new version in near future then using standard programs are the best option.
    Cheers,

  • 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.

  • How ca we copy standard print program of SMARTFORM?

    guyz...
    how can we copy standard print program of RLB_INVOICE of invoice SMARTFORM to a Z program in ECC 6.0???
    regards
    Zid.

    Hi,
    enter the program name in the SE38 editor
    click on copy button
    then it will ask you for the new name
    when ever you click on the copy transfer buton
    then it will raise a pop and saying that what ever you want from the program like
    1) INCLUDES
    2)SCREENS
    3)USER INTERFACES
    4)VARIANTS
    5) DOCUMANTATION
    ETC..
    hat ever you clcik on that check box
    Thanks.

  • Changes in STANDARD Prog...

    Hi frnds,
    i have changed the standard prog or include prog in DEV server. here my doubt is, in PROD server how these changes will go. as of now i am not working on PROD server. i hope, when i transport the request # the changes may go and change the prog in PROD server. am i right?
    thanks in advance.
    regards,
    balu

    Hi frnds,
    thanks for your response.
    i have tried to do using user exist and badi. but those things are not worked fully as per client requirement. for this, i have placed query in SDN forum also. some ppl gave good solutions. u can check my previous queries.
    in me21n, i have placed one field (vendor sub range) in header using screen exist. that value should go for item level. i have completed this using badi. but that badi is triggering for whenever user has changed/entered the value in any item. suppose if user forgot to enter the value in header initially and user entered some 100 items and he gave the value for header. in this situation that badi was not working. i mean for 100 items that value not passed. but after entering any item then the header value passed to subsequent items. i found that, badi is calling only whenever user enter/change the value in item.
    this is the only reason to change the standard prog.
    thanks once again for all.
    hi Norman Salter, what is BTEs?
    regards,
    balu

  • 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

  • How to fetch the SAP Standard Prog. built internal table into my_z_prog.?

    Hi Experts,
    Pls. let me know that,
    How to fetch the SAP Standard Prog. built internal table into my_z_prog.?
    For more explannation, pls. see my other thread with name of yestrday,
    SUBMIT RFGLBALANCE WITH selection criteria, then How to get resulted itab?
    thanq

    Hi
    Suppose RFGLBALANCE is your standard program and you have an internal table named I_RFGLBALANCE.
    And lets say your Z program name is Z_SRINIVAS.
    First find out the type of the internal table you want in your Z-program in the standard program. And declare an internal table of similar type in your Z-program.
    I hope you can do this much.
    Later wherever you are putting the below mentioned code.
    SUBMIT RFGLBALANCE WITH selection criteria
    Write the code which i have written.Obviously modify it to suit your requirement.
    Please show what is not working fine so that even anyone else can help you with the problem you are facing.
    Regards,
    Mayank

  • Copy Standard T.code into Z T.code

    Hi,
    I want to Copy Standard T.code into Z T.code....with all includes and Function Group......
    Plz tell me step-by-step....
    Prince

    Hi,
    When I do like u say....it shows ABAP RUNTIME ERRORS...
    The current application triggered a termination with a short dump.
    What happened?
    The current application program detected a situation which really
    should not occur. Therefore, a termination with a short dump was
    triggered on purpose by the key word MESSAGE (type X)....
    Now can I do....
    Prince

  • Copying standard KANBAN adobeform in SAP SNC

    Hi,
    We have a requirement where we need to copy standard adobeform and add barcode to that for KANBAN process.
    I have following questions regarding this:
    1. while copying standard adobeform whether we need to copy Interface also?
    2. How to find print program to that form i.e., where data is getting fetched for this form-the form is getting triggered from SNC system..menu path is as followsSNC Supplier role --->SNC Supplier View . When we click on Supplier view it is leaving to WEB UI and from there the Adobeform is getting triggered.
    Can anyone explain how and where it is fetching data...
    3.Where is the configuratgion done for this form(like in NACE in ECC)?
    4.If there is any webdynpro component then where can we find the link for this web ui and form?
    Thanks,

    Hi Nilson,
    The business processes mentioned can be used for any industry. There is not restriction as such.
    These business processes are more relevant for those industry.
    e.g. Outsourced Manufacturing / WO Collaboration is extensively used by High-Tech companies. Even the recent enhancement requirements have come from High-Tech companies.
    Similarly, Kanban / SMI is extensively used by Automotive. But SMI is also popular with High-Tech.
    CP industry is biggest consumer of Responsive Replenishment process.
    Regards,
    Sandeep

  • 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

  • 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

  • Hi  adding code in standard prog

    hi
    i am adding code in standard program J_1IEWT_CERT.  in that there is include
    J_1IEWT_CERT_F01.
    there is standard prog internal table printtab.
    i am trying to pass printtab data into wa_printtab, but it not going into wa_printtab.
    i writing following code:
    loop at PRINTTAB into itab_printtab.
    move ITAB_BKTXT-BKTXT to itab_PRINTTAB-cheque_no.
    modify printtab from itab_printtab index 1.
    endloop.
    first data is not going into itab_printtab by loop syntax and it is not modifying as well.
    pl help me as soon as possible.
    thanx
    rocky

    Hi,
    try this its working for me.
    REPORT  ZKEERTHITEST.
    tables: mara.
    DATA: BEGIN OF IT_MARA occurs 0,
            MATNR TYPE MARA-MATNR,
            ERSDA TYPE MARA-ERSDA,
            ERNAM TYPE MARA-ERNAM,
            MTART TYPE MARA-MTART,
          END OF IT_MARA.
    data: wa_mara like line of it_mara.
    select matnr ersda ernam into corresponding
    fields of table it_mara up to 5 rows from mara.
    loop at it_mara into wa_mara.
    wa_mara-mtart = 'FERT'.
    modify it_mara from wa_mara index 1.
    endloop.
    regards,
    keerthi

Maybe you are looking for

  • APP Store Viewing Preference

    I Wonder if you could help me, I Don't like that when i go into the app store on my iPad it shows The 'Sort By' as 'Release Date' and i would prefer it to be 'Most Popular' how can i change it to do this? Thanks!

  • Problems with SelectOneChoise component in table filter

    I have tried to make a SelectOneChoise filter in a table and I have two problems which are: 1) If I use the filtering in the coloum with the SelectOneChoise and then navigate to another page and then back to the page with the table then the filtering

  • System instability - possible video problem?

    I have a 17" Intel iMac w/ 2GB RAM and 256MB of video ram. Lately, the system has become extremely unstable. It'll lock up completely to the point where I have to hold down the power button to force a shutdown. Sometimes, when the system isn't locked

  • Question on physical reads

    Is RMAN I/Os accounted in physical reads stat? I mean, do the blocks read from disk by RMAN to backup the database get accounted in physical reads statistic? One of our databases has a value for physical read total IO requests higher than physical re

  • The latest version of itunes (8.0) will not burn cds for me

    Ive been able to burn a few but the majority of the time Im just wasting cds. I click burn disc, insert blank disc, the mac then checks playlist. Then it says its writing playlist, but nothing happens. It sounds like the mac is working on it and when