Correspondence Sort Variant

Hi Gurus,
I run program RFFOAVIS_FPAYM for Correspondence .
I define in spro sort variant for the program and specific payment method with vendor number sort !
I choose specific sort variant. But the program not run with this?
Can anyone tell if work this?
Tks

Own response

Similar Messages

  • Correspondence - problem in sort variant

    I run program RFFOAVIS_FPAYM for Correspondence .
    I define in spro sort variant for the program and specific payment method without any sort ! ! ! !
    I choose specific sort variant.
    but the program always get the sort from REGUH-SRTF2.
    there's the code from include RFFORI99:
    IF NOT REGUH-SRTF2 IS INITIAL.
    HLP_SORTH1 = REGUH-SRTF2(16).
    HLP_SORTH2 = REGUH-SRTF2+16(16).
    HLP_SORTH3 = REGUH-SRTF2+32(16).
    ELSE.
    T021M = HLP_T021M_H.
    DO 3 TIMES.
    CASE SY-INDEX.
    WHEN 1.
    PERFORM SORTIERUNG_ASSIGN USING
    T021M-TNAM1 T021M-FELD1 T021M-OFFS1 T021M-LENG1 HLP_SORTH1.
    WHEN 2.
    PERFORM SORTIERUNG_ASSIGN USING
    T021M-TNAM2 T021M-FELD2 T021M-OFFS2 T021M-LENG2 HLP_SORTH2.
    WHEN 3.
    PERFORM SORTIERUNG_ASSIGN USING
    T021M-TNAM3 T021M-FELD3 T021M-OFFS3 T021M-LENG3 HLP_SORTH3.
    ENDCASE.
    ENDDO.
    ENDIF.
    the field REGUH-SRTF2 is always not initial.
    and the program get the sort from this field and
    not from the sort variant parameter from the program.
    how can make to the field to be initial ? ? ? ? ? ?

    Hi
    as per my knowledge there is slight diff between type and like keywords
    type key refer the data type of a field where as like key refer the reference of existing  internal table in this just refer the data types not content(data)
    example:
    types:BEGIN OF ty_itab,
          matnr type mara-matnr,
          matkl type mara-matkl,
          mbrsh type mara-mbrsh,
          ersda type mara-ersda,
      END OF ty_itab.
      data:itab type STANDARD TABLE OF ty_itab.
      data:wa_itab type ty_itab.
    we want to create one more internal table with the existing structure  at this time  we will go through the like keyword.
    jtab like itab occurs 10.
    and also check the following code.
    REPORT  sort.
    types:BEGIN OF ty_itab,
          matnr type mara-matnr,
          matkl type mara-matkl,
          mbrsh type mara-mbrsh,
          ersda type mara-ersda,
      END OF ty_itab.
    data:itab type STANDARD TABLE OF ty_itab.
      data:wa_itab type ty_itab.
      select matnr matkl mbrsh ersda from mara into wa_itab.
        APPEND wa_itab to itab.
    ENDSELECT.
    SORT itab by mbrsh.
    write:/ 'matno',' mat group','industry sector','created on'.
    loop at itab into wa_itab.
      write:/ wa_itab-matnr,wa_itab-matkl,wa_itab-mbrsh,wa_itab-ersda.
      endloop.
    best regards
    sreenivas p

  • Error when using sort variant 0005 for RABEWG01 (tcode za353)

    Hi SAP experts,
    I have a problem with program RABEWG01 (tcode za353). When I use sort variant 0005 and execute it, I get this error:
    Table ANLV is not supported in the requested report
    Message no. AB066
    Diagnosis
    You requested sort version 0005 for the current report. The sort version contains a field in table ANLV. However, the report does not process this table. Therefore the sort version cannot access this table and this field.
    System Response
    The report is not executed with sort version 0005.
    Procedure
    Enter a sort version that uses only valid tables. The following tables are supported in the current report:
    ANLAV ANLB
    Can someone help me to explain why ANLV is not supported in the requested report? If we can't use sort variant 0005, why is it there in the first place?
    ==========================================
    Field:
    Company code: 001
    Report date: 30.03.2011
    Dep area: 01
    do I need to add any more entries in the field so that i can use sort variant 0005? thanks!

    Hi,
    note 21719 explains the reason for he error:                                                                               
    " Fields from tables ANLP and ANLV can only be used in a sort version if    
    the same tables are used in the relevant report (currently only the case    
    with reports RAGAFA01 and RAVERS01). If these fields are used in other      
    reports, runtime error GET_WA_NOT_ASSIGNED could occur..."    
    regards Bernhard

  • Sort variant with WBS element...

    Dear All,
    I need to create a sort variant to use in AR01 report to capture the WBS element. But when i am creating the sort variant, it is saying this report can process tables only ANLAV, ANLB and ANLCV, here wbs element investment project field is there in ANLAV. but i want anothother field From ANLZ. What do i need to do...

    Hi,
    Hope you are looking for ANLZ fields.
    Go to OAVI and create your own sort version.
    There for WBS elemant, add table name as ANLZ and field name as PS_PSP_PNR2  /  IPSNR and press enter
    SAVE it.
    This will definetely work out.
    Thanks,
    Srinu

  • Customer statement line item sorting

    Hello SAP Gurus,
    We use a customer statement which has SAP delivered program and 'z'type form, but our requirement is to sort the line items inside the statement.
    I tried using o7s6 - Line item Corresponding sort variant (SPRO>F/A>F/A Global Settings-->Correspondence)in that how would I create a sorting variant that will sort line items based on due date.
    And also I believe some configuration need to be done in variant for program i.e., SE38--> give the program name and execute (F8) --> in side this there are options to sorting by due date but I was not able to achieve what I want.
    Can anyone please help me with this.
    Thanks
    Kishore
    Message was edited by:
            kishore

    Hello
    follow the link and you could get more info
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/01/a9c1cb455711d182b40000e829fbfe/frameset.htm
    Editing Line Items
    You can edit line items for a payment or an exception list at a second list level. You can use the following functions to help you edit line items:
    Sort
    Search
    Change line layout
    To edit line items of a payment, double-click the desired payment line.
    The system then displays the open items of this payment on another screen.
    Sorting Line Items
    To sort open items, choose Edit ® Sort. This brings up an additional window where you can sort the line items according to four criteria and define a sequence (see "Sorting Payments" in Editing Payments).
    Searching for Line Items
    To search for particular open items, choose Edit ® Find. Select a search criterion and enter the desired values or value ranges (see "Searching for Payments" in Editing Payments).
    Changing the Line Layout
    To change the line layout, choose Settings ® Line Layout, and select the required line layout variant. There are four variants delivered with the standard system.
    The standard setting for the sort, find, change line layout, and display totals functions depends on your system configuration. You can change it in Customizing.

  • F110 Sort by Vendor Name

    Hi all,
    I would like to sort my cheque proposal by vendor name. I have gone into FBZP>payment methods by company code>form data> and created and new variant with the field Name1.
    When I went to do a new proposal it did not work, it still sorted by vendor number. I have read most of the earlier posts is there something I am missing? It seems like it should be a pretty straight forward fix.

    The sort variant in (Correspondence or line items) under payment method by company code (Form data) controls how payment advice lines are sorted. Correspondence sorts the payment advice notes (or check) and line items sorts lines in a payment advice. This is payment media sorting.
    The default proposal is sorted by vendor number. For proposal lines sorting, try this: Financial accounting (new) -- AR/AP -- Business Transactions -- outgoing payments -- automatic outgoing payments -- payment proposal processing -- make settings for displaying line items -- select sort fields for line item display.
    But I doubt if Name1 can be added as a field to sort proposal. It has a list of standard fields to choose from.
    Thanks.
    Rahul
    Edited by: Rahul Goyal on Jul 14, 2010 10:42 PM

  • Correspondence to customer F.17

    Hi all,
    I would like to see subtotal in an output of correspondence to customer in F.17 (e.g. subtotal amount by reference field - XLBNR) but I didnt success to perform through sort variants for correspodence and line items).
    So, is there any way to do it.
    Regards,
    D

    Hi Dragan,
    I had came across the same requirement, but could not achieve it through the standard output. So had to create a Z driver program for the same which was a copy of the standard one (RFKORD11 in our case). You can manipulate the sorting logic in the Z driver program and then assign it to your correspondence type.
    Regards,
    Swapnil

  • How is sorting done in SAP program RFKORD10 ?

    Hello All,
    The program RFKORD10 [Print Program: Account Statement] is used for printing the account statement for the line items. This program sorts the items as 1.Current Due, 2.Overdue and 3.Not yet due items.
    As per the customer requirement, I need to change the order into 1.Overdue, 2. Current Due and 3.Not yet due items.
    I'm not able to track how the values are getting sorted in the program RFKORD10.
    Please let me know if anyone has come across such a scenario.
    Thanks in advance,
    Vaibhav
    Message was edited by: Vaibhav Abhyankar

    Hi Vaibhav,
    Not sure which version of SAP you are on but this might help.
    From SPRO follow this path..
    Financial Accounting --> Global settings --> Correspondence --> Define Sort Variants for Correspondence OR Define sort variants for line items.
    You can change existing ones or create new variants and use them on the selection screen of RFKORD10.
    Good Luck!!

  • Correspondence Printing

    HI Guru's,
    I've Copied a Script (Standard) F140_INT_DOCU_ex01 to ZF140_INT_DOCU  script and included a logo and printing from the Correspondence type.
    We are using the T-Code FB12 to generate the correspondence request and then we are using F.64 to get the spool number and printing the Document From there.
    But the problem is, when we try to printing the Document, it is asking for correspondence sorting and printer name.
    How can i default those Correspondence Sorting settings and Printer Name for this script.
    Thanks,
    Adi

    HI Seshu,
    I don't want a variant,can i configure them through program???
    I mean to say can i pass those through program to F.64 Transaction???
    if possible, please explain how to pass those parameters??
    Thanks,
    Adi.

  • How to Run F110 Check Payment with Sorting from Vendor Name?

    Hi All,
      We have a problem when I run F110 to create checks for many vendors. How can I run the check number sorted from vendor name alphabetically?
      We can print it according to the vendor name alphabetically however the check running number is not sorted.
      Point will be rewarded for solution.
    Thanks,

    Brother!
    Call transaction : O7s1 or see in configuration menu: paymentmedi-> define Sort Variant.
    Create your Sort Variant accouding top your requirement, Input the same in Configuration of paymen.
    call transaction FBZP, then press the button " Payment Method in company Code"
    Hope this will be helful
    Thanks

  • Payment Advice Sort Issue

    Hi All,
      We are having an issue with the way the payment advices are sorted for our canadian company when running DME. We set a sort variant based on Payee name on REGUH which is ZNME1, but that field has <b>Firstname Lastname</b> so all the sort is done based on first name. We want to do it based on last name but there no field on REGUH which will help us.
    Kindly advice.
    Regards,
    S

    Hi Javed
    Please let me know if you have implemented any solution to this. We are facing the same issue.
    Regards
    Rajesh

  • F110 Sorting Payment Summary

    Hello...
    Our requirement was to sort the proposal and print the cheques by vendor name. Not a problem, the cheques print correctly.
    Is there anyway to have the proposal default to being sorted by the vendor? At the moment we have to change it each time.
    The payment summary is still printing based on the vendor number. Not sure what I am missing if anyone could help that would be great.
    D.

    Hello,
    It is known that the printing of checks is based on table REGUH. You can define the sequence of printing of checks with following customizting:
      IMG path: Financial Accounting
      -> Accounts recievable and account payable
      -> Business transaction -> Outgoing payments
      -> Automatic outgoing payments -> Payment media
      -> Payment media: define sort variants
    You may define a sort variant there in order to print check according to your requirement.
    I hope this is useful. Please let me know if your requirement is different than this.
    Thanks and regards,
    Suresh Jayanthi.

  • Ical..... Sort items by due date

    I always like to see my tasks deadlines. so I always like to sort the items by due date in the list the "To Do Items". My point is when I updated something I always need to click the option and sort items by due date again. Can I do that action with an special command instead to used the click option?
    Thank you

    More information about my problem:
    I have setted my field under environment  > sort fields > dunning notice items
    New sort variant 50 u2013 for a test have tried the
    Sequence 1 u2013 budat
    Sequence 2 u2013 bldatu2026 (not necessary for test only )
    Also under environment I have changed the company code datau2026
    As:
    Comp code     Sort MHNK          sort MHND
    K1 (unchanged)     50 (new u2013 changed)     
    But still the dunning print will not react to the settingsu2026

  • Dunning - sort open items by due date

    Dear experts,
    please help, havenu2019f found the right answer in the sap support channel or here.
    My question: I want to sort the result table of the dunning open items
    special on its due date.
    Any ideasu2026
    Thanks and regards..

    More information about my problem:
    I have setted my field under environment  > sort fields > dunning notice items
    New sort variant 50 u2013 for a test have tried the
    Sequence 1 u2013 budat
    Sequence 2 u2013 bldatu2026 (not necessary for test only )
    Also under environment I have changed the company code datau2026
    As:
    Comp code     Sort MHNK          sort MHND
    K1 (unchanged)     50 (new u2013 changed)     
    But still the dunning print will not react to the settingsu2026

  • Sort on vendor name for check payments via F110

    While executing F110 we want the data to be sorted by vendor name and checks thereafter generated and printed based on this sorting. Please advice.

    HI,
    For check payment throgh automatic posting sort variant configuration setting has to be maintained in Tcode: O7S2 where the document line item can be sorted based on check digit and vendor name .

