Error while giving print

i have written a report program using ALV grid output...i'm getting the output but when i'm giving print its giving dump error...
can anyone let me know the below given code is correct or not....
the below giving function module is which i used in program...
CONSTANTS : c_save(1)          TYPE c VALUE 'A'.
CONSTANTS:
  BEGIN OF cs_callback,
    program       TYPE syrepid VALUE 'ZVEN_SR2',
    pf_status_set TYPE slis_formname VALUE '',
    user_command  TYPE slis_formname VALUE '',
    top_of_page   TYPE slis_formname VALUE '',
  END   OF cs_callback.
  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      i_interface_check           = ' '
      i_bypassing_buffer          = ' '
      i_buffer_active             = ' '
      i_callback_program          = cs_callback-program
      i_callback_pf_status_set    = cs_callback-pf_status_set
      i_callback_user_command     = cs_callback-user_command
      i_callback_top_of_page      = cs_callback-top_of_page
      is_layout                   = ls_layout
      it_fieldcat                 = t_fieldcat
     IT_SORT                     =
      i_save                      = c_save
    TABLES
      t_outtab                    = itab
  EXCEPTIONS
    program_error                 = 1
    OTHERS                        = 2.

Hi,
Hope,the sample code below will be useful for you.
DATA: OK_CODE LIKE SY-UCOMM.
TYPES: BEGIN OF ISQALS1,
PRUEFLOS LIKE QALS-PRUEFLOS,
MATNR LIKE QALS-MATNR,
REVLV LIKE QALS-REVLV,
KTEXTMAT LIKE QALS-KTEXTMAT,
EBELN LIKE QALS-EBELN,
MBLNR LIKE QALS-MBLNR,
LOSMENGE LIKE QALS-LOSMENGE,
MENGENEINH LIKE QALS-MENGENEINH,
PASTRTERM LIKE QALS-PASTRTERM,
UMDAT LIKE MDTB-UMDAT,
MNG01 LIKE MDTB-MNG01,
DELNR LIKE MDTB-DELNR,
STPRS LIKE MBEW-STPRS,
TVALUE LIKE MBEW-STPRS.
TYPES: END OF ISQALS1.
DATA: ITQALS1 TYPE TABLE OF ISQALS1 WITH HEADER LINE,
WAQALS1 TYPE ISQALS1.
G_CONTAINER TYPE SCRFNAME VALUE 'grid_CONT1',
GRID1 TYPE REF TO CL_GUI_ALV_GRID,
G_CUSTOM_CONTAINER TYPE REF TO
CL_GUI_CUSTOM_CONTAINER.
whole set of code, now data is in ITQALS1.
MODULE PBO OUTPUT.
SET PF-STATUS 'MAIN100'.
IF G_CUSTOM_CONTAINER IS INITIAL.
CREATE OBJECT G_CUSTOM_CONTAINER
EXPORTING CONTAINER_NAME = G_CONTAINER.
CREATE OBJECT GRID1
EXPORTING I_PARENT = G_CUSTOM_CONTAINER.
CALL METHOD GRID1->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING I_STRUCTURE_NAME = 'ISQALS1'
CHANGING IT_OUTTAB = ITQALS1.
ENDIF.
ENDMODULE.
Thank You.
Regards,
Dhanalakshmi L

