How to modify scripts

I wanna to know how do I modify the standard SAP scripts, I hv to copy the script to my own program starting with z or y, bt after that how to modify the script, plz help me in this regard

Hi
Welcome to SDN forum
See the process of modifying the scripts and do accordingly
There are some Standard Sap Scripts in SAP. We cant directly execute them in scripts we have to use some T-codes and by giving some input to the required fields we can see the output printform.
I will show one example. There are some Standard Sap Scripts such as MEDRUCK which is a standard Sap Script for Purchase Order and RVINVOICE01 for billing and so on...
To see oupt of MEDRUCK go to T-code ME9F give purchase order number and execute select one number and click on dislplay messages button on application tool bar you can find the print form of MEDRUCK.
You cannot change the Standard Sap Scripts but you can use Standard Sap Scripts and Copy them to userdefined Script and can make changes to them and replace standard Sap Script with usedefind script.
Ex: Go to SE71,
on menu bar u find Utilities->copy from Client. click on it u ll find new screen showing
Form name:
Source Clinet:
Target Form:
give Form name as usedefined form name EX: ZFORM1
Source client as 000 and
Target form as MEDRUCK.
execute.
Now, the standard from MEDRUCK is copyied to your form ZFORM1.
NOW, go to SE71 and give form name as ZFORM1 and do some changes to the form such as adding logo any thing. save and Activate.
Now, you have done changes to the Form ZFORM1 and u have to replace your form with standard SAP Script.
Go to NACE Transaction.
on Applications select EF for purchase order and click Output types button on application tool bar.
now select NEU as output types dobule click on Processing Routines.
now click on Change option on application tool bar and on right side u find MEDRUCK in form place replace MEDRUCK with ZFORM1 and SAVE.
go back twice and now go to T-code ME9F give the purchase order number and execute and select one option and click on display messges button .
you will find the changes that you have done in ZFORM1. so we cant chage the standard Sap Scripts by copying the Standard Sap Scripts we can chage and replace with our forms.
Regards
Anji

