While assigning PDF in APP Spool not getting generated

Hi,
am working on APP(Automatic Payment Program)...for both cheque printing and  Payment Advice printing..Am Using Script for Cheque Printing and PDF forms for Payment Advice Printing...
But after running F110,
spool is getting generated only for Cheque printing not for Payment Advice Printing...Spool is getting generated for Payment Advice Printing if am using Standard Script instead of my customised PDF form..
Plz help me out..
How to solve this out..
Thanks in Advance
SATYA

Hi Aparna,
I tried NEW-PAGE PRINT ON.
I am pasting source code extract below:
   IMPORT DATA = ME->IT_FINAL2 FROM MEMORY ID SY-CPROG.
    FREE MEMORY ID SY-CPROG.
    CHECK ME->IT_FINAL2 IS NOT INITIAL.
    CHECK LO_DOCK IS INITIAL.
    CREATE OBJECT LO_DOCK
      EXPORTING
        REPID = SY-REPID
        DYNNR = SY-DYNNR
        RATIO = 70
        SIDE  = CL_GUI_DOCKING_CONTAINER=>DOCK_AT_BOTTOM
        NAME  = 'DOCK_CONT'.
    IF SY-SUBRC NE 0.
      MESSAGE 'Error in Docking Control' TYPE 'S'.
    ENDIF.
    IF LO_ALV IS INITIAL.
      TRY.
          LO_CONT ?= LO_DOCK.
          CALL METHOD CL_SALV_TABLE=>FACTORY
            EXPORTING
              LIST_DISPLAY   = IF_SALV_C_BOOL_SAP=>FALSE
              R_CONTAINER    = LO_CONT
              CONTAINER_NAME = 'DOCK_CONT'
            IMPORTING
              R_SALV_TABLE   = LO_ALV
            CHANGING
              T_TABLE        = ME->IT_FINAL2.
        CATCH CX_SALV_MSG.
      ENDTRY.
  CLEAR LR_COLUMN.
      TRY.
          LR_COLUMNS = LO_ALV->GET_COLUMNS( ).
          LR_COLUMN = LR_COLUMNS->GET_COLUMN( 'KSCHL' ).
          LR_COLUMN->SET_LONG_TEXT( 'Cond.Type' ).
CATCH CX_SALV_NOT_FOUND.
      ENDTRY.
NEW-PAGE PRINT ON.
        LO_ALV->DISPLAY( ).
        NEW-PAGE PRINT OFF.
I am not getting spool list while executing it in background.
BR,
Praveen

