Print pmt advice sheet one by one for giving document number ranges

Hi experts,
i developed payment advice program (used as scripts),just enter only one document number and it will print payment advice
sheet for that document number only.Now my clnt requirement is they want to enter document numbers in the ranges (EX:10 to 20)
so that payment advice sheets for all document ranges should be printed one by one.we can give input as SELECT-OPTIONS.
After that where should i modify so that o/p is come as my clnt requirement.
This report is developed using scripts.Anybody pls help me in this.

In your program retrieve the data into tables (you probably now have as a structure)...or alternatively, write a small program that gets the data, then calls the SAPscript (probably through and ENTRY subroutine).
If you put your data into tables in a program, just loop and do the entire form process for each document...remember to CLEAR all tables/structures used by the SAPScript itself...if not you'll "double up" each time you process a new document.

Similar Messages

  • How to create a validation for a certain document number range?

    Good Day!
    May I just seek assistance on how to limit a certain document number range from normal posting via F-65?
    The scenario is I would like to restrict, say for example Document Number range 07 from transaction FBV1. How do I create a validation for that? I was thinking what to put up in the Check field in the validation.
    This is how I set up the pre-requsite for the validation rules:
    Pre-requisite:  Transaction Code = FBV1
    Thanks!

    Ok great.. Thanks a lot for the help.If I may just ask one more? =)
    What if the scenario is say creating a validation for a certain GL account group?
    Scenario: User would like to restrict the transaction FBV1 from posting to a GL account group (e.g. G007) ?
    I checked the list of tables and fields in validations, but it seems that the GL account group is not part of the list.
    Any help would be greatly appreciated.

  • Print preview of PO is not showing for paticular PO number

    Print preview of PO is not displaying for particular PO number after amendment

    Are you getting any error ?.Check  in PO messages medium is 1 print.If it is medium 1 then it should show the print preview PO

  • Print option of lanscape rather than portrait for apprisal document

    Hi SAP HCM Experts,
    if we take a print of appraisal document from ESS/MSS we get Portrait  form of print, but can we get it in landscape form print
    Whether  can have a print option of lanscape rather than portrait for apprisal document. if yes where we need to change in template.
    I appreciate your help.
    Thanks and regards
    Vijai

    Hi HCM experts,
    any answer
    I appreciate your help.
    Thanks and regards
    Vijai

  • For Object RV_BELEG, number range SD does not exist

    Dear Gurus,
    I have created a sales order VA01 with 1 material, and when I try to print the invoice, I have the following message of error:
    'For Object RV_BELEG, number range SD does not exist'
    I have checked my output types, they have been rightly assigned to the invoice forms.
    OK, so If I have to assign number ranges to sales documents, how can I do that? Do I have to talk to FI guys to?
    Please help.
    Regards
    Christian

    Thats SD numbeer range that is missing. Each invoice has two numbers one in SD and one in FI.
    Just go to SNRO type RV_BELEG and maintain it (the name of the number range you have in your billing document type setup in spro)
    Piotr.

  • User Exit for Purchase Requisition Number Range

    Dear Experts,
    I searched on sdn, i got M06B0003 &M06B0004 this 2 user exit for PR Number range.
    I have activated both User exits but while creating PR is not getting effect of that user exit.
    I have checked by putting Break-point in respective user exit but while saving the PR it should go to that break-point but it not going there aslo.
    And also i have checked user exit MM06E003 but it is for Purchase Order number range.And for PO it is working.
    Please help me to solve this issue.Solution will be appreciated.
    Regards,
    Sanket.

    Hi,
    Sorry that badi will not help try this one ...EXIT_SAPLMEREQ_009 in MEREQ001 where the export parameters is purchase requisition number....
    Thanks,
    Shailaja Ainala.

  • Need extra field in J1I5 for delievry document number.

    Dear All,
    in J1i5 when updating RG1 i need one extra colomn that is delivery document number
    so how to do this'
    as its only coming the PGI number i need one extra colomn of delivery document number.
    Regards
    Subrat

    Dear Subu,
      As I have already mentioned that it is not possible to add a new column for J1I5 transaction. But You can add a new column for the report  which you are downloading. For this you need to do a development for it.
    I hope this information is helpful..
    Best Regards
    MBS

  • Enhancement for Production Order Number Ranges

    Hi
    Are there any enhancements for production  order number ranges. We have the setting as external numbering but need to set the order numbers (alphanumeric) based on certain conditions.
    Thanks & Regards.
    Sam.

    Hi Sam,
    PPCO0007 .......check this one.....
    i guess it is helpful
    Regards,
    Bhaskar

  • Custom master data for Sales Document Number

    Is it possible to create master data for "sales document number" as a custom field and/or table in R/3?  We have a need to record the "end user" customer of an order but this data may be updated a long time after the order and sale is complete.  IT seems that loading to BW/BI may be simpler if this is treated as document attributes rather than transactional data since no delta will be trigger by changes to this field.  Does anyone have experience with this approach?

    Hi,
    it is possible to create attributes for this InfoObject. Add the Attributes you need in BW. You can use the attributes even if the sales doc is line item dimension of your cube.
    On Sourcesystem side you have to create a generic extractor in SBIW. I think a table view on VBAK or VBAP may fullfill your needs. Of course the tables are not the smallest ones but maybe u can use the timestamp to implement a generic delta. Check whether the timestamp is set when the 'end user' is set. Not every change in the sales document leads to an entry in the delta queue of logistic, but the timestamp should be set.
    After that replicate the datasource to BI and connect it to the attributes of 0SALES_DOC
    I had a similar enhancement at one customer reading the actual transport routes to the sales documents and it worked fine.
    Hope that helps
    Christoph Vortkamp

  • How to do Check in the files for the document number?

    Hi ,
    By using BAPI_DOCUMENT_CHECKIN2 Function module I am uploading the Files for the Document number.
    My problem is - After uploading the files to the document number the files are not in check in status.
    I want the files to be checked in after uploading the from the FM.
    Can anyone tell me what I am missing ? How to do check in the files.
    I am passing the following values to FM.
          ls_files-SOURCEDATACARRIER = ls_file-DATA_CARRIER.
          ls_files-WSAPPLICATION     = ls_file-application.
          ls_files-DESCRIPTION       = ls_file-file_desc.
          ls_files-STORAGECATEGORY   = ls_file-category.
          ls_files-DOCFILE           = ls_file-doc_path.
          ls_files-CHECKEDIN         = 'X'.
        CALL FUNCTION 'BAPI_DOCUMENT_CHECKIN2'
          EXPORTING
            DOCUMENTTYPE            = ls_file_data-dokar
            DOCUMENTNUMBER          = ls_file_data-doknr
            DOCUMENTPART            = ls_file_data-doktl
            DOCUMENTVERSION         = ls_file_data-dokvr
          IMPORTING
            RETURN                  =  ls_return
          TABLES
            DOCUMENTFILES           =  lt_files
        COMPONENTS              =
        DOCUMENTSTRUCTURE       =
    I appriciate you response on this.
    Thanks in advance.

    Any answers for this?
    Thanks.

  • For object XABBELEGNR , number range interval  does not exist OMJ6

    Dear all
            I want to enter only the value between 1 to 5 in GR/GI Slip No for T.code Mb01,but it is not allowing it is showing as For object XABBELEGNR , number range interval  does not exist OMJ6.
    Kindly let me know how to proceed,so that i can enter value between 1 to 5 in that field.
    regards
    M.Chandra mohan

    hi
    u just go to tcode omc1.
    activate gr/gi slip for plant
    then create number range group code and assign it to plant ,storage location and movenent type combination.
    Then u can create the intervals thru OMJ6.
    Hope it helps
    rewrad if useful
    Rohit

  • Could not determine the year for TDS certificate number range

    Hello Experts,
    while i have configured TDS. now in order to post Invoice, i am getting error "Could not determine the year for TDS certificate number range".
    i have also mentioned/configured all parameters required for Certificate Numbering & assignment to Co. Code, TDS Tax Type/Code, etc
    please if someonce can help, how to clear this error & go ahead.

    Dear,
    Use transaction SM30. Enter J_1IINDCUS in table/view field and click on maintain. Press new entry tab and enter your company code. Just select "APRIL" in start month and save. This is basically a CIN setting.
    it should be solved................

  • For object RF_BELEG number range does not exist

    Hi,
    while doing PGI, i get an error For Object RF_BELEG ,number range does not exist in company code ABCD. Where do i create the number range for this. I tried with FBN1 but not useful.
    " Diagnosis says, the database table NRIV has the delivery class as C. Make chages in customizing. "
    what could be the reason for this error? can anyone help me to fix this error.
    i tried to fix it through transaction code 'SNRO' and 'OBA7' but in vain
    can anyone help me out

    Try Extending the same in VN01 , and assigning it to your relevant document
    Cheers

  • For object RV_BELEG , number range interval  does not exit

    I am receiving this error when trying to generate billing document type L2 for a newly created company code.
    Exisiting company codes are generating billing documents so obviously this is to do with a company code related definition.
    Any thouhgts ?
    -Mark

    Please check if the error is
    "For object RV_BELEG , number range interval does not exit"
    "For object RV_BELEG , number range interval <b>10</b> does not exit"
    10 used as an example here you may be getting any 2-digit alpha-numeric value in stead of 10.
    Also Check
    If you are using
    Include program : RV60AFZZ
    Routine: USEREXIT_NUMBER_RANGE
    If so then for each plant you have assign a number range for each billing type (L2- here).
    Thanks,
    Ashish

  • BDAI for document number range

    Gurus,
    Whether there is a badi for document number range entry view.
    Regards
    Sachin Patil

    This may happen when you try to create a purchase requisition but then abandon it half way through before saving. In this scenario, the number range is incremented but the document is not saved.  The next time you will see a gap of 1 number.
    Thanks,
    Puneet

