HI reg sapscripts

hi i want 8 fields in ouput in same line. but i am getting as two lines. how to solve the problem,

SPLIT
Splits a string.
Syntax
SPLIT <c> AT <del> INTO <c1>... <cn> INTO TABLE <itab>
                  [IN BYTE MODE|IN CHARACTER MODE].
This statement searches the character field <c> for delimiter strings <del> and the parts before and after the delimiters are placed in the target fields <c1> ...> … <cn>, or into a new line of the internal table <itab>. In Unicode programs, you must specify whether the statement is a character or byte operation, using the IN BYTE MODE or IN CHARACTER MODE (default) additions.
using split sytax divied two lines

Similar Messages

  • Question reg. sapscript. please help

    I am modifying a standard medruck sapscript form for the customer needs. Now on the printout, if i want the text under 'item_text' text element to come after the text under'ITEM_SCHEDULE' text element, where should I change the code? in main program ? or in form itself? Please give me an idea reg. this.
    /E           ITEM_TEXT
    IC           ,,&TTXIT-TDTEXT&
    /:           INCLUDE &T166P-TXNAM& OBJECT &T166P-TDOBJECT& ID &T166P-TDID& LANGUAGE &
    /E           ITEM_SCHEDULE
    IM           ,,,,,,&RM06P-PRMG1&,,&T006A-MSEHT&,,&RM06P-PRITX& &RM06P-LFDAT&,,,,
    =           &RM06P-PHTXT(27)&
    Thanks a lot,
    Krishen

    Yes it will, and yes you will have to copy a couple of things,  first you will need to copy the driver, program SAPFM06P into custom program SAPFZM06P.  Then copy function group MEDRUCK into ZMEDRUCK with all the function modules,  then go to the SAPFZM06P program and copy the include program  FM06PE02 into ZFM06PE02 and include this in the main program SAPFZM06P,  inside the  ZFM06PE02, change the call in the  ENTRY_NEU form to call the "Z" version of your function module in the ZMEDRUCK function group.
    form entry_neu using ent_retco ent_screen.
      data: l_druvo like t166k-druvo,
            l_nast  like nast,
            l_from_memory,
            l_doc   type meein_purchase_doc_print.
      clear ent_retco.
      if nast-aende eq space.
        l_druvo = '1'.
      else.
        l_druvo = '2'.
      endif.
      call function 'ME_READ_PO_FOR_PRINTING'
           exporting
                ix_nast        = nast
                ix_screen      = ent_screen
           importing
                ex_retco       = ent_retco
                ex_nast        = l_nast
                doc            = l_doc
           changing
                cx_druvo       = l_druvo
                cx_from_memory = l_from_memory.
      check ent_retco eq 0.
      <b>call function 'ZME_PRINT_PO'</b>
           exporting
                ix_nast        = l_nast
                ix_druvo       = l_druvo
                doc            = l_doc
                ix_screen      = ent_screen
                ix_from_memory = l_from_memory
                ix_toa_dara    = toa_dara
                ix_arc_params  = arc_params
                ix_fonam       = tnapr-fonam          "HW 214570
           importing
                ex_retco       = ent_retco.
    endform.
    You must then change your configuration for the purchase order to tell the system to use the "Z" versions of the print program SAPFZM06P
    Regards,
    Rich Heilman

  • Reg. sapscript in spanish

    I am trying to print some sales orders using spanish version of sapscript. Are the material descriptions supposed to come in Spanish? I am not getting so unless I change the descriptions of materials in Material-Master to spanish.
    What should I do so that I get the material descriptions in spanish when I print them (with out changing the descriptions to spanish in Material-Master)?
    Thanks a lot.

    Hi ,
      My understandind is that the selection of material description is done based on the login language , because wheren ever we select these type of texts we always add the condition <b>spras = sy-langu</b>.
    So what i would suggest is that either you logon to in Spanish language and test it or debug the driver program and set the language to spanish.
    Please try this and in case of any concerns please revert back.
    Regards
    Arun

  • Question reg. sapscript

    I have two fields:
    &EKPO-NETPR&
    and
    &EKPO-PEINH&
    on a sapscript form main window. When I write in mainwindow:
    &EKPO-NETPR&/&EKPO-PEINH&, it is expected on the output. For ex, if netpr is 50 and peinh is 1, the output has to show 50/1 whereas it is showing now
    50/     1
    (I mean with spaces after that ' / ' ). What can I do to remove these spaces?
    Thanks for your input.

    hi
    tri this one
    shift ekpo-peinh  left deleting leading space.
    regards
    Usman

  • Reg SAPScript New Font

    Hi Friends,
    I have a question regarding SAP Script. I need to change the existing font of one text to Arial Font. So I have to create a new Paragraph format while creating I couldnt find the Arial Font....
    How do I achieve this...
    Your help will be appreciated....

    Hi Friends,
    In a SAPscript form , I believe Paragraph formats, Character formats, Layout , Windows and Page Windows are found at the top ( below the menu bar ).
    I couldnt find Windows and Page Windows in my Sapscript. As I need to edit some of the Windows & its texts is there any other way apart from going through the layout set.
    Your suggestions will be appreciated....
    Leo

  • 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

  • Reg Plant Maintenance Module

    There is a smartform developed for my client instead of SAPSCRIPT for program RIPCT00(i.e TCODE - IW32).  In smartform client wants to have 2 fields.
    1 - How many Maintenance order created of the eqiupment
    2 - Last Maintenance order of selected equipment.
    But for both fileds they have mentioned as Max of AFIH-AUFNR.
    Experts can you please suggest me what will be the solution.
    Ex: if there are 2 records with AUFNR as 21 and 22.
    My guess is for 1 is by calculating no of records in AFIH. i.e 21 and 22 so value is 2.
    My guess is for  2 should i take 21 or 22 as Last maintenance order.
    Is my guess is in right direction because i am new to PM module. Please give me your valuable suggestions.

    Hi,
    1 - How many Maintenance order created of the eqiupment
    general logic will be to count the total number of AUFNR in the table
    2. Last maint order of selec equipment.
    This you have to check on the below logics
    Based on Created date.
    Based on Order start date.
    based on Order number.
    So for this you need to discuss with the business owner and document them in the FS correctly.
    Reg
    dsk

  • IF statement in SAPscript

    I'm probably making a really simple mistake, but I've got the following code in a SAPscript window:
    /: IF &REGUD-WRBTR& GT 0
    HE <S>DR></>
    /: ELSE
    HE <S>CR></>
    /: ENDIF
    I've debugged through the print program and REGUD-WRBTR is 1175.00 but it still prints CR.
    Any ideas?
    Gill

    use
    IF REGUD-WRBTR GT 0
    without &

  • Barcode C128 is not getting displayed in Sapscript

    HI,
    I need to print the barcode in the Sapscript.
    The barcode is not getting displayed even in the preview also, when I give the Barcode C128.
    But when I give other Barcodes, it is getting displayed in the preview.
    Can anyone let me know the solution to print the barcode for C128, as others are not that much fit to print.
    Thanks
    Rakesh

    Hi Dieter,
    No. I haven't.
    Is this the reason for that?
    let me know the procedure.
    thanks
    Rakesh

  • How can I transfer sapscript from one client to another

    Please tell me the steps , how can I <b>transfer</b> SAPscript from one client to another (like DEV Client to Test Client)?

    Hi,
    Utilities --> Copy from client.
    If you have to copy from once system to another use Program RSTXSCRP
    Regards,
    Satish
    Message was edited by:
            Satish Panakala

  • How can i print all the contect of the code in sapscript window ? ?

    how can i print all the contect of the code in sapscript window ? ?

    Hi,
    Do you mean that you want to print the ABAP code to SAPscrip form ?
    Svetlin

  • How to print the text in only last but one page in sapscripts

    hiiiiiiiiiii,
             explian how to print the text in only last but one page in sapscripts? wher to write the code? plz if possible explain in detail with an example?

    Hello,
    The total no pages is given by &SAPSCRIPT-FORMPAGES& command.
    So u can handle the situation in ur form like this
    /: if &PAGE&  = &SAPSCRIPT-FORMPAGES&
    p1 TEXT
    /: endif
    Try in this way it may help u.
    Regards

  • Sapscript translated in non-english language - Garbled output as Email

    Hi Experts,
    I've translated a SAPscript  to Chinese and Thai language.
    As per my requirement, the output can either be printed, emailed or faxed.
    I'm using the standard include  RVADOPFO for Open form.
    For the english version, I'm able to recieve the properly formatted e-mail output.
    However in case of thai and chinese, the Thai and Chinese characters do not appear. Most of them are substituted with blank spaces and some are substituted with boxes and unknown characters. However, the numbers and english characters appear.
    Please help in getting the correct output.
    Thanks!
    Nitya.

    Hi,
    SAP 141343. PDF Conversion: Latin-2.
    SAP 141901. Customer-specific fonts for PDF conversion.
    SAP 163266. PDF conversion: character set for softfonts.
    SAP 171698. SAPconnect: Formats, conversion, device type.
    SAP 317851. Creating PDF format via spooler in 4.6C/4.6B/4.5B.
    SAP 322998. PDF conversion: Cyrillic support.
    SAP 323736. Restrictions with "PDF print" through spooler.
    SAP 398357. PDF converter: Width of letters is incorrect.
    SAP 414325. SAPconnect: Conversion of ALI to PDF.
    SAP 504952. Composite note spool and print.
    Find these notes, there You'll find some answers.
    Regards,
    Nisrin.

  • Gerar PDF com código de barras a partir de um SAPScript

    Bom Dia Senhores!
    Estou tendo problemas na geração de um arquivo PDF a partir de um SAPScript com código de barras.
    Tenho um formulário SAPScript que contém código de barras, este, é gerado pela F110.
    O programa precisa que este arquivo PDF gerado seja enviado por email, porém ao gerarmos um arquivo PDF deste SAPScript, o código de barras contido nele é meramente ilustrativo, ou seja, não sai com as informações certas do boleto, sai como imagem.
    É de meu conhecimento que se este formulário fosse um SmartForm sairia tudo perfeito já que a transformação do SmartForm em PDF mantém o código de barras de forma correta.
    Porém, se formos na SP01 e mandamos imprimir este SAPScript com a saída 'PDF Creator' ele gera o código de barras corretamente.
    Minha pergunta é se alguem conhece alguma função de transformação de SAPScript para PDF que funcione corretamente, algo similar ao funcionamento do PDFCreator.
    Obrigado;
    Daniel Salerno de Arruda

    Boa Tarde Daniel Salerno,
    Tenho o mesmo problema que você tinha.
    Gero um arquivo em PDF com Boleto de pagamento para enviar mas o código de barras neste arquivo é meramente ilustrativo e não consigo enviar o código para leitura.
    Este formulário está em SAPScript,
    Será que você pode me ajudar ?
    Obrigada.
    Solange Guimarães.

  • Mail can't send email from 123-reg accounts

    Hi all,
    I've got an issue with Mac Mail can’t send email from 123-reg accounts.
    I know there is a lot of articles on simular matters and some I have tried out with no luck, others are just speaking a whole other language.
    Any help would be greatly recived, here's my situation below:
    Running a iMac 2.8GHz Intel Core i5 on OS X 10.8.3
    I’m using 3 accounts on Macs Mail client, one is my iCloud account that is working fine and the other two are my 123-reg accounts that I use for business purposes. I’ve been working like this for a couple of years now and about 6 months ago I upgrade my operating system from Snow Leopard to Mountain Lion.
    2 or 3 months ago I randomly got a problem where I was unable to send any emails from my 123-reg account, I could only receive emails. I checked my settings and they were all correct and unchanged so I attempted to delete them and recreate the account but with no such luck.
    I then decided to check if it was a problem at 123-regs end and attempted to log into web mail. This worked and was able to both send and receive emails so eliminated that possibility.
    I also have these accounts set up on my iPhone, so checked if there was any issues and everything was working fine. I then checked my iphone details and made sure the same was on my desktop and still no such luck.
    I’ve tried out some of the articles I’ve found on here (the ones written in plain English) still no results. I’m not very IT illiterate and just wondered if anyone else has got any ideas, whether there is something specific with 123-reg accounts and Mac Mail?
    Many thanks.

    Thanks
    I just had another hunt around looking at posts and discovered that it was because I recently changed to BT Infinity and they had a block on.
    I didn't even think to question the ISP.
    https://discussions.apple.com/message/21173608#21173608

Maybe you are looking for