^ COMMAND IN SAPSCRIPT ?

^ GROUP HEADER_1.
What does this command specify ? I am going thru a built form ..and cannot understand the use of this command ?
Thanks

HI Tamanna,
I think you are using this form for any Label Printing or for any barcode printing. Because we get these for ZPL II language which is used in for Labels and Barcode design.
Yes to add to Sridhar's Point it can even be Jetforms as your client might be using Jetforms instead of Scripts or Smartforms for printing forms.
Thanks & Regards,
YJR.
Message was edited by: YJR

Similar Messages

  • What is use of Read-Text  command in Sapscript  plz replay

    What is use of Read-Text  command in Sapscript  plz replay
    i m geting problem with read-text command in sapscript as will as
    perform and endperform .

    Hi Majid,
              It's a function module to read the texts from a text file. Generally it is used to retrieve the long texts.
    The function module reads the desired text from the text file, the text memory, or the archive. You must fully specify the text using OBJECT, NAME, ID, and LANGUAGE. An internal work area can hold only one text; therefore, generic specifications are not allowed with these options.
    After successful reading, the system places header information and text lines into the work areas specified with HEADER and LINES.
    If a reference text is used, SAPscript automatically processes the reference chain and provides the text lines found in the text at the end of the chain. If an error occurs, the system leaves the function module and triggers the exception REFERENCE_CHECK.
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    CLIENT = SY-MANDT
    OBJECT = ?...
    NAME = ?...
    ID = ?...
    LANGUAGE = ?...
    ARCHIVE_HANDLE = 0
    IMPORTING HEADER =
    TABLES LINES = ?...
    EXCEPTIONS ´
    ID =
    LANGUAGE =
    NAME =
    NOT_FOUND =
    OBJECT =
    REFERENCE_CHECK =
    WRONG_ACCESS_TO_ARCHIVE =
    Export parameters
    Specify the client under which the text is stored. If you omit this parameter, the system uses the current client as default.
    Reference field: SY-MANDT
    Default value: SY-MANDT
    OBJECT
    Enter the name of the text object to which the text is allocated. Table TTXOB contains the valid objects.
    Reference field: THEAD-TDOBJECT
    NAME
    Enter the name of the text module. The name may be up to 70 characters long. Its internal structure depends on the text object used.
    Reference field: THEAD-TDNAME
    ID
    Enter the text ID of the text module. Table TTXID contains the valid text IDs, depending on the text object.
    Reference field: THEAD-TDID
    LANGUAGE
    Enter the language key of the text module. The system accepts only languages that are defined in table T002.
    Reference field: THEAD-TDSPRAS
    ARCHIVE_HANDLE
    If you want to read the text from the archive, you must enter a handle here. The system uses it to access the archive. You can create the handle using the function module ACHIVE_OPEN_FOR_READ.
    The value '0' indicates that you do not want to read the text from the archive.
    Reference field: SY-TABIX
    Default value: 0
    Import parameters:
    HEADER
    If the system finds the desired text, it returns the text header in this parameter.
    Structure: THEAD
    Table parameters:
    LINES
    The table contains all text lines that belong to the text read.
    Structure: TLINE
    Exceptions:  
    ID
    The text ID specified in the parameter ID does not exist in table TTXID. It must be defined there together with the object of the text module.
    LANGUAGE
    The parameter LANGUAGE contains a language key that does not exist in table T002.
    NAME
    The parameter NAME contains the name of a text module that does not correspond to the SAPscript conventions.
    Possible errors:
    The field contains only blanks.
    The field contains the invalid characters ‘*’ or ‘,’.
    OBJECT
    The parameter OBJECT contains the name of a text object that does not exist in table TTXOB.
    NOT_FOUND
    The system did not find the specified text module.
    REFERENCE_CHECK
    The text module to be read has no text lines of its own but refers to the lines of another text module. This reference chain can include several levels. For the current text, the chain is interrupted, that is, one of the text modules referred to in the chain no longer exists.
    WRONG_ACCESS_ TO_ARCHIVE
    The exception WRONG_ACCESS_TO_ARCHIVE is triggered if an archive is accessed using an incorrect or non-existing archive handle or an incorrect mode (that is, read if the archive is open for writing or vice versa).
    Br,
    laxmi.

  • About BOX control command in SAPScript.

    Hi,
    I am using the BOX control command in SapScript.
    Is it possible to assign the values of Xpos and Ypos dynamicalliy.
    In BOX XPOS 16 CH WIDTH 0 MM HEIGHT 18 MM FRAME 10 TW,
    i want to assign the values at runtime, instead of
    xpos 16 , something like Xpos Var, where var contain the value of xposition.

    Hi,
       We cant give the dynamic value in runtime . It should be static.
    Regards,
    Saran

  • Reg INCLUDE command in SAPscript

    Hi Folks,
       Can anybody tell me is it possible to give tab in INCLUDE command in SAPscripts.
       What I mean is I want to display standard text after few spaces.
       Thanks in Advance
       Punit

    Hi Punit,
          You cannot give tabs for INCLUDE command. On the other hand you can read the text in your print program using READ_TEXT function module. You can modify the text using SAVE_TEXT and send it to the SAPScript for output.
    With Regards,
    Nelson

  • SUMMING command in SAPScript

    Hello gurus,
    I am trying to use the SUMMING command in SAPScript to output a total on each page of a transfer order.
    According to the sap help, I need to declare the summing total variable within the print program using the TABLES statement, I'm trying to total LTAP-VSOLA so should I be declaring a table of this type? ANd if so, shouldn't I be using a DATA statement for this? I'm confused as to what the help actually means?
    Has anyone used this statement before and have an example that I can see?
    Thanks,
    Ruby

    Try like:
    /: DEFINE &TOT_PRICE&
    /: SUMMING &KOMVD-KBERT& INTO &TOT_PRICE&
    or
    /: DEFINE &SUM& TYPE NETWR and write in the loop
    / &SUM& = &SUM& + &BSEG-WRBTR&
    and use this SUM field
    normally I would prefer to calculate this kind of stuff in the print program. But I guess you are using the original SAP program.
    Amit.

  • ADDRESS Command in SAPScript

    Dear all,
    I'm using ADDRESS ~ ENDADDRESS command in SAPScript. I pass street name to STREET as follow
    NAME name1 name2 name3 name4
    STREET &LFA1-STRAS&
    With the above, my street can be displayed out correctly.
    But i faced problem when i have street2 street3 and street4, like below:
    NAME name1 name2 name3 name4
    STREET &LFA1-STRAS& , &ADRC-STR_SUPPL1& , &ADRC-STR_SUPPL2& , &ADRC-STR_SUPPL3&
    With above, nothing printed for street.
    Could you please point me out where did i code wrong?
    Or we can not pass street2/3/4 to STREET?
    Thank you.

    Hi,
    Just Refer this:
    https://forums.sdn.sap.com/click.jspa?searchID=12447471&messageID=2301405
    Check the below link for details on Text Elements
    http://help.sap.com/saphelp_47x200/helpdata/en/d1/802e91454211d189710000e8322d00/content.htm
    Regards,
    Shiva Kumar

  • Please let me know how to use ++HLN text CVR command in sapscript

    Hi,
       does any one know how this ++HLN number CVR command need to implement in sapscript?
    Regards,
    Challa.

    Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card

  • ADDRESS ENDADDRESS command in SAPScript

    Hi Gurus,
    How does address endaddress command works in SAPscript.
    I want to use it in SAPscript as
    ADDRESS
        ADDRESSNUMBER <LFA1-ADRNR>
        FROMCOUNTRY 'US'
    ENDADDRESS.
    I have gone through the documentation of ADDRESS_INTO_PRINTFORM but still not clear of the sequence.
    Want to know, what will be the sequence in which address will be printed from above command and how does it determine this.
    Appreciate your help.
    Thanks,
    Kartavya

    Hi,
         Read Below documentation
           The ADDRESS - ENDADDRESS control command formats an address according to the postal convention of the recipient country defined in the COUNTRY parameter. The reference fields are described in the structures ADRS1, ADRS2, or ADRS3, depending on the type of address. Either direct values or symbols may be assigned to the parameters.
    Syntax:
    /: ADDRESS [DELIVERY] [TYPE t] [PARAGRAPH a] [PRIORITY p] [LINES l]
    /: TITLE title
    /: NAME name1[,name2[,name3[,name4]]]
    /: PERSON name of natural person [TITLE form of address]
    /: PERSONNUMBER number of the personen
    /: DEPARTMENT department
    /: STREET street name HOUSE house number
    /: LOCATION additional location information
    /: POBOX po box [CODE post code / zip code] [CITY city]
    /: POSTCODE post code / zip_code
    /: CITY city1[,city2]
    /: NO_UPPERCASE_FOR_CITY
    /: REGION county / state
    /: COUNTRY recipient country [LANGUAGE language code]
    /: COUNTRY_IN_REC_LANG
    /: LANG_FOR_COUNTRY language key
    /: FROMCOUNTRY sender country
    /: ADDRESSNUMBER address number
    /: ENDADDRESS
    The parameter values contain both formatting and address information. The address data are formatted for output according to the data in the following parameters:
    TYPE
    FROMCOUNTRY
    COUNTRY
    LANGUAGE
    PRIORITY
    DELIVERY
    LINES
    If DELIVERY is not specified and if a POBOX is specified, then the POBOX is used in an address instead of a STREET.
    Regards
    Bala Krishna

  • Include command in SapScript to fill in a local field

    Dear all,
    Normally when we are using the INCLUDE SAPscript command, the system is printing the information retrieved.
    My question is, if someone of you know, whether is possible to put the information retrieved into a local field, defined as DEFINE &wa_localfield& := include &tdname& object vbbk ...
    Many thanks in advance !
    Rgds., Anton

    No, that is not possible using the INCLUDE statement.
    Welcome to SDN!
    Regards,
    Rich Heilman

  • Include command in Sapscript

    Dear all,
    I've added an include command in the main window of my sapscript in order to display text object in my forms. THe thing is that I would like to be able to position the free text not on the left of the windows but in the middle of it. But it seems that I can't use tab strip with the include command.
    /: ,,,,include &VBDPA-TDNAME& OBJECT VBBP ID 0002 Language en does not work for instance.
    Any idea?
    Regards.
    NC.

    Hi,
    Do one thing I am not sure that this will serve your purpose.
    Create one new window and place it on your main window where you want to print that text.
    In that created window INCLUDE your text object and make that window as CENTER justification in paragraph format.
    Here you will face one problem with size of the window.
    That is if your TEXT exceeds your window width or height then the TEXT will be truncated.
    So you need to take care of it.
    Try with this i hope it will solve your issue.
    Thanks.

  • Rightfax commands in Sapscript/Smartforms

    Hi,
    We are using RIGHTFAX with SAP ECC 5.0 for fax sending functionality.
    I have read all the threads related to RIGHTFAX functionality but would like to have answers for the following.
    1) Where exactly in a SAPSCRIPT / SMARTFORM form do I add the fax control commands (FCL Commands)so that RIGHTFAX connector for SAP R/3 recognise them?
    For eg: I want RIGHTFAX to include a particular cover sheet.For that I need to write the fax control command RFSAP_FCSFILE:file name. But where do I write that inside sapscript/smartform?
    Thanks,
    Bhaskar Pal.
    This message is not answered.Somehow it is showing as being answered already. I would appreciate your help/input on this issue. Please respond.

    Hi.  First try to set your post as unsolved.  There should be a radiobutton on the left of your post to do so.
    TO answer your questions,  what you need to do is to create a page, this page will be printed first.  Put your FCL commands in this page.  When the document is send to the printer device(the one setup for RIGHTFAX), it will have this coding on the first page.  Once it reaches RightFax,  the software will recognize that there is FCL code on this page and will except it, get the values, apply them, and then it strips off this first page.  This is good because we don't want the end user to see this anyway.  So, create a page in your sapscript called FAXPAGE,  put your commands in there and always start your printing at this page. 
    Regards,
    RIch Heilman

  • Format data using ADDRESS ENDADDRESS Command in SAPscript

    Hi All,
    I have an requirement to print the contact address in the follwing format. Actually I want to print first name and Last name immediately after TITLE (Mr.) like below.
    Mr. Jhon smith
    Street name, po Code..
    But currently it is printing like this below
    Mr.
    Jhon
    smith
    Street name, po Code..
    I am using the ADDRESS...ENDADDRESS command some thing  like this below:
    /: ADDRESS PARAGRAPH AS PRIORITY A234P
    /: TITLE    &SADRD-ANRED&
    /: NAME     &SADRD-NAME1&, &SADRD-NAME2&, &SADRD-NAME3&,
    /: STREET   &SADRD-STRAS&
    /: POBOX    &SADRD-PFACH&  CODE &SADRD-PSTL2&  CITY &SADRD-PFORT&
    /:ENDADDRESS                                      
    I would Appreciate for your quick responses.
    Thanks.
    Sankar

    well you are doing it anyway manually when i have a look at your coding.
    you are not using the standard way of printing an adress by just giving adrnr to the adress statement, but you are printing the fields in detail anyway.
    So well just adopt it the like following:
    /: ADDRESS PARAGRAPH AS PRIORITY A234P
    /: TITLE &SADRD-ANRED&,,&SADRD-NAME1&,,&SADRD-NAME2&,,&SADRD-NAME3&
    /: STREET &SADRD-STRAS&
    /: POBOX &SADRD-PFACH& CODE &SADRD-PSTL2& CITY &SADRD-PFORT&
    /:ENDADDRESS
    but i still ask myself what you need the adress staement for when you anyway have an own way to format your output.

  • Text after the Address Endaddress command in SAPscript

    Hi All,
    Can we print text on the same line after the address endaddress command.
    For eg: i am using the Address command
    /:ADDRESS PARAGRAPH AS
    /:TITLE    &EKKO-LIFNR&
    /:NAME   &LFA1-NAME1&, &LFA1-NAME2&, &LFA1-NAME3&, &LFA1-NAME4&
    /:STREET   &LFA1-STRAS&
    /:POBOX    &LFA1-PFACH&  CODE &LFA1-PSTL2&
    /:CITY     &LFA1-ORT01&, &LFA1-ORT02&
    /:POSTCODE &LFA1-PSTLZ&
    /:COUNTRY  &LFA1-LAND1&
    /:REGION   &LFA1-REGIO&
    /:FROMCOUNTRY &T001-LAND1&
    /:ENDADDRESS
    which gives the output as
    1000035878
    SANMINA -SCI SYSTEMS DE MEXICO SA DE CV
    AV DE LA SOLIDARIDAD IBEROAMERICANA NO 7020
    45680 EL SALTO
    Mexico
    I want a text to be printed next to Mexico eg:
    1000035878
    SANMINA -SCI SYSTEMS DE MEXICO SA DE CV
    AV DE LA SOLIDARIDAD IBEROAMERICANA NO 7020
    45680 EL SALTO
    Mexico  XYZZZ
    Can anyone knows how to go about it?
    Thanks
    Ahsan

    Hi,
    I do not think itz possible using address...endaddress...
    if you want to so something like that may be we need to write that without using address...endaddress..
    Regards,
    Narendra.

  • Problem regarding STYLE Command in SapScript-form

    Hello together,
    i have a problem with an self-created STYLE with transaction SE72! How can i include this new style to a sap-script-form?
    i have tried to include it with an addition in main-window like:
    "/: STYLE stylename"! But after the check-form-option, it tells me that the specific paragraph and character forms were not found.
    How can i bind the new style to a sap-script-form?
    Thanks in advance,
    Marcel

    Hi ,
    Instead of defining like that just go to any editor and select the following ,menu path
    Format-> Change style
    and select your style from the list of styles,.
    Hopee it helps you
    Regards,
    Nageswar

  • INCLUDE control command in sapscript

    I have used include control program and got long text for desired object,Problem is i want to move these text into some variable how can it be done.

    Hi,
    In the print program use the FM READ_TEXT to read the standard text..
    Then LOOP AT the text internal table and then concatenate the text and move it to string variable..
    Thanks
    Naren

