Help regarding SAP SCRIPT

Hi!
  can any one help me regarding SAP SCRIPT. i unable to write a print program for sap script . can any one can send me sample code using ITCSY structure.
Thanks in advance.
Thanks & Regads,
DurgaPrasad.k

Hi,
refer this to write print program:
<b>The Print Program</b>
Structure of a print program
OPEN_FORM function
CLOSE_FORM function
WRITE_FORM
START_FORM function
END_FORM function
CONTROL_FORM function
The print program is used to print forms. The program retieves the necesary data from datbase
tables, defines the order of in which text elements are printed, chooses a form for printing and
selects an output device and print options.
<b>Function modules in a printprogram:</b>
When you print a form you must used the staments OPEN_FORM and CLOSE_FORM. To combine
forms into a single spool request use START_FORM and END_FORM.
To print textelements in a form use WRITE_FORM. The order in which the textelements are printed,
is determined by the order of the WRITE_FORM statements. Note: for printing lines in the body, you
can also use the WRITE_FORM_LINES function module.
To transfer control command to a form use CONTROL_FORM.
<b>Structure of a print program</b>
Read data
Tables: xxx.
SELECT *
FROM xxx.
Open form printing - Must be called before working with any of the other form function modules.
Must be ended with function module CLOSE FORM
call function 'OPEN_FORM'.....
To begin several indentical forms containing different data within a single spool request, begin each
form using START_FORM, and end it using END_FORM
call funtion 'START_FORM'.....
Write text elements to a window of the form
call function 'WRITE_FORM'.....
Ends spool request started with START_FORM
call funtion 'END_FORM'.....
Closes form printing
call function 'CLOSE_FORM'...
OPEN_FORM function
Syntax:
CALL FUNCTION 'OPEN_FORM'
EXPORTING
  APPLICATION                       = 'TX'
  ARCHIVE_INDEX                     =
  ARCHIVE_PARAMS                    =
  DEVICE                            = 'PRINTER'
  DIALOG                            = 'X'
  FORM                              = ' '
  LANGUAGE                          = SY-LANGU
  OPTIONS                           =
  MAIL_SENDER                       =
  MAIL_RECIPIENT                    =
  MAIL_APPL_OBJECT                  =
  RAW_DATA_INTERFACE                = '*'
IMPORTING
  LANGUAGE                          =
  NEW_ARCHIVE_PARAMS                =
  RESULT                            =
