Passing different range of GL accounts from ALV to a transaction

I want to call the transaction FBL3n from ALV and also have to pass all the GL account ranges like 600000 to 699999, 700000 to 7199999 at the same time to the transaction from the alv. This is neccasary from me. How can i do that.

Hello,
U can do it.
Instead of using the CALL TRANSACTION use
SUBMIT RFITEMGL WITH SLECTION-SCREEN and don't use return.
Before the SUNMIT stmt fill the Range Table.
Vasanth
Message was edited by:
        Vasanth M

Similar Messages

  • Passing parameters (range) to ABAP function from Crystal report

    Hello experts,
    Iu2019ve created an ABAP function which receives parameters from a Crystal report . It works very well with simple parameters.
    In my crystal report I can see the fields with the prefix u201CI_u201D in the field explorer, and I can use this fields  in my Function Modules perfectly.
    The problem is to pass parameters like range or multiples values.
    I would like to know how to put this parameters into the low and high values of the range and receive them in my Function Module in the ABAP layer.
    Thanks in Advance,
    Carlos Henrique Matos da Silva and Silvio Meurer - SAP BusinessObjects BI Team - Brazil.

    I got the answer of this question under SAP Integration Kit
    How to pass parameters to ABAP function in Crystal report

  • From alv to standard transaction

    Hi,
    Iam using alv hiereracy for a report.
    say i have a material field in header if i double click can i take me to mmo3 .
    if yes pls let me know how to proceed with this
    thanks
    swathi

    Hi,
    Check this sample code..Instead of double click...A hotspot will be displayed..Let me know if you still want double click..
    IF the user presses the hotspot it will take you to the material master MM03..
    TYPE-POOLS: slis.
    DATA: BEGIN OF itab OCCURS 0,
            matnr TYPE matnr,
            expand,
          END OF itab.
    DATA: BEGIN OF itab1 OCCURS 0,
            matnr TYPE matnr,
            werks TYPE werks,
          END OF itab1.
    DATA: t_fieldcatalog TYPE slis_t_fieldcat_alv.
    DATA: s_fieldcatalog TYPE slis_fieldcat_alv.
    s_fieldcatalog-col_pos = '1'.
    s_fieldcatalog-fieldname = 'MATNR'.
    s_fieldcatalog-tabname   = 'ITAB'.
    s_fieldcatalog-rollname  = 'MATNR'.
    s_fieldcatalog-hotspot   = 'X'.
    s_fieldcatalog-outputlen = '40'.
    APPEND s_fieldcatalog TO t_fieldcatalog.
    CLEAR: s_fieldcatalog.
    s_fieldcatalog-col_pos = '1'.
    s_fieldcatalog-fieldname = 'MATNR'.
    s_fieldcatalog-tabname   = 'ITAB1'.
    s_fieldcatalog-rollname  = 'MATNR'.
    APPEND s_fieldcatalog TO t_fieldcatalog.
    CLEAR: s_fieldcatalog.
    s_fieldcatalog-col_pos = '2'.
    s_fieldcatalog-fieldname = 'WERKS'.
    s_fieldcatalog-tabname   = 'ITAB1'.
    s_fieldcatalog-rollname  = 'WERKS_D'.
    APPEND s_fieldcatalog TO t_fieldcatalog.
    CLEAR: s_fieldcatalog.
    SELECT matnr UP TO 100 ROWS
           FROM
           mara
           INTO TABLE itab.
    IF NOT itab[] IS INITIAL.
      SELECT matnr werks
             FROM marc
             INTO TABLE itab1
             FOR ALL ENTRIES IN itab
             WHERE matnr = itab-matnr.
    ENDIF.
    DATA: v_repid TYPE syrepid.
    v_repid = sy-repid.
    DATA: s_keyinfo TYPE slis_keyinfo_alv.
    s_keyinfo-header01 = 'MATNR'.
    s_keyinfo-item01   = 'MATNR'.
    CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
         EXPORTING
              i_callback_program      = v_repid
              it_fieldcat             = t_fieldcatalog
              i_callback_user_command = 'USER_COMMAND'
              i_tabname_header        = 'ITAB'
              i_tabname_item          = 'ITAB1'
              is_keyinfo              = s_keyinfo
         TABLES
              t_outtab_header         = itab
              t_outtab_item           = itab1
         EXCEPTIONS
              program_error           = 1
              OTHERS                  = 2.
          FORM user_command                                             *
    -->  UCOMM                                                         *
    -->  SELFIELD                                                      *
    FORM user_command USING ucomm LIKE sy-ucomm
                            selfield TYPE slis_selfield.
      IF ucomm = '&IC1'.
        READ TABLE itab INDEX selfield-tabindex.
        IF sy-subrc = 0.
          SET PARAMETER ID 'MAT' FIELD itab-matnr.
          CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.
        ENDIF.
      ENDIF.
    ENDFORM.
    Thanks,
    Naren

  • Determination of GL accounts from Main and Sub Transaction

    Hi,
    I have configured main and sub transactions with associated G/L accounts. Is there any program/table through which I can find out the assciated G/L accounts which are already configured if I pass Main and Sub transactions.

    Hi Jayanta,
    Please find below Path for maintaining Sub Transaction
    SAP Customizing IMG -> Financial Accounting (New) -> Contract Accounts Receivable and Payable -> Basic Functions -> Postings and Documents -> Document -> Maintain Document Assignments -> Maintain Sub-Transactions
    You will find the all the sub transaction for all  the main transaction configured.
    Or
    the table "TFKTVO".
    Hope this helps.
    Regards,
    Manish
    Edited by: Manish  Bisht on Jul 15, 2009 7:26 AM

  • Call tcode from alv report and passing  group of values

    hi all .
    i want to call tcode from alv report and passing an internal table or group of values to a selection option of that t code ? how
    ex. passing group of GL to fbl3n and display the detials of all .
    thank you

    Dear,
    You have done a small mistake
    --> rspar_line-option = 'EQ'.
         rspar_line-HIGH = PDATE-HIGH.
    u r passing "high" value and in "option u r passing "EQ" so how it will work!!!
    So if u r passing only 1 date or more dates like 01.01.2010 , 15.02.2010 , 10.03.2010 then pass
    rspar_line-selname = 'SO_BUDAT'.
    rspar_line-kind = 'S'.
    rspar_line-sign = 'I'.
    rspar_line-option = 'EQ'.
    rspar_line-LOW = PDATE-HIGH.
    APPEND rspar_line TO rspar_tab.
    or if u r passing low & high date means in range like 01.01.2010 to 30.01.2010, then pass
    rspar_line-selname = 'SO_BUDAT'.
    rspar_line-kind = 'S'.
    rspar_line-sign = 'I'.
    rspar_line-option = 'BT''.
    rspar_line-LOW = PDATE-LOW.
    rspar_line-HIGH = PDATE-HIGH.
    APPEND rspar_line TO rspar_tab.
    try above code , hope it helps...
    i think u cannot use "call transaction using bdcdata" in ur case bcoz as u said in ur 1st post u want to display the details of all but still if u want to use then u should pass all parameters in  loop.
    PROGRAM
    DYNPRO
    DYNBEGIN
    FNAM
    FVAL
    ex:-
    LOOP AT GT_TEMP INTO GS_TEMP.
    CLEAR bdcdata_wa.
    bdcdata_PROGRAM = 'SAPXXXX'.
    bdcdata_DYNPRO = '1000'.
    bdcdata_DYNBEGIN = 'X'.
    bdcdata_wa-fnam = '''.
    bdcdata_wa-fval = ''.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_PROGRAM = ''.
    bdcdata_DYNPRO = ''.
    bdcdata_DYNBEGIN = ''.
    bdcdata_wa-fnam = 'SD_SAKNR'.
    bdcdata_wa-fval = GS_TEMP-GLACCOUNT.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_PROGRAM = ''.
    bdcdata_DYNPRO = ''.
    bdcdata_DYNBEGIN = ''.
    bdcdata_wa-fnam = 'BDC_OKCODE'.
    bdcdata_wa-fval = 'XXX'.
    APPEND bdcdata_wa TO bdcdata_tab.
    ENDLOOP.
    try above code if u r using call transaction...
    Edited by: mihir6666 on Jul 9, 2011 3:10 PM
    Edited by: mihir6666 on Jul 9, 2011 3:11 PM
    Edited by: mihir6666 on Jul 9, 2011 3:13 PM

  • ALV GRID - Handling selected rows? Sorting in OUTTAB is different from ALV

    Dear Experts ,
    I have a transaction with ALV grid. I have defined several application specific functions to the ALV grid tool bar. My requirement is to handle the ALV tool bar functions only for the selected rows.
    Code snippet:
    DATA:
    LS_GRID_DS TYPE TYS_DS.
    TYPES: BEGIN OF TYS_DS.
    INCLUDE   TYPE TYS_ALVGRID.
    TYPES: STRUCNAME LIKE DD02L-TABNAME.
    TYPES: PRETAB    TYPE ZTAB_T,
           OUTTAB    TYPE ZTAB_T,
           OUTTAB_HIDDEN TYPE ZTAB_T,
           OUTTAB_SUM TYPE ZTAB_T,
           OUTTAB_ROLLBACK TYPE ZTAB_T,
           END OF TYS_DS.
      LOOP AT ls_grid_ds-marked_rows INTO ss_index_split
           WHERE rowtype IS INITIAL.
    ( Marked rows is correctly giving the row numbers of the highlighted rows)
    READ TABLE ls_grid_ds-outtab INTO ss_sel_rows_ds_split
                   INDEX ss_index_split-index.
    ISSUE : Sorting in ls_grid_ds-outtab internal table is different from ALV Grid display.
    Hence, though ls_grid_ds-marked_rows giving correct rows, I am not able to handle the my requirement correctly.
    Why sorting in gs_grid_ds-outtab is different from ALV display? How can they made in sync?
    Thank you in Advance.
    Sravan.
    Edited by: Raja Sravan on Jan 16, 2009 1:13 AM

    Hello Raja
    The OUTTAB is usually in sync with the display on the frontend grid control because it is a CHANGING parameter (of method SET_TABLE_FOR_FIRST_DISPLAY).
    Question: Do you "feed" ls_grid_ds-outtab to the parameter IT_OUTTAB of method SET_TABLE_FOR_FIRST_DISPLAY?
    If not then it is obvious why you get discrepancies.
    Regards
      Uwe

  • How do i stop my different itunes accounts from getting the sharing the same songs

    My mum and i both have ipods and different itunes accounts, but every time she buys a song in her account i will log into my acount to find that it is in my libray aswell, so when i plug my ipod in it wants to download hthat new song onto my ipod. Is there anyway to completely disconnect the accounts from each other?
    PS we both own ipod nano 5th gen (the ones with the video cameras) and we have the newest version of itunes on our computer that we share.
    Thnx

    I appreciate your quick response and fast feedback.
    Sorry, I neglected to tell you I build the webhelp using
    robohelp for word. I have tried both the options on the dialog box
    to jump to display in winhelp or display in browser, but neither
    work. I update the webhelp at least twice a week, so tweaking the
    html output page is not an option. Another option I tried was to
    add the link directly into the toc as a new page - same result
    (also tried both display in winhelp or in browser). As soon as I
    hit the site, my help system is replaced by the suncountry.com
    site.
    For the aa.com site, the first page of aa.com displays in the
    right frame of webhelp. After that any link I choose in the toc
    displays in a new browser window. I have found that if I use the
    back button on the original browser window so I am off the aa.com
    site, then click refresh, my pages appear correctly in the right
    frame. This is not user friendly.
    Any other ideas?

  • Can you set up apple tv using 2 different itunes accounts from 2 different macs in same household?

    can you set up apple tv using 2 different itunes accounts from 2 different macs in same household?

    No, you can only connect to one Home Sharing account at a time. If you want to see the content of the other Mac's library you will have to turn off Home Sharing on the Apple TV and log back in with the other iTunes account.

  • Managing multiple iOS devices on different Apple accounts from the same iMac

    May be a very simple question to answer, but can I manage multiple iOS devices on different Apple accounts from the same iMac?
    I ask as whilst I'm totally Mac'd, my partner who has her own Apple account has a Winows laptop and experiences problems updating iOS software on her iPhone 4S and iPad 3 Gen via the laptop. I'm thinking the problems may be overcome if we manage her iOS devices through my iMac.

    Thanks dwb .... I thought there'd be a catch .... not to keen on all that media and apps on my iMac!
    The specific problem is that whenever she updates to the latsest version of iOS using the latest iTunes for Windows on her PC laptop she seems to lose something in the process. One time she lost all her texts and the other day when updating to 5.1.1 she lost all her reminders. Not the end of the world but frustrating and shouldn't really happen and doesn't happen to me using the iMac and OSX.

  • How do I access music from different countries? My account is in Australia

    How do I access music from different countries? My account is in Australia and I want to purchase music in Franch

    In order to buy from another country's iTunes Music Store, you must have either:
    a) a credit card with a billing address in that country, or
    b) a mailing address in that country and a gift certificate or a prepaid card that was bought in that country.
    If you cannot fulfill one of these two sets of conditions, you will not be able to purchase from any given country's iTMS.
    This, BTW, is due to restrictions placed on Apple by the record companies and other rights holders (who are often completely different from country to country and so all require their own individual negotiations and contracts), not by Apple's choice.

  • How can I find my wife's iPhone? She has a different iCloud account from me.

    How can I find my wife's iPhone? She has a different iCloud account from me. I can find all of my devices on my iCloud account. But since the last software update we needed to set up separate iCloud accounts in order to be able to use iMessage independently.

    Interesting. This never occurred to be a problem to me but I think I can see your point. Leave feedback for Apple on this here:
    http://www.apple.com/feedback/icloud.html

  • Hi can someone tell me if it is possible to have two accounts (from different countries) in the same laptop?

    Hi can someone tell me if it is possible to have two accounts (from different countries) in the same laptop?

    Hi...
    The issue is that your credit or debit card credentials must be associated with the same country where you reside to make purchases.
    "Although you can browse the iTunes Store in any country without being signed in, you can only purchase content from the iTunes Store for your own country. This is enforced via the billing address associated with your credit card or other payment method that you use with the iTunes Store, rather than your actual geographic location."
    From here >  The Complete Guide to Using the iTunes Store | iLounge Article
    Billing policy is the same for both the iTunes as well as Mac App Stores.

  • I have my ITunes account on my home Macbook.  Can I log onto my ITunes account from a different Windows-based computer?

    I have my ITunes account on my home Macbook.  Can I log onto my ITunes account from a different Windows-based computer?

    Yes, but your iTunes library won't automatically show up on a different computer; putting it there is a separate process.
    (122714)

  • Combine Accounts from different Generations into a single Table Prompt

    We are on OBIEE 11.1.1.6.2 and using an ASO (11.1.2.1) cube as a datasource.
    I wish to make a drop down menu of only ten accounts in OBIEE. These ten accounts do not all belong in the same generation. The desired Accounts are from Gen6, Gen5 and Gen4. How do I make a single drop down list with these ten accounts when the members belong to different generations ? I have tried building this custom list of ten accounts via Selection Steps but it seems that I cannot cross different generations of the Account dimension.
    Any help would be appreciated.

    Thanks for the reply Christian. I literally tried at least 100 possible iterations of the Evaluate statement and none of them will compile in OBIEE. Before posting, I scoured the Internet for days hoping someone else has had this issue resolved. I had no luck. If you know of anyone that has actually been successful with the EVALUATE statement to make a list of dimension members from different generations, please post the exact code snippet so that I can leverage off of somone else's knowledge.
    I have tried dozens of possible iterations of: with no luck at all.
    EVALUATE('Intersect(%1.dimension.members,{[Account1], [Account2]})',"Account"."Gen1,Account")

  • Why is  the genius pass different from the itunes log in

    why is  the genius pass different from the itunes log in?

    Sorry, but what "genius pass" are you referring to? What exactly is happening for you, or what is the nature of the problem you're experiencing?

Maybe you are looking for

  • ALV  report ON WEB BROWSER USING FUNCTION MODULE

    HI EXPERTS, USING FUNCTION MODULE IN ALV ......HOW CAN WE DISPLAY ALV ON BROWSER(INTERNET).

  • Lock tables during partition exchange

    Hi, I want to do the following thing: there are 9 partitioned tables (set A) and 9 non partitioned (set B). There is a continuous dataflow into set A.And there is also a dependency between the nine flows within each transaction into set A (there is n

  • Dynamically get Credentials from CSF map

    Hi, I'm trying to call CSF map from Webservices to get OIM credentails (xelsysadm userID and password) dynamically. The below piece of code I have used to get values fro CSF. But when I'm trying to deploy the application on weblogic server, I'm getti

  • Art History Brush problem

    After following numerious tutorials and looking at Adobe help, I cannot get the AHB to work in CS3. Get an error message saying there is a programe error. The ordinary History Brush will work for me just fine, but thats not what I want. 1) Snapshot f

  • File security question

    Is it possible to post a PDF file online and allow someone to view it but not be able to download the file to their hard drive?. I thought at first that this would be  impossible since to be able to view the file you need to be able to download it. I