Regarding Coment in Script

hi,
i'm commening few line in mail window,  after syntax check and activation if if revisited the main windw again then the commetns are deleted. i e changes to comments are not saved. can any one plzz let me know solution
Thanks & Regards
Munna

/: DEFINE &LV_ARK& = &VBDPA-ARKTX&
/*  &VBDPA-VRKME&,,&KOMVD-KBETR(I12)&,,&KOMVD-KOEIN&
/: DEFINE &L_SER1& = &LV_SERNR1&
/* &'Customer mat. no. 'VBDPA-IDNKD' '&&'Item 'VBDPA-POSEX&
The above code which i have wirtten in main window, i am commented the anove lines  after define, after commenting i saved the form and activated. at that time i didnt find any errors but once i revised main window the changes made to as comment are not reflecting and the code chagnes to
/:  &VBDPA-VRKME&,,&KOMVD-KBETR(I12)&,,&KOMVD-KOEIN&
/:  &'Customer mat. no. 'VBDPA-IDNKD' '&&'Item 'VBDPA-POSEX&
please let me know the problem.
Thanks & Regards
Munna Syed

Similar Messages

  • Regarding Logo in Script

    Hi Abapers,
       Now i am doing a sapscript.In that script i uploaded one logo.That logo is appeared in spool request but not coming in actuval(paper) print out.Can you please give me the proper solution for this one.I uploaded that logo in tiff file formate.
    Thanks & Regards,
    Bujji.

    Hi,
    Check the window size that image is fitted or not.
    Check your include statement.
    If not do it again.create GRAPHIC window and include logo again.
    UP ur logo through SE78 into ur graphic window.
    make sure that ur image must be saved in .bmp or .tiff
    thats all.
    Thanks.
    If this helps u reward with points.

  • Regarding translations in scripts

    Hi All,
    I am facing a problem while translating a script from EN lang to say FR lang in se76 T-code.
    In the main window, there are many elements to be translated and each element will have its own texts to be translated. During translation, we get the english text  in teh non editable mode and the text that is to be translated  into other lang in editable mode.
    All the elements are getting translated except one Element. I am not able to understnad why that particular element is not getting translated. The editable window for that particular element is not getting displayed even when i want to translate it.
    Can anybody help me out reg this problem. I want to translate the text presen tin taht particular element whichis not happening.. Pl let m e know what the problem might be and the solution to this as this is v important...
    Regards,
    Priya

    Hey bharath,
    Thanks for the reply. But,  can uplz help me out in doing the translation using se63 in ECC6.0? I had tried it out but as i could not know how to proceed with, i started translating it using se76.
    Can u plz let me know the same process using se63 in 6.0?
    Regards,
    Priya

  • Regarding Barcodes in Scripts

    Hi All,
       I need to diplay one field in script to barcode.I got some code regarding this through some internet site.May i know the meaning of this code.Specially for
    (s1p&XDIM&,&YDIM&,&MODHEIGHT&,0s24670T
    (s1p40v10,30b10,30s24670T
    these two lines.what does this code do.
    Actual Code is:
    /:   DEFINE &XDIM& = 2
    /:   DEFINE &YDIM& = 3
    /:   DEFINE &MODHEIGHT& = 3
       <FS><32>
    /:   PRINT-CONTROL SESCP
    /*   (s1p&XDIM&,&YDIM&,&MODHEIGHT&,0s24670T
    =    (s1p40v10,30b10,30s24670T
       &VBLKK-VBELN&
    /:   PRINT-CONTROL SBS01
    HI   Delivery Number:,,&VBLKK-VBELN&
    Bye
    Bujji

    Hi,
    /* (s1p&XDIM&,&YDIM&,&MODHEIGHT&,0s24670T
    is a commented line.
    /* signifies comment.
    Kindly reward points by clicking the star on the left of reply,if it helps.
    Check this link for more about Barcodes.
    http://www.sap-img.com/abap/details-information-about-sap-barcodes.htm
    Message was edited by: Jayanthi Jayaraman

  • Urgent Regarding the SAP Script

    Hi all,
    I am developing a SAP-Script in which there is table like
    Description Resuts Parameters
    uline
    values values values
    My doubt is using the driver program the values has to be printed. Can anybody provide the piece of code for these requirement.
    Another doubt is in this script there 2 pages . But in the print preview i can see only 1 page . In the page setting i have given the next page as page2 . But still i m facing the same problem. In page there is no main page only footer, page no, and some std descptn window is available.
    Depending on the 1 field i want to print the send field value i have change these things in the driver program so that the correct can be printed in the form.
    With Regards,
    Srinivas.

    hi,
    How to Upload graphics (IMAGE) to your Sapscript?
    Command in your Sapscript
    /: INCLUDE Z_YOUR_LOGO OBJECT TEXT ID ST LANGUAGE E
    These are the steps to be followed for uploading graphics in R/3 system
    1. First save the file as BMP
    2. Open the BMP file in IMaging (Goto -> Programs -> Accessories -> Imaging) and
    make it Zoom as 100% and save as *.TIFF
    3. Open SE38 and execute program RSTXLDMC
    4. Give your TIFF file path name
    5. Select Bcol (for Color)
    6. TEXT ID will be ZHEX-MACRO-*.
    7. Inplace of * write your own logo name (ZCOMPANYLOGO)
    8. Execute the program
    9. Now Goto SE71 create your ZFORM
    10. Create logo window
    11. Goto text element of logo window
    or
    In 4.6x :-
    1. Goto SE71 Change the mode to GRAPHICAL
    2. Choose the Graph Tabstrips
    3. Now type in some name for the LOGO WINDOW
    4. Press the IMPORT BUTTON (third button from left) and then IMPORT the BMP file from your DESKTOP
    5. The code will be written automatically. You just need to drag and drop wherever you want
    the graphics to be.
    /: INCLUDE Z_COMPANY_LOGO OBJECT GRAPHICS ID BMON LANGUAGE EN
    Message Edited By ,
    Vani

  • Regarding ECATT Test Scripts

    Hi All,
    I would like to know abt how we assign <b>Transaction to ECATT test scripts</b>,once i can get transaction to run this i can improve the program with more conditions using selection-screen etc.
    Here i will execute the test script using <b>SECATT</b> Transaction.
    But now i want to put the this test script into one transaction.....
    Means i should be able to run the TEST SCRIPT from a Tranasaction.
    or i will run one Transaction and i have to provide option like enter test script name from there so that i can execute.
    Can body have the solution for the above.
    Thanks in advance.
    Thanks & Regards,
    Rayeez.

    Hi All,
    Can anybody give the solution to above issue.
    I want to run the Test Scripts that are being run from <b>SECATT</b> from Seperate[My Own] Transaction.
    Please provide the solution for above issue.
    Thanks in advance.
    Thanks & Regards,
    Rayeez.

  • Regarding subroutine in script

    hi friends,
    i am calling suroutine in script i write in main window of script this
    /: PERFORM ZVEND IN PROGRAM ZRFI_CONF_SUB
    /: USING &BSIK-LIFNR&
      /:USING &BSIK-BUDAT&
    /:ENDPERFORM .
    i created subroutine pool ZRFI_CONF_SUB.
    but when i am debugging form it is not going in that subroutine
    where i am wrong plz reply me .
    regards,
    sonu

    hi anji,
    i am pesting my code plz plz help me plz go through the code .
    in script
    PERFORM ZVEND IN PROGRAM ZRFI_CONF_SUB
    USING &BSIK-LIFNR&
    USING &BSIK-BUDAT&
    ENDPERFORM
    *& Subroutine pool   ZRFI_CONF_SUB                                            *
    PROGRAM  ZRFI_CONF_SUB.
    DATA : BEGIN OF I_BSID OCCURS 0,
               KUNNR LIKE BSID-KUNNR,
               WRBTR LIKE BSID-WRBTR,
               BUDAT LIKE BSID-BUDAT,
               SHKZG like BSID-shkzg,
               BSTAT LIKE BSID-BSTAT,
           END OF I_BSID.
    DATA : BEGIN OF I_BSAD OCCURS 0,
               KUNNR LIKE BSAD-KUNNR,
               WRBTR LIKE BSAD-WRBTR,
               BUDAT LIKE BSAD-BUDAT,
               SHKZG like BSAD-SHKZG,
               BSTAT LIKE BSAD-BSTAT,
           END OF I_BSAD.
    DATA : BEGIN OF I_BSIK OCCURS 0,
               LIFNR LIKE BSIK-LIFNR,
               WRBTR LIKE BSIK-WRBTR,
               BUDAT LIKE BSIK-BUDAT,
               shkzg like bsik-shkzg,
               BSTAT LIKE BSIK-BSTAT,
           END OF I_BSIK.
    DATA : BEGIN OF I_BSAK OCCURS 0,
               LIFNR LIKE BSAK-LIFNR,
               WRBTR LIKE BSAK-WRBTR,
               BUDAT LIKE BSAK-BUDAT,
               shkzg like bsak-shkzg,
               BSTAT LIKE BSAK-BSTAT,
           END OF I_BSAK.
    *****This is form to get the total in Vendor Bal.ConformationForm*****
    FORM ZVEND TABLES IN_BSIK STRUCTURE ITCSY
                      OUT_BSIK STRUCTURE ITCSY.
      data : year(4),
             month(2),
             day(2),
             date(8).
      DATA : V_AMNT TYPE P DECIMALS 2,
             V_AMT  TYPE P DECIMALS 2,
             V_TOT  TYPE P DECIMALS 2,
             V_TOTAL(20),
             V_LIFNR(10) TYPE N,
             V_BUDAT(10),
             V_WRBTR LIKE BSID-WRBTR.
      READ TABLE IN_BSIK INDEX 1.
      V_LIFNR = IN_BSIK-VALUE.
      READ TABLE IN_BSIK INDEX 2.
      V_BUDAT = IN_BSIK-VALUE.
      year  = V_BUDAT+6(4).
      month = V_BUDAT+3(2).
      day   = V_BUDAT+0(2).
      CONCATENATE year month day into date.
      SELECT LIFNR WRBTR BUDAT SHKZG BSTAT FROM  BSIK
                                           INTO  table I_BSIK
                                           WHERE LIFNR = V_LIFNR.
      SELECT LIFNR WRBTR BUDAT SHKZG BSTAT FROM  BSAK
                                           INTO  table I_BSAK
                                           WHERE LIFNR = V_LIFNR.
      LOOP AT I_BSIK WHERE LIFNR = V_LIFNR.
        if i_bsik-BUDAT <= date and i_bsik-bstat ne 'S'.
          if i_bsik-shkzg = 'S' .
            V_AMNT = V_AMNT + I_BSIK-WRBTR .
          else.
            V_AMNT = V_AMNT - I_BSIK-WRBTR.
          endif.
        endif.
      ENDLOOP.
      LOOP AT I_BSAK WHERE LIFNR = V_LIFNR.
        if i_bsak-BUDAT <= date and i_bsak-bstat ne 'S'.
          if i_bsak-shkzg = 'S'.
            V_AMT = V_AMT + I_BSAK-WRBTR .
          else.
            V_AMT = V_AMT - I_BSAK-WRBTR.
          endif.
        endif.
      ENDLOOP.
      V_TOT = V_AMNT + V_AMT.
      V_TOTAL = V_TOT.
      READ TABLE OUT_BSIK INDEX 1.
      OUT_BSIK-VALUE = V_TOTAL.
      MODIFY  OUT_BSIK INDEX 1.
    ENDFORM.                    "ZVEND
    **This is form to get the total in Customer Bal.Conformation Form*****
    FORM ZCUST TABLES IN_BSID STRUCTURE ITCSY
                      OUT_BSID STRUCTURE ITCSY.
      data : year(4),
             month(2),
             day(2),
             date(8).
      DATA : V_AMNT TYPE P DECIMALS 2,
             V_AMT  TYPE P DECIMALS 2,
             V_TOT  TYPE P DECIMALS 2,
             V_TOTAL(20),
             V_KUNNR(10) type n,
             V_BUDAT(10),
             V_WRBTR LIKE BSID-WRBTR.
      READ TABLE IN_BSID INDEX 1.
      V_KUNNR = IN_BSID-VALUE.
      READ TABLE IN_BSID INDEX 2.
      V_BUDAT = IN_BSID-VALUE.
      year  = V_BUDAT+6(4).
      month = V_BUDAT+3(2).
      day   = V_BUDAT+0(2).
      CONCATENATE year month day into date.
      SELECT KUNNR WRBTR BUDAT SHKZG BSTAT FROM  BSID
                                     INTO  table I_BSID
                                     WHERE KUNNR =  V_KUNNR.
      SELECT KUNNR WRBTR BUDAT SHKZG BSTAT FROM  BSAD
                                     INTO  table I_BSAD
                                     WHERE KUNNR = V_KUNNR.
      LOOP AT I_BSID WHERE KUNNR = V_KUNNR.
        if i_bsid-BUDAT <= date and i_bsid-bstat ne 'S'.
          if i_bsid-shkzg = 'S' .
            V_AMNT = V_AMNT + I_BSID-WRBTR .
          else.
            V_AMNT = V_AMNT - I_BSID-WRBTR.
          endif.
        endif.
      ENDLOOP.
      LOOP AT I_BSAD WHERE KUNNR = V_KUNNR.
        if i_bsad-BUDAT <= date and i_bsad-bstat ne 'S'.
          if i_bsad-shkzg = 'S'.
            V_AMT = V_AMT + I_BSAD-WRBTR .
          else.
            V_AMT = V_AMT - I_BSAD-WRBTR.
          endif.
        endif.
      ENDLOOP.
      V_TOT   = V_AMNT + V_AMT.
      V_TOTAL = V_TOT.
      READ TABLE OUT_BSID INDEX 1.
      OUT_BSID-VALUE = V_TOTAL.
      MODIFY  OUT_BSID INDEX 1.
    ENDFORM.                    "ZCUST

  • Regarding Boxes in Script

    Hi all ,
           i have to display table contents in Script in frame with horizontal and vertical lines. I am trying to do this by
    /: BOX XPOS 1 CM YPOS &YORIGIN& CM WIDTH '18' CM HEIGHT 1 CM FRAME 10 TW
    In print program i am increasing &YORIGIN&  value. Even thought the value &YORIGIN&  is increasing it is not printing any lines.
    Correct me where i am wrong..
    thanks in advance,
    Ananth

    Hi,
    Take One text element .Under that Increase the &YORIGIN&
    In SAP Script Editor.
    Hope you will get that.
    Regards,
    Sujit

  • Help regarding  a shell script

    Hi,
    I had a requirement to execute a long running sql query. But the sql query had some parameters to be passed in it. I want to use nohup command and run the sql script using shell script concept. How can i pass the parameters and run the nohup command. I am herewith attaching sql reference.
    [http://hatchappsdba.blogspot.com/2008/01/how-to-run-rcv11isasql-type-of-files.html]
    I want to keep the sql script in a shell script and run it through nohup command.
    Can you please let me know how can i keep the above sql in a shell script and run through nohup command

    I want to keep the sql script in a shell script and run it through nohup command.
    Can you please let me know how can i keep the above sql in a shell script and run through nohup commandFrom the OS command prompt, issue:
    # nohup sqlplus <username>/<password> @<script name>.sql &Or as sysdba (if sysdba is needed to run the script):
    # nohup sqlplus "/ as sysdba" @<script name>.sql &Or, you can write a shell script as mentioned in this thread -- nohop sqlplus doubt
    Thanks,
    Hussein

  • Urgent : Regarding Adobe Forms ,Scripts and Smartforms

    <i>
    Hi Floks
    Any body having Adobe Printing Forms ,Scripts and Smartforms documents Links can you send me to me . Its will be help full to me
    thanks
    suresh</i>

    Hi Suresh,
    SCRIPTS
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRPROG/BCSRVSCRPROG.pdf
    http://www.thespot4sap.com/articles/SAPscript_Introduction.asp
    http://www.onestopsap.com/sap-miscellanous/sap-script/
    http://sap.niraj.tripod.com/id19.html
    http://help.sap.com/saphelp_45b/helpdata/en/65/897415dc4ad111950d0060b03c6b76/content.htm
    http://www.thespot4sap.com/Articles/SAPscript_commands.asp
    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

  • Regarding Main Windowin scripts

    Hi to all abap gurus
      iam new to abap and my querry is as follows pls dont try to give the links . and i feel so  happy if u give exact anwers ?
    Querry1:
    i have one page( named "page1" )in my  script with three windows(logo,adress,main windows) my requirement is to display some dynamic data in the script that is list of orders of the customer whn u give the customer number in selction-screen .then we can go for main window only to dispaly dynamic data ? or is there any other option ? then what should we give as apage number  in the next page attribute in the header information. suppose  if i dont give "page1" in the next page attribute as anext page what will happen ? i mean that dynamic data will be  displayed or not ?
    Querry2:
    one one more querry incase if we have two pages in my layout .in  page1 (3 windows as said above  ) and page2 ( only logo and address window  ) and no main window in page2. now if we give "page2" as next page in the next page attribute of page1  then that dynamic data will be displayed or not ?
    Thanks in Advance
    Sunil
    Moderator message: please get some basic training on SAPScript, also try things yourself before asking and use correct forum when posting.
    Edited by: Thomas Zloch on Jul 13, 2010 2:39 PM

    Hi,
    /* (s1p&XDIM&,&YDIM&,&MODHEIGHT&,0s24670T
    is a commented line.
    /* signifies comment.
    Kindly reward points by clicking the star on the left of reply,if it helps.
    Check this link for more about Barcodes.
    http://www.sap-img.com/abap/details-information-about-sap-barcodes.htm
    Message was edited by: Jayanthi Jayaraman

  • Regarding sap standard script

    hi,
              very urgent
                  how to test the sap standard script without going to form

    how to test finance without posting
    how to test sd without order
    how to test mm without materials
    and finally how to test SAP without turning on the server?
    you are dreaming man...
    don't reward points if not helpful

  • Regarding the shell scripting

    Hi,
    i am working on supporting side for a migrated project.My application is an ASO.
    As i have to execute the MaxL scripts in Unix using shell scripting.
    Can any one help me out in writing and executing the scripts in Putty server.
    it is very apreciable if i get response soon to my id [email protected]
    Thanks and waiting for reply.
    Srinivas

    We are using Essbase on UNIX (AIX) too. Generally speaking, I always create 2 files when I want to execute a MaxL script on our UNIX server:
    1) a shell script, eg. proc.sh, that contains "essmsh -l <user> <password> proc.msh".
    The proc.sh file can be edited using the standard UNIS editor "vi" and needs to be executable (the "x" bit needs to be set).
    2) the MaxL script, eg. proc.msh, that contains the MaxL statements to be executed on Essbase
    Hope this helps.

  • SAP "Z" Script Transport from DEV -- TO-- QTY Server

    Experts....
    We have created a Z SAP Script. in DEVELOPMENT CLIENT : 100
    We have successfully transported the changes from DEVELOPMENT CLIENT to UNIT TESTING CLIENT 120 in the same system thru SCC1.
    UNIT TESTING RESULTS are OK, and our DEVELOPER has given a request to import into production.
    But we imported the request, But changes are not reflecting in QUALITY.
    I found below thread but i failed to understand...the last steps...
    Can any one please help in this regard.
    SAP Script transport issue
    Rgds

    Finally.....We could able to close this....
    Weunderstood....to do inital fill in target client we do it from "000" clinet to "XXX" target clinet
    once it is available ..the rest all goes with CLASSIC TRANSPORT APPROACH.
    Not sure why the inital Transport request with changed did nor worked.
    With the help of ABAP Expert...we just reactivated the in SE71 and added into request
    imported the request into Quality & Worked..
    When the inital fill is completed for SAP Standard ,
    the rest of changes to is managed thru SAP Classic Transport Method.
    For "Z" script..even no where connected with "000" client.
    As we fixed with above assumptions...we conclude as above....
    i request any expert to correct us if our assumptions in wrong direction.
    Rgds

  • Printing LAST page in SAP script on the back side.

    Hi ,
    I have a problem with the printing of the LAST page on the reverse side of the form, when done with a vendor.
    At a time we print many vendors together.
    So, when done with printing of a vendor it needs  to print his address on last page, reverse side(address)
    Next will be followed by another vendor details.
    I cannot give 'D' for the first page because it would fail if the form flows more than 2 pages.
    is there any way of triggering the LAST page in SAP Script when it done with printing of one vendor.
    any help would be highly appreciated.
    regards.

    Hi ,
    In Script PO i have to print 'Terms and Conditions' text only on the back side of last page of the PO.
    Presently script contains THREE pages ( FIRST, NEXT, TERMS).
    FIRST with attributes :
    next page as NEXT , Print mode T.
    NEXT with attributes :
    next page as NEXT and print mode T
    TERMS with attributes :
    next page as ' '.
    I Created 'TERMS AND CONDITION' window.For TERMS page i selected 'TERMS AND CONDITION' window only.
    So page window of 'TERMS'  is 'TERMS AND CONDITION'  and i included standard text in 'TERMS AND CONDITION' window.
    If PO contains 9 pages( that means MAIN WINDOW data flows up to 9th page with footer also ).
    So i have to print standard text(Terms and conditions) back side of 9th page only not on all pages.
    So total PO contians 9 pages with 10 prints.
    Please help to solve the issue
    Thanks and Regards
    Venkata swamy

Maybe you are looking for

  • Pl sql row level locking with wait ?

    Hi, I am using oracle 10g. I am new to Oracle locks. I have two tables Table1(id_no, employee, salary) and Table2(id_no, employee, salary). I need to pull any requested row from Table1 into Table2 only once on demand. I have a procedure to pull data

  • Simple JAX-WS web service does not work on WS7u6

    Hello, I am trying to deploy a very simple JAX-WS web service on WS7u6, but it is not working. The same service deployed on Tomcat 6.0.16 works fine. The service I'm trying to deploy is from a tutorial on the Netbeans website: [http://netbeans.org/kb

  • OEM2.1 or OEM2.2

    Hi, I have problem with Oracle Enterprise Manager Configuration. I installed Oracle8.1.6 Database Server and then Oracle Enterprise Manager 2.1. During installation I created the repository. But when I try to start console, I get the the error for Or

  • Export iPhotos albums?

    To export a folder to a USB drive, I exported an album after having arranged manually the order of my photos. When the album was exported (or even copied in the iPhoto library), the order was not the same anymore, but in chronological order, by daily

  • Transfer Database

    <p> I donot know whether it is the right place to keep.</p> <p> How to transfer complete database from one server to other server located some where else on the Inter net.If I have the Ip address instance name userid / password of destination and sou