Similar Messages

  • UCCX 7 to 9 upgrade-how to modify scripts

    We are currently in the process of upgrading from version 7.0.2 to 9.X. I know that we have to modify the scripts that are referencing xml documents with steps to allow for authentication. I have several questions around that.
    1. Are there any other steps that will not work at all or need to be changed to accomodate 9.X.
    2. When modifying the scripts can I take the current 7.x script, open it in UCCX Version 9.X Editor add the necessary steps and save it from there? Or do I even need to worry about the version of CCX Editor when making the necessary step changes?
    Any help would be apprecitated.

    The other consideration is if you are referencing anything i.e. prompts/xml files from a windows directory rather than specific repository, you need to adjust the script to reference repository as the directory structure obviously is not applicable on Appliance.
    Normally you dont need to worry about script editor version, but it's always a good idea to do it with the new version.
    HTH,
    Chris

  • How we modify print program in script

    hi gurus.
    how we modify print program in script, please tell elaborately.

    Hi ..
    first of all ... u have to check which is the print program for the given layout...
    how u can find out is ... in NACE transaction... for certain o/p type .. there will be configuration done against the layout .. i mean for the particular layout .. a print program wud be assigned.
    another way to find out the print program is thru table TNAPR..
    once u find out the print program.. make sure u have to make changes in the print program .. i  mean once u decide "for the requirement u have to make changes to the print program.
    Reward points if it is useful.
    Thanks,
    Manjunath MS

  • How to modify Smartforms & Script on new Macbook

    Hi there
    I am new to Macbook but i have install SAP JAVA GUI.
    Able to work on SAP, but not able to work on SAMRTFORMS & SAP SCRIPT
    Can any one tell me how to modify them on MACBOOK,
    Thanks  in ADVANCE.

    Hello,
    unfortunately, authoring functionality for smart forms is only available in SAP GUI for Windows.
    See [note 736147|https://service.sap.com/sap/support/notes/736147].
    Best regards
    Rolf-Martin

  • Urgent:How to modify a script without changing the print programme

    Hi all,
    Can any body pls tell me <b>How to modify a script without changing the print programme</b>
    Give m esome real time examples.
    Good points willbe rewarded
    Thanks

    Hi
    You can write a external Subroutine to fetch the extra data into the script program
    see the following sample code
    How to call a subroutine form SAPscripts
    The Form :
    /:PERFORM CDE_CENT IN PROGRAM ZKRPMM_PERFORM_Z1MEDRUCK
    /:USING &EKKO-EBELN&
    /:CHANGING &CDECENT&
    /:ENDPERFORM
    The report :
    REPORT zkrpmm_perform_z1medruck .
    DATA : BEGIN OF it_input_table OCCURS 10.
    INCLUDE STRUCTURE itcsy.
    DATA : END OF it_input_table.
    déclaration de la table output_table contenant les
    variables exportées
    DATA : BEGIN OF it_output_table OCCURS 0.
    INCLUDE STRUCTURE itcsy.
    DATA : END OF it_output_table.
    DATA : w_ebeln LIKE ekko-ebeln,
    w_vbeln LIKE vbak-vbeln,
    w_zcdffa LIKE vbak-zcdffa.
    FORM CDE_CENT
    FORM cde_cent TABLES input output.
    it_input_table[] = input[].
    it_output_table[] = output[].
    READ TABLE it_input_table INDEX 1.
    MOVE it_input_table-value TO w_ebeln.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
    EXPORTING
    input = w_ebeln
    IMPORTING
    output = w_ebeln.
    SELECT SINGLE zcdffa FROM ekko
    INTO w_zcdffa
    WHERE ebeln = w_ebeln.
    it_output_table-name = 'CDECENT'.
    MOVE w_zcdffa TO it_output_table-value.
    MODIFY it_output_table INDEX 1.
    output[] = it_output_table[].
    ENDFORM.
    COPING SCRIPT
    There are some Standard Sap Scripts in SAP. We cant directly execute them in scripts we have to use some T-codes and by giving some input to the required fields we can see the output printform.
    I will show one example. There are some Standard Sap Scripts such as MEDRUCK which is a standard Sap Script for Purchase Order and RVINVOICE01 for billing and so on...
    To see oupt of MEDRUCK go to T-code ME9F give purchase order number and execute select one number and click on dislplay messages button on application tool bar you can find the print form of MEDRUCK.
    You cannot change the Standard Sap Scripts but you can use Standard Sap Scripts and Copy them to userdefined Script and can make changes to them and replace standard Sap Script with usedefind script.
    Ex: Go to SE71,
    on menu bar u find Utilities->copy from Client. click on it u ll find new screen showing
    Form name:
    Source Clinet:
    Target Form:
    give Form name as usedefined form name EX: ZFORM1
    Source client as 000 and
    Target form as MEDRUCK.
    execute.
    Now, the standard from MEDRUCK is copyied to your form ZFORM1.
    NOW, go to SE71 and give form name as ZFORM1 and do some changes to the form such as adding logo any thing. save and Activate.
    Now, you have done changes to the Form ZFORM1 and u have to replace your form with standard SAP Script.
    Go to NACE Transaction.
    on Applications select EF for purchase order and click Output types button on application tool bar.
    now select NEU as output types dobule click on Processing Routines.
    now click on Change option on application tool bar and on right side u find MEDRUCK in form place replace MEDRUCK with ZFORM1 and SAVE.
    go back twice and now go to T-code ME9F give the purchase order number and execute and select one option and click on display messges button .
    you will find the changes that you have done in ZFORM1. so we cant chage the standard Sap Scripts by copying the Standard Sap Scripts we can chage and replace with our forms
    Refer
    https://forums.sdn.sap.com/click.jspa?searchID=4089895&messageID=3239299
    Regards
    Message was edited by:
            Kiran Sure(skk)

  • How to modify the standard script in scripts?

    how to modify the standard script in scripts?

    Nagaraju,
    Standard scripts cant be modified.
    Only thing is you need to copy it to z-form and have to do modifications as per ur requirements.
    Here is the procedure to copy standard form to z-form.
    goto SE71 t-code, then select the menu path : <b>Utilities -> Copy from Client</b>
    then it will take to another screen, give the form name as Standard form name, if u r copying a stadard invoice means, type RVINVOICE01 and target form, ZRVINVOICE01. Now press execute button, it will copy the form into 25 languages. Now come back to se71, enter Z-form name and do the required changes.
    Hope this hint may help you, Pls close the thread if u met with correct answer.
    Regards,
    Sujatha.

  • How to modify the scripts

    hi,
    any body could u help me regarding "how to modify the scripts?
    how to  add disclaimer terms in footer window? that is not connected in stand program?
    give any realtime seniro with screen -shot .
    give one realtime seniro  plz.
    i will be waiting for reply.
    regards,
    eswar.

    Hi,
    go to SE71 T code
    enter the std script, display
    from the second page Copy the script to the ZSCRIPT with EN as lang
    and do the modifications in that Zscript and that has to be attached in the NACE t code for the related Output type and Driver program.
    for example
    for PO MEDRUCK is the std Script Copy it to ZMEDRUCK and do the changes.
    then in NACE select the output type NEU and attache it to SAPFM05P program and remove the MEDRUCK and keep ZMEDRUCK.
    reward if useful
    Regards

  • Can any one tell how to modify the PO that is being sent as an email?

    Hi,
           Can anyone let me know that how to modify the PO with some more additonal data while being sent as an email.
    My actual requirement is that PO is already being sent as an email when the PO is created.But now they want some more additional data as an attachement along with PO to be sent as email.ie both PO and another scriptform(which contains some other additonal data other than from PO) have to be sent as an email to the vendor when the PO is created.
    I would like to know the name of the userexit,where I can modify the existing PO or else please let me know how to resolve this issue.
    First of all I would like to know the name of the userexit where this PO is being sent as an email.
    It doesn't matter whatever the solution might be.But we need to send another sapscript form or additional data as an attachement along with PO through email to the vendor.I dont know whether it should be another script or it is also ok to add that data to the existing PO and then only the PO can be sent.
    Thanks,
    Krishna

    Eswar,
                Thanks for your email.Can you please be bit clear.I am new to this area.
    Any flexible solution is ok for me.Is it in the Userexit,that I need to include the code or what are outtypes as you said.
    Please give me clear solution.
    Thanks,
    Krishna

  • In List, How to modify the Link in Quick Edit Mode?

    In List, How to modify the Edit in Quic Mode Link? Instead of opening Quick view mode, to open in InfoPath customized form?

    Hi Eugene,
    According to your description, my understanding is that you want to midify the link of "Edit" and set it linking to a InfoPath Form which can bulk edit your List.
    You can use the code above to modify the Edit's hyperlink and set it linking to your InfoPath form.
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(document).ready(function () {
    $("#idHomePageNewItem").next("a").attr("href","the URL of your InfoPath form");
    $("#idHomePageNewItem").next("a").removeAttr("onclick");
    </script>
    For more information about bulk updating a SharePoint list using InfoPath form, you can have a look at the blog:
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/c05983fc-d992-49ff-8d18-fa8f70777d66/using-infopath-2010-to-bulk-update-a-sharepoint-list?forum=sharepointcustomizationprevious
    http://infopath.wordpress.com/2013/09/23/infopath-repeating-table-add-edit-delete-sharepoint-list-items-bulk/
    http://sharepointknowledgebase.blogspot.com/2011/10/updating-sharepoint-list-by-using.html#.VGFsKHkcSM8
    If any misunstanding, please feel free reminding me and provide more detail for your issue.
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • How to modify a part of task parameters via worklist (not all paramenters)?

    I am making a demo of showing the functions of human workflow / worklist using Oracle SOA Suite. The following process is not a real project. But I have some questions about how to modify parameters in worklist and jdeveloper. Please help me.
    I create a BPEL with human workflow. It has 2 human tasks.
    The first human task is a single approver type and the parameters contents can be modified via worklist. The user is oc4jadmin.
    If oc4jadmin rejects it, the process will go to the second human task.
    The second human task is a sequential lists of approvers type and the parameters contents can be modified via worklist. 3 users (the order is : jcooper -> jlondon-> tolstoy) can access it. The process is able to abrupt completion if anyone rejects it.
    After the process is invoked in BPEL control,
    1, oc4jadmin login worklist and modified the data, than reject it.
    2, jcooper can login worklist and changed the data, save it, and approve.
    3, jlondon login, view data, change data, and save it. However, if jlondon modified the
    My questions are as follow:
    1, If oc4jadmin rejects the task in worklist, how can I set the parameter cannot be modified and saved.
    2, schema:
    <schema attributeFormDefault="unqualified"
         elementFormDefault="qualified"
         targetNamespace="http://xmlns.oracle.com/BPEL_single_sequential"
         xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:vv="http://xmlns.oracle.com/BPEL_single_sequential">
         <element name="BPEL_single_sequentialProcessRequest">
              <complexType>
                   <sequence>
                        <element name="input" type="vv:complexType1" maxOccurs="unbounded"/>
                   </sequence>
              </complexType>
         </element>
         <element name="BPEL_single_sequentialProcessResponse">
              <complexType>
                   <sequence>
                        <element name="result" type="string"/>
                   </sequence>
              </complexType>
         </element>
    <complexType name="complexType1">
    <sequence>
    <element name="pid" type="string"/>
    <element name="ptitle" type="string" maxOccurs="unbounded"/>
    </sequence>
    </complexType>
    </schema>
    In the worklist, the user can add another pid and leave the ptitle empty. In the schema, the ptitle (minOccurs=1) should appear at least once. How can I set that, if the user add another pid and must add at least one ptitle before saving it?
    3, One element likes gender=male/female. In the worklist form, the default graphic component is an input field. How can I set the component to a dropdown list and it highlight value.
    4, The default form is jsp file and it is beautiful. Could I make a jspx page and replace the jsp page? How to replace the jsp to jspx?
    5, If I use sequencial approver type for the human task, how can I set various page layout? For example, user 1 can view and modified all parameters. User 2 can view some part of the parameters and changes it. User 3 can view all paramters but can just modified some of them?
    Thanks a lot!
    Edited by: [email protected] on 2009-3-10 上午12:39
    Edited by: [email protected] on 2009-3-10 上午12:44
    Edited by: YE

    Hi,
    all what you asked about can be done through java script.

  • How to modify stored procedures in SQL Azure database in SQL server express 2012

    Hi,
    I want to modify stored procedures in SQL Azure database in SQL Server Express 2012. But when right click on the stored procedure in Object Explorer, there is no option "Modify" as for SQL Server database. I wonder how to modify stored procedures in SQL
    Azure database in SQL Server Express 2012. Thanks.
    York

    Hi,
    Not sure whay there is no modify..
    As a workaround can you try this and see if you can modify proc..
    Script Procedure As-> Alter To->New query window..
    - Chintak (My Blog)

  • How to modify the layout  and coding for 'RVORDER01' after copying ..

    Hi all,
       I am trying to modify standard script layout SALES ORDER for Quotation,
    i.e. I had copied standard form 'RVORDER01' to 'ZBAT_RVORDER01'.
    and now I am trying to compress the information box. But no box in the layout  was selecting while trying to resize it. Can any one help in this issue.
      And I also want to know, how to modify the coding in that standard script. i.e. to add a perform statement and etc..
    Thanks in advance,
    Surender.

    GOTO SE71, and give the form name as 'ZBAT_RVORDER01' and Language as DE, try to compress the box according to your requirement, save activate and return to SE71, now change the language to EN, you will see the compressed window in EN.
    The casue of your problem is the original language is in DE so window changes, character formats etc can be done in DE language or change original language to english,
    TO change original language to EN, SE71 ,FOrm name Language DE click change, goto utilities--> change Language.
    Regards,
    Sairam

  • How to modify Packages

    Hi gurus,
    Can anybody explain in simpler way, how to modify the packages...
    I have read the sap help.. but I am not clear with the modifying it, .ie. giving task name, passing value.
    Please give me some doc... if possible.
    Thanks in advance
    Sanjay

    Hi Sanjay,
    First of all tell me what version of SAP are you using????
    If it comes to modificatio9n of packages--BPC for Excel->Manage data packages--->modify Package...this will take you to the modify package screen.
    here there is a difeerence when it comes to MS version or NW version.
    If your using MS version,can you tell why you want to modify existing package...then i can able to explain the steps.
    If your using MS version,can you tell why you want to modify existing package...then i can able to explain the steps.bcz need to modify from the NW side also like Process chain and Sql Scripting in Script window.
    So,need clarity in qestion to give any sol.
    Thanks,
    Naresh reddy.K.

  • How to modify smartforms

    Hi
      I know scripts,I know how to create smartforms, but i don't know how to modify existing smartforms. I want total process like copy the smartform,where we have to write code,where we have to see the output each and every thing.
    thankyou

    Hi,
    See all these links:
    This is the Best link:http://www.****************/Tutorials/smartforms
    steps:
    1.goto smartforms.
    2.copy the standard form into the Zsmartform.
      utilities --->copy from clients.
      3.make changes.
    Smartforms
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-press.com/downloads/h955_preview.pdf
    http://www.ossincorp.com/Black_Box/Black_Box_2.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    How to trace smartform
    http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    Regards,
    Kumar(Reward if helpful with points).
    Edited by: shiva kumar on Apr 15, 2008 1:16 PM

  • Macworld June Geek Factor - how to modify to multiple desktops?

    They lay out a neat Automator/Applescript workflow to set the desktop to a downloaded image, but give no tips on how to modify the script for multiple monitors/desktops. Ideally, I'd like the script to only address one of my two desktops.
    here's the section (input is above this segment in Automator):
    on run {input, parameters}
    tell application "Finder"
    select window of desktop
    set desktop picture to file "Tiger:Library:Desktop Pictures:Solid Colors:Solid Gray.png"
    set desktop picture to file (input as text)
    end tell
    return input
    end run
    ideas? thanks!!

    HI Ingo,
    When I input second system name:6400, and administrator/password for enterprise authentication, it can't work:
    Error DetaiL:
    [repo_proxy 13] SessionFacade::openSessionLogon with user info has failed(Transport error: Communication failure.(FWM 00001)
    (hr=#0x80042a01)

Maybe you are looking for

  • Text message sent to me everytime i connect to my ...

    Hi, May be some one can solve this one for me, everytime i connect to my car bluetooth i get a text message buisiness card from a friend of mine that he may have sent to me at some point.  This happens every time i connect - i can also make it happen

  • Show text in dropdown box instead of value....

    Hello, I'm having this annoying problem. In a dropdown box, I can only see the value, not the text associated to the value. I think this is strange since I've worked with this before and don't remember having to select the "Text". Do I have to do any

  • Copying from Microsoft Word is a total mess.  Possible to preserve formatting?

    What a disappointment.   I've got many pages all done up in MS Word 2007 and when I copy and paste it, its all centered, instead of just the top few lines like in MS Word.  Is there a way of making Dreamweaver read Word documents without making such

  • If a House Bank is Over Draft Account

    Hi, If a house bank is a over draft account. What is the configuration we need to follow to make the system understand that it is an OD account. Especially when we are dealing with Automatic Payment Program? Thanks, SravanK

  • Booting from external HD problems?

    Hi There, My wife's iBook (OS 10.4, G3 800 which got a new mother board 6 months ago) died again last week. She was out of town so in desperation she got the HD removed by a technician and put it in a USB-2 external box so she can access her data fro