Doubts regarding printer ouput  for a Script?

Hi Guys,
               Is ther anyway can we print he script Output by mentioning the positin becaus my problem is when i am ddisplaying the script output thru printer suppose there 5 columnd headings the values are getting printed ina Jig jag manner if there is no data for one of the column in in a row then the next column data is getting moved to the before column. i need to print the data in below each column if not data empty space must be left so can anybody tell me how to do?
Thanks,
Gopi.

Hi Guys,
             can anybody tell me how to use Boxes in Scripts ?
     My req is i want to display the columns and column value in a line no Jig jaga if data is not there the columns data should not move to front line
Thanks,
Gopi.

Similar Messages

  • How to know print program for SAP Script

    Hi friends,
    how to know print program for SAP Script form name ?

    Hi ,
      You can use the following code changes in the layout & see..
    You have to create a program Z_BC460_EX4_HF for that..
    /:PERFORM GET_NAME IN PROGRAM Z_BC460_EX4_HF
    /:  USING &CUST&
    /:  CHANGING &NAME&
    /:ENDPERFORM.
    Dear &NAME&
    The ABAP routine could be defined as follows:
    IMPORTANT: The structure itcsy must be used for the parameters.
    REPORT Z_HENRIKF_SCRIPT_FORM .
      tables scustom.
      form get_name tables in_tab structure itcsy
                           out_tab structure itcsy.
      read table in_tab index 1.
      select single * from scustom
        where id = in_tab-value.
      if sy-subrc = 0.
        read table out_tab index 1.
        move scustom-name to out_tab-value.
        modify out_tab index sy-tabix.
      else.
        read table out_tab index 1.
        move 'No name' to out_tab-value.
        modify out_tab index sy-tabix.
      endif.
    You could also fill the ouput parameter table this way
       READ TABLE out_par WITH KEY 'NAME1'.
       out_par-value = l_name1.
       MODIFY out_par INDEX sy-tabix.
    endform.

  • Printing problem for SAP Script

    Dear Friends,
    I am facing strange problem for SAP Script. In the billing document output the sold to party and ship to party address are displaying. When user print the billing document on laser printer it print the Country for Sold to and Ship to. But when it print the same billing document on normal printer (other than laser) the Sold to country not printing.
    The print preview of billing document in SAP  correctly display country for Sold-to and Ship-to.
    I have recently make changes in the SAP Script form (Address window) to display country for Ship-to which was never displayed before. I have added FROMCOUNTRY option after COUNTRY in address window. COUNTRY will be Ship-to and FROMCOUNTRY will be VBDKR-SLAND.
    Can any one help me to solve this problem.
    Regards
    Nilesh Shete

    Used custom address print option instead of using ADDRESS

  • What is print program for sap script?

    some of the print program of sap script.
    and also guide me to use that program

    for which sapscript ?
    you can use table TNAPR to find the print program and layoutset for output types. Maybe it will help you.
    regards,
    Hans

  • Doubt regarding facebook integration for windows phone 8.1 silverlight app?

    Hi,
    I am developing a windows phone 8.1 silverlight application . For my application I integrated the facebook login. For this facebook integration I used the login with facebook app method.
    My doubt is after getting the app id from the dev center , I updated the appid at developers.facebook.com , wmmanifest.xml (In extensions protocol (msft-appid without dashes)) . Or do I need to change the product id in the place holder also , I tried to
    change the productid also but I am getting error like some signature is wrong try with different signature. I am confused how to do it .
    Any help,
    Thanks...
    Suresh.M

    Hi Suresh,
    According to your description, I assume you want to complete facebook configuration in windows phone silverlight app. Please refer to the following link to see how.
    http://facebooksdk.net/docs/phone/config/.
    You can find code sample from
    https://github.com/facebook-csharp-sdk/facebook-winclient-sdk/tree/master/Samples.
    Facebook API is third-party library and it is our of our support range. You can post questions on here.
    https://github.com/facebook-csharp-sdk/facebook-winclient-sdk/issues.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
    the survey.

  • Difference in LOCL print preview for same script in two different systems

    Hi All,
    When I am testing a dunning letter ( Custom sapscript) in my testing system the LOCL print preview is correct...When I am testing  it in my development system by taking print preview from LOCL it is not printing a uline and some line item headers...
    There is one text element for printing line item header.
    U1....ULINE(73)
    T0    &vline& ....&T_MATNR&..
    T3    &vline&
    UL   &ULINE(73)
    IN Development sytame in print preview every thing is perfect except the above portion the first uline and vline are not getting printed and as a result next vline and uline are dispalyed a bit above .. I am unable to understand why one uline is not printed but the othe one is printed as we are using HELVE12 in both cases and above all  why in test system this problem is not occuring..
    I checked and am 100% sure there is no difference between the layout versions in the two sapscripts...Also checked most of the SPAD configs in two systems and found them same..
    Can you give me any idead about the reason for the diffrence in print preview as in both cases it will consider the printer installed on the local desktop....
    Just we use citrix metaframe to log in SAP but that should not be the reason as thne problem would be in both system..
    Please help me out...
    Thanks and Regards
    Sweta

    Hi ,
    I already mentioned that I am selcting LOCL ( Device type Sapwin)  in both cases so in both cases it is considering the printer installed on the local system...
    Can anyone tell me specific spad config or anything else which I need to compare in both systems..

  • Print Ouput for Payment Run

    Hi
    The Payment method is T iand Print Programme RFFOUS_C is assigned to it at CC and Country Level at FBZP.
    After Payment Run is doen The Print out put Is not generating for the Payment Run.
    At SE38 I gave pyemnt run details with Varient.  But it is not providing any Print Out Put.
    Please advise for generating Print Out Put.
    Regards
    Raghuram

    Hi,
    Also Did you maintiain the forms also in FBZP (Payment methods in Company Code) &Set Up Paying Company Codes for Payment Transactions setting for APP,please refer this to path
    On SPRO -> Financial Accounting -> Accounts Receivable and Accounts Payable -> Business Transactions -> Outgoing Payments-> Automatic Outgoing Payments-> Payment Method/Bank Selection for Payment Program -> Set Up Paying Company Codes for Payment Transactions
    Regards,
    Pramitha.
    Edited by: pramitha on Mar 28, 2011 12:49 PM
    Edited by: pramitha on Mar 28, 2011 12:49 PM

  • Sato printer configuration for  sap scripts

    hi friends,
    i got a requirement .i have to print the labels for sato printer.
    The form is already developed but not for sato printer.
    i have to change the form according to the sato printer.
    Please help me regarding this.
    Regards,
    Srinivas

    hi
    good
    SETTING UP A PRINTER IN R/3
    Ask your Expert User, User Administrator, or Technical Support person, or perform these steps.
    1) From the R/3 menu, click System, select User Profile, choose Own Data. The Maintain User Profile window displays.
    2) Click "Defaults".
    3) Under "Spool Control" in the "Outputdevice" field, type the name of your local SAP R/3 output device or printer name.
    Check "Output Immediately" if desired.
    Check "Delete After Output" if desired.
    4) Under "Decimal Notation", check the appropriate decimal selection.
    5) To save your updates from the tool bar menu, click User, select Save, or press Ctrl+S on your keyboard.
    PRINTING IN R/3
    1) Click the Printer icon, or from the menu, click Report, select Print.
    2) If the Print current report dialog box appears, click the check Continue icon to get the "Print List" dialog box.
    3) Ensure your printer is listed in the "Outputdevice" field.
    4) Select print options as needed.
    5) Once all printing options are selected, click the check Continue button to print.
    http://sap.ittoolbox.com/groups/technical-functional/sap-basis/how-to-install-new-printer-drivers-in-sap-1262490
    http://sap.ittoolbox.com/groups/technical-functional/sap-basis/adding-of-new-printer-device-1312699
    thanks
    mrutyun^

  • Regarding print preview for BOM

    Hi,
    In sales order BOM item is appearing with two other subitems but while taking the print out only main item should appear in print out or it should give the option of printing either main item or sub items
    pls let me know the setting need to be done for this & effect should be observe in the sales order print preview

    hi
    i got the answer
    we have to give issue output to -->screen

  • How to find the print program for a sap script

    Hey Experts,
    How to find the print program for a sap script (espicially when it is a custom script(Z*))?
    Thanks a ton,

    Thanx Vijay,
    Actually when I searched for the program in both the tables it didnt show up ther.
    But when I did check in the texts of script, I found it.
    Good job.
    Thanks all.
    Vijay, a small doubt.
    But why didn't it show up in those 2 tables when all the print programs for standard scripts show up usually?
    thnx once again.
    Message was edited by: dev a

  • Doubt regarding  ALE SETTINGS in IDOC scenario.

    Hi Friends,
            I have some doubts regarding ALE settings for IDOC scenarios,  can anyone  please clarify my doubts.
    For exmaple take IDOC to FILE scenario
    The knowledge i got from SDN is --
    One need to do at the  R3 side is  --- RFC DESTINATION (SM59)  for the XI system.
                                                       --- TRFC PORT  for sending IDOC  to the  XI system
                                                       --- CREATING LOGICAL SYSTEM
                                                       --- CREATING PARTNER PROFILE 
                   at the XI side is  --- RFC  Destination ( For SAP sender system)
                                           --- CREATING  PORT  for receiving IDOC from the SAP sending system(IDX1).
    1. Do we create two logical systems for both Sender ( R3 system ) and Receiver( XI system ) in R3 system itself or in XI system or in both systems we create these logical systems? Is this a mandatory step in doing ALE configurations?
    In IDOC to IDOC scenario-------
      2.  Do we craete two RFC destinations in XI system? One RFC DESTINATION for the Sender R3 system and another RFC DESTINATION for the Receiver R3 System? and do we create RFC DESTINATION for the XI system in receiver R3 system? If not.....y we don't create like this........Please give me some clarity on this.............
      3.  If we use IDOC adapter ,since IDOC adapter resides on the ABAP STACK ,we don't need sender communication channel ,for the similar reason----
    y we r creating receiver communication channel in the case of FILE to IDOC scenario?
      4. Can any one please provide me the ALE settings for IDOC to FILE scenario,
                                                                                    FILE to IDOC scenario,                                                                               
    IDOC to IDOC scenario individually.
    Thanks in advance.
    Regards,
    Ramana.

    hi,
    1. Yes, we create two logical systems for both Sender ( R3 system ) and Receiver( XI system ) in R3 system itself and
    it is a mandatory step in doing ALE configurations
    2. We create 1 RFC destination each in R3 and XI.
        R3 RFC destination points to Xi and
        XI RFC destination  points to R3
    3 We need to create Communication Channel for Idoc receiver as the receiver channel is always required but sender may not be necessary
    4. ALE settings for all IDOC scenarios are same  as follows....
    Steps for ALE settings:-
    Steps for XI
    Step 1)
         Goto SM59.
         Create new RFC destination of type 3(Abap connection).
         Give a suitable name and description.
         Give the Ip address of the R3 system.
         Give the system number.
         Give the gateway host name and gateway service (3300 + system number).
         Go to the logon security tab.
         Give the lang, client, username and password.
         Test connection and remote logon.
    Step 2)
         Goto IDX1.
         Create a new port.
         Give the port name.
         Give the client number for the R3 system.
         Select the created Rfc Destination.
    Step 3)
         Goto IDX2
         Create a new Meta data.
         Give the Idoc type.
         Select the created port.
    Steps for R3.
    Step 1)
         Goto SM59.
         Create new RFC destination of type 3(Abap connection).
         Give a suitable name and description.
         Give the Ip address of the XI system.
         Give the system number.
         Give the gateway host name and gateway service (3300 + system number).
         Go to the logon security tab.
         Give the lang, client, username and password.
         Test connection and remote logon.
    Step 2)
         Goto WE21.
         Create a port under transactional RFC.(R3->XI)
         Designate the RFC destination created in prev step.
    Step 3)
         Goto SALE.
         Basic settings->Logical Systems->Define logical system.
         Create two logical systems(one for XI and the other for R3)
         Basic settings->Logical Systems->Assign logical system.
         Assign the R3 logical system to respective client.
    Step 4)
         Goto WE20.
         Partner type LS.
         Create two partner profile(one for XI the other for R3).
         Give the outbound or inbound message type based on the direction.
    Step 5)
         Goto WE19
         Give the basic type and execute.
         fill in the required fields.
         Goto IDOC->edit control records.
         Give the following values.(Receiver port,partner no.,part type and sender Partner no. and type)
         Click outbound processing.
    Step 6)
         Go to SM58
         if there are any messages then there is some error in execution.
         Goto WE02.
         Check the status of the IDOC.
         Goto WE47.
         TO decode the status code.
    Step 7)
         Not mandatory.
         Goto BD64.
         Click on Create model view.
         Add message type.
    BD87 to check the status of IDOC.
    In case if not authorized then go to the target system and check in SU53, see for the missing object
    and assign it to the user.
    SAP r3
    sm59(status check)(no message)
    WE02(status check)
    WE05(status check)
    BD87(status check)
    Xi
    IDx5(Idoc check)
    SU53(authorization check)
    Reward points if helpful
    Prashant

  • Doubt in printing variables in script

    Hi Experts,
    I am having small doubt.
    1).I need to write one condition for sales org 'US11' and divisions '20' or '40'. So the below logic is correct or not.
    if vbdkr-vkorg = 'US11' and and vbdkr-vtweg = '20' or vbdkr-vtweg = '40'.
    select........
    endif.
    2). i need th print these variables in script. can i use the logic like this.
    if &vbdkr-vkorg& = 'US11' and and &vbdkr-vtweg& = '20' or &vbdkr-vtweg& = '40'.
    &zkbetr1/ zpery1&
    else.
    &zkbetr/ zpery& (This is for sales org other than US11)
    endif.
    Thanks & Regards,
    Ramana.

    Hi,
    I think your condition would be more apt if you code this way:
    IF vbdkr-vkorg EQ 'US11' AND ( vbdkr-vtweg EQ '20' OR vbdkr-vtweg EQ '40' ).
    ENDIF.
    Also, look at putting the code into a subroutine called from your driver or subroutine program and then returning the value. The "logic" for determining the value to be printed can then be performed within the subroutine rather than the SAP script.
    Cheers,
    Aditya

  • How to find out the driver program and script for print preview for PO

    Hi All,
    We are getting some text output on the print preview of a purchase order.
    How can we determine the driver script and the corresponding print program for this.
    Can you please guide on this.
    Thanks in advance.
    Regards,
    Sanjeet

    Hi,
    check with  below table
    TNAPR   ---  Processing programs for output
    and NACE Transaction code
    NACE  --  out types
    Regards,
    Madhu

  • Ho to find script and the related print program for print preview of PO

    Hi All,
    We are getting some text output on the print preview of a purchase order.
    How can we determine the driver script and the corresponding print program for this.
    Can you please guide on this.
    Thanks in advance.
    Regards,
    Sanjeet

    U Can check Driver program and form related to that program table is TNAPPR
    Goto NACE t.code
    Selct Application ---> click on output types
    then u wil get one window there select proper output type and
    double click on  processing  routines u wil get form name and related driver program name also
    Plz try this....
    Edited by: Upender Verma on Feb 9, 2009 1:33 PM
    Edited by: Upender Verma on Feb 9, 2009 1:37 PM

  • Printing duplex for script

    hi,
    i face problem of printing my PO in duplex mode, i have set the print mode in script as duplex, by it still doesnt come out in duplex.
    i have tested with SAP standard text :SAPSCRIPT-PRINTMODETEST and it shows correctly that the printer works for simplex and duplex with SAP.
    so what is the problem here? please help. i have running out of idea how to do this. thanks

    Hi,
    Based on the page number try to print the footer. Try to define the text elements in the same window. In driver program, try to keep if condition based on page number then print the correspoding text elements.
    or
    In driver program-> calling Text elemnts-> keep this code in Text element in script.
    consider the MOD of page No by 2.
    If it is Zero
    print that 'Conttd on reverse'.
    else.
    print 'Contd'.
    endif.
    Thanks & Regards,
    Chandralekha.

Maybe you are looking for

  • My default calendar is no longer syncing with outlook.

    I was editing my default calendar in outlook 2010 when suddenly the calendar went blank on my Windows 7 PC. The information is still on icloud (and all of my other apple devices).  How can I import calendar details from icloud into my default Outlook

  • Mute button wont become unchecked

    Hi. my mute button on my mac mini will not become unchecked. so the sound is not working:(! please help!

  • Need information on Reports execution Log..

    Hi All, Need help regarding SAP Report execution log. Here Client wants to develop a report, which displays the information about reports Usage (ABAP Report, ABAP Query and Report Painter). The report requires the following information. 1. Users who

  • Call "EchoSign's built-in authoring tool" from my website

    Hello. Could you please tell me if I am able to use "EchoSign's built-in authoring tool" outside of EchoSign website? I mean maybe there are some API methods with help of which I will be able to add such fields(as when using "EchoSign's built-in auth

  • My ipod won't respond to anything. Its there anything I can do?

    So my sister spilled her protein shake on the bottom of the front screen of my ipod touch. So I quickly wiped off the goo and sprayed it with some gentle cleanser and wiped it off as well. Well, I had just gotten the ipod a week ago and so the protec