EXCEPTIONS
  CANCELED                          = 1
  DEVICE                            = 2
  FORM                              = 3
  OPTIONS                           = 4
  UNCLOSED                          = 5
  MAIL_OPTIONS                      = 6
  ARCHIVE_ERROR                     = 7
  INVALID_FAX_NUMBER                = 8
  MORE_PARAMS_NEEDED_IN_BATCH       = 9
  SPOOL_ERROR                       = 10
  OTHERS                            = 11
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
<b>Some important parameters:</b>
FORM Name of the form
DEVICE PRINTER : Print output using spool
TELEFAX: Fax output
SCREEN: Output to screen
OPTIONS Used to control attrubutes for printing or faxing (Number of copies, immediate output....
The input for the parameter is structure ITCPO.
CLOSE_FORM function
CALL FUNCTION 'CLOSE_FORM'
IMPORTING
  RESULT                         =
  RDI_RESULT                     =
TABLES
  OTFDATA                        =
EXCEPTIONS
  UNOPENED                       = 1
  BAD_PAGEFORMAT_FOR_PRINT       = 2
  SEND_ERROR                     = 3
  SPOOL_ERROR                    = 4
  OTHERS                         = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Paramerters:
RESULT Returns status information and print/fax parameters after the form has been printed.
RESULT is of structure ITCPP.
WRITE_FORM function
CALL FUNCTION 'WRITE_FORM'
EXPORTING
  ELEMENT                        = ' '
  FUNCTION                       = 'SET'
  TYPE                           = 'BODY'
  WINDOW                         = 'MAIN'
IMPORTING
  PENDING_LINES                  =
EXCEPTIONS
  ELEMENT                        = 1
  FUNCTION                       = 2
  TYPE                           = 3
  UNOPENED                       = 4
  UNSTARTED                      = 5
  WINDOW                         = 6
  BAD_PAGEFORMAT_FOR_PRINT       = 7
  SPOOL_ERROR                    = 8
  OTHERS                         = 9
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Some important parameters:
ELEMENT Specifies which textelement is printed
WINDOW Specifies which window is printed
TYPE Specifies the output area of the main window. This can be:
TOP - Used for headers
BODY
BOTTOM - Used for footers
FUNCTION Specifies whether text is to be appended, replaced or added
Example of how to use the WRITE_FORM function module together with a script.
Form layout of the MAIN window
/E INTRODUCTION
Dear Customer
/E ITEM_HEADER
IH Carrier, Departure
/E ITEM_LINE
IL &SBOOK-CARRID&, &SPFLI-DEPTIME&
/E CLOSING_REMARK
<b>The print program</b>
Writing INTRODUCTION
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT                  = 'INTRODUCTION'
FUNCTION                 = 'SET'
TYPE                     = 'BODY'
WINDOW                   = 'MAIN'
EXCEPTIONS
OTHERS                   = 8
Writing ITEM_HEADER
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT                  = 'ITEM_HEADER'
FUNCTION                 = 'SET'
TYPE                     = 'BODY'
WINDOW                   = 'MAIN'
EXCEPTIONS
OTHERS                   = 8
Set ITEM_HEADER into TOP area of main window for subsequent pages
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT                  = 'ITEM_HEADER'
FUNCTION                 = 'SET'
TYPE                     = 'TOP'
WINDOW                   = 'MAIN'
EXCEPTIONS
OTHERS                   = 8
Write ITEM_LINE
LOOP AT .....
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT               = 'ITEM_LINE'
FUNCTION              = 'SET'
TYPE                  = 'BODY'
WINDOW                = 'MAIN'
EXCEPTIONS
OTHERS                 = 8.
ENDLOOP.
Delete ITEM_HEADER from TOP area of main window
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT                  = 'ITEM_HEADER'
FUNCTION                 = 'DELETE'
TYPE                     = 'TOP'
WINDOW                   = 'MAIN'
EXCEPTIONS
OTHERS                    = 8
Print CLOSING_REMARK
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT                  = 'CLOSING_REMARK'
FUNCTION                 = 'SET'
TYPE                          = 'BODY'
WINDOW                   = 'MAIN'
EXCEPTIONS
OTHERS                    = 8
START_FORM function
CALL FUNCTION 'START_FORM'
EXPORTING
  ARCHIVE_INDEX          =
  FORM                   = ' '
  LANGUAGE               = ' '
  STARTPAGE              = ' '
  PROGRAM                = ' '
  MAIL_APPL_OBJECT       =
IMPORTING
  LANGUAGE               =
EXCEPTIONS
  FORM                   = 1
  FORMAT                 = 2
  UNENDED                = 3
  UNOPENED               = 4
  UNUSED                 = 5
  SPOOL_ERROR            = 6
  OTHERS                 = 7
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
END_FORM function
CALL FUNCTION 'END_FORM'
  RESULT                         =
EXCEPTIONS
  UNOPENED                       = 1
  BAD_PAGEFORMAT_FOR_PRINT       = 2
  SPOOL_ERROR                    = 3
  OTHERS                         = 4
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CONTROL_FORM function
The CONTROL_FORM function module alows you to create SapScript control statements from within
an APAB program.
Syntax:
CALL FUNCTION 'CONTROL_FORM'
EXPORTING
command         =
EXCEPTIONS
  UNOPENED        = 1
  UNSTARTED       = 2
  OTHERS          = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Example:
Protecting the text element ITEM_LINE
CALL FUNCTION 'CONTROL_FORM'
EXPORTING
COMMAND = 'PROTECT'.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
TEXELEMENT = 'ITEM_LINE'.
CALL FUNCTION 'CONTROL_FORM'
EXPORTING
COMMAND = 'ENDPROTECT'.
rgds,
latheesh
Message was edited by: Latheesh Kaduthara

Similar Messages

  • Hi i am new to SCN. I want a help regards SAP-PM . Where to post any query regards SAP PM

    Hi i am new to SCN. I want a help regards SAP-PM . Where to post any query regards SAP PM

    Please check this link SAP Portfolio and Project Management (SAP RPM, cProjects) and cFolders
    Please check scn index to find relevant forum link.
    SCN Site Index

  • Regarding SAP Scripts

    Hi All,
    I have issue in SAP Scripts.
    Issue is : I am calling a BOX command in my Layout set as follows : <b>BOX WIDTH '18.75' CM HEIGHT L_SY_TABIX1 CM FRAME 10 TW</b>
    I that <b>L_SY_TABX1</b> i need to get the value form Print Program,
    Can anybody clarify how can i make varaible L_SY_TABIX1 with value <b>'17.75'</b> with in single quotes.
    shall i need to decalre the L_SY_TABIX1 as &L_SY_TABIX1& & then how can i get single quotes on it.
    Please clarify.
    Thanks in advance.
    Thanks & Regards,
    Rayeez.

    You dont have to concatenate quotes.
    You can dynamically put any value into a character variable, say,  ht, in your print program.
    Data : ht(10) type c.
    This variable should be within &, in the script. The program takes the value of height without rounding the decimals.
    BOX XPOS 0 CH YPOS '+1.5' LN WIDTH 30 CH HEIGHT &HT& CH FRAME 10 TW
    Thanks,
    Susmitha

  • Regarding SAP SCRIPTS - NEXT PAGE FUNCTIONALITY

    Hi all,
    Can anybody tell me how to get NEXT PAGE FUNCTIONALITY   in SAP SCRIPTS. Means if Data in 1st page does not fit it should go to next page and print.
    I had declared 2 PAGES already in my LAYOUT SET.
    How can i achieve above functionality.
    Thanks in advance.
    Thanks & Regards,
    Rayeez.

    Hi Rich heilman,
    I had declared first page as PAGE1 & its Next Page attribute as PAGE2 which is also declared already.
    But still it is not showing second page when there is over flow of data.
    does we need to write following code any where in layout.
    IF &PAGE& EQ = 1
    NEXT-PAGE
    ENDIF
    please solve my issue.
    Thanks & Regards,
    Rayeez.

  • Query Regarding SAP SCRIPT

    I have a normal report output with a field "HIDE" to make it interactive. When clicked on any of the values of this field(s), the value (say VBELN) has to be passed to SAP SCRIPT and all the SELECT QUERIES needs to be written in SAP SCRIPT to get the desired output.
    How do i get this feature?

    hi
    U have to call perform in SAP script '/:'.
    In that u have to pass parameter and get(changing) parameter.
    FORM get_value  TABLES  inpar  STRUCTURE itcsy
                                    outpar STRUCTURE itcsy.
    u have to read value from inpar and append value in outpar into the form.
    Hope thiw will be useful.
    regards
    vinod

  • Regarding SAP SCRIPT COMMAND

    Hi all,
    Can anyone tell me the which command i use in sap script for &itab-kunnr&.
    so many command are there so please suggest me...........
    and give command tutorial or link also....
    Zenithi.

    hi
    good
    check out all these SAP SCRIPT commands
    New-page <page name> Prints the text following this command on a new page (when a page name is specified then that page is taken as the next page)
    Protect ….. Endprotect This acts like a conditional page break. Putting the text within this command prevents the breaking of the text across multiple pages. If there is not enough space for the entire paragraph to be printed in the space remaining on the page, then the entire paragraph is printed on the next page
    Box <xpos> <ypos> <width> <height> <frame> <intensity>
    Position <xorigin> <yorigin> <window> <page>
    Size <width> <height> <window> <page>
    The BOX command draws a box as per the specifications. The x y co-ordinates are for the upper left corner relative to the values in the position command.
    POSITION command is used to set the x y co-ordinates with respect to the start position of the window.
    SIZE command is used to specify the size of the box that we need to draw.
    Varying these parameters also helps to draw a line instead of a box.
    IF ….. END IF This allows the conditional printing of the text on the output document. The various conditional operators that can be used are as follows
    = EQ Equal to
    < LT Less than
    > GT Greater than
    <= LE Less than or equal to
    >= GE greater than or equal to
    <> NE not equal to
    The logical operators that can be used are as follows
    NOT, AND, OR
    reward point if helpful.
    thanks
    mrutyun^

  • Issue regarding sap script pages

    Hi all ,
       my issue is regarding the medruck. when i click on the print preview option on me23n, the sap script attached(that is medurck) will be printed. in my case the sap script is zmm_medruck(the zcopy of medruck). now, the print out of the sap script is 2 or  3 or 5 paged depending upon the p.o. number given.
    for example for a p.o. number 2100001564, the sap script contains 4 pages. now, my issue is , the print out should contain only last 2 pages or only 3 rd page.(that is without all pages, we want only specific pages of the sap script to be printed). how to do this. plz reply fast. points will awarded.
    this is urgent issue.
    thanking u in advance,
    sreenu.

    Hi all ,
       my issue is regarding the medruck. when i click on the print preview option on me23n, the sap script attached(that is medurck) will be printed. in my case the sap script is zmm_medruck(the zcopy of medruck). now, the print out of the sap script is 2 or  3 or 5 paged depending upon the p.o. number given.
    for example for a p.o. number 2100001564, the sap script contains 4 pages. now, my issue is , the print out should contain only last 2 pages or only 3 rd page.(that is without all pages, we want only specific pages of the sap script to be printed). how to do this. plz reply fast. points will awarded.
    this is urgent issue.
    thanking u in advance,
    sreenu.

  • Regarding SAP SCRIPT output

    Hi,
    I have some requirement in SAP SCRIPT.
    When i will generate print preview for some specific document Ex:Purchase Order using its respective Transaction Code[ME22N], That Print Preview[output] need to be stored other formats such as [PDF,.doc,... etc].
    How can we do it!
    By using some settings!
    Without writing any code[Function Module] from ABAP[SE38]. 
    Can any body solve my problem!
    Thanks & Regards,
    Rayeez.

    Hi,
    You can convert a spool request to pdf format using report RSTXPDFT4 without writing any code.
    Svetlin

  • Regarding SAP Script Output validation in Layout set

    Hi All,
    I have a issue in SAP Script Output.
    I have a <b>Standard Print Program</b>. and layout set.
    I can do validations only in Layout set.
    The actual issue is i have a <b>internal table field</b> in <b>print program</b> that i am displaying in <b>layout set</b>. Now i want it to be subtracted with number <b>20</b>, since i can not edit code in <b>Print Program</b>. i want to subtract that internal table field with 20 in layout set itself.
    Can anybody tell me how can i solve this issue.
    <b>Note:</b>  I need to do calculation only in layout set.
    Can anybody give me the solution.
    Thanks in advance.
    Thanks & Regards,
    Rayeez.

    Hi,
    Thanks for that reply.
    so with <b>SUMMING</b> command i can do calculation.
    I am already having <b>i_tab1-sum</b> coming from print program and i have declared one symbol using
    DEFINE &v_val& = 20 in layout set.
    Then i want to subtract &v_val& with &i_tab1-sum&.
    using the follow syntax tell me wether syntax is correct or not.
    SUMMING &i_tab1-sum&-&v_val& INTO &i_tab1-sum&.
    will it work.
    once again thanks for that reply.
    Thanks & Regards,
    Rayeez.

  • Hi all....... help in SAP SCRIPTS

    pls help me out and tel me how to work with SAP SCRIPTS
    i want complete detailed procedure for it

    Hi Deepthi,
    Sap Scripts can be created using the transaction code SE71.The Layout set consist of different elements like Pages, Windows, Page Windows, Character String and Paragraph. The contents to be displayed in the window are written in text elements. The Driver program should be created in SE38.The components of the driver program are
    Table Statements- Here you will declare the table name from where the data has to be brought in.
    Data Statements- Here you can declare the variables or the internal tables that you may use
    Select Statements- After declaring the variables, internal table you use the select statement to select the required data from the table
    Open_Form- After selecting the data you open the layout set in which you want to display the data. In the Open_Form Function you mention the layout set name open.
    Write_Form- then you display the data in the layout set using the Write_Form function. Here you specify the Element Name and the window in which you display the data.
    Close_Form- After displaying/Printing the Data you close the form. i.e. the layout set using the close form Function.
    You can check this link to develop a simple sap script.
    http://www.thespot4sap.com/articles/SAPscript_Introduction.asp
    http://sapbrain.com/TUTORIALS/TECHNICAL/SAPSCRIPTS_tutorial.html
    Reward points if it is useful.
    Thanks,
    Geeta

  • Problem regarding SAP SCRIPT

    can anyone send me a sample program for downloading sapscript into pdf ?
    in details

    Hello,
    please try out the Code in Topic: Regarding Converting Report Outputs & SAP Script Outputs to PDF Format.
    Regards
    Gregor

  • Need help in sap script

    Hi,
    I have just now started to learn sap script.I want to know good book to learn sap script.If possible send some sample programs.
    thanks in advance.

    Simple SAP script code:
    Driver program:
    *& Report  ZMADHU_PROGRAM                                              *
    REPORT  ZMADHU_PROGRAM.
    DATA: I_EKPO TYPE STANDARD TABLE OF EKPO WITH HEADER LINE.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001..
    PARAMETERS: P_EBELN LIKE EKPO-EBELN.
    SELECTION-SCREEN END OF BLOCK B1.
    SELECT * FROM EKPO
    INTO CORRESPONDING FIELDS OF TABLE I_EKPO
    WHERE EBELN = P_EBELN.
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
      APPLICATION                       = 'TX'
      ARCHIVE_INDEX                     =
      ARCHIVE_PARAMS                    =
      DEVICE                            = 'PRINTER'
      DIALOG                            = 'X'
       FORM                              = 'ZMADHU'
       LANGUAGE                          = SY-LANGU
      OPTIONS                           =
      MAIL_SENDER                       =
      MAIL_RECIPIENT                    =
      MAIL_APPL_OBJECT                  =
      RAW_DATA_INTERFACE                = '*'
    IMPORTING
      LANGUAGE                          =
      NEW_ARCHIVE_PARAMS                =
      RESULT                            =
    EXCEPTIONS
      CANCELED                          = 1
      DEVICE                            = 2
      FORM                              = 3
      OPTIONS                           = 4
      UNCLOSED                          = 5
      MAIL_OPTIONS                      = 6
      ARCHIVE_ERROR                     = 7
      INVALID_FAX_NUMBER                = 8
      MORE_PARAMS_NEEDED_IN_BATCH       = 9
      SPOOL_ERROR                       = 10
      CODEPAGE                          = 11
      OTHERS                            = 12
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
       ELEMENT                        = 'HEADING'
       FUNCTION                       = 'SET'
       TYPE                           = 'BODY'
       WINDOW                         = 'MAIN'
    IMPORTING
      PENDING_LINES                  =
    EXCEPTIONS
      ELEMENT                        = 1
      FUNCTION                       = 2
      TYPE                           = 3
      UNOPENED                       = 4
      UNSTARTED                      = 5
      WINDOW                         = 6
      BAD_PAGEFORMAT_FOR_PRINT       = 7
      SPOOL_ERROR                    = 8
      CODEPAGE                       = 9
      OTHERS                         = 10
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    LOOP AT i_ekpo.
    *v_count1 = v_count1 +
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
       ELEMENT                        = 'ITEMS'
       FUNCTION                       = 'SET'
       TYPE                           = 'BODY'
       WINDOW                         = 'MAIN'
    IMPORTING
      PENDING_LINES                  =
    EXCEPTIONS
      ELEMENT                        = 1
      FUNCTION                       = 2
      TYPE                           = 3
      UNOPENED                       = 4
      UNSTARTED                      = 5
      WINDOW                         = 6
      BAD_PAGEFORMAT_FOR_PRINT       = 7
      SPOOL_ERROR                    = 8
      CODEPAGE                       = 9
      OTHERS                         = 10
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDLOOP.
    CALL FUNCTION 'CLOSE_FORM'
    IMPORTING
      RESULT                         =
      RDI_RESULT                     =
    TABLES
      OTFDATA                        =
    EXCEPTIONS
      UNOPENED                       = 1
      BAD_PAGEFORMAT_FOR_PRINT       = 2
      SEND_ERROR                     = 3
      SPOOL_ERROR                    = 4
      CODEPAGE                       = 5
      OTHERS                         = 6
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    SAP Script:
    create the window main with two with appropriate size.
    in the text include following lines.
    /E HEADING
       Items     Item Description     Net Price
    /E ITEM
      &i_ekpo-ebelp&,,&i_ekpo-txz01&,,&i_ekpo-NETPR&
    AND activate both driver prg and script.
    execute the driver program

  • Regarding sap script spool no

    Hi All ,
    When i print a SAP script then in spool request it is completed but no print is actually printed from printer . So what's reason for that ???.
    I have spool no now what i do for printing in my printer?????
    Give me suggetion
    Thanks

    Hi,
       As above said, check you spool no and print output in SP01 or SP02.
    But just check whether you printer settings. By Sysytem->User Profile->Own Data hereselect tab defaults then enter Spool Control data. Now you will get output at printer.
    TCode: su3.
    If useful, Rewards points
    Thanks,
    Sam

  • Help in sap script

    Highlighted LLC text should come exactly below KOENIGSDROS....
    how to do it....also attaching the script code in  other sshot...
    Plz help...

    Hi DARSHAN panchal,
    continous text always starts at the start of the window and ends at the end of the window. If the text is too long for 1 line, it will start in the next line at the start of the window.
    so wether redesign your windows, by outsorcing your leading text into a seperate window. Or split your variable so it does not extend your window-size
    if &GC_ADDRNAME2(40)& <> ''.
    ,, &GC_ADDRNAME2(40)&
    endif.
    if &GC_ADDRNAME2+40(10)& <> ''.
    ,,&GC_ADDRNAME2+40(10)&
    endif.
    regards
    Stefan Seeburger

  • Regarding SAP Scripts and SF

    Hi Experts,
    What is the procedure we have to follow to transfer the scripts and smartforms once created ?
    Regards
    Raghavendra.D.S

    Hi,
       Nothing to take care about this, the only thing is if the script or smartform has any standard texts, even if you save those, they are not saved under any request. So what you can do, execute the program 'RSTXTRAN' and add standard text to the corresponding script or smartform request.
    Rgds,
    Bujji

Maybe you are looking for

  • Using video clip with an alfa channel??

    Hello. Like I wrote above, I have a video with scrolling text that is sitting in a drop zone. It looks fine in the menu editor but when I simulate the menu(s) they have a black background instead of the transparency. Can anyone offer some advice on h

  • Is it possible to recover an apple i web site

    Is it possible to recover an iweb site that has disappeared in conversion to i cloud?

  • Thunderbolt to dvi resolution problem

    I have a 30 inch dell monitor and when i connect the monitor to my macbookpro 17 inch late 2011 with 10.6.8 via mini display to dvi my resolution on the external monitor is 1280x800 maximum. The display can go to 2560. does anyone now how to fix this

  • sob Please help - screen just showing flashing colours

    I`ve had my ibook 1.4MHz laptop for about a year, and never had any problems. suddenly today i was watching a movie and the screen juddered and blinked on/off a few times, then went plain black. Then it went plain white. Then blue, then red, then gre

  • Apple TV: Safari-only mode (stuck)

    Good afternoon, I opened my mother's apple tv/internet screen in guest-user mode, expecting that all I needed to use youtube was safari.  Unfortunately for me, not only does her safari-only mode NOT support videos, I cannot seem to get out of safar-o