Similar Messages

  • Spool not getting generated in OO ALV report

    Hi,
    I developed a report in which we are giving output in same selection screen through OO ALV.
    But,when we are scheduling that report in background,spool is not getting generated.
    Waiting for your reply.
    BR,
    Praveen

    Hi Aparna,
    I tried NEW-PAGE PRINT ON.
    I am pasting source code extract below:
       IMPORT DATA = ME->IT_FINAL2 FROM MEMORY ID SY-CPROG.
        FREE MEMORY ID SY-CPROG.
        CHECK ME->IT_FINAL2 IS NOT INITIAL.
        CHECK LO_DOCK IS INITIAL.
        CREATE OBJECT LO_DOCK
          EXPORTING
            REPID = SY-REPID
            DYNNR = SY-DYNNR
            RATIO = 70
            SIDE  = CL_GUI_DOCKING_CONTAINER=>DOCK_AT_BOTTOM
            NAME  = 'DOCK_CONT'.
        IF SY-SUBRC NE 0.
          MESSAGE 'Error in Docking Control' TYPE 'S'.
        ENDIF.
        IF LO_ALV IS INITIAL.
          TRY.
              LO_CONT ?= LO_DOCK.
              CALL METHOD CL_SALV_TABLE=>FACTORY
                EXPORTING
                  LIST_DISPLAY   = IF_SALV_C_BOOL_SAP=>FALSE
                  R_CONTAINER    = LO_CONT
                  CONTAINER_NAME = 'DOCK_CONT'
                IMPORTING
                  R_SALV_TABLE   = LO_ALV
                CHANGING
                  T_TABLE        = ME->IT_FINAL2.
            CATCH CX_SALV_MSG.
          ENDTRY.
      CLEAR LR_COLUMN.
          TRY.
              LR_COLUMNS = LO_ALV->GET_COLUMNS( ).
              LR_COLUMN = LR_COLUMNS->GET_COLUMN( 'KSCHL' ).
              LR_COLUMN->SET_LONG_TEXT( 'Cond.Type' ).
    CATCH CX_SALV_NOT_FOUND.
          ENDTRY.
    NEW-PAGE PRINT ON.
            LO_ALV->DISPLAY( ).
            NEW-PAGE PRINT OFF.
    I am not getting spool list while executing it in background.
    BR,
    Praveen

  • In spool to pdf format i am not getting the entire recod

    i am converting spool data into pdf format using the std program RSTXPDFT4 but i am not getting the entire data, the data is getting truncated side ways ie entire record is not getting generated.
    in the main prg is rstxpdf4 i have given line-size to 512, even thou, i am not getting the entire record

    Try the following:
    SELECT u_permit.DATE_APPLICATION_RECEIVED, u_permit.permit_status
      FROM U_PERMIT
    WHERE u_permit.date_application_received BETWEEN to_date('01/21/2008') AND to_date('12/31/2008')
       AND trim (upper(u_permit.permit_status)) = 'PENDING' ;You can also apply a date format in the TO_DATE if needed.
    eg:
    to_date('01/21/2008','dd-mon-yyyy')Hope this helps.
    Craig...

  • I have created my apple id.Now when I m downloading any app it is asking my credit card details again forget that I hv made multiple payments while trying to download the app but the app is not getting downloaded.It is sowing the msg cant connect to itune

    I have created my apple Id.Now when i m downloading any app it is asking my credit card details.I have made multiple payments while trying to download the app.But the app is not getting downloaded,it is showing the message cannot connect to the i tune store.What should i do to download the applications.

    Ok, first of all don't keep purchasing the application, and if you've purchased it multiple times, contact iTunes billing department immediately.  They SHOULD only send one actual confirmation in and the rest of the "pending" charges will drop off (how long that takes is up to your credit card company, not iTunes), but you should be sure.
    Second, sometimes when they are uploading a lot of new stuff at certain times it can cause the store to screw up, or any number of other reasons could be a factor why you can't connect to the iTunes store, be it on their end or on your end even.  Wait a little bit and try again via "Check for available downloads" or via your "Purchased" option on the iTunes store main page.
    IF the app you purchased isn't there and you are sure your credit card was charged, then you will need to contact iTunes to find out why you can't download the app.

  • An error occured while creating the new dataset Could not get type informat

    Uses: Windows XP Pro SP3+; OracleXE; Oracle 8i Client; ODP.NET; Visual Studio 2005 PRO;
    I had OracleXE and was using OracleXE's Oracle.DataAccess Version 10.2.0.100 which was located in C:\oraclexe\app\oracle\product\10.2.0\server\BIN. Then to use Oracle Developer Tools for VS, I installed ODAC where the Oracle.DataAccess's version was 2.111.6.20.
    Everything connected via SqlPlus and even was able to Oracle XE Home page and was able to loginto it. Further, was even able to create connection with Oracle Dot Net Provider. The problem was created when I tried to create a datasource from DataSource Menu in VS.2005. It was giving an error saying "An error occured while creating the new dataset Could not get type information for dataset". However I wittnessed that Dataset is been created in Solutions Explorer but not in Data Source Tab. Further researching I was able to create Datasets with Microsofts Oracle Data provider with out any issue.
    My Path variable list the following:
    C:\app\Administrator\product\11.1.0\client_1;
    C:\app\Administrator\product\11.1.0\client_1\bin;
    C:\oraclexe\app\oracle\product\10.2.0\server\bin;
    C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\;
    C:\Program Files\Borland\BDS\4.0\Bin;
    C:\PROGRA~1\Borland\Delphi5\Projects\Bpl;
    C:\PROGRA~1\Borland\vbroker\jre\Bin;
    C:\PROGRA~1\Borland\vbroker\Bin;
    C:\PROGRA~1\Borland\Delphi5\Bin;C:\orant\bin;
    C:\WINDOWS\system32;C:\WINDOWS;
    C:\WINDOWS\System32\Wbem;
    c:\Program Files\Microsoft SQL Server\90\Tools\binn\;
    C:\Program Files\Microsoft SQL Server\80\Tools\BINN;
    C:\Program Files\java\jdk1.6.0_07\bin.
    Further I got 2 Oracle Homes one which C:\orant and other is located in C:\app\Administrator\product\11.1.0\client_1.
    Also noted that while deploying at client site I started gett'n this error:
    "Unable to install or run the application. The application requires that assembly Oracle.DataAcces version be installed in Global Assembly Cache First."
    Is it due to change in the production machine? Any help in this regard is greatly appreciated.

    Hi Pushpa,
    Which enhancement package are you on currently? This is observed in cases where originals in DIR's are invisible and sometimes error message 26296 occurs in transaction CV01n. Hence,please check your entries in the table SDOKPROP to avoid such a problem in your system.
    Further,suggest you explore if the below resolutions can be adopted in your case.
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=10321987
    http://wiki.sdn.sap.com/wiki/display/PLM/OriginalsinvisibleafterEHP3or+EHP4
    Regards,
    Pradeepkumar haragoldavar

  • MC.9 - spool is not getting generated

    Hi Experts,
    When i execute MC.9 transaction in foreground i am able to view the report output. but when i execute it in background spool is not getting generated.
    Please provide me any solution for this issue.
    Thanks
    Pallavi

    Hi
    I have checked list of versions in the 'select version' button.  But my question is when i select 'execute in background', it is not generated spool. Is there any relation between spool and version. If there is, please explain me what it mean and how it relates.
    As i am new to this module i wanted to know it, in brief detailed.
    Thanks
    Pallavi

  • Import of photos is not working. Moreover 'photos' app is not getting closed, it says 'closing all libraries'. Even it is stopping shutdown/restart of my mac.

    Import of photos is not working. Moreover 'photos' app is not getting closed, it says 'closing all libraries'. Even it is stopping shutdown/restart of my mac.

    Next time you open the photos application hold down both of the keys suggested and then launch the application in the usual way. If you do this you will be presented with the opportunity to repair your library.

  • CO-PA document not getting generated

    Hi,
    while sales billing CO-PA profitability document is not getting generated. I have checked the configuration. In
    KE4I the condition type (with account key ERL) has assigned to the value field ERLOS.In PA transfer structure
    we have maintained the assignments - source and value fields, here included the sales revenue GL which has the
    cost element category 11.
    In the sales order we have account assignment with real WBS object. Is this hinders the profitability document
    getting generated?
    while VF01 system is not generating the profitability document but accounting and controlling document
    is getting generated.
    Is it mandatory to mention the Business area in KEDR derivation?
    Requesting a early feedback.

    Hi Mel,
    Since WBS is assigned to the order item, both revenue and cost will be collected in WBS if the WBS is marked as 'billing element'. Check the WBS master to confirm this.
    The COPA document will be generated when the WBS is settled after RA run.
    Otherwise, check in KE4W, if COPA value flow has been reset for your billing type.
    BR
    Abhinav

  • IPC 5.0 API doc is not getting generated   -: Note 809820

    Hello friends,
    I have setup development environment for IPC 5.0 on my machine.I used the information provided in PricingUserexitManualV102.pdf which is attached with SAP Note 809820. Everything looks set except for the fact that when i try to generate API documenation (*** <b>Activate the context menu (right mouse click) on
    build_api_doc.xml and select Run As -> Ant Build</b> ***), then its not getting generated and i get the IOException. Please can some one guide me how to generate API docs?
    Many Thanks,
    Dipender Singh (Dips)

    I have been able to resolve it. I just configured by path and java_home. ( it was done to setup installation of J2EE server slim edition). While doing this when i again tried to generate the docs it happened like .. as if using winzip.
    Regards,
    Dipender

  • Reports file did not get generated during upgrade from 12.1.1  to  12.1.3

    Hi,
    Following is my setup:
    Two node Rac database on Linux 5(64-bit)
    All apps services are on single node - Linux 5(32-bit)
    Database version -- 10.2.0.5
    Apps version -- 12.1.1
    To upgrade apps from 12.1.1  to  12.1.3 i applied following patches.
    a.Merged patch 9239090, 9239095 and applled the merge driver, during the patch application i got the following error:
    Copying files to destination ...
    Done copying files to destination.
    The following Oracle Reports objects did not generate successfully:
    ja reports/US JAINMCEN.rdf
    An error occurred while generating Oracle Reports files.
    Continue as if it were successful [No] :
    == I did 'Yes' and patch applied successfully then as a post step i Merged Patch 9817770, 9966055 and apply the merge driver.
    Now i wanted to regenerate that particular rdf file, but its not getting generated even with adadmin. Not sure will the rdf file causes issue later so i wanted to fix this.
    Please advice...
    Thanks,
    Tanveer Mohammed

    Hi;
    I did 'Yes' and patch applied successfully then as a post step i Merged Patch 9817770, 9966055 and apply the merge driver.
    Now i wanted to regenerate that particular rdf file, but its not getting generated even with adadmin. Not sure will the rdf file causes issue later so i wanted to fix this.I belive you regenarete rdf and u dont have any issue than you can ignore this error. If you dont generate rdf than i suggest regenarete and if you have any issue update thread please
    Regard
    Helios

  • Maintenance schedule is not getting generated

    Hi....
    Past one year, maintenance schedule is not getting generated.
    Could you please let me know to where i have to look out for this problem in Equipment & Functional Locations?
    What are all the fields will be mandatory and triggering the maintenance schedule / Notification in Equipment / Functional Locations?
    Need your response at the earliest.
    Regards,
    Mohd Ali.

    Hi
    There May be several resons...
    Check Whether Maintenace for perticualr maintenance plan is not scheduled... their could completion requirement tick might selected previous maint. not done for the equipment.
    Check any scheduling for inactive equips/fl
    check any long offset has been set....
    check while scheduling any sortfield key is set or genral...if pertiucalr sort key is belong to Eq/fl which will not help
    regards
    krish

  • Application logs are not getting generated in OIM 9.1.0.2

    Hi guys,
    We have created schedulers in OIM using OIM api to create,modify and delete the users.All our schedulers working fine.and we are able to do all the opeartions quite some time back.But we are facing an issue where the logs not getting generated when we run the schedulers.But while creating/modifying/deleting users from OIM webconsole we are gettinng the logs.Any help would be appreciated.
    Thanks,
    Pavan.

    Have you configured the logger in your ljava class as well as log.properties of OIM

  • FI Doc not getting generated at the time of Asset GRN

    Hi,
    We have created Asset Purchase Order.
    At the time of GRN, FI Doc is not getting generated.
    What changes need to be required from MM side (in OBYC)
    Regards,

    HI PK,
    whether your PO Item have Single Account Assignment or it is Multiple Account assignment.
    Check Distribution in Accoun Assignment Tab at PO item level.
    If it is Single account Assignment, then Accounting Document will be generated at GR where if it is Distributed then, no Accounting Document will be generated.
    In your case, Probably it would be distributed. and as a result of this your PO Item is marked as 'GR non valuated'.
    Check its Delivery Tab. If it is the case, then need not worry as it is std practise. system will treated it as multiple account assignment and its valuation will only be carried out Invoice Verification level.
    Later on check the Material document also.
    Pls Note:
    If flag 'GR non-valuated' is set in the purchase order, the valuation is only executed through the invoice verification. This flag must be set if the purchase order has multiple account assignment.
    A valuated goods receipt for a purchase order with account assignment generates a posting line for the consumption account 'Account-assigned purchase order' (KBS) and for the GR/IR clearing account WRX.
    hope it address your issue.
    Regards,
    S Anand

  • Accounting document not getting generated

    Hi
    While doing invoice , G/L account is getting determined but accounting document is not getting generated. In the header data its giving a error " Error in accounting interface". What could be the possible reason ?

    Hi,
    Kindly check in VOFA, for the billing document, have you maintained any value for Document Type.
    This is nothing but your accounting document type, where accounting entries are generated. Also, check number range is maintained or not for the given accounting document type in OBA7. Number range is created in FBN1
    One more thing, remove check box of Posting Block in VOFA
    Hope this will work out
    Regards,
    Sagar

  • Accounting documents not getting generated for mvt. type 221 Q

    Hi friends,
    When goods are issued for consumption for project accounting documents are not getting generated.
    I have tried with mvt. type 412 Q, 211 Q,
    by mvt type 412 Q, the stock is transfered to project stock, it shows the stock of material in project stock, by movement type 211 Q the project stock gets consumed. So at the time of consumption of consumption account should hit and relevent accounting document should get generated. this is not happenning.
    When i check material document and check for accounting document, message flashses that movement is not rrelevent for accounting.
    Can any one throw more light on this?
    Thanks and regards
    SAP MM

    Hi,
    Please check in PO item details Delivery tab. In that GR Non-valuated checkbox might be checked.Generally for account assignment category asset it is ticked.
    If you tick GR non-valuated check box then at the time of GR accounting document will not be created.Accounting document will be created only at the time of IR.
    or
    Have you mantained Chart of accounts.
    have you mantained Valuation area settings
    Transaction event key
    Valuation class settings.
    Check your material master data in accounting view have mantained Valuation class.
    Check your back ground settings OMWN.

Maybe you are looking for

  • Multiple Select options

    Hi, I have a requirement where i have to use to separate select options but the value of the 2nd Select option is dependant of the value chosen in the first select option. For eg:First Select option is for SWCV and 2nd option is for Data Object. If y

  • Purchase Order Freight Charge Settings

    Dear All, I dont want freight charges to be inventorised. In PO I have assigned accurals and accounting keys for freight condition though. I am getting seperate line item for freight condition but it still getting inventorised. pls advice how to ache

  • Save a cluster in a file

    Hi! i'm trying to save a file with some data of my application. This Data is a cluster of some boolean data, some i32 data, some array of i32 and some string data. I use OPEN_CREATE_REPLACE File.vi, WRITE FILE and CLOSE FILE to create and replace fil

  • Tried to boot from Tiger instead of MacBook disc-can't eject

    Hard drive seems to be shot. Tried to confirm this but put in the Tiger disc instead of the MacBook OS disc. Won't recognize this disc (or any disc, when holding down Otion) , only white screen and flashing question mark. I need to get the disc out,

  • Why can't I delete music from my iPhone 5c, even after factory resetting?

    How can I delete music on my phone 5c?