Maybe you are looking for

  • Problems with iTunes opening and closing???

    I cannot get iTunes to open. It shows it is running but it won't open, I can't force quit it either by right click or from force quit in the finder. So I can't open or close I tunes. I tried to restart the computer, re-installing iTunes, nothing is w

  • Can't see image in File Open box for CR2 files.

    I just upgraded to PSE 13. When I open a folder with my RAW files, CR2 format, I only see icons, not the actual image. I didn't have this issue with PSE 11. Do I need to download a codec to allow me to view the files? I am running Windows7 Profession

  • Screen black but backlight on slightly

    So, my Iphone screen is pretty cracked and lived a nice long time before the screen went out. I used to be able to fix using the recovery mode (holding on/off and home) however now that no longer works. when the phone is plugged in Itunes recongnizes

  • Creating a Configuration Scenario from Process Component Interaction Model

    Dear All, I created a very simple SAP Pro Comp Interaction Model in ESR. It has two Process Components (PC1, PC2) with a Service Interface (SI1,SI2) and Operation (OP1,OP2) each. There is one message (MT1) flowing between these two Process Components

  • Error while installing Nokia PC Suite

    When I try to install the PC suite it shows me an error. It apears that he can't registrate some components like CommonSelectDevice.dll, the error is:HRESULT -2147024770 The version I'm trying to install is Nokia_PC_Suite_682_rel_22_0_por_web My OS i