Similar Messages

  • Error while installing printer software for HP Photosmart Plus 209a-m on Windows 8.1 64 bit OS

    I am getting below error while installing printer software of HP Photosmart Plus 209a-m on Windows 8.1 64 bit OS. Can you please help me resolve this error? Thanks in advance.

    Hi tarunkw,
    Follow the steps below and check if that resolve the issue:
    1. Open Mcafee software, from the Virus and Spyware Protection section click on Schedule and run scans. Click on Real time scanning and then on Turn Off. select till I restart the PC and confirm by clicking the Turn Off button.
    Now try reinstalling the HP Software and check if the installation goes as expected.
    If the issue persists continue following the next steps below:
    2. Open the run dialog by clicking both the Windows key and the R key on your keyboard. Type %windir% and click on OK.
    3. Type hpoins*.dat into the top search bar, if there are any results rename the extention into old instead of dat. (e.g. hpoins1.old)
    4. Type hpwins*.dat into the top search bar, if there are any results rename the extention into old instead of dat. (e.g. hpwins1.old)
    5. Launch the Run dialog by clicking both the Windows key and the R key on your keyboard. Type MSIEXEC /UNREGISTER into the Run dialog and click on OK.
    6. Launch the Run dialog by clicking both the Windows key and the R key on your keyboard. Type MSIEXEC /REGSERVER into the Run dialog and click on OK.
    7. Run the installation file and check for any difference.
    Regards,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Error while check printing through f-58

    Error while check printing through f-58 is showing following  for company code xxxx
    1. Fiscal year variant z4 not defined or maintained for date 01/06/08 .
    (Fiscal year variant Z4 not defined or maintained for date 01/09/2009
    Message no. GMMASTERDATA108)
    2.the payment made is not recorded in the SAP system.
    when you see the print preview of check then in plase of amount and invoice date its showing as
    Kindly refer tthe payment advice for the invoce details.
    Is there any solution to this?
    Regards,
    Yojana.

    Hi,
    i have check periods are open till 2010.
    and parameters for fiscal year variant are also correct.
    In FBZP i have check configuration there is no prob in it.
    any solution on this?
    Regards,
    Yojana.

  • ERROR SHOWS 'VARIANT CASHDE DOES NOT EXIST' WHILE GIVING PRINT in tcod FBCJ

    DEAR ALL,
      MY FI CONSULTANT WHILE PRESSING PRINT BUTTON IN FBCJ TCODE FOR CASH JOURNAL AN ERROR MESSAGE SHOWS 'VARIANT CASHDE DOES NOT EXIST '. AS AN ABAPER I TRIED A LOT AND DEBUG THE STD. PROGRAM BUT I AM UNABLE TO SOLVE THE ISSUE. SO I NEED UR HELP .PLEASE SUGGEST ME TO SOLVE THE ISSUE.
    IT IS VERY URGENT.
    REGARDS
    BANAJA

    Thanks

  • Error while giving permission to the users

    hi..
    while giving the grants to the users I have created, it is showing "Account not found"..
    I have logged in through the credentials of Administrator and went to Administration--> manage interactive dashboards
    There when i am clicking on Show Users and Groups, then i can see all those.
    But when i am trying to give the users the necessary permissions, it is showing the above error.
    please help...

    Hi,
    I dnt understand ur 1st question.what u meant by uniq filed where u create user?
    and for ur second question, u can check all ur users from dba_users.for their privilages, to check on permission, it's dba_tab_privs. I dnt knw if this is what ur asking for but here is the script.
    SELECT t.grantee "User ID",t.privilege "Privilege",o.object_type, o.object_name, '' column_name
    FROM dba_tab_privs t, dba_objects o
    WHERE t.owner = o.owner
    AND t.table_name = o.object_name
    AND NOT o.owner IN ('SYS', 'SYSTEM')
    AND NOT t.grantor IN ('SYS', 'SYSTEM')
    AND t.grantee in (select username from dba_users
    where username not in ('SYS','SYSTEM','))
    AND NOT o.object_type IN ('QUEUE', 'TRIGGER', 'DIMENSION', 'CLUSTER',
    'INDEX', 'INDEX PARTITION', 'INDEX SUBPARTITION', 'TABLE PARTITION',
    'TABLE SUBPARTITION', 'JAVA CLASS')

  • Error while PDF Printing

    Hello Experts,
    While trying to print some PDFs through a Process Chain.
    Sometimes, i got this message error in SAP Transaction SLG1 concerning one PDF. (not all).
    The error message is like this:
    Error while generating data provider: <parameterList> <param name="BI_COMMAND_TYPE" value="CREATE_DATA_PROVIDER"/>   <param name="INIT_PARAMETERS">    <param name="INITIAL_STATE" value="QUERY" mod
    Message no. RSBOLAP013
    &1&2&3&4
    Can Someone knows the cause of this message error? and may be an idea to fix it?
    Thanks and BR
    Amine

    Thanks fot the answer Durgesh.
    What i don't understand.
    When i launch a second time the Process Chain.
    All seems ok, the concerned variant too.
    Best Regards.
    Amine

  • Alv out put was truncated while giving print

    hi,
    I have developed one alv report.
    while giving out put for print last columns are truncating.
    How to handle this?
    Thanks in advance,

    Hi,
    There can be many reasons. What is the width of your output list? Many printers takes 255 characters width. Check the printer settings in T-code SPAD to see howmuch width you can print.
    Other option could be, print in landscape format.
    Thanks,
    Vinod.

  • Error while generating printed documentatin in RH 7

    Dear Sir,
    while generatig Printed Documentation, the following message
    appear:-
    "Microsoft Word seems to not be responding , would you like
    to continue waiting for a response?"
    then "The Macros in this project are disabled, please refer
    to online help"
    then "VBA Macro version register is incorrect , please re
    install printed documentation"
    thanks.

    It's probably as simple as change the Word security settings
    to Medium.
    If not, take a look at Print Issues on my site.

  • ADS connection error while clicking print preview button

    Hi Experts
    i am getting the following errors while executing
    1)  By clicking printpreview button under executing FP_TEST_00
    ADS: com.adobe.ProcessingException: Problem accessing d(200101)
    Message no. FPRUNX001
    2)  FP_CHECK_DESTINATION_SERVICE by selecting with destination service check box.
    SYSTEM Error: com.adobe.ProcessingException:Problem accessing data from Destination :dest:FP_ICF_SID//sapbc/fp/form/layout/FP_FORM_SECURITY_TEST.XDP 
    3) FP_CHECK_HTTP_DATA_TRANSFER
    SYSTEM Error: com.adobe.ProcessingException:Problem accessing data from Destination :dest:FP_ICF_SID//sapbc/fp/form/layout/FP_FORM_SECURITY_TEST.XDP 
    I checked in the Visual Admin and noticed that
    There are two groups  and user exists
    Gruops :- ADSCALLERS, ADSCallers
    User :-  ADSUSER
    According to docuemnt i tryied to add in the mapping area under security roles tab
    ADSUser is showing under the groups Everyone, Authenticated users
    But  ADSUser is not showing under the both the groups ADSCallers, ADSCALLERS groups 
    could you please help me in this please
    Thanks & Regards,
    Arun

    I had same problem
    I made a mistake in VA that insted of destination system i used java system SID for the connection FP_ICF_DATA_<SID>.
    now i changed the connection to ABAP system in VA . FP_ICF_DATA_<SID>.
    Example : lets say your java system is TTS and your ABAP system is TTR
    initiall i configured FP_ICF_DATA_TTS in my java system by using VA but this is wrong.
    then i changed to FP_ICF_DATA_TTR  with client information and user information. and this is worked for me.
    i made sure the ADS users are working on both the systems and these users are created as service users insted system users.
    now my ADS services are working fine

  • Error  while giving the production line in repetitive mfg

    Hello friends,
       When i am maintaining the production version in material master for repetitive mfg, and in production line when i am giving the workcenter which is in operation of rate routing, system giving me the error message that "REP01(which is my workcenter) is not maintained in plan (planning type = plant = smp1)".Message no. is CFVO90.
          Though i have got the solution of this message, but i am not able to understand the solution.
          Actually while creating the production version in material master, for task list data i was only maintaining the task list type, Group Number and Group counter for  Rate Based only as Rate Routing.And when i would give the workcenter which is in operation of rate routing then  system would give me the error.
           Later on when i maintained the Task list type, Group Number and Group counter for Detailed scheduling, Rate Routing, and Rough cut scheduling and than maintained the workcenter in production line,system didn't give the error.
          My question is as we are doing the repetitive mfg, and as we have maintained the rate routing, so why it so that in Detailed scheduling and rough cut scheduling also we have to maintain the Task list type, Group Number and Group counter.
         Plz guide.

    Hello pravin,
    Thanks for the reply.
      Actually if i give the details of Task list type, Group, Group counter for Rate based scheduling only in production version and if i maintain the workcenter which i have given in the operation of Rate Rounting in production line then system is throwing the error mentioned above.
        Unless and until i mention the details of Rate Routing for all i.e. Detailed scheduling, Rough cut scheduling and Rate based scheduling, system is not allowing me to save the production version.
           As per your answer, even i am confused that as i have ticked the repetitive mfg in mrp 4 view and as i have given REM profile, so system should not give me the error when i only maintain the rate routing data in Rate based scheduling in production version.
          Is there any other way to solve this error.If not than whats the logic behind it.
               I hope u have understood my query.

  • Error while displaying print preview of smartform in VL03n

    Hi all,
    i created one smartform & print program . i assigned this in NACE tcode for ZD05 output type.
    Then i am trying to see the print preview in VL03n  while doing issue delivery output.
    But i am getting error like ' Output could not be issued'. Please suggest where i am doing mistake. Thanks.
    Regards
    sumitra

    Hi,
    Follow below Steps:
    1) Double Check your program and smartform names where you are attached in nace  transaction.
    2)check your templates and tables having formatting issues.
    3)Finally create dummy of your smartform. then delete one by one window in smartform check it and trace out in which window error is existing.
    even i faced same problem.
    in my case i gave wrong line and column numbers under the template node texts. it won't show the error in smart form but while executing transaction out put could not issued.
    Thanks,
    Satheesh.

  • Application Error while generating printed documentation

    I have Rh 10 installed in my 64-bit machine with Windows 7 OS.
    The problem is when I click Printed Documentation and click Next in the Printed Documentation screen, Rh crashes.
    Without clicking Next, if I click Save & Generate, pdf is generated with missing topics.
    When I check the event log, I see Application Error. What exactly is causing this crash? Please help.

    Which version of Word do you have installed and is it the 32 or 64 bit version?
    The latter will not play nicely and even Microsoft recommend the 32 bit version for compatability with other apps.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • "Software currently unavailable" error while installing printer

    I have a Brother MFC-465CN multifunction printer that I used as a standalone USB printer for over a year from my 27" Mac. I recently connected it to my router (printer is networkable) so that I can share with my windows 7 PC. I am easily able to print from my Windows PC. My Mac recognizes the network printer correctly System Preferences, Print&Fax, + to add Printer) - Shows Printer Name and Kind as "Bonjour" - even tells me that my selected printer software is available from Apple. When I try installing I get an error message saying "The software is currently unavailable" - Any ideas? The most frustrating part is that I am not even able to install the printer as a USB printer anymore - I get the same error.

    The drivers and utilities on the CD-ROM for Mac OS® X 10.5 or earlier bundled with your Brother machine are NOTcompatible with Mac OS® X 10.6.
    Download the correct printer driver here:
    http://welcome.solutions.brother.com/bsc/public/us/us/en/dlf/downloadindex.html?reg=us&c=us&lang=en&prod=mfc465cnall&type2=all&type3=79&os=94&flang=all&dlid=
    I think you also need a current driver for the Scanner:
    http://welcome.solutions.brother.com/bsc/public/us/us/en/dlf/downloadindex.html?reg=us&c=us&lang=en&prod=mfc465cnall&type2=all&type3=20&os=94&flang=all&dlid=

  • Error while giving Reason for Rejection

    Dear Gurus,
    When I want to close a Sales Order by giving a Reason for Rejection, system is giving an Error message as 'V1:901' and there is no explanation for it. Even in SE91 there is no entry for this error message.
    What is to be done now?
    Kindly help me in this.
    Thanks and regards.
    Venkat - Hyd

    When I checked to see the program ZV45AIZZ, system says it does not exist. Is this an own developed 'Z' program??
    Normally the error message V1:901 does not come for me too, but for some Sales Orders it is coming,  which I am seeing for the first time too!! So do not know why it is happening.
    There are no user exits for this line item and as I said there is no message explanation for this error message.
    Yes there are some subsequent documents in some cases, but I am trying to close all open Sales Orders / line items for the last financial year as that is an Audit point in our company, I cannot close / delet them under any circumstances, just need to close open line items.
    Any more inputs plz..
    Regards.
    Venkat - Hyd
    PS: Plz tell me, what are the dangers of leaving open Sales Orders or partially processed Sales Orders, i.e., open line items?? Do we have to close them compulsarily??

  • Error while giving default while creating table

    create table abr
    (a VARCHAR2(50) DEFAULT acb,
    b VARCHAR2(2000 BYTE)
    its giving error as ORA-00984: column not allowed here

    Hi,
    user10447332 wrote:
    create table abr
    (a VARCHAR2(50) DEFAULT acb,
    b VARCHAR2(2000 BYTE)
    its giving error as ORA-00984: column not allowed hereUnquoted strings, such as acb in your example, are assumed to be function or column names.
    Did you mean:
    create table abr
    (   a        VARCHAR2 (50)              DEFAULT 'acb',       -- With single-quotes
        b        VARCHAR2 (2000 BYTE)
    )?

Maybe you are looking for