Spool number issue while printing the invoice through VF01

Hi Experts,
I have a custom program which will create invoices in the background through VF01 transaction. How do I know the exact spool number which has been generated when the invoice is created. I have checked TSP01 table but I want the exact spool number which got created for that invoice. Your response will be appreciated.
Thanks,
Surab

No, even sy-spono is also not returning any value. I have also checked it inside the called program.
Surab

Similar Messages

  • Issue while posting the invoice in background using the WF-BATCH user

    Hi Friends,
      I am facing an issue while posting the invoice in background using the WF-BATCH user. I am using a invoice approval workflow where in when the approver approvers the invoice the invoice document get posted using a background method, which uses BO FIPP and Method POST and i am returning the Message Text to my workflow container from this method. When i see the log an exception is rasied from this method with an error  message "V004: You are not authorized to change this document", but WF-BATCH is having SAP_ALL and SAP_NEW authorizations. If i try to post the invoice using the method from my user id it is getting posted. What could be the issue. Please advice.

    Hi Sapient,
    The Parameter, Roles would be different for the LOGIN USER and WF-BATCH.. So ask your administrator
    to set the Roles & Parameters similar to that of LOGIN USER to WF-BATCH.
    For further refrence check in SU01 giving the LOGIN USER and then check with WF-BATCH... you would
    find the difference...
    Hope this would help you..
    Good luck
    Narin

  • Issue while fetching the file through *.extension by FTP sender file adapte

    Hello Experts,
    I am facing a issue while fetching the data through sender File adapter with  ' *.file extension' .I am illustarting the scenario as below .
    It is a simple scenarion of File to File inboumd scenarion.Here file is getting picked up from a third party system
    through FTP sender chanel and stored in a temp folder of PI through NFS rceiver file adapter .
        The problem is however I am getting, while picking the file with file name as "*.exo"(where exo is the file extension).
    But while fetching the file with particular name like"abcd_10032011*.exo"(file naming has been done by combination of abcd(always same)_currentdate(change according to current date)),file picked successfully .
    So here ,in the prior case file not getting picked up,but in later case it dose .
    Can anyone please let me know what might be the issue?

    Hi Sunit,
    Connect from your PI System to 3rd Party System (where are placed the Source Files)
    FTP <PartySystemHostName>
    eg. FTP 10.2.3.456 (then insert Username & Password to Login)
    Go to source directory
    cd \<SourceDirectory>
    eg. cd \donaldduck\directory\
    Execute a File List command
    ls -la *.<extension>
    eg. ls -la *.exo
    In this way you should be able to view all files with this extension (*.exo), the same action that Sap XI perform to pickup the file.
    Then, try to copy that file to your Local PI System (to check if there're some permissions issue):
    mget <filename>.exo
    eg. mpget File1_01012011.exo

  • Issue while printing the BSP page haveing radio buttons.

    Hi Experts,
    I have a BSP page which has radio buttons. When i try to print the page using browser print, the radio buttons are not getting printed.
    Could someone help me regarding this.
    Thanks & Regards,
    Karthik MD

    when you use radiobutton in BSP (<htmlb:radioButton) they are rendered as images. so to get it printed , in your browser (IE) go to tools->internet options->advanced->printing and check the check box against "print background colors and images".
    now try printing it should be fine.

  • To change the printer name while printing the invoice

    Hi,
    I have a requirement like if there is already an entry in NAST table with o/p type ZURD and printer name USJC-PM03,then an error message has to be displayed like 'This Output already printed in USJC-PM03,Change the printer name 'USJC-PM03' to 'LOCL' and then print' on the vf03 screen.
    But even if  I change the printer name from 'USJC-PM03'  to 'LOCL',it is showing the same error message.This message should not be shown.
    I have used the following code in the program.
    lf_formname = tnapr-sform.
    determine print data
      PERFORM set_print_data_to_read USING    lf_formname
                                     CHANGING ls_print_data_to_read
                                     cf_retcode.
      IF cf_retcode = 0.
    select print data
        PERFORM get_data USING    ls_print_data_to_read
                         CHANGING ls_addr_key
                                  ls_dlv-land
                                  ls_bil_invoice
                                  cf_retcode.
      ENDIF.
      IF sy-tcode = C_VF03.
        SELECT SINGLE * FROM tnapr WHERE kschl = 'ZURD'
                                       AND nacha = 1
                                       AND kappl = 'V3'.
        SELECT count(*)
        FROM NAST
        INTO lv_count
        WHERE objky = ls_bil_invoice-hd_gen-bil_number
        AND    kappl = c_v3
        AND    kschl = c_ZURD
        AND   ldest = c_PM03.
        IF LV_COUNT GE 1.
          Message e000(zup) with text-001 text-002 text-003.
        ELSE.
    determine smartform function module for invoice
            CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
                 EXPORTING  formname           = lf_formname
                    variant            = ' '
                    direct_call        = ' '
                 IMPORTING  fm_name            = lf_fm_name
                 EXCEPTIONS no_form            = 1
                            no_function_module = 2
                            OTHERS             = 3.
    call smartform invoice
              CALL FUNCTION lf_fm_name
                   EXPORTING
                              archive_index        = toa_dara
                              archive_parameters   = arc_params
                              control_parameters   = ls_control_param
                    mail_appl_obj        =
                              mail_recipient       = ls_recipient
                              mail_sender          = ls_sender
                              output_options       = ls_composer_param
                              user_settings        = space
                              is_bil_invoice       = ls_bil_invoice
                              is_nast              = nast
                              is_repeat            = repeat
         importing  document_output_info =
    *Uncomented the line to get the spool id or OTF formatted data -
    *NY047532
                   IMPORTING
                          job_output_info      = w_job
    NY047532
                    job_output_options   =
                   EXCEPTIONS formatting_error     = 1
                              internal_error       = 2
                              send_error           = 3
                              user_canceled        = 4
                              OTHERS               = 5.
          ENDIF.
        ENDIF.
    When should be done for the error message not to be shown when the printer name is 'LOCL'.

    Hi,
    Here my requirement is first the user has to check the nast table if there is any entry with o/p type ZURD and printer 'USJC-PM03' .If there is an entry then an error message 'This Output already printed in USJC-PM03,Change the printer name 'USJC-PM03' to 'LOCL' and then print' has to be displayed.
    Then if i close this popup window which is showing error message and change the printer name from 'USJC-PM03' to 'LOCL', and click on execute button,the printer name is not getting changed and still the error message is getting displayed.How to remove this error message?

  • Issue while printing to A4 from Xerox J75 (fiery) through Mac OSX 10.9.3.

    I've encountered an issue while printing to A4 from Xerox J75 (fiery) through Mac OSX 10.9.3.
    The document and printer settings are set for A4 but the print job goes to the printer as A3.
    The problem only occurs while printing through Adobe Photoshop CS6.

    I get into trouble if I choose A4 borderless instead of A4 in the Photoshop Print settings.
    There, Tray 2 is dimmed out
    To be honest, I don't see borderless in your settings, but my  doing that on my printer causes a default to the larger Tray 1.
    That's all I have tonight. If I think of anything else, I'll post it.  Here's thread on this issue as well.
    Wrong paper size sent to the printer

  • How to print the invoice(Billing document) using program RSNAST00

    Hi,
      I want to print the invoice using the program RSNAST00,
    but when i fill in selection screen with the following details,
    Output Application : V3
    Object Key : Billing Document Number
    Output Type : ZPFM
    Transmission Medium : 1
    But it is throwing an Information Message "0 outputs were processed in total (0 successfully,0 incorrectly)
    So please guide me, what are settings i have to do and what abap code i have to write to overcome this error.
    Regards,
    Shasiraj.C

    Hi,
      As you told I am using the function module RV_MESSAGE_DIALOG in my program when I directly execute my program its not printing invoice,but when i keep the break point and execute a pop up comes in which i click on the PRINT button that time it is printing the invoice.
    But I dont want to click on Print button manually, my code should automatically take care of printing also.
    Can guide me in this issue.
    Regards,
    Shasiraj.C

  • Auto check number pick while doing the F110

    HI All,
    Mentioned error message shown while doing the F110.
    Check number status at beginning of processing:
    My object is to pick the cheque numbers automatically ,while making the payments through F110.
    System is not consuming the numbers.
    Rgds
    Mani Kumar

    4 Possibilities -
    > Check if you have the RFFOUS_C program defined for the payment method in Country settings - FBZP.
    > Check if your variant for RFFOUS_C has the right payment method for printing checks.
    > Check if yo have any other proposal for same vendor already created but not finished the payment run for that. It might be due to duplication of entries.
    > Check your check-lot. Hope its not exhausted.
    Please search forums for more.
    Regards,
    Zubin

  • Problem While saving the Invoice

    Dear Experts,
                      I am facing the Problem while Saving the Invoice, In invoice, We assigne the Output as RD00 and Medium as 6 (EDI).
    When we are saving the Invoice, it getting as ' Updated Terminated'. When i found where the Error is coming in SM13, it showing in as Function Module "RV_MESSAGE_UPDATE' & Error Details is 'EAN11 not found for Material'.
                     But in Invoice whatever we enter the Material number, we maintain the EAN11 code. This EAN11 code is seen in MARM & VBRP Table. Unable to find the what the exact error is.
                   please help me to sort this issue, Its business complicated.
    Thanks in Advance,
    Srini

    Hi Asik,
              Thanks for your valuable Message.... I run as you suggested, but the dispatch time i kept as 1 or 2. because the program RSNAST00 is picking the values only for 1 or 2. so i run manually,, as of now the issue is, in the invoice number, for one material number, the Billed quantity is zero, so the UOM is getting as initial. From those vaues we are picking the EAN11 from maram table.
    So, i modify that and run the EDI manually. As of now its working...
              Thanks for your reply,,,
    Regards,
    Srini

  • How to update the condition price in sales order while creating the invoice

    Hi,
    How to update the condition price in the sales order to carry out the new price while creating the invoice?
    While creating the invoice it should update the condition price in sales order.
    Thanks,
    Balaram

    No, pricing is not there in delivery.
    I found an exit for VF01transaction where we can update the price in order.
    Can you please tell me how to update the price if I have the order, material numbers and conditions number?
    Thanks,
    Balaram

  • System error while opening the timesheet through Portal

    Hi Experts,
    I am getting the below error message while opening the timesheet through Web Portal. But I am not getting any error if I book time through back end i.e. CAT2 Transaction.
    System error: No receiver could be determined
    This error comes in Portal only (not in backend) once I enable "HR Enables CATS" option in Data entry profile through CAC1 transaction. There is no error if the same option is disabled.  But we need this option to be enabled.
    Can anybody help me ASAP for the same?
    Thanks,
    Atin

    Hi Atin,
    Can you please let me know how was that problem with HR Enabled Cats is Solved as w are facing the exact same issue.
    thanks
    Gaurav

  • Error while submitting the Invoice

    Hello Everyone,
    We are using SRM 5.0 with Extended classic scenario.
    I am having a problem while submitting the Invoice.
    I keep getting errors saying I need to enter a quantity for a line item that has already been billed in full.  When I enter a quantity I then get new error messages telling me I've exceeded amount for that line item.
    Please help me in this.
    Thanks & Regards,
    Khushbu.

    Hi,
    This is typically a process issue. There are a few things I think you can do...
    a. If the invoice has reached customer already (bcoz it was raised in the month of May), then, as you now cannot cancel as there has been a lot of wrong entries, you an create a credit memo either from SD side or from FI side so that the customer a/c is balanced and it will not show any AR balance.
    b. Raise a debit memo request against the right customer and invoice it.
    I think you have to work with your Finance people to be in concurrence before you take up he above process.
    Thanks
    Mukund S

  • System Calculating HCess twise while posting MM Invoice through MIRO

    Dear Gurus,
    System calcuating Highter Cess twise while posting MM invoice through MIRO.
    Please guide where could be problem... Pls provide standard steps need to verfy one by one to analysis the same.
    Regards,
    Venkat

    Dear Santosh,
    We are using TAXINN-Condition based method. We are maintaing JSEP as HCESs condition and JHX1 as Off-setting conditiong type.
    But system calcuating condition value against both in IV........
    Regards,
    Venkat

  • Issue while doing material posting through Usage Decision

    Hi all,
    I have an issue while doing material posting through Usage Decision. Please find below the details.
    Inspection Lot  10000604689
    Material        1730PCPBS.0031
    Batch           QP611097      GQ02
    Out of total qty of 2100 we need to post the following
    To unrestricted use                     2,098
    To sample usage                         2
    Following error appears,
    Deficit of SL Stck.in qual.insp 1,638 NO : 1730PCPBS.0031 62GQ GQ02 QP611097
    Message no. M7021
    Diagnosis
    Shortfall below the specified stock level or quantity amounting to 1,638 NO.
    System Response
    If the message is an error message (E), the above is not allowed.
    If the message is a warning message (W), the system will allow your input, but the warning is intended to prevent you entering a wrong quantity.
    Procedure
    In the case of a warning message, check the quantity entered.
    In the case of an error message, change the quantity or terminate processing.
    I have checked that quantity 2100 of material 1730PCPBS.0031 is in QI stock. Kindly advice what is the issue and why we are getting the error?
    Regards,
    Brijesh

    Hi Brijesh,
    What is the status of inspection lot?
    One of the possibilities I think could be inconsistencies between MM and QM.
    Have a look on SAP note 48815- Checking possible inconsistencies between MM and QM.
    Regards,
    Anand Rao

  • Getting Duplicate Object existing issue while deploying the BIAR file

    Hi All,
    We are trying to deploy BIAR File with XI R2 Command tool InstallEntSdkWrapper. But we are getting Duplicate Object exixting issue while deploying the BIAR file.
    Error Message:
    [report] [InstallEntSdkWrapper.main] Connecting to CMS plmdevapp31:6400 as administrator
       [report] [InstallEntSdkWrapper.CmsImportFile] Exception: An error occurred at the server :
       [report] Failed to commit objects to server : Duplicate object name in the same folder.
       [report]
       [report] [InstallEntSdkWrapper.main] BIAR File could not be imported
    If we are doing any promition with Import Wizard we have an option to "Overwrite object contents" option to overwite exixting objects. It will very helpful if any one suggest how we can achieve this through InstallEntSdkWrapper.
    Unfortunately there is no documentation availabe on InstallEntSdkWrapper.
    Cheers!

    That's a limitation with the XI Release 2 InstallEntSdkWrapper.jar tool.
    Sincerely,
    Ted Ueda

Maybe you are looking for

  • Problem with items value

    Hi All, I created 2 popup lov items exactly the same: P91_SUBJ_TYPE and P91_SHG_KOD. I thought that they both has the same defult value (befoer selection value from the LOV) :NULL. (although i haven't define any defult value). now under Page Processi

  • Adobe Air on Mac: "Something Went Wrong Trying to Install This Application" Error

    I have been reading several posts on this, but nowhere can I find a solution.  Within the past few weeks, I receive this error any time I try to install a new AIR application: "Something Went Wrong Trying to Install This Application.  Please install

  • Exporting for Dreamweaver - undefined object?

    When I attempt to export my document (just text, no images) I get this error message: "undefined is not an object." I have no idea what it means. There are no errors showing in the document and no links at all, so that not the problem. Any ideas?

  • Why does my hard drive rename itself?

    the dock application is quitting constantly, finder quits, safari quits and when i try and do a restore my hard drive re-names itself.

  • Environment for XI - how many systems

    Hello, simple question: Is it necessary from technical side to have a system environment DEV / CONS / PROD for XI? We plan to have in the beginning only DEV / PROD as we can do the testing in DEV system! I am not sure now because CMS Transport descri