Maybe you are looking for

  • How Do I Reinstall iPhoto after Upgrading to Snow Leopard

    hi, I recently did a clean install to Snow Leopard on my macbook Pro. Everything went smoothly other than apparently I need to add the iphoto back on to my mac. I DO have the original discs 1 & 2 that came with my macbook pro. Would someone be so kin

  • Short dump in ECC 6.0 during delta load

    Hi, We are currently working in BI upgrade project from BW 2.1c to BI 7.0 At the same time R/3 is being upgraded from 4.0B to ECC 6.0 During delta load we are getting short dump in R/3 system. Below is the short dump detalis The current ABAP prgm "SA

  • Best monitor for graphic design?

    Hi - I am thinking of buying a mac mini to use for graphic design and I just wanted to get some opinions from any other designers using one. Whilst I'd love to be able to afford an iMac it's just out of my price range at the moment. I was thinking of

  • How can I make Firefox stop loading a page?

    Let's say I fat-finger a url (e.g., Facebook..com), or I type "fac" into the address bar and either miss the down arrow or hit "enter" before the websites containing "fac" appear in the drop-down. I realize my error immediately, hit "ESC"... and rath

  • How to enable row level exception in VO

    Hi, I have created an lov,my requirement is i want to throw an exception if i select any value which is not in the lov list.Pls help me. Edited by: Atanu Mukherjee on Sep 12, 2010 11:40 PM