Maybe you are looking for

  • Cannot connect to iTunes store on my Windows 7 computer

    iTunes 9 worked fine on my system but ever since version 10 was introduced I haven't been able to connect to iTunes store from my computer. The screen remains blank. Diagnostics show everything is ok and I can download applications and sync my iPad b

  • ConfigMgr 2012 R2 and SQL Collation

    I am planning to install a new ConfigMgr 2012 R2 server and use SQL Server 2012 SP2. Does ConfigMgr 2012 R2 already support other SQL Collations than "SQL_Latin1_General_CP1_CI_AS"? In other System Center 2012 R2 products "SQL_* collations are being

  • Every time I print the file reduces to the size of a postage stamp on paper

    I am running Adobe Acrobat Professional 9 on my computer, and every time I try to print a PDF, the contents of the file print in approximately a 1" by 1" square that looks like a postage stamp on the corner of the paper.  I haven't changed any print

  • BODS : Column delimiter errors on SAPR/3 datastore

    Hi All. Can anyone advise as to why this error comes up while we try to pull data from SAP R/3 TABLE. We are using a datastore which has the option to Generate & execute / direct download with a path defined locally on the BODS dev server. We dont se

  • Folding gutter color won't change

    Hello, I use a black background when coding, and the Folding gutter does not seem to respect the background color assignment in Coldfusion Builder. So the line numbers is black, then the white folding gutter then finally